class Google::Apis::ClouddeployV1::ExecutionConfig
Configuration of the environment to use when calling Skaffold.
Attributes
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. Corresponds to the JSON property ‘artifactStorage` @return [String]
Execution using the default Cloud Build pool. Corresponds to the JSON property ‘defaultPool` @return [Google::Apis::ClouddeployV1::DefaultPool]
Execution using a private Cloud Build pool. Corresponds to the JSON property ‘privatePool` @return [Google::Apis::ClouddeployV1::PrivatePool]
Optional. Google
service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) is used. Corresponds to the JSON property ‘serviceAccount` @return [String]
Required. Usages when this configuration should be applied. Corresponds to the JSON property ‘usages` @return [Array<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. Corresponds to the JSON property `workerPool` @return [String]
Public Class Methods
# File lib/google/apis/clouddeploy_v1/classes.rb, line 506 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/clouddeploy_v1/classes.rb, line 511 def update!(**args) @artifact_storage = args[:artifact_storage] if args.key?(:artifact_storage) @default_pool = args[:default_pool] if args.key?(:default_pool) @private_pool = args[:private_pool] if args.key?(:private_pool) @service_account = args[:service_account] if args.key?(:service_account) @usages = args[:usages] if args.key?(:usages) @worker_pool = args[:worker_pool] if args.key?(:worker_pool) end