Class: Google::Apis::ComputeV1::GetVersionOperationMetadataSbomInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetVersionOperationMetadataSbomInfo

Returns a new instance of GetVersionOperationMetadataSbomInfo.



15745
15746
15747
# File 'lib/google/apis/compute_v1/classes.rb', line 15745

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

Instance Attribute Details

#current_component_versionsHash<String,String>

A mapping of components to their currently-applied versions or other appropriate identifiers. Corresponds to the JSON property currentComponentVersions

Returns:

  • (Hash<String,String>)


15737
15738
15739
# File 'lib/google/apis/compute_v1/classes.rb', line 15737

def current_component_versions
  @current_component_versions
end

#target_component_versionsHash<String,String>

A mapping of components to their target versions or other appropriate identifiers. Corresponds to the JSON property targetComponentVersions

Returns:

  • (Hash<String,String>)


15743
15744
15745
# File 'lib/google/apis/compute_v1/classes.rb', line 15743

def target_component_versions
  @target_component_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15750
15751
15752
15753
# File 'lib/google/apis/compute_v1/classes.rb', line 15750

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