Class: Google::Apis::ComputeAlpha::InstancesAddMaintenancePoliciesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstancesAddMaintenancePoliciesRequest
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#maintenance_policies ⇒ Array<String>
Maintenance policies to be added to this instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstancesAddMaintenancePoliciesRequest
constructor
A new instance of InstancesAddMaintenancePoliciesRequest.
-
#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) ⇒ InstancesAddMaintenancePoliciesRequest
Returns a new instance of InstancesAddMaintenancePoliciesRequest
11504 11505 11506 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maintenance_policies ⇒ Array<String>
Maintenance policies to be added to this instance.
Corresponds to the JSON property maintenancePolicies
11502 11503 11504 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11502 def maintenance_policies @maintenance_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11509 11510 11511 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 11509 def update!(**args) @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies) end |