class Google::Apis::ContainerV1beta1::TpuConfig

Configuration for Cloud TPU.

Attributes

enabled[RW]

Whether Cloud TPU integration is enabled or not. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Whether Cloud TPU integration is enabled or not. Corresponds to the JSON property `enabled` @return [Boolean]

ipv4_cidr_block[RW]

IPv4 CIDR block reserved for Cloud TPU in the VPC. Corresponds to the JSON property `ipv4CidrBlock` @return [String]

use_service_networking[RW]

Whether to use service networking for Cloud TPU or not. Corresponds to the JSON property `useServiceNetworking` @return [Boolean]

use_service_networking?[RW]

Whether to use service networking for Cloud TPU or not. Corresponds to the JSON property `useServiceNetworking` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 5150
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 5155
def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
  @ipv4_cidr_block = args[:ipv4_cidr_block] if args.key?(:ipv4_cidr_block)
  @use_service_networking = args[:use_service_networking] if args.key?(:use_service_networking)
end