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.



55080
55081
55082
# File 'lib/google/apis/compute_v1/classes.rb', line 55080

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

Instance Attribute Details

#total_allocated_ipGoogle::Apis::ComputeV1::Uint128

Corresponds to the JSON property totalAllocatedIp



55073
55074
55075
# File 'lib/google/apis/compute_v1/classes.rb', line 55073

def total_allocated_ip
  @total_allocated_ip
end

#total_free_ipGoogle::Apis::ComputeV1::Uint128

Corresponds to the JSON property totalFreeIp



55078
55079
55080
# File 'lib/google/apis/compute_v1/classes.rb', line 55078

def total_free_ip
  @total_free_ip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55085
55086
55087
55088
# File 'lib/google/apis/compute_v1/classes.rb', line 55085

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