Class DeploymentsResource.CancelPreviewRequest
Cancels and removes the preview currently associated with the deployment.
Inheritance
System.Object
DeploymentsResource.CancelPreviewRequest
Inherited Members
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.DeploymentManagerAlpha.alpha
Assembly: Google.Apis.DeploymentManagerAlpha.alpha.dll
Syntax
public class CancelPreviewRequest : DeploymentManagerAlphaBaseServiceRequest<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 | |
System.String | project | |
System.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 |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManagerAlpha.alpha.Data.Operation>.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.DeploymentManagerAlpha.alpha.Data.Operation>.MethodName
Project
The project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { 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.DeploymentManagerAlpha.alpha.Data.Operation>.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.DeploymentManagerAlpha.alpha.Data.Operation>.GetBody()
InitParameters()
Initializes CancelPreview parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DeploymentManagerAlpha.alpha.DeploymentManagerAlphaBaseServiceRequest<Google.Apis.DeploymentManagerAlpha.alpha.Data.Operation>.InitParameters()