Class: Google::Apis::ComputeAlpha::AllocationResourceStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.



1247
1248
1249
# File 'lib/google/apis/compute_alpha/classes.rb', line 1247

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

Instance Attribute Details

#specific_sku_allocationGoogle::Apis::ComputeAlpha::AllocationResourceStatusSpecificSkuAllocation

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



1245
1246
1247
# File 'lib/google/apis/compute_alpha/classes.rb', line 1245

def specific_sku_allocation
  @specific_sku_allocation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1252
1253
1254
# File 'lib/google/apis/compute_alpha/classes.rb', line 1252

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