Class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DiffCommitRequest
Diff commits for a GitRepositoryLink.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DiffCommitRequest
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource.DiffCommitRequest : DeveloperConnectBaseServiceRequest<DiffGitRepositoryLinkCommitResponse>, IClientServiceRequest<DiffGitRepositoryLinkCommitResponse>, IClientServiceRequest
Constructors
DiffCommitRequest(IClientService, string)
Constructs a new DiffCommit request.
Declaration
public DiffCommitRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
BaseSha
Required. The base commit SHA or ref.
Declaration
[RequestParameter("baseSha", RequestParameterType.Query)]
public virtual string BaseSha { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HeadSha
Required. The head commit SHA or ref.
Declaration
[RequestParameter("headSha", RequestParameterType.Query)]
public virtual string HeadSha { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the GitRepositoryLink in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
PathFilters
Optional. Path patterns or exact paths to filter returned files. When path_filters is
specified, FileDiff.patch is populated for all matching files (use ["**"] to include
patches for all changed files). When path_filters is omitted or empty, the full list of
FileDiff is returned without patch diffs (FileDiff.patch is empty).
Declaration
[RequestParameter("pathFilters", RequestParameterType.Query)]
public virtual Repeatable<string> PathFilters { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes DiffCommit parameter list.
Declaration
protected override void InitParameters()