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

Message for the response to getting the utilization of a DiscoveredRange

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShowDiscoveredRangeUtilizationResponse

Returns a new instance of ShowDiscoveredRangeUtilizationResponse.



1327
1328
1329
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1327

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

Instance Attribute Details

#discovered_rangeGoogle::Apis::CloudnumberregistryV1alpha::DiscoveredRange

Message describing DiscoveredRange object Corresponds to the JSON property discoveredRange



1320
1321
1322
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1320

def discovered_range
  @discovered_range
end

#range_utilizationGoogle::Apis::CloudnumberregistryV1alpha::RangeUtilization

Message for the utilization of an IP range Corresponds to the JSON property rangeUtilization



1325
1326
1327
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1325

def range_utilization
  @range_utilization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1332
1333
1334
1335
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1332

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