Class: Google::Apis::ComputeV1::SubnetworkUtilizationDetailsIpv6Utilization

Inherits:
Object
  • Object
show all
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 IPV6 utilization of a single IP range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SubnetworkUtilizationDetailsIpv6Utilization

Returns a new instance of SubnetworkUtilizationDetailsIpv6Utilization.



59899
59900
59901
# File 'lib/google/apis/compute_v1/classes.rb', line 59899

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

Instance Attribute Details

#total_allocated_ipGoogle::Apis::ComputeV1::Uint128

Corresponds to the JSON property totalAllocatedIp



59892
59893
59894
# File 'lib/google/apis/compute_v1/classes.rb', line 59892

def total_allocated_ip
  @total_allocated_ip
end

#total_free_ipGoogle::Apis::ComputeV1::Uint128

Corresponds to the JSON property totalFreeIp



59897
59898
59899
# File 'lib/google/apis/compute_v1/classes.rb', line 59897

def total_free_ip
  @total_free_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59904
59905
59906
59907
# File 'lib/google/apis/compute_v1/classes.rb', line 59904

def update!(**args)
  @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