Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::ExecutionConfig.
Configuration of the environment to use when calling Skaffold.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#artifact_storage
def artifact_storage() -> ::String
Returns
- (::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.
#artifact_storage=
def artifact_storage=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#default_pool
def default_pool() -> ::Google::Cloud::Deploy::V1::DefaultPool
Returns
- (::Google::Cloud::Deploy::V1::DefaultPool) — Optional. Use default Cloud Build pool.
#default_pool=
def default_pool=(value) -> ::Google::Cloud::Deploy::V1::DefaultPool
Parameter
- value (::Google::Cloud::Deploy::V1::DefaultPool) — Optional. Use default Cloud Build pool.
Returns
- (::Google::Cloud::Deploy::V1::DefaultPool) — Optional. Use default Cloud Build pool.
#execution_timeout
def execution_timeout() -> ::Google::Protobuf::Duration
Returns
- (::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.
#execution_timeout=
def execution_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::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.
Returns
- (::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.
#private_pool
def private_pool() -> ::Google::Cloud::Deploy::V1::PrivatePool
Returns
- (::Google::Cloud::Deploy::V1::PrivatePool) — Optional. Use private Cloud Build pool.
#private_pool=
def private_pool=(value) -> ::Google::Cloud::Deploy::V1::PrivatePool
Parameter
- value (::Google::Cloud::Deploy::V1::PrivatePool) — Optional. Use private Cloud Build pool.
Returns
- (::Google::Cloud::Deploy::V1::PrivatePool) — Optional. Use private Cloud Build pool.
#service_account
def service_account() -> ::String
Returns
- (::String) — Optional. Google service account to use for execution. If unspecified, the project execution service account (
#service_account=
def service_account=(value) -> ::String
Parameter
- value (::String) — Optional. Google service account to use for execution. If unspecified, the project execution service account (
Returns
- (::String) — Optional. Google service account to use for execution. If unspecified, the project execution service account (
#usages
def usages() -> ::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>
Returns
- (::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>) — Required. Usages when this configuration should be applied.
#usages=
def usages=(value) -> ::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>
Parameter
- value (::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>) — Required. Usages when this configuration should be applied.
Returns
- (::Array<::Google::Cloud::Deploy::V1::ExecutionConfig::ExecutionEnvironmentUsage>) — Required. Usages when this configuration should be applied.
#worker_pool
def worker_pool() -> ::String
Returns
-
(::String) — Optional. The resource name of the
WorkerPool
, with the formatprojects/{project}/locations/{location}/workerPools/{worker_pool}
. If this optional field is unspecified, the default Cloud Build pool will be used.
#worker_pool=
def worker_pool=(value) -> ::String
Parameter
-
value (::String) — Optional. The resource name of the
WorkerPool
, with the formatprojects/{project}/locations/{location}/workerPools/{worker_pool}
. If this optional field is unspecified, the default Cloud Build pool will be used.
Returns
-
(::String) — Optional. The resource name of the
WorkerPool
, with the formatprojects/{project}/locations/{location}/workerPools/{worker_pool}
. If this optional field is unspecified, the default Cloud Build pool will be used.