Class: Google::Apis::ComputeAlpha::SubnetworkUtilizationDetailsIpv4Utilization
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SubnetworkUtilizationDetailsIpv4Utilization
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.
64571 64572 64573 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 64571 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
64559 64560 64561 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 64559 def range_name @range_name end |
#total_allocated_ip ⇒ Fixnum
Corresponds to the JSON property totalAllocatedIp
64564 64565 64566 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 64564 def total_allocated_ip @total_allocated_ip end |
#total_free_ip ⇒ Fixnum
Corresponds to the JSON property totalFreeIp
64569 64570 64571 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 64569 def total_free_ip @total_free_ip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
64576 64577 64578 64579 64580 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 64576 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 |