Class ProjectsResource.OperationsResource.PatchRequest
Updates an existing operation returns an error if operation does not exist. The only valid operations are to update mark the done bit change the result.
Inheritance
ProjectsResource.OperationsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class ProjectsResource.OperationsResource.PatchRequest : ContainerAnalysisBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, UpdateOperationRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, UpdateOperationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UpdateOperationRequest | 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
The name of the Operation. Should be of the form "projects/{provider_id}/operations/{operation_id}".
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 Patch parameter list.
Declaration
protected override void InitParameters()