Class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption

Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption.



1899
1900
1901
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1899

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

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

Returns:

  • (String)


1897
1898
1899
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1897

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1904
1905
1906
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 1904

def update!(**args)
  @name = args[:name] if args.key?(:name)
end