Class: Google::Apis::ClouddeployV1::DefaultPool
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DefaultPool
- 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 the default Cloud Build pool.
Instance Attribute Summary collapse
-
#artifact_storage ⇒ String
Optional.
-
#service_account ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DefaultPool
constructor
A new instance of DefaultPool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DefaultPool
Returns a new instance of DefaultPool.
1633 1634 1635 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1633 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
1624 1625 1626 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1624 def artifact_storage @artifact_storage end |
#service_account ⇒ String
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
1631 1632 1633 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1631 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1638 1639 1640 1641 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1638 def update!(**args) @artifact_storage = args[:artifact_storage] if args.key?(:artifact_storage) @service_account = args[:service_account] if args.key?(:service_account) end |