class Google::Apis::ClouddeployV1::PrivatePool

Execution using a private Cloud Build pool.

Attributes

artifact_storage[RW]

Optional. Cloud Storage location where execution outputs should be stored. 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]

service_account[RW]

Optional. Google service account to use for execution. If unspecified, the project execution service account (-compute@developer.gserviceaccount.com) will be used. Corresponds to the JSON property ‘serviceAccount` @return [String]

worker_pool[RW]

Required. Resource name of the Cloud Build worker pool to use. The format is ‘ projects/`project`/locations/`location`/workerPools/`pool“. Corresponds to the JSON property `workerPool` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouddeploy_v1/classes.rb, line 1129
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouddeploy_v1/classes.rb, line 1134
def update!(**args)
  @artifact_storage = args[:artifact_storage] if args.key?(:artifact_storage)
  @service_account = args[:service_account] if args.key?(:service_account)
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
end