Class: Google::Apis::ComputeBeta::GroupMaintenanceInfo

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

Overview

Maintenance Info for ReservationBlocks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GroupMaintenanceInfo

Returns a new instance of GroupMaintenanceInfo.



12333
12334
12335
# File 'lib/google/apis/compute_beta/classes.rb', line 12333

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

Instance Attribute Details

#maintenance_ongoing_countFixnum

Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance. Corresponds to the JSON property maintenanceOngoingCount

Returns:

  • (Fixnum)


12315
12316
12317
# File 'lib/google/apis/compute_beta/classes.rb', line 12315

def maintenance_ongoing_count
  @maintenance_ongoing_count
end

#maintenance_pending_countFixnum

Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have pending maintenance. Corresponds to the JSON property maintenancePendingCount

Returns:

  • (Fixnum)


12321
12322
12323
# File 'lib/google/apis/compute_beta/classes.rb', line 12321

def maintenance_pending_count
  @maintenance_pending_count
end

#scheduling_typeString

The type of maintenance for the reservation. Corresponds to the JSON property schedulingType

Returns:

  • (String)


12326
12327
12328
# File 'lib/google/apis/compute_beta/classes.rb', line 12326

def scheduling_type
  @scheduling_type
end

#upcoming_group_maintenanceGoogle::Apis::ComputeBeta::UpcomingMaintenance

Upcoming Maintenance notification information. Corresponds to the JSON property upcomingGroupMaintenance



12331
12332
12333
# File 'lib/google/apis/compute_beta/classes.rb', line 12331

def upcoming_group_maintenance
  @upcoming_group_maintenance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12338
12339
12340
12341
12342
12343
# File 'lib/google/apis/compute_beta/classes.rb', line 12338

def update!(**args)
  @maintenance_ongoing_count = args[:maintenance_ongoing_count] if args.key?(:maintenance_ongoing_count)
  @maintenance_pending_count = args[:maintenance_pending_count] if args.key?(:maintenance_pending_count)
  @scheduling_type = args[:scheduling_type] if args.key?(:scheduling_type)
  @upcoming_group_maintenance = args[:upcoming_group_maintenance] if args.key?(:upcoming_group_maintenance)
end