Class ProjectsResource.LocationsResource.RepositoriesResource.CommitRequest
Applies a Git commit to a Repository. The Repository must not have a value for
git_remote_settings.url
.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.CommitRequest
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.CommitRequest : DataformBaseServiceRequest<CommitRepositoryChangesResponse>, IClientServiceRequest<CommitRepositoryChangesResponse>, IClientServiceRequest
Constructors
CommitRequest(IClientService, CommitRepositoryChangesRequest, string)
Constructs a new Commit request.
Declaration
public CommitRequest(IClientService service, CommitRepositoryChangesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CommitRepositoryChangesRequest | body | |
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 repository's name.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Commit parameter list.
Declaration
protected override void InitParameters()