Class: Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallDpkg

Inherits:
Object
  • Object
show all
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 a deb via dpkg.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SoftwareRecipeStepInstallDpkg

Returns a new instance of SoftwareRecipeStepInstallDpkg.



2117
2118
2119
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2117

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)


2115
2116
2117
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2115

def artifact_id
  @artifact_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2122
2123
2124
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 2122

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