Class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchGitAheadBehindRequest
Fetches Git ahead/behind against a remote branch.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchGitAheadBehindRequest
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchGitAheadBehindRequest : DataformBaseServiceRequest<FetchGitAheadBehindResponse>, IClientServiceRequest<FetchGitAheadBehindResponse>, IClientServiceRequest
Constructors
FetchGitAheadBehindRequest(IClientService, string)
Constructs a new FetchGitAheadBehind request.
Declaration
public FetchGitAheadBehindRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
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 workspace's name.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RemoteBranch
Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.
Declaration
[RequestParameter("remoteBranch", RequestParameterType.Query)]
public virtual string RemoteBranch { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes FetchGitAheadBehind parameter list.
Declaration
protected override void InitParameters()