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
13982 13983 13984 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13982 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
13974 13975 13976 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13974 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
13980 13981 13982 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13980 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13987 13988 13989 13990 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 13987 def update!(**args) @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) @warning = args[:warning] if args.key?(:warning) end |