Class: Google::Apis::ComputeBeta::AllocationResourceStatus

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

[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.



1306
1307
1308
# File 'lib/google/apis/compute_beta/classes.rb', line 1306

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

Instance Attribute Details

#specific_sku_allocationGoogle::Apis::ComputeBeta::AllocationResourceStatusSpecificSkuAllocation

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



1304
1305
1306
# File 'lib/google/apis/compute_beta/classes.rb', line 1304

def specific_sku_allocation
  @specific_sku_allocation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1311
1312
1313
# File 'lib/google/apis/compute_beta/classes.rb', line 1311

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