Reference documentation and code samples for the Google Cloud Deploy V1 Client class ExecutionConfig.
Configuration of the environment to use when calling Skaffold.
Generated from protobuf message google.cloud.deploy.v1.ExecutionConfig
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ usages
array
Required. Usages when this configuration should be applied.
↳ default_pool
↳ private_pool
↳ worker_pool
string
Optional. The resource name of the WorkerPool
, with the format projects/{project}/locations/{location}/workerPools/{worker_pool}
. If this optional field is unspecified, the default Cloud Build pool will be used.
↳ service_account
string
Optional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
↳ artifact_storage
string
Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a default bucket located in the same region will be used.
↳ execution_timeout
Google\Protobuf\Duration
Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
getUsages
Required. Usages when this configuration should be applied.
setUsages
Required. Usages when this configuration should be applied.
var
int[]
$this
getDefaultPool
Optional. Use default Cloud Build pool.
hasDefaultPool
setDefaultPool
Optional. Use default Cloud Build pool.
$this
getPrivatePool
Optional. Use private Cloud Build pool.
hasPrivatePool
setPrivatePool
Optional. Use private Cloud Build pool.
$this
getWorkerPool
Optional. The resource name of the WorkerPool
, with the format projects/{project}/locations/{location}/workerPools/{worker_pool}
.
If this optional field is unspecified, the default Cloud Build pool will be used.
string
setWorkerPool
Optional. The resource name of the WorkerPool
, with the format projects/{project}/locations/{location}/workerPools/{worker_pool}
.
If this optional field is unspecified, the default Cloud Build pool will be used.
var
string
$this
getServiceAccount
Optional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
string
setServiceAccount
Optional. Google service account to use for execution. If unspecified, the project execution service account (<PROJECT_NUMBER>-compute@developer.gserviceaccount.com) is used.
var
string
$this
getArtifactStorage
Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir").
If unspecified, a default bucket located in the same region will be used.
string
setArtifactStorage
Optional. Cloud Storage location in which to store execution outputs. This can either be a bucket ("gs://my-bucket") or a path within a bucket ("gs://my-bucket/my-dir").
If unspecified, a default bucket located in the same region will be used.
var
string
$this
getExecutionTimeout
Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
hasExecutionTimeout
clearExecutionTimeout
setExecutionTimeout
Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and 24h in seconds format. If unspecified, a default timeout of 1h is used.
$this
getExecutionEnvironment
string