Design Center V1 API - Class Google::Cloud::DesignCenter::V1::PreviewApplicationRequest (v0.1.0)

Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::PreviewApplicationRequest.

Message for previewing an application.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The application name in the following format: projects/$project/locations/$location/spaces/$space/applications/$application

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The application name in the following format: projects/$project/locations/$location/spaces/$space/applications/$application
Returns
  • (::String) — Required. The application name in the following format: projects/$project/locations/$location/spaces/$space/applications/$application

#service_account

def service_account() -> ::String
Returns
  • (::String) —

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

    • If provided, this service account will be used to execute the preview 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 preview will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}

#service_account=

def service_account=(value) -> ::String
Parameter
  • value (::String) —

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

    • If provided, this service account will be used to execute the preview 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 preview will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}
Returns
  • (::String) —

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

    • If provided, this service account will be used to execute the preview 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 preview will fail. Format: projects/{PROJECT}/serviceAccounts/{EMAIL_ADDRESS}

#worker_pool

def worker_pool() -> ::String
Returns
  • (::String) — 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.

#worker_pool=

def worker_pool=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.