Class: Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallRpm

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb

Overview

Installs an rpm file via the rpm utility.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SoftwareRecipeStepInstallRpm

Returns a new instance of SoftwareRecipeStepInstallRpm.



1980
1981
1982
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1980

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

Instance Attribute Details

#artifact_idString

Required. The id of the relevant artifact in the recipe. Corresponds to the JSON property artifactId

Returns:

  • (String)


1978
1979
1980
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1978

def artifact_id
  @artifact_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1985
1986
1987
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1985

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