Class: Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallMsi
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::SoftwareRecipeStepInstallMsi
- 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 MSI file.
Instance Attribute Summary collapse
-
#allowed_exit_codes ⇒ Array<Fixnum>
Return codes that indicate that the software installed or updated successfully.
-
#artifact_id ⇒ String
Required.
-
#flags ⇒ Array<String>
The flags to use when installing the MSI defaults to "/i".
Instance Method Summary collapse
-
#initialize(**args) ⇒ SoftwareRecipeStepInstallMsi
constructor
A new instance of SoftwareRecipeStepInstallMsi.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SoftwareRecipeStepInstallMsi
Returns a new instance of SoftwareRecipeStepInstallMsi.
2378 2379 2380 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_exit_codes ⇒ Array<Fixnum>
Return codes that indicate that the software installed or updated successfully.
Behaviour defaults to [0]
Corresponds to the JSON property allowedExitCodes
2365 2366 2367 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2365 def allowed_exit_codes @allowed_exit_codes end |
#artifact_id ⇒ String
Required. The id of the relevant artifact in the recipe.
Corresponds to the JSON property artifactId
2370 2371 2372 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2370 def artifact_id @artifact_id end |
#flags ⇒ Array<String>
The flags to use when installing the MSI defaults to "/i".
Corresponds to the JSON property flags
2376 2377 2378 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2376 def flags @flags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2383 2384 2385 2386 2387 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 2383 def update!(**args) @allowed_exit_codes = args[:allowed_exit_codes] if args.key?(:allowed_exit_codes) @artifact_id = args[:artifact_id] if args.key?(:artifact_id) @flags = args[:flags] if args.key?(:flags) end |