Class: Google::Apis::ComputeAlpha::FutureReservationStatusExistingMatchingUsageInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FutureReservationStatusExistingMatchingUsageInfo
- 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
-
#count ⇒ Fixnum
Output only.
-
#timestamp ⇒ String
Output only.
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.
16941 16942 16943 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16941 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Output only. Count to represent min(FR total_count,
matching_reserved_capacity+matching_unreserved_instances)
Corresponds to the JSON property count
16934 16935 16936 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16934 def count @count end |
#timestamp ⇒ String
Output only. Timestamp when the matching usage was calculated
Corresponds to the JSON property timestamp
16939 16940 16941 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16939 def @timestamp end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16946 16947 16948 16949 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16946 def update!(**args) @count = args[:count] if args.key?(:count) @timestamp = args[:timestamp] if args.key?(:timestamp) end |