Class: Google::Apis::ContaineranalysisV1alpha1::BuildDefinition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildDefinition

Returns a new instance of BuildDefinition.



407
408
409
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 407

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

Instance Attribute Details

#build_typeString

Corresponds to the JSON property buildType

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 390

def build_type
  @build_type
end

#external_parametersHash<String,Object>

Corresponds to the JSON property externalParameters

Returns:

  • (Hash<String,Object>)


395
396
397
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 395

def external_parameters
  @external_parameters
end

#internal_parametersHash<String,Object>

Corresponds to the JSON property internalParameters

Returns:

  • (Hash<String,Object>)


400
401
402
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 400

def internal_parameters
  @internal_parameters
end

#resolved_dependenciesArray<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>

Corresponds to the JSON property resolvedDependencies



405
406
407
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 405

def resolved_dependencies
  @resolved_dependencies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



412
413
414
415
416
417
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 412

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