Class: Google::Apis::ComputeAlpha::GlobalVmExtensionPolicyInstalledSoftwareSelector

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) ⇒ GlobalVmExtensionPolicyInstalledSoftwareSelector

Returns a new instance of GlobalVmExtensionPolicyInstalledSoftwareSelector.



19740
19741
19742
# File 'lib/google/apis/compute_alpha/classes.rb', line 19740

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

Instance Attribute Details

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

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



19738
19739
19740
# File 'lib/google/apis/compute_alpha/classes.rb', line 19738

def any_of_selectors
  @any_of_selectors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19745
19746
19747
# File 'lib/google/apis/compute_alpha/classes.rb', line 19745

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