Class: Google::Apis::ComputeAlpha::VmExtensionPolicyInstalledSoftwareSelector

Inherits:
Object
  • Object
show all
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

Defines the software requirements for a VM extension policy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmExtensionPolicyInstalledSoftwareSelector

Returns a new instance of VmExtensionPolicyInstalledSoftwareSelector.



83745
83746
83747
# File 'lib/google/apis/compute_alpha/classes.rb', line 83745

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#any_of_selectorsHash<String,Google::Apis::ComputeAlpha::VmExtensionPolicyInstalledSoftwareSelectorSelectorSet>

Optional. If any of these SelectorSets are satisfied, the condition is met (OR logic). The key is a user-provided name for this set. Corresponds to the JSON property anyOfSelectors



83743
83744
83745
# File 'lib/google/apis/compute_alpha/classes.rb', line 83743

def any_of_selectors
  @any_of_selectors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83750
83751
83752
# File 'lib/google/apis/compute_alpha/classes.rb', line 83750

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