Class ProjectsResource.InstancesResource.PatchRequest
Updates the specified instance. Returns a long running operation which contains the updated instance in the response on completion.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.RemoteBuildExecution.v1alpha
Assembly: Google.Apis.RemoteBuildExecution.v1alpha.dll
Syntax
public class PatchRequest : RemoteBuildExecutionBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance body, string name)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
LoggingEnabled
Deprecated, use instance.logging_enabled instead. Whether to enable Stackdriver logging for this instance.
Declaration
[RequestParameter("loggingEnabled", RequestParameterType.Query)]
public virtual bool? LoggingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Name
Output only. Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]
.
Name should not be populated when creating an instance since it is provided in the instance_id
field.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Name1
Deprecated, use instance.Name instead. Name of the instance to update. Format:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]
.
Declaration
[RequestParameter("name1", RequestParameterType.Query)]
public virtual string Name1 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
UpdateMask
The update mask applies to instance. For the FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If an empty
update_mask is provided, only the non-default valued field in the worker pool field will be updated.
Note that in order to update a field to the default value (zero, false, empty string) an explicit
update_mask must be provided.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()