Class: Google::Apis::ComputeAlpha::AllocationResourceStatusAggregateAllocation

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

Contains Properties set for the aggregate reservation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AllocationResourceStatusAggregateAllocation

Returns a new instance of AllocationResourceStatusAggregateAllocation.



1448
1449
1450
# File 'lib/google/apis/compute_alpha/classes.rb', line 1448

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

Instance Attribute Details

#utilizationsHash<String,Fixnum>

Per service utilization breakdown. The Key is the Google Cloud managed service name. Corresponds to the JSON property utilizations

Returns:

  • (Hash<String,Fixnum>)


1446
1447
1448
# File 'lib/google/apis/compute_alpha/classes.rb', line 1446

def utilizations
  @utilizations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1453
1454
1455
# File 'lib/google/apis/compute_alpha/classes.rb', line 1453

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