Class: Google::Apis::ContainerV1::RangeInfo
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::RangeInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
RangeInfo contains the range name and the range utilization by this cluster.
Instance Attribute Summary collapse
-
#range_name ⇒ String
Output only.
-
#utilization ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RangeInfo
constructor
A new instance of RangeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RangeInfo
Returns a new instance of RangeInfo.
5119 5120 5121 |
# File 'lib/google/apis/container_v1/classes.rb', line 5119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#range_name ⇒ String
Output only. [Output only] Name of a range.
Corresponds to the JSON property rangeName
5112 5113 5114 |
# File 'lib/google/apis/container_v1/classes.rb', line 5112 def range_name @range_name end |
#utilization ⇒ Float
Output only. [Output only] The utilization of the range.
Corresponds to the JSON property utilization
5117 5118 5119 |
# File 'lib/google/apis/container_v1/classes.rb', line 5117 def utilization @utilization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5124 5125 5126 5127 |
# File 'lib/google/apis/container_v1/classes.rb', line 5124 def update!(**args) @range_name = args[:range_name] if args.key?(:range_name) @utilization = args[:utilization] if args.key?(:utilization) end |