Class: Google::Apis::ComputeAlpha::SubnetworkUtilizationDetailsIpv6Utilization

Inherits:
Object
  • Object
show all
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 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.



73558
73559
73560
# File 'lib/google/apis/compute_alpha/classes.rb', line 73558

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

Instance Attribute Details

#total_allocated_ipGoogle::Apis::ComputeAlpha::Uint128

Corresponds to the JSON property totalAllocatedIp



73551
73552
73553
# File 'lib/google/apis/compute_alpha/classes.rb', line 73551

def total_allocated_ip
  @total_allocated_ip
end

#total_free_ipGoogle::Apis::ComputeAlpha::Uint128

Corresponds to the JSON property totalFreeIp



73556
73557
73558
# File 'lib/google/apis/compute_alpha/classes.rb', line 73556

def total_free_ip
  @total_free_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



73563
73564
73565
73566
# File 'lib/google/apis/compute_alpha/classes.rb', line 73563

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