Class: Google::Apis::ClouddeployV1::PrivatePool
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::PrivatePool
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Execution using a private Cloud Build pool.
Instance Attribute Summary collapse
-
#artifact_storage ⇒ String
Optional.
-
#service_account ⇒ String
Optional.
-
#worker_pool ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivatePool
constructor
A new instance of PrivatePool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivatePool
Returns a new instance of PrivatePool.
3992 3993 3994 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_storage ⇒ String
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
3977 3978 3979 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3977 def artifact_storage @artifact_storage end |
#service_account ⇒ String
Optional. Google service account to use for execution. If unspecified, the
project execution service account ([email protected])
will be used.
Corresponds to the JSON property serviceAccount
3984 3985 3986 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3984 def service_account @service_account end |
#worker_pool ⇒ String
Required. Resource name of the Cloud Build worker pool to use. The format is
projects/project/locations/location/workerPools/pool`.
Corresponds to the JSON propertyworkerPool`
3990 3991 3992 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3990 def worker_pool @worker_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3997 3998 3999 4000 4001 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3997 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 |