Class: Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList
- 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
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#vm_extension_policies ⇒ Array<Google::Apis::ComputeAlpha::VmExtensionPolicy>
List of VmExtensionPolicy resources contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList::Warning
Informational warning which replaces the list of backend services when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmExtensionPoliciesScopedList
constructor
A new instance of VmExtensionPoliciesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmExtensionPoliciesScopedList
Returns a new instance of VmExtensionPoliciesScopedList.
81010 81011 81012 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 81010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#vm_extension_policies ⇒ Array<Google::Apis::ComputeAlpha::VmExtensionPolicy>
List of VmExtensionPolicy resources contained in this scope.
Corresponds to the JSON property vmExtensionPolicies
81002 81003 81004 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 81002 def vm_extension_policies @vm_extension_policies end |
#warning ⇒ Google::Apis::ComputeAlpha::VmExtensionPoliciesScopedList::Warning
Informational warning which replaces the list of
backend services when the list is empty.
Corresponds to the JSON property warning
81008 81009 81010 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 81008 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
81015 81016 81017 81018 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 81015 def update!(**args) @vm_extension_policies = args[:vm_extension_policies] if args.key?(:vm_extension_policies) @warning = args[:warning] if args.key?(:warning) end |