Class: Google::Apis::OsconfigV1beta::SoftwareRecipeStepExtractArchive
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::SoftwareRecipeStepExtractArchive
- 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
Extracts an archive of the type specified in the specified directory.
Instance Attribute Summary collapse
-
#artifact_id ⇒ String
Required.
-
#destination ⇒ String
Directory to extract archive to.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SoftwareRecipeStepExtractArchive
constructor
A new instance of SoftwareRecipeStepExtractArchive.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SoftwareRecipeStepExtractArchive
Returns a new instance of SoftwareRecipeStepExtractArchive.
2326 2327 2328 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2326 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
2314 2315 2316 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2314 def artifact_id @artifact_id end |
#destination ⇒ String
Directory to extract archive to. Defaults to /
on Linux or C:\
on Windows.
Corresponds to the JSON property destination
2319 2320 2321 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2319 def destination @destination end |
#type ⇒ String
Required. The type of the archive to extract.
Corresponds to the JSON property type
2324 2325 2326 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2324 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2331 2332 2333 2334 2335 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2331 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 |