Show / Hide Table of Contents

Class DeploymentsResource.UpdateRequest

Updates a deployment and all of the resources described by the deployment manifest.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Operation>
DeploymentManagerBaseServiceRequest<Operation>
DeploymentsResource.UpdateRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
DeploymentManagerBaseServiceRequest<Operation>.Xgafv
DeploymentManagerBaseServiceRequest<Operation>.AccessToken
DeploymentManagerBaseServiceRequest<Operation>.Alt
DeploymentManagerBaseServiceRequest<Operation>.Callback
DeploymentManagerBaseServiceRequest<Operation>.Fields
DeploymentManagerBaseServiceRequest<Operation>.Key
DeploymentManagerBaseServiceRequest<Operation>.OauthToken
DeploymentManagerBaseServiceRequest<Operation>.PrettyPrint
DeploymentManagerBaseServiceRequest<Operation>.QuotaUser
DeploymentManagerBaseServiceRequest<Operation>.UploadType
DeploymentManagerBaseServiceRequest<Operation>.UploadProtocol
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(bool?)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(string)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.ValidateParameters
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.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.DeploymentManager.v2beta
Assembly: Google.Apis.DeploymentManager.v2beta.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

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManager.v2beta.Data.Operation>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManager.v2beta.Data.Operation>.MethodName

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DeploymentManager.v2beta.Data.Operation>.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.DeploymentManager.v2beta.Data.Operation>.GetBody()

InitParameters()

Initializes Update parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.DeploymentManager.v2beta.DeploymentManagerBaseServiceRequest<Google.Apis.DeploymentManager.v2beta.Data.Operation>.InitParameters()

Implements

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