Show / Hide Table of Contents

Class ProjectsResource.JobsResource.CancelRequest

Cancels a running job.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleProtobufEmpty>
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>
ProjectsResource.JobsResource.CancelRequest
Implements
IClientServiceRequest<GoogleProtobufEmpty>
IClientServiceRequest
Inherited Members
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.Xgafv
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.AccessToken
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.Alt
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.Callback
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.Fields
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.Key
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.OauthToken
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.PrettyPrint
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.QuotaUser
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.UploadType
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.UploadProtocol
ClientServiceRequest<GoogleProtobufEmpty>.Execute()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStream()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleProtobufEmpty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleProtobufEmpty>.CreateRequest(bool?)
ClientServiceRequest<GoogleProtobufEmpty>.GenerateRequestUri()
ClientServiceRequest<GoogleProtobufEmpty>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleProtobufEmpty>.ETagAction
ClientServiceRequest<GoogleProtobufEmpty>.ModifyRequest
ClientServiceRequest<GoogleProtobufEmpty>.ValidateParameters
ClientServiceRequest<GoogleProtobufEmpty>.RequestParameters
ClientServiceRequest<GoogleProtobufEmpty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.JobsResource.CancelRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest<GoogleProtobufEmpty>, IClientServiceRequest

Constructors

CancelRequest(IClientService, GoogleCloudMlV1CancelJobRequest, string)

Constructs a new Cancel request.

Declaration
public CancelRequest(IClientService service, GoogleCloudMlV1CancelJobRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudMlV1CancelJobRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty>.MethodName

Name

Required. The name of the job to cancel.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleProtobufEmpty>.GetBody()

InitParameters()

Initializes Cancel parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudMachineLearningEngineBaseServiceRequest<GoogleProtobufEmpty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX