Service Client: Google::Cloud::Tpu::V2::CloudTpu::TpuClient

Client stub representing the remote Tpu gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to tpu.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Tpu::V2::CloudTpu - Compiled Protocol Buffers messages for google/cloud/tpu/v2/cloud_tpu.proto

SYNOPSIS

use Google::Cloud::Tpu::V2::CloudTpu;

my $msg = Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes->new({
    query_path => $query_path,
    query_value => $query_value,
});

# Read or update a field
my $val = $msg->query_path();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/tpu/v2/cloud_tpu.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes

A guest attributes.

Inherits from Protobuf::Message.

Accessors

  • $msg->query_path() / $msg->query_path($value)

    Type: String

    The path to be queried. This can be the default namespace ('/') or a nested namespace ('/\<namespace\>/') or a specified key ('/\<namespace\>/\<key\>')

  • $msg->query_value() / $msg->query_value($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesValue)

    The value of the requested queried path.

Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesValue

Array of guest attribute namespace/key/value tuples.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesEntry

A guest attributes namespace/key/value entry.

Inherits from Protobuf::Message.

Accessors

  • $msg->namespace() / $msg->namespace($value)

    Type: String

    Namespace for the guest attribute entry.

  • $msg->key() / $msg->key($value)

    Type: String

    Key for the guest attribute entry.

  • $msg->value() / $msg->value($value)

    Type: String

    Value for the guest attribute entry.

Google::Cloud::Tpu::V2::CloudTpu::AttachedDisk

A node-attached disk resource. Next ID: 8;

Inherits from Protobuf::Message.

Accessors

  • $msg->source_disk() / $msg->source_disk($value)

    Type: String

    Specifies the full path to an existing disk. For example: "projects/my-project/zones/us-central1-c/disks/my-disk".

  • $msg->mode() / $msg->mode($value)

    Type: Enum (Google::Cloud::Tpu::V2::AttachedDisk::DiskMode)

    The mode in which to attach this disk. If not specified, the default is READ_WRITE mode. Only applicable to data_disks.

Enum: AttachedDisk::DiskMode

  • DISK_MODE_UNSPECIFIED => 0

  • READ_WRITE => 1

  • READ_ONLY => 2

Google::Cloud::Tpu::V2::CloudTpu::SchedulingConfig

Sets the scheduling options for this node.

Inherits from Protobuf::Message.

Accessors

  • $msg->preemptible() / $msg->preemptible($value)

    Type: Bool

    Defines whether the node is preemptible.

  • $msg->reserved() / $msg->reserved($value)

    Type: Bool

    Whether the node is created under a reservation.

  • $msg->spot() / $msg->spot($value)

    Type: Bool

    Optional. Defines whether the node is Spot VM.

Google::Cloud::Tpu::V2::CloudTpu::NetworkEndpoint

A network endpoint over which a TPU worker can be reached.

Inherits from Protobuf::Message.

Accessors

  • $msg->ip_address() / $msg->ip_address($value)

    Type: String

    The internal IP address of this network endpoint.

  • $msg->port() / $msg->port($value)

    Type: Int32

    The port of this network endpoint.

  • $msg->access_config() / $msg->access_config($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::AccessConfig)

    The access config for the TPU worker.

Google::Cloud::Tpu::V2::CloudTpu::AccessConfig

An access config attached to the TPU worker.

Inherits from Protobuf::Message.

Accessors

  • $msg->external_ip() / $msg->external_ip($value)

    Type: String

    Output only. An external IP address associated with the TPU worker.

Google::Cloud::Tpu::V2::CloudTpu::NetworkConfig

Network related configurations.

Inherits from Protobuf::Message.

Accessors

  • $msg->network() / $msg->network($value)

    Type: String

    The name of the network for the TPU node. It must be a preexisting Google Compute Engine network. If none is provided, "default" will be used.

  • $msg->subnetwork() / $msg->subnetwork($value)

    Type: String

    The name of the subnetwork for the TPU node. It must be a preexisting Google Compute Engine subnetwork. If none is provided, "default" will be used.

  • $msg->enable_external_ips() / $msg->enable_external_ips($value)

    Type: Bool

    Indicates that external IP addresses would be associated with the TPU workers. If set to false, the specified subnetwork or network should have Private Google Access enabled.

  • $msg->can_ip_forward() / $msg->can_ip_forward($value)

    Type: Bool

    Allows the TPU node to send and receive packets with non-matching destination or source IPs. This is required if you plan to use the TPU workers to forward routes.

  • $msg->queue_count() / $msg->queue_count($value)

    Type: Int32

    Optional. Specifies networking queue count for TPU VM instance's network interface.

Google::Cloud::Tpu::V2::CloudTpu::ServiceAccount

A service account.

Inherits from Protobuf::Message.

Accessors

  • $msg->email() / $msg->email($value)

    Type: String

    Email address of the service account. If empty, default Compute service account will be used.

  • $msg->scope() / $msg->scope($value)

    Type: String

    The list of scopes to be made available for this service account. If empty, access to all Cloud APIs will be allowed.

Google::Cloud::Tpu::V2::CloudTpu::Node

A TPU instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Immutable. The name of the TPU.

  • $msg->description() / $msg->description($value)

    Type: String

    The user-supplied description of the TPU. Maximum of 512 characters.

  • $msg->accelerator_type() / $msg->accelerator_type($value)

    Type: String

    Optional. The type of hardware accelerators associated with this node.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Tpu::V2::Node::State)

    Output only. The current state for the TPU Node.

  • $msg->health_description() / $msg->health_description($value)

    Type: String

    Output only. If this field is populated, it contains a description of why the TPU Node is unhealthy.

  • $msg->runtime_version() / $msg->runtime_version($value)

    Type: String

    Required. The runtime version running in the Node.

  • $msg->network_config() / $msg->network_config($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::NetworkConfig)

    Network configurations for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

  • $msg->network_configs() / $msg->network_configs($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::NetworkConfig)

    Optional. Repeated network configurations for the TPU node. This field is used to specify multiple networks configs for the TPU node. network_config and network_configs are mutually exclusive, you can only specify one of them. If both are specified, an error will be returned.

  • $msg->cidr_block() / $msg->cidr_block($value)

    Type: String

    The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.

  • $msg->service_account() / $msg->service_account($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::ServiceAccount)

    The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the node was created.

  • $msg->scheduling_config() / $msg->scheduling_config($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::SchedulingConfig)

    The scheduling options for this node.

  • $msg->network_endpoints() / $msg->network_endpoints($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::NetworkEndpoint)

    Output only. The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.

  • $msg->health() / $msg->health($value)

    Type: Enum (Google::Cloud::Tpu::V2::Node::Health)

    The health status of the TPU node.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::Node::LabelsEntry)

    Resource labels to represent user-provided metadata.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::Node::MetadataEntry)

    Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

  • $msg->tags() / $msg->tags($value)

    Type: String

    Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.

  • $msg->id() / $msg->id($value)

    Type: Int64

    Output only. The unique identifier for the TPU Node.

  • $msg->data_disks() / $msg->data_disks($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::AttachedDisk)

    The additional data disks for the Node.

  • $msg->api_version() / $msg->api_version($value)

    Type: Enum (Google::Cloud::Tpu::V2::Node::ApiVersion)

    Output only. The API version that created this Node.

  • $msg->symptoms() / $msg->symptoms($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::Symptom)

    Output only. The Symptoms that have occurred to the TPU Node.

  • $msg->shielded_instance_config() / $msg->shielded_instance_config($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::ShieldedInstanceConfig)

    Shielded Instance options.

  • $msg->accelerator_config() / $msg->accelerator_config($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig)

    The AccleratorConfig for the TPU Node.

  • $msg->queued_resource() / $msg->queued_resource($value)

    Type: String

    Output only. The qualified name of the QueuedResource that requested this Node.

  • $msg->multislice_node() / $msg->multislice_node($value)

    Type: Bool

    Output only. Whether the Node belongs to a Multislice group.

Enum: Node::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • RESTARTING => 3

  • REIMAGING => 4

  • DELETING => 5

  • REPAIRING => 6

  • STOPPED => 8

  • STOPPING => 9

  • STARTING => 10

  • PREEMPTED => 11

  • TERMINATED => 12

  • HIDING => 13

  • HIDDEN => 14

  • UNHIDING => 15

  • UNKNOWN => 16

Enum: Node::Health

  • HEALTH_UNSPECIFIED => 0

  • HEALTHY => 1

  • TIMEOUT => 3

  • UNHEALTHY_TENSORFLOW => 4

  • UNHEALTHY_MAINTENANCE => 5

Enum: Node::ApiVersion

  • API_VERSION_UNSPECIFIED => 0

  • V1_ALPHA1 => 1

  • V1 => 2

  • V2_ALPHA1 => 3

  • V2 => 4

Google::Cloud::Tpu::V2::CloudTpu::QueuedResource

A QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState

QueuedResourceState defines the details of the QueuedResource request.

Inherits from Protobuf::Message.

Accessors

Enum: QueuedResourceState::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACCEPTED => 2

  • PROVISIONING => 3

  • FAILED => 4

  • DELETING => 5

  • ACTIVE => 6

  • SUSPENDING => 7

  • SUSPENDED => 8

  • WAITING_FOR_RESOURCES => 9

Enum: QueuedResourceState::StateInitiator

  • STATE_INITIATOR_UNSPECIFIED => 0

  • USER => 1

  • SERVICE => 2

Google::Cloud::Tpu::V2::CloudTpu::ListNodesRequest

Request for [ListNodes][google.cloud.tpu.v2.Tpu.ListNodes].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value returned from a previous List request, if any.

Google::Cloud::Tpu::V2::CloudTpu::ListNodesResponse

Response for [ListNodes][google.cloud.tpu.v2.Tpu.ListNodes].

Inherits from Protobuf::Message.

Accessors

  • $msg->nodes() / $msg->nodes($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::Node)

    The listed nodes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next page token or empty if none.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Tpu::V2::CloudTpu::GetNodeRequest

Request for [GetNode][google.cloud.tpu.v2.Tpu.GetNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::CreateNodeRequest

Request for [CreateNode][google.cloud.tpu.v2.Tpu.CreateNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

  • $msg->node_id() / $msg->node_id($value)

    Type: String

    The unqualified resource name.

  • $msg->node() / $msg->node($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::Node)

    Required. The node.

Google::Cloud::Tpu::V2::CloudTpu::DeleteNodeRequest

Request for [DeleteNode][google.cloud.tpu.v2.Tpu.DeleteNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::StopNodeRequest

Request for [StopNode][google.cloud.tpu.v2.Tpu.StopNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::StartNodeRequest

Request for [StartNode][google.cloud.tpu.v2.Tpu.StartNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::UpdateNodeRequest

Request for [UpdateNode][google.cloud.tpu.v2.Tpu.UpdateNode].

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Mask of fields from [Node][Tpu.Node] to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

  • $msg->node() / $msg->node($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::Node)

    Required. The node. Only fields specified in update_mask are updated.

Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesRequest

Request for [ListQueuedResources][google.cloud.tpu.v2.Tpu.ListQueuedResources].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The next_page_token value returned from a previous List request, if any.

Google::Cloud::Tpu::V2::CloudTpu::ListQueuedResourcesResponse

Response for [ListQueuedResources][google.cloud.tpu.v2.Tpu.ListQueuedResources].

Inherits from Protobuf::Message.

Accessors

  • $msg->queued_resources() / $msg->queued_resources($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::QueuedResource)

    The listed queued resources.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next page token or empty if none.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Tpu::V2::CloudTpu::GetQueuedResourceRequest

Request for [GetQueuedResource][google.cloud.tpu.v2.Tpu.GetQueuedResource]

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::CreateQueuedResourceRequest

Request for [CreateQueuedResource][google.cloud.tpu.v2.Tpu.CreateQueuedResource].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

  • $msg->queued_resource_id() / $msg->queued_resource_id($value)

    Type: String

    Optional. The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format.

  • $msg->queued_resource() / $msg->queued_resource($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::QueuedResource)

    Required. The queued resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. Idempotent request UUID.

Google::Cloud::Tpu::V2::CloudTpu::DeleteQueuedResourceRequest

Request for [DeleteQueuedResource][google.cloud.tpu.v2.Tpu.DeleteQueuedResource].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. Idempotent request UUID.

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, all running nodes belonging to this queued resource will be deleted first and then the queued resource will be deleted. Otherwise (i.e. force=false), the queued resource will only be deleted if its nodes have already been deleted or the queued resource is in the ACCEPTED, FAILED, or SUSPENDED state.

Google::Cloud::Tpu::V2::CloudTpu::ResetQueuedResourceRequest

Request for [ResetQueuedResource][google.cloud.tpu.v2.Tpu.ResetQueuedResource].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the queued resource.

Google::Cloud::Tpu::V2::CloudTpu::ServiceIdentity

The per-product per-project service identity for Cloud TPU service.

Inherits from Protobuf::Message.

Accessors

  • $msg->email() / $msg->email($value)

    Type: String

    The email address of the service identity.

Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityRequest

Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityResponse

Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Tpu::V2::CloudTpu::AcceleratorType

A accelerator type that a Node can be configured with.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name.

  • $msg->type() / $msg->type($value)

    Type: String

    The accelerator type.

  • $msg->accelerator_configs() / $msg->accelerator_configs($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig)

    The accelerator config.

Google::Cloud::Tpu::V2::CloudTpu::GetAcceleratorTypeRequest

Request for [GetAcceleratorType][google.cloud.tpu.v2.Tpu.GetAcceleratorType].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesRequest

Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value returned from a previous List request, if any.

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results.

Google::Cloud::Tpu::V2::CloudTpu::ListAcceleratorTypesResponse

Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].

Inherits from Protobuf::Message.

Accessors

  • $msg->accelerator_types() / $msg->accelerator_types($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::AcceleratorType)

    The listed nodes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next page token or empty if none.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Tpu::V2::CloudTpu::RuntimeVersion

A runtime version that a Node can be configured with.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The resource name.

  • $msg->version() / $msg->version($value)

    Type: String

    The runtime version.

Google::Cloud::Tpu::V2::CloudTpu::GetRuntimeVersionRequest

Request for [GetRuntimeVersion][google.cloud.tpu.v2.Tpu.GetRuntimeVersion].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsRequest

Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of items to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    The next_page_token value returned from a previous List request, if any.

  • $msg->filter() / $msg->filter($value)

    Type: String

    List filter.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Sort results.

Google::Cloud::Tpu::V2::CloudTpu::ListRuntimeVersionsResponse

Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].

Inherits from Protobuf::Message.

Accessors

  • $msg->runtime_versions() / $msg->runtime_versions($value)

    Type: Message (Google::Cloud::Tpu::V2::CloudTpu::RuntimeVersion)

    The listed nodes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The next page token or empty if none.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Tpu::V2::CloudTpu::OperationMetadata

Metadata describing an [Operation][google.longrunning.Operation]

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the operation was created.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the operation finished running.

  • $msg->target() / $msg->target($value)

    Type: String

    Target of the operation - for example projects/project-1/connectivityTests/test-1

  • $msg->verb() / $msg->verb($value)

    Type: String

    Name of the verb executed by the operation.

  • $msg->status_detail() / $msg->status_detail($value)

    Type: String

    Human-readable status of the operation, if any.

  • $msg->cancel_requested() / $msg->cancel_requested($value)

    Type: Bool

    Specifies if cancellation was requested for the operation.

  • $msg->api_version() / $msg->api_version($value)

    Type: String

    API version.

Google::Cloud::Tpu::V2::CloudTpu::Symptom

A Symptom instance.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Timestamp when the Symptom is created.

  • $msg->symptom_type() / $msg->symptom_type($value)

    Type: Enum (Google::Cloud::Tpu::V2::Symptom::SymptomType)

    Type of the Symptom.

  • $msg->details() / $msg->details($value)

    Type: String

    Detailed information of the current Symptom.

  • $msg->worker_id() / $msg->worker_id($value)

    Type: String

    A string used to uniquely distinguish a worker within a TPU node.

Enum: Symptom::SymptomType

  • SYMPTOM_TYPE_UNSPECIFIED => 0

  • LOW_MEMORY => 1

  • OUT_OF_MEMORY => 2

  • EXECUTE_TIMED_OUT => 3

  • MESH_BUILD_FAIL => 4

  • HBM_OUT_OF_MEMORY => 5

  • PROJECT_ABUSE => 6

Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesRequest

Request for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name.

  • $msg->query_path() / $msg->query_path($value)

    Type: String

    The guest attributes path to be queried.

  • $msg->worker_ids() / $msg->worker_ids($value)

    Type: String

    The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

Google::Cloud::Tpu::V2::CloudTpu::GetGuestAttributesResponse

Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig

A TPU accelerator configuration.

Inherits from Protobuf::Message.

Accessors

Enum: AcceleratorConfig::Type

  • TYPE_UNSPECIFIED => 0

  • V2 => 2

  • V3 => 4

  • V4 => 7

  • V5LITE_POD => 9

  • V5P => 10

  • V6E => 11

Google::Cloud::Tpu::V2::CloudTpu::ShieldedInstanceConfig

A set of Shielded Instance options.

Inherits from Protobuf::Message.

Accessors

  • $msg->enable_secure_boot() / $msg->enable_secure_boot($value)

    Type: Bool

    Defines whether the instance has Secure Boot enabled.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Tpu::V2::CloudTpu::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.