Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::TpuConfig (v0.20.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::TpuConfig.

Configuration for Cloud TPU.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enabled

def enabled() -> ::Boolean
Returns
  • (::Boolean) — Whether Cloud TPU integration is enabled or not.

#enabled=

def enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether Cloud TPU integration is enabled or not.
Returns
  • (::Boolean) — Whether Cloud TPU integration is enabled or not.

#ipv4_cidr_block

def ipv4_cidr_block() -> ::String
Returns
  • (::String) — IPv4 CIDR block reserved for Cloud TPU in the VPC.

#ipv4_cidr_block=

def ipv4_cidr_block=(value) -> ::String
Parameter
  • value (::String) — IPv4 CIDR block reserved for Cloud TPU in the VPC.
Returns
  • (::String) — IPv4 CIDR block reserved for Cloud TPU in the VPC.

#use_service_networking

def use_service_networking() -> ::Boolean
Returns
  • (::Boolean) — Whether to use service networking for Cloud TPU or not.

#use_service_networking=

def use_service_networking=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether to use service networking for Cloud TPU or not.
Returns
  • (::Boolean) — Whether to use service networking for Cloud TPU or not.