Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource

The "gitRepositoryLinks" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource

Constructors

GitRepositoryLinksResource(IClientService)

Constructs a new resource.

Declaration
public GitRepositoryLinksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GitRepositoryLink, string)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.CreateRequest Create(GitRepositoryLink body, string parent)
Parameters
Type Name Description
GitRepositoryLink body

The body of the request.

string parent

Required. Value for parent.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.CreateRequest

Delete(string)

Deletes a single GitRepositoryLink.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Name of the resource

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DeleteRequest

FetchGitRefs(string)

Fetch the list of branches or tags for a given repository.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest FetchGitRefs(string gitRepositoryLink)
Parameters
Type Name Description
string gitRepositoryLink

Required. The resource name of GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest

FetchReadToken(FetchReadTokenRequest, string)

Fetches read token of a given gitRepositoryLink.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchReadTokenRequest FetchReadToken(FetchReadTokenRequest body, string gitRepositoryLink)
Parameters
Type Name Description
FetchReadTokenRequest body

The body of the request.

string gitRepositoryLink

Required. The resource name of the gitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchReadTokenRequest

FetchReadWriteToken(FetchReadWriteTokenRequest, string)

Fetches read/write token of a given gitRepositoryLink.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchReadWriteTokenRequest FetchReadWriteToken(FetchReadWriteTokenRequest body, string gitRepositoryLink)
Parameters
Type Name Description
FetchReadWriteTokenRequest body

The body of the request.

string gitRepositoryLink

Required. The resource name of the gitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchReadWriteTokenRequest

Get(string)

Gets details of a single GitRepositoryLink.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the resource

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.GetRequest

List(string)

Lists GitRepositoryLinks in a given project, location, and connection.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent value for ListGitRepositoryLinksRequest

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ListRequest

ProcessBitbucketCloudWebhook(ProcessBitbucketCloudWebhookRequest, string)

ProcessBitbucketCloudWebhook is called by the external Bitbucket Cloud instances for notifying events.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessBitbucketCloudWebhookRequest ProcessBitbucketCloudWebhook(ProcessBitbucketCloudWebhookRequest body, string name)
Parameters
Type Name Description
ProcessBitbucketCloudWebhookRequest body

The body of the request.

string name

Required. The GitRepositoryLink where the webhook will be received. Format: projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessBitbucketCloudWebhookRequest

ProcessBitbucketDataCenterWebhook(ProcessBitbucketDataCenterWebhookRequest, string)

ProcessBitbucketDataCenterWebhook is called by the external Bitbucket Data Center instances for notifying events.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessBitbucketDataCenterWebhookRequest ProcessBitbucketDataCenterWebhook(ProcessBitbucketDataCenterWebhookRequest body, string name)
Parameters
Type Name Description
ProcessBitbucketDataCenterWebhookRequest body

The body of the request.

string name

Required. The GitRepositoryLink where the webhook will be received. Format: projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessBitbucketDataCenterWebhookRequest

ProcessGitLabEnterpriseWebhook(ProcessGitLabEnterpriseWebhookRequest, string)

ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise instances for notifying events.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessGitLabEnterpriseWebhookRequest ProcessGitLabEnterpriseWebhook(ProcessGitLabEnterpriseWebhookRequest body, string name)
Parameters
Type Name Description
ProcessGitLabEnterpriseWebhookRequest body

The body of the request.

string name

Required. The GitRepositoryLink resource where the webhook will be received. Format: projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessGitLabEnterpriseWebhookRequest

ProcessGitLabWebhook(ProcessGitLabWebhookRequest, string)

ProcessGitLabWebhook is called by the GitLab.com for notifying events.

Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessGitLabWebhookRequest ProcessGitLabWebhook(ProcessGitLabWebhookRequest body, string name)
Parameters
Type Name Description
ProcessGitLabWebhookRequest body

The body of the request.

string name

Required. The GitRepositoryLink resource where the webhook will be received. Format: projects/*/locations/*/connections/*/gitRepositoryLinks/*.

Returns
Type Description
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessGitLabWebhookRequest
In this article
Back to top Generated by DocFX