Class: Google::Apis::ComputeAlpha::FutureResourcesSpecTargetResources

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

Specification of reserved resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureResourcesSpecTargetResources

Returns a new instance of FutureResourcesSpecTargetResources.



17407
17408
17409
# File 'lib/google/apis/compute_alpha/classes.rb', line 17407

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

Instance Attribute Details

#aggregate_resourcesGoogle::Apis::ComputeAlpha::FutureResourcesSpecAggregateResources

Corresponds to the JSON property aggregateResources



17400
17401
17402
# File 'lib/google/apis/compute_alpha/classes.rb', line 17400

def aggregate_resources
  @aggregate_resources
end

#specific_sku_resourcesGoogle::Apis::ComputeAlpha::FutureResourcesSpecSpecificSkuResources

Corresponds to the JSON property specificSkuResources



17405
17406
17407
# File 'lib/google/apis/compute_alpha/classes.rb', line 17405

def specific_sku_resources
  @specific_sku_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17412
17413
17414
17415
# File 'lib/google/apis/compute_alpha/classes.rb', line 17412

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