Class: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv4Utilization
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv4Utilization
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
The IPV4 utilization of a single IP range.
Instance Attribute Summary collapse
-
#range_name ⇒ String
Will be set for secondary range.
-
#total_allocated_ip ⇒ Fixnum
Corresponds to the JSON property
totalAllocatedIp. -
#total_free_ip ⇒ Fixnum
Corresponds to the JSON property
totalFreeIp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubnetworkUtilizationDetailsIpv4Utilization
constructor
A new instance of SubnetworkUtilizationDetailsIpv4Utilization.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SubnetworkUtilizationDetailsIpv4Utilization
Returns a new instance of SubnetworkUtilizationDetailsIpv4Utilization.
59873 59874 59875 |
# File 'lib/google/apis/compute_v1/classes.rb', line 59873 def initialize(**args) update!(**args) end |
Instance Attribute Details
#range_name ⇒ String
Will be set for secondary range. Empty for primary IPv4 range.
Corresponds to the JSON property rangeName
59861 59862 59863 |
# File 'lib/google/apis/compute_v1/classes.rb', line 59861 def range_name @range_name end |
#total_allocated_ip ⇒ Fixnum
Corresponds to the JSON property totalAllocatedIp
59866 59867 59868 |
# File 'lib/google/apis/compute_v1/classes.rb', line 59866 def total_allocated_ip @total_allocated_ip end |
#total_free_ip ⇒ Fixnum
Corresponds to the JSON property totalFreeIp
59871 59872 59873 |
# File 'lib/google/apis/compute_v1/classes.rb', line 59871 def total_free_ip @total_free_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59878 59879 59880 59881 59882 |
# File 'lib/google/apis/compute_v1/classes.rb', line 59878 def update!(**args) @range_name = args[:range_name] if args.key?(:range_name) @total_allocated_ip = args[:total_allocated_ip] if args.key?(:total_allocated_ip) @total_free_ip = args[:total_free_ip] if args.key?(:total_free_ip) end |