Class DeploymentsResource.CancelPreviewRequest
Cancels and removes the preview currently associated with the deployment.
Inheritance
DeploymentsResource.CancelPreviewRequest
Inherited Members
Namespace: Google.Apis.DeploymentManager.v2beta
Assembly: Google.Apis.DeploymentManager.v2beta.dll
Syntax
public class DeploymentsResource.CancelPreviewRequest : DeploymentManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CancelPreviewRequest(IClientService, DeploymentsCancelPreviewRequest, string, string)
Constructs a new CancelPreview request.
Declaration
public CancelPreviewRequest(IClientService service, DeploymentsCancelPreviewRequest body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeploymentsCancelPreviewRequest | body | |
string | project | |
string | deployment |
Properties
Deployment
The name of the deployment for this request.
Declaration
[RequestParameter("deployment", RequestParameterType.Path)]
public virtual string Deployment { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Project
The project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes CancelPreview parameter list.
Declaration
protected override void InitParameters()