Class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb more...
Overview
Details about how a build should be executed on a WorkerPool
. See running
builds in a private pool for more information.
Instance Attribute Summary collapse
-
#name ⇒ String
The
WorkerPool
resource to execute the build on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption
constructor
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption.
1878 1879 1880 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The WorkerPool
resource to execute the build on. You must have cloudbuild.
workerpools.use
on the project hosting the WorkerPool. Format projects/
project
/locations/location
/workerPools/workerPoolId
Corresponds to the JSON property name
1876 1877 1878 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1876 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1883 1884 1885 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1883 def update!(**args) @name = args[:name] if args.key?(:name) end |