Class ProjectsResource.PatchJobsResource.CancelRequest
Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<PatchJob>
ProjectsResource.PatchJobsResource.CancelRequest
Implements
Google.Apis.Requests.IClientServiceRequest<PatchJob>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.OSConfig.v1beta
Assembly: Google.Apis.OSConfig.v1beta.dll
Syntax
public class CancelRequest : OSConfigBaseServiceRequest<PatchJob>, IClientServiceRequest<PatchJob>, IClientServiceRequest
Constructors
CancelRequest(IClientService, CancelPatchJobRequest, String)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, CancelPatchJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
CancelPatchJobRequest | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.MethodName
Name
Required. Name of the patch in the form projects/*/patchJobs/*
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.GetBody()
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.OSConfig.v1beta.OSConfigBaseServiceRequest<Google.Apis.OSConfig.v1beta.Data.PatchJob>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest