Class ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest
Updates a single Repository. Note: This method does not fully implement AIP/134. In particular: 1. The wildcard entry (***) is treated as a bad request 2. When the field_mask is omitted, instead of only updating the set fields, the request is treated as a full update on all modifiable fields
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PatchRequest : DataformBaseServiceRequest<Repository>, IClientServiceRequest<Repository>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Repository, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Repository body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Repository | 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
Identifier. 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
UpdateMask
Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()