Design Center v1 API - Class DeployApplicationRequest (1.0.0-beta01)

public sealed class DeployApplicationRequest : IMessage<DeployApplicationRequest>, IEquatable<DeployApplicationRequest>, IDeepCloneable<DeployApplicationRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Design Center v1 API class DeployApplicationRequest.

Message for deploying an application.

Inheritance

object > DeployApplicationRequest

Namespace

Google.Cloud.DesignCenter.V1

Assembly

Google.Cloud.DesignCenter.V1.dll

Constructors

DeployApplicationRequest()

public DeployApplicationRequest()

DeployApplicationRequest(DeployApplicationRequest)

public DeployApplicationRequest(DeployApplicationRequest other)
Parameter
Name Description
other DeployApplicationRequest

Properties

ApplicationName

public ApplicationName ApplicationName { get; set; }

ApplicationName-typed view over the Name resource name property.

Property Value
Type Description
ApplicationName

Name

public string Name { get; set; }

Required. The application name. Format: projects/$project/locations/$location/spaces/$space/applications/$application

Property Value
Type Description
string

Replace

public bool Replace { get; set; }

Optional. Flag to update the existing deployment. If not set or false, deploy will fail if application state is in the DEPLOYED state.

Property Value
Type Description
bool

ServiceAccount

public string ServiceAccount { get; set; }

Optional. The email address of the service account to use for this deployment.

  • If provided, this service account will be used to execute the deployment process, taking precedence over any service_account specified on the Application resource.
  • The caller must have the 'iam.serviceAccounts.actAs' permission on this service account.
  • If this field is omitted, the system will use the 'service_account' defined within the Application resource.
  • We recommend that you provide a service account here or on the Application resource. If you don't provide a service account, the deployment will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
Property Value
Type Description
string

ValidateOnly

public bool ValidateOnly { get; set; }

Optional. If set to true, the request is validated, but no actual deployment will occur. See https://google.aip.dev/163 for more details.

Property Value
Type Description
bool

WorkerPool

public string WorkerPool { get; set; }

Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format: projects/{project}/locations/{location}/workerPools/{workerPoolId} If this flag is omitted, the worker pool already defined on the application will be used. If no worker pool is defined on the application, the default Cloud Build worker pool is used. The worker pool must exist in the same region as the application.

Property Value
Type Description
string