Class: Google::Apis::ComputeAlpha::FutureReservationStatusExistingMatchingUsageInfo

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] Represents the existing matching usage for the future reservation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureReservationStatusExistingMatchingUsageInfo

Returns a new instance of FutureReservationStatusExistingMatchingUsageInfo.



14361
14362
14363
# File 'lib/google/apis/compute_alpha/classes.rb', line 14361

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

Instance Attribute Details

#countFixnum

Count to represent min(FR total_count, matching_reserved_capacity+ matching_unreserved_instances) Corresponds to the JSON property count

Returns:

  • (Fixnum)


14354
14355
14356
# File 'lib/google/apis/compute_alpha/classes.rb', line 14354

def count
  @count
end

#timestampString

Timestamp when the matching usage was calculated Corresponds to the JSON property timestamp

Returns:

  • (String)


14359
14360
14361
# File 'lib/google/apis/compute_alpha/classes.rb', line 14359

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14366
14367
14368
14369
# File 'lib/google/apis/compute_alpha/classes.rb', line 14366

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