Show / Hide Table of Contents

Class DeploymentsResource.UpdateRequest

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

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Operation>
DeploymentManagerAlphaBaseServiceRequest<Operation>
DeploymentsResource.UpdateRequest
Implements
IClientServiceRequest<Operation>
IClientServiceRequest
Inherited Members
DeploymentManagerAlphaBaseServiceRequest<Operation>.Alt
DeploymentManagerAlphaBaseServiceRequest<Operation>.Fields
DeploymentManagerAlphaBaseServiceRequest<Operation>.Key
DeploymentManagerAlphaBaseServiceRequest<Operation>.OauthToken
DeploymentManagerAlphaBaseServiceRequest<Operation>.PrettyPrint
DeploymentManagerAlphaBaseServiceRequest<Operation>.QuotaUser
DeploymentManagerAlphaBaseServiceRequest<Operation>.UserIp
ClientServiceRequest<Operation>.Execute()
ClientServiceRequest<Operation>.ExecuteAsStream()
ClientServiceRequest<Operation>.ExecuteAsync()
ClientServiceRequest<Operation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Operation>.ExecuteAsStreamAsync()
ClientServiceRequest<Operation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Operation>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Operation>.GenerateRequestUri()
ClientServiceRequest<Operation>.GetDefaultETagAction(String)
ClientServiceRequest<Operation>.ETagAction
ClientServiceRequest<Operation>.ModifyRequest
ClientServiceRequest<Operation>.RequestParameters
ClientServiceRequest<Operation>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
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.DeploymentManagerAlpha.alpha
Assembly: Google.Apis.DeploymentManagerAlpha.alpha.dll
Syntax
public class UpdateRequest : DeploymentManagerAlphaBaseServiceRequest<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
System.String project
System.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
System.Nullable<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
System.Nullable<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
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

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
System.Nullable<System.Boolean>

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 Update parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.DeploymentManagerAlpha.alpha.DeploymentManagerAlphaBaseServiceRequest<Google.Apis.DeploymentManagerAlpha.alpha.Data.Operation>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top