Class: Google::Apis::CloudnumberregistryV1alpha::ShowDiscoveredRangeUtilizationResponse

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.ShowDiscoveredRangeUtilization method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShowDiscoveredRangeUtilizationResponse

Returns a new instance of ShowDiscoveredRangeUtilizationResponse.



1363
1364
1365
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1363

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#discovered_rangeGoogle::Apis::CloudnumberregistryV1alpha::DiscoveredRange

A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline. Corresponds to the JSON property discoveredRange



1355
1356
1357
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1355

def discovered_range
  @discovered_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



1361
1362
1363
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1361

def range_utilization
  @range_utilization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1368
1369
1370
1371
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1368

def update!(**args)
  @discovered_range = args[:discovered_range] if args.key?(:discovered_range)
  @range_utilization = args[:range_utilization] if args.key?(:range_utilization)
end