Class: Google::Apis::DeploymentmanagerAlpha::GetVersionOperationMetadataSbomInfo
- Inherits:
-
Object
- Object
- Google::Apis::DeploymentmanagerAlpha::GetVersionOperationMetadataSbomInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/deploymentmanager_alpha/classes.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb,
lib/google/apis/deploymentmanager_alpha/representations.rb
Instance Attribute Summary collapse
-
#current_component_versions ⇒ Hash<String,String>
SBOM versions currently applied to the resource.
-
#target_component_versions ⇒ Hash<String,String>
SBOM versions scheduled for the next maintenance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetVersionOperationMetadataSbomInfo
constructor
A new instance of GetVersionOperationMetadataSbomInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetVersionOperationMetadataSbomInfo
Returns a new instance of GetVersionOperationMetadataSbomInfo.
1091 1092 1093 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_component_versions ⇒ Hash<String,String>
SBOM versions currently applied to the resource. The key is the component name
and the value is the version.
Corresponds to the JSON property currentComponentVersions
1083 1084 1085 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1083 def current_component_versions @current_component_versions end |
#target_component_versions ⇒ Hash<String,String>
SBOM versions scheduled for the next maintenance. The key is the component
name and the value is the version.
Corresponds to the JSON property targetComponentVersions
1089 1090 1091 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1089 def target_component_versions @target_component_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1096 1097 1098 1099 |
# File 'lib/google/apis/deploymentmanager_alpha/classes.rb', line 1096 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 |