Class: Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallRpm
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallRpm
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1beta/classes.rb,
lib/google/apis/osconfig_v1beta/representations.rb,
lib/google/apis/osconfig_v1beta/representations.rb
Overview
Installs an rpm file via the rpm utility.
Instance Attribute Summary collapse
-
#artifact_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SoftwareRecipeStepInstallRpm
constructor
A new instance of SoftwareRecipeStepInstallRpm.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SoftwareRecipeStepInstallRpm
Returns a new instance of SoftwareRecipeStepInstallRpm.
2169 2170 2171 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2169 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact_id ⇒ String
Required. The id of the relevant artifact in the recipe.
Corresponds to the JSON property artifactId
2167 2168 2169 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2167 def artifact_id @artifact_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2174 2175 2176 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2174 def update!(**args) @artifact_id = args[:artifact_id] if args.key?(:artifact_id) end |