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

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

Inheritance diagram for Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.CancelRequest:
Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty >

Public Member Functions

 CancelRequest (Google.Apis.Services.IClientService service, string name)
 Constructs a new Cancel request. More...
 

Protected Member Functions

override void InitParameters ()
 Initializes Cancel parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty >
 CloudMachineLearningEngineBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new CloudMachineLearningEngineBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes CloudMachineLearningEngine parameter list. More...
 

Properties

virtual string Name [get]
 The name of the operation resource to be cancelled. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.CloudMachineLearningEngine.v1.CloudMachineLearningEngineBaseServiceRequest< Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty >
virtual System.Nullable< XgafvEnum > Xgafv [get, set]
 V1 error format. More...
 
virtual string AccessToken [get, set]
 OAuth access token. More...
 
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for response. More...
 
virtual string Callback [get, set]
 JSONP More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. More...
 
virtual string UploadType [get, set]
 Legacy upload protocol for media (e.g. "media", "multipart"). More...
 
virtual string UploadProtocol [get, set]
 Upload protocol for media (e.g. "raw", "multipart"). More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CancelRequest()

Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.CancelRequest.CancelRequest ( Google.Apis.Services.IClientService  service,
string  name 
)
inline

Constructs a new Cancel request.

Member Function Documentation

◆ InitParameters()

override void Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.CancelRequest.InitParameters ( )
inlineprotected

Initializes Cancel parameter list.

Property Documentation

◆ HttpMethod

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.CancelRequest.HttpMethod
get

summary>Gets the REST path.

◆ MethodName

override string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.CancelRequest.MethodName
get

summary>Gets the HTTP method.

◆ Name

virtual string Google.Apis.CloudMachineLearningEngine.v1.ProjectsResource.LocationsResource.OperationsResource.CancelRequest.Name
get

The name of the operation resource to be cancelled.

summary>Gets the method name.


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