Class: Google::Apis::CloudnumberregistryV1alpha::ShowCustomRangeUtilizationResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudnumberregistryV1alpha::ShowCustomRangeUtilizationResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudnumberregistry_v1alpha/classes.rb,
lib/google/apis/cloudnumberregistry_v1alpha/representations.rb,
lib/google/apis/cloudnumberregistry_v1alpha/representations.rb
Overview
Response message for the CloudNumberRegistry.ShowCustomRangeUtilization method.
Instance Attribute Summary collapse
-
#custom_range ⇒ Google::Apis::CloudnumberregistryV1alpha::CustomRange
A CustomRange represents a user-defined IP address range.
-
#range_utilization ⇒ Google::Apis::CloudnumberregistryV1alpha::RangeUtilization
Utilization metrics for an IP Range, including consumed and produced address counts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShowCustomRangeUtilizationResponse
constructor
A new instance of ShowCustomRangeUtilizationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShowCustomRangeUtilizationResponse
Returns a new instance of ShowCustomRangeUtilizationResponse.
1335 1336 1337 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_range ⇒ Google::Apis::CloudnumberregistryV1alpha::CustomRange
A CustomRange represents a user-defined IP address range.
Corresponds to the JSON property customRange
1327 1328 1329 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1327 def custom_range @custom_range end |
#range_utilization ⇒ Google::Apis::CloudnumberregistryV1alpha::RangeUtilization
Utilization metrics for an IP Range, including consumed and produced address
counts.
Corresponds to the JSON property rangeUtilization
1333 1334 1335 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1333 def range_utilization @range_utilization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1340 1341 1342 1343 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1340 def update!(**args) @custom_range = args[:custom_range] if args.key?(:custom_range) @range_utilization = args[:range_utilization] if args.key?(:range_utilization) end |