Class: Google::Apis::ComputeBeta::ReservationsPerformMaintenanceRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationsPerformMaintenanceRequest

Returns a new instance of ReservationsPerformMaintenanceRequest.



50670
50671
50672
# File 'lib/google/apis/compute_beta/classes.rb', line 50670

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)


50668
50669
50670
# File 'lib/google/apis/compute_beta/classes.rb', line 50668

def maintenance_scope
  @maintenance_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50675
50676
50677
# File 'lib/google/apis/compute_beta/classes.rb', line 50675

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