Class: Google::Apis::ComputeBeta::SubnetworkUtilizationDetailsIpv6Utilization

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



66608
66609
66610
# File 'lib/google/apis/compute_beta/classes.rb', line 66608

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

Instance Attribute Details

#total_allocated_ipGoogle::Apis::ComputeBeta::Uint128

Corresponds to the JSON property totalAllocatedIp



66601
66602
66603
# File 'lib/google/apis/compute_beta/classes.rb', line 66601

def total_allocated_ip
  @total_allocated_ip
end

#total_free_ipGoogle::Apis::ComputeBeta::Uint128

Corresponds to the JSON property totalFreeIp



66606
66607
66608
# File 'lib/google/apis/compute_beta/classes.rb', line 66606

def total_free_ip
  @total_free_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



66613
66614
66615
66616
# File 'lib/google/apis/compute_beta/classes.rb', line 66613

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