Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource
The "gitRepositoryLinks" collection of methods.
Inheritance
Inherited Members
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
AddPullRequestComment(AddGitRepositoryLinkPullRequestCommentRequest, string)
Add a comment to a Pull Request.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.AddPullRequestCommentRequest AddPullRequestComment(AddGitRepositoryLinkPullRequestCommentRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| AddGitRepositoryLinkPullRequestCommentRequest | body | The body of the request. |
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.AddPullRequestCommentRequest |
AddPullRequestReviewComment(AddGitRepositoryLinkPullRequestReviewCommentRequest, string)
Add a review comment (inline on diff) to a Pull Request.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.AddPullRequestReviewCommentRequest AddPullRequestReviewComment(AddGitRepositoryLinkPullRequestReviewCommentRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| AddGitRepositoryLinkPullRequestReviewCommentRequest | body | The body of the request. |
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.AddPullRequestReviewCommentRequest |
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. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist 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 |
DiffCommit(string)
Diff commits for a GitRepositoryLink.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DiffCommitRequest DiffCommit(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DiffCommitRequest |
FetchCommit(string)
Fetch Commit details from a Git repository link.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitRequest FetchCommit(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitRequest |
FetchCommitList(string)
Fetch a list of Commits from a Git repository link.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitListRequest FetchCommitList(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchCommitListRequest |
FetchFileBlame(string)
Fetches blame information for a file or line range in a file.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchFileBlameRequest FetchFileBlame(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchFileBlameRequest |
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
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchGitRefsRequest |
FetchPullRequest(string)
Fetch Pull Request details from a Git repository link.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestRequest FetchPullRequest(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the GitRepositoryLink in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestRequest |
FetchPullRequestList(string)
Fetches a list of Pull Requests from the remote repository.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestListRequest FetchPullRequestList(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The GitRepositoryLink resource name in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.FetchPullRequestListRequest |
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
|
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
|
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 |
ModifyPullRequest(ModifyGitRepositoryLinkPullRequestRequest, string)
Modifies a Pull Request in the remote SCM repository associated with a GitRepositoryLink.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ModifyPullRequestRequest ModifyPullRequest(ModifyGitRepositoryLinkPullRequestRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ModifyGitRepositoryLinkPullRequestRequest | body | The body of the request. |
| string | name | Required. The GitRepositoryLink resource name in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ModifyPullRequestRequest |
OpenPullRequest(OpenGitRepositoryLinkPullRequestRequest, string)
Opens a Pull Request in the remote SCM repository associated with a GitRepositoryLink.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.OpenPullRequestRequest OpenPullRequest(OpenGitRepositoryLinkPullRequestRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| OpenGitRepositoryLinkPullRequestRequest | body | The body of the request. |
| string | name | Required. The GitRepositoryLink resource name in the format
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.OpenPullRequestRequest |
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:
|
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:
|
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:
|
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:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.ProcessGitLabWebhookRequest |