Class: Google::Apis::CloudnumberregistryV1alpha::Range
- Inherits:
-
Object
- Object
- Google::Apis::CloudnumberregistryV1alpha::Range
- 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 describing either a CustomRange or a DiscoveredRange.
Instance Attribute Summary collapse
-
#custom_range ⇒ Google::Apis::CloudnumberregistryV1alpha::CustomRange
Message describing CustomRange object Corresponds to the JSON property
customRange. -
#discovered_range ⇒ Google::Apis::CloudnumberregistryV1alpha::DiscoveredRange
Message describing DiscoveredRange object Corresponds to the JSON property
discoveredRange. -
#utilization ⇒ Google::Apis::CloudnumberregistryV1alpha::RangeUtilization
Message for the utilization of an IP range Corresponds to the JSON property
utilization.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Range
constructor
A new instance of Range.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Range
Returns a new instance of Range.
957 958 959 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 957 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_range ⇒ Google::Apis::CloudnumberregistryV1alpha::CustomRange
Message describing CustomRange object
Corresponds to the JSON property customRange
945 946 947 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 945 def custom_range @custom_range end |
#discovered_range ⇒ Google::Apis::CloudnumberregistryV1alpha::DiscoveredRange
Message describing DiscoveredRange object
Corresponds to the JSON property discoveredRange
950 951 952 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 950 def discovered_range @discovered_range end |
#utilization ⇒ Google::Apis::CloudnumberregistryV1alpha::RangeUtilization
Message for the utilization of an IP range
Corresponds to the JSON property utilization
955 956 957 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 955 def utilization @utilization end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
962 963 964 965 966 |
# File 'lib/google/apis/cloudnumberregistry_v1alpha/classes.rb', line 962 def update!(**args) @custom_range = args[:custom_range] if args.key?(:custom_range) @discovered_range = args[:discovered_range] if args.key?(:discovered_range) @utilization = args[:utilization] if args.key?(:utilization) end |