class Google::Apis::OsconfigV1beta::SoftwareRecipeStepExtractArchive

Extracts an archive of the type specified in the specified directory.

Attributes

artifact_id[RW]

Required. The id of the relevant artifact in the recipe. Corresponds to the JSON property `artifactId` @return [String]

destination[RW]

Directory to extract archive to. Defaults to `/` on Linux or `C:` on Windows. Corresponds to the JSON property `destination` @return [String]

type[RW]

Required. The type of the archive to extract. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 1953
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 1958
def update!(**args)
  @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
  @destination = args[:destination] if args.key?(:destination)
  @type = args[:type] if args.key?(:type)
end