Class DeploymentsResource.UpdateRequest
Updates a deployment and all of the resources described by the deployment manifest.
Inheritance
Inherited Members
Namespace: Google.Apis.DeploymentManager.v2
Assembly: Google.Apis.DeploymentManager.v2.dll
Syntax
public class DeploymentsResource.UpdateRequest : DeploymentManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Deployment, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Deployment body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Deployment | body | |
string | project | |
string | deployment |
Properties
CreatePolicy
Sets the policy to use for creating new resources.
Declaration
[RequestParameter("createPolicy", RequestParameterType.Query)]
public virtual DeploymentsResource.UpdateRequest.CreatePolicyEnum? CreatePolicy { get; set; }
Property Value
Type | Description |
---|---|
DeploymentsResource.UpdateRequest.CreatePolicyEnum? |
DeletePolicy
Sets the policy to use for deleting resources.
Declaration
[RequestParameter("deletePolicy", RequestParameterType.Query)]
public virtual DeploymentsResource.UpdateRequest.DeletePolicyEnum? DeletePolicy { get; set; }
Property Value
Type | Description |
---|---|
DeploymentsResource.UpdateRequest.DeletePolicyEnum? |
Deployment
The name of the deployment for this request.
Declaration
[RequestParameter("deployment", RequestParameterType.Path)]
public virtual string Deployment { get; }
Property Value
Type | Description |
---|---|
string |
HeaderBypassBillingFilter
Declaration
[RequestParameter("header.bypassBillingFilter", RequestParameterType.Query)]
public virtual bool? HeaderBypassBillingFilter { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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
Preview
If set to true, updates the deployment and creates and updates the "shell" resources but does not
actually alter or instantiate these resources. This allows you to preview what your deployment will look
like. You can use this intent to preview how an update would affect your deployment. You must provide a
target.config
with a configuration if this is set to true. After previewing a deployment, you can
deploy your resources by making a request with the update()
or you can cancelPreview()
to remove the
preview altogether. Note that the deployment will still exist after you cancel the preview and you must
separately delete this deployment if you want to remove it.
Declaration
[RequestParameter("preview", RequestParameterType.Query)]
public virtual bool? Preview { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 Update parameter list.
Declaration
protected override void InitParameters()