Class: Google::Apis::ComputeAlpha::VmExtensionPolicyExtensionPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VmExtensionPolicyExtensionPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Configuration for a specific VM extension.
Instance Attribute Summary collapse
-
#installed_software_selector ⇒ Google::Apis::ComputeAlpha::VmExtensionPolicyInstalledSoftwareSelector
Defines the software requirements for a VM extension policy.
-
#pinned_version ⇒ String
Optional.
-
#string_config ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmExtensionPolicyExtensionPolicy
constructor
A new instance of VmExtensionPolicyExtensionPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmExtensionPolicyExtensionPolicy
Returns a new instance of VmExtensionPolicyExtensionPolicy.
83722 83723 83724 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 83722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#installed_software_selector ⇒ Google::Apis::ComputeAlpha::VmExtensionPolicyInstalledSoftwareSelector
Defines the software requirements for a VM extension policy.
Corresponds to the JSON property installedSoftwareSelector
83708 83709 83710 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 83708 def installed_software_selector @installed_software_selector end |
#pinned_version ⇒ String
Optional. The specific version of the extension to install. If not set, the
latest
version is used.
Corresponds to the JSON property pinnedVersion
83715 83716 83717 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 83715 def pinned_version @pinned_version end |
#string_config ⇒ String
Optional. String-based configuration data for the extension.
Corresponds to the JSON property stringConfig
83720 83721 83722 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 83720 def string_config @string_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
83727 83728 83729 83730 83731 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 83727 def update!(**args) @installed_software_selector = args[:installed_software_selector] if args.key?(:installed_software_selector) @pinned_version = args[:pinned_version] if args.key?(:pinned_version) @string_config = args[:string_config] if args.key?(:string_config) end |