Class: Google::Apis::ComputeV1::AllocationResourceStatus

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

Overview

[Output Only] Contains output only fields.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AllocationResourceStatus

Returns a new instance of AllocationResourceStatus.



1517
1518
1519
# File 'lib/google/apis/compute_v1/classes.rb', line 1517

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

Instance Attribute Details

#health_infoGoogle::Apis::ComputeV1::AllocationResourceStatusHealthInfo

Health information for the reservation. Corresponds to the JSON property healthInfo



1500
1501
1502
# File 'lib/google/apis/compute_v1/classes.rb', line 1500

def health_info
  @health_info
end

#reservation_block_countFixnum

The number of reservation blocks associated with this reservation. Corresponds to the JSON property reservationBlockCount

Returns:

  • (Fixnum)


1505
1506
1507
# File 'lib/google/apis/compute_v1/classes.rb', line 1505

def reservation_block_count
  @reservation_block_count
end

#reservation_maintenanceGoogle::Apis::ComputeV1::GroupMaintenanceInfo

Maintenance Info for ReservationBlocks. Corresponds to the JSON property reservationMaintenance



1510
1511
1512
# File 'lib/google/apis/compute_v1/classes.rb', line 1510

def reservation_maintenance
  @reservation_maintenance
end

#specific_sku_allocationGoogle::Apis::ComputeV1::AllocationResourceStatusSpecificSkuAllocation

Contains Properties set for the reservation. Corresponds to the JSON property specificSkuAllocation



1515
1516
1517
# File 'lib/google/apis/compute_v1/classes.rb', line 1515

def specific_sku_allocation
  @specific_sku_allocation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1522
1523
1524
1525
1526
1527
# File 'lib/google/apis/compute_v1/classes.rb', line 1522

def update!(**args)
  @health_info = args[:health_info] if args.key?(:health_info)
  @reservation_block_count = args[:reservation_block_count] if args.key?(:reservation_block_count)
  @reservation_maintenance = args[:reservation_maintenance] if args.key?(:reservation_maintenance)
  @specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
end