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
14240 14241 14242 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14240 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
14232 14233 14234 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14232 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
14238 14239 14240 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14238 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14245 14246 14247 14248 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 14245 def update!(**args) @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) @warning = args[:warning] if args.key?(:warning) end |