Class: Google::Apis::ComputeAlpha::ReservationsPerformMaintenanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ReservationsPerformMaintenanceRequest
- 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
Instance Attribute Summary collapse
-
#maintenance_scope ⇒ String
Specifies if all, running or unused hosts are in scope for this request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReservationsPerformMaintenanceRequest
constructor
A new instance of ReservationsPerformMaintenanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReservationsPerformMaintenanceRequest
Returns a new instance of ReservationsPerformMaintenanceRequest.
43249 43250 43251 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maintenance_scope ⇒ String
Specifies if all, running or unused hosts are in scope for this request.
Corresponds to the JSON property maintenanceScope
43247 43248 43249 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43247 def maintenance_scope @maintenance_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
43254 43255 43256 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 43254 def update!(**args) @maintenance_scope = args[:maintenance_scope] if args.key?(:maintenance_scope) end |