Class: Google::Apis::ContaineranalysisV1alpha1::BuildDefinition
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::BuildDefinition
- 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
Instance Attribute Summary collapse
-
#build_type ⇒ String
Corresponds to the JSON property
buildType. -
#external_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
externalParameters. -
#internal_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
internalParameters. -
#resolved_dependencies ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>
Corresponds to the JSON property
resolvedDependencies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildDefinition
constructor
A new instance of BuildDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildDefinition
Returns a new instance of BuildDefinition.
382 383 384 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build_type ⇒ String
Corresponds to the JSON property buildType
365 366 367 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 365 def build_type @build_type end |
#external_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property externalParameters
370 371 372 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 370 def external_parameters @external_parameters end |
#internal_parameters ⇒ Hash<String,Object>
Corresponds to the JSON property internalParameters
375 376 377 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 375 def internal_parameters @internal_parameters end |
#resolved_dependencies ⇒ Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>
Corresponds to the JSON property resolvedDependencies
380 381 382 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 380 def resolved_dependencies @resolved_dependencies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 391 392 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 387 def update!(**args) @build_type = args[:build_type] if args.key?(:build_type) @external_parameters = args[:external_parameters] if args.key?(:external_parameters) @internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters) @resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies) end |