Class: Google::Apis::ComputeV1::ReservationsBlocksPerformMaintenanceRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationsBlocksPerformMaintenanceRequest

Returns a new instance of ReservationsBlocksPerformMaintenanceRequest.



43392
43393
43394
# File 'lib/google/apis/compute_v1/classes.rb', line 43392

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)


43390
43391
43392
# File 'lib/google/apis/compute_v1/classes.rb', line 43390

def maintenance_scope
  @maintenance_scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43397
43398
43399
# File 'lib/google/apis/compute_v1/classes.rb', line 43397

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