Class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#maintenance_policies ⇒ Array<Google::Apis::ComputeAlpha::MaintenancePolicy>
List of maintenancePolicies contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning
Informational warning which replaces the list of maintenancePolicies when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaintenancePoliciesScopedList
constructor
A new instance of MaintenancePoliciesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ MaintenancePoliciesScopedList
Returns a new instance of MaintenancePoliciesScopedList
14463 14464 14465 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maintenance_policies ⇒ Array<Google::Apis::ComputeAlpha::MaintenancePolicy>
List of maintenancePolicies contained in this scope.
Corresponds to the JSON property maintenancePolicies
14455 14456 14457 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14455 def maintenance_policies @maintenance_policies end |
#warning ⇒ Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning
Informational warning which replaces the list of maintenancePolicies when the
list is empty.
Corresponds to the JSON property warning
14461 14462 14463 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14461 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14468 14469 14470 14471 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14468 def update!(**args) @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) @warning = args[:warning] if args.key?(:warning) end |