Class ProjectsResource.OperationsResource
The "operations" collection of methods.
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class ProjectsResource.OperationsResource
Constructors
OperationsResource(IClientService)
Constructs a new resource.
Declaration
public OperationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CreateOperationRequest, string)
Creates a new Operation
.
Declaration
public virtual ProjectsResource.OperationsResource.CreateRequest Create(CreateOperationRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
CreateOperationRequest | body | The body of the request. |
string | parent | The project Id that this operation should be created under. |
Returns
Type | Description |
---|---|
ProjectsResource.OperationsResource.CreateRequest |
Patch(UpdateOperationRequest, string)
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.
Declaration
public virtual ProjectsResource.OperationsResource.PatchRequest Patch(UpdateOperationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
UpdateOperationRequest | body | The body of the request. |
string | name | The name of the Operation. Should be of the form "projects/{provider_id}/operations/{operation_id}". |
Returns
Type | Description |
---|---|
ProjectsResource.OperationsResource.PatchRequest |