ml  v1
Classes | Public Member Functions | List of all members
Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource Class Reference

The "operations" collection of methods. More...

Classes

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...
 

Public Member Functions

 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...
 

Detailed Description

The "operations" collection of methods.

Constructor & Destructor Documentation

◆ OperationsResource()

Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.OperationsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Cancel()

virtual CancelRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.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
nameThe name of the operation resource to be cancelled.

◆ Get()

virtual GetRequest Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.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
nameThe name of the operation resource.

The documentation for this class was generated from the following file: