Class ProjectsResource.LocationsResource.OperationsResource
The "operations" collection of methods.
Inherited Members
Namespace: Google.Apis.Container.v1
Assembly: Google.Apis.Container.v1.dll
Syntax
public class ProjectsResource.LocationsResource.OperationsResource
Constructors
OperationsResource(IClientService)
Constructs a new resource.
Declaration
public OperationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Cancel(CancelOperationRequest, string)
Cancels the specified operation.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource.CancelRequest Cancel(CancelOperationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
CancelOperationRequest | body | The body of the request. |
string | name | The name (project, location, operation id) of the operation to cancel. Specified in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OperationsResource.CancelRequest |
Get(string)
Gets the specified operation.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name (project, location, operation id) of the operation to get. Specified in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OperationsResource.GetRequest |
List(string)
Lists all operations in a project in a specific zone or all zones.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | The parent (project and location) where the operations will be listed. Specified in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.OperationsResource.ListRequest |