Class: Google::Apis::CloudnumberregistryV1alpha::ShowCustomRangeUtilizationResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_rangeGoogle::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_utilizationGoogle::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