The "operations" collection of methods.
More...
|
class | CancelRequest |
| Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED . Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED . More...
|
|
class | GetRequest |
| Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. More...
|
|
class | ListRequest |
| Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED . More...
|
|
|
| OperationsResource (Google.Apis.Services.IClientService service) |
| Constructs a new resource. More...
|
|
virtual CancelRequest | Cancel (string name) |
| Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED . Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED . More...
|
|
virtual GetRequest | Get (string name) |
| Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. More...
|
|
virtual ListRequest | List (string name) |
| Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED . More...
|
|
The "operations" collection of methods.
◆ OperationsResource()
Constructs a new resource.
◆ Cancel()
virtual CancelRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.OperationsResource.Cancel |
( |
string |
name | ) |
|
|
inlinevirtual |
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED
.
- Parameters
-
name | The name of the operation resource to be cancelled. |
◆ Get()
virtual GetRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.OperationsResource.Get |
( |
string |
name | ) |
|
|
inlinevirtual |
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- Parameters
-
name | The name of the operation resource. |
◆ List()
virtual ListRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.OperationsResource.List |
( |
string |
name | ) |
|
|
inlinevirtual |
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED
.
NOTE: the name
binding allows API services to override the binding to use different resource name schemes, such as users/operations
. To override the binding, API services can add a binding such as "/v1/{name=users}/operations"
to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
- Parameters
-
name | The name of the operation's parent resource. |
The documentation for this class was generated from the following file:
- Google.Apis.CloudMachineLearningEngine.v1.cs