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

Message for the response to getting the utilization of a CustomRange

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShowCustomRangeUtilizationResponse

Returns a new instance of ShowCustomRangeUtilizationResponse.



1302
1303
1304
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1302

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

Instance Attribute Details

#custom_rangeGoogle::Apis::CloudnumberregistryV1alpha::CustomRange

Message describing CustomRange object Corresponds to the JSON property customRange



1295
1296
1297
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1295

def custom_range
  @custom_range
end

#range_utilizationGoogle::Apis::CloudnumberregistryV1alpha::RangeUtilization

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



1300
1301
1302
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1300

def range_utilization
  @range_utilization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1307
1308
1309
1310
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 1307

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