Class: Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
[Output Only] Represents the existing matching usage for the future reservation.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Count to represent min(FR total_count, matching_reserved_capacity+ matching_unreserved_instances) Corresponds to the JSON property
count
. -
#timestamp ⇒ String
Timestamp when the matching usage was calculated Corresponds to the JSON property
timestamp
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureReservationStatusExistingMatchingUsageInfo
constructor
A new instance of FutureReservationStatusExistingMatchingUsageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureReservationStatusExistingMatchingUsageInfo
Returns a new instance of FutureReservationStatusExistingMatchingUsageInfo.
10671 10672 10673 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Count to represent min(FR total_count, matching_reserved_capacity+
matching_unreserved_instances)
Corresponds to the JSON property count
10664 10665 10666 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10664 def count @count end |
#timestamp ⇒ String
Timestamp when the matching usage was calculated
Corresponds to the JSON property timestamp
10669 10670 10671 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10669 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10676 10677 10678 10679 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10676 def update!(**args) @count = args[:count] if args.key?(:count) @timestamp = args[:timestamp] if args.key?(:timestamp) end |