Class: Google::Apis::ComputeAlpha::ReservationsPerformMaintenanceRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationsPerformMaintenanceRequest

Returns a new instance of ReservationsPerformMaintenanceRequest.



42433
42434
42435
# File 'lib/google/apis/compute_alpha/classes.rb', line 42433

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#maintenance_scopeString

Specifies if all, running or unused hosts are in scope for this request. Corresponds to the JSON property maintenanceScope

Returns:

  • (String)


42431
42432
42433
# File 'lib/google/apis/compute_alpha/classes.rb', line 42431

def maintenance_scope
  @maintenance_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42438
42439
42440
# File 'lib/google/apis/compute_alpha/classes.rb', line 42438

def update!(**args)
  @maintenance_scope = args[:maintenance_scope] if args.key?(:maintenance_scope)
end