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:
StringThe 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
$msg->items()/$msg->items($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesEntry)The list of guest attributes entries.
Google::Cloud::Tpu::V2::CloudTpu::GuestAttributesEntry
A guest attributes namespace/key/value entry.
Inherits from Protobuf::Message.
Accessors
$msg->namespace()/$msg->namespace($value)Type:
StringNamespace for the guest attribute entry.
$msg->key()/$msg->key($value)Type:
StringKey for the guest attribute entry.
$msg->value()/$msg->value($value)Type:
StringValue 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:
StringSpecifies 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=>0READ_WRITE=>1READ_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:
BoolDefines whether the node is preemptible.
$msg->reserved()/$msg->reserved($value)Type:
BoolWhether the node is created under a reservation.
$msg->spot()/$msg->spot($value)Type:
BoolOptional. 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:
StringThe internal IP address of this network endpoint.
$msg->port()/$msg->port($value)Type:
Int32The 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:
StringOutput 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:
StringThe 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:
StringThe 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:
BoolIndicates 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:
BoolAllows 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:
Int32Optional. 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:
StringEmail address of the service account. If empty, default Compute service account will be used.
$msg->scope()/$msg->scope($value)Type:
StringThe 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:
StringOutput only. Immutable. The name of the TPU.
$msg->description()/$msg->description($value)Type:
StringThe user-supplied description of the TPU. Maximum of 512 characters.
$msg->accelerator_type()/$msg->accelerator_type($value)Type:
StringOptional. 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:
StringOutput 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:
StringRequired. 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:
StringThe 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:
StringTags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
$msg->id()/$msg->id($value)Type:
Int64Output 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:
StringOutput only. The qualified name of the QueuedResource that requested this Node.
$msg->multislice_node()/$msg->multislice_node($value)Type:
BoolOutput only. Whether the Node belongs to a Multislice group.
Enum: Node::State
STATE_UNSPECIFIED=>0CREATING=>1READY=>2RESTARTING=>3REIMAGING=>4DELETING=>5REPAIRING=>6STOPPED=>8STOPPING=>9STARTING=>10PREEMPTED=>11TERMINATED=>12HIDING=>13HIDDEN=>14UNHIDING=>15UNKNOWN=>16
Enum: Node::Health
HEALTH_UNSPECIFIED=>0HEALTHY=>1TIMEOUT=>3UNHEALTHY_TENSORFLOW=>4UNHEALTHY_MAINTENANCE=>5
Enum: Node::ApiVersion
API_VERSION_UNSPECIFIED=>0V1_ALPHA1=>1V1=>2V2_ALPHA1=>3V2=>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
$msg->name()/$msg->name($value)Type:
StringOutput only. Immutable. The name of the QueuedResource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the QueuedResource was created.
$msg->tpu()/$msg->tpu($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Tpu)Optional. Defines a TPU resource.
$msg->spot()/$msg->spot($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Spot)Optional. The Spot tier.
$msg->guaranteed()/$msg->guaranteed($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::Guaranteed)Optional. The Guaranteed tier
$msg->queueing_policy()/$msg->queueing_policy($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResource::QueueingPolicy)Optional. The queueing policy of the QueuedRequest.
$msg->state()/$msg->state($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState)Output only. State of the QueuedResource request.
$msg->reservation_name()/$msg->reservation_name($value)Type:
StringOptional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState
QueuedResourceState defines the details of the QueuedResource request.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Tpu::V2::QueuedResourceState::State)Output only. State of the QueuedResource request.
$msg->creating_data()/$msg->creating_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::CreatingData)Output only. Further data for the creating state.
$msg->accepted_data()/$msg->accepted_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::AcceptedData)Output only. Further data for the accepted state.
$msg->provisioning_data()/$msg->provisioning_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ProvisioningData)Output only. Further data for the provisioning state.
$msg->failed_data()/$msg->failed_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::FailedData)Output only. Further data for the failed state.
$msg->deleting_data()/$msg->deleting_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::DeletingData)Output only. Further data for the deleting state.
$msg->active_data()/$msg->active_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::ActiveData)Output only. Further data for the active state.
$msg->suspending_data()/$msg->suspending_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendingData)Output only. Further data for the suspending state.
$msg->suspended_data()/$msg->suspended_data($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::QueuedResourceState::SuspendedData)Output only. Further data for the suspended state.
$msg->state_initiator()/$msg->state_initiator($value)Type:
Enum(Google::Cloud::Tpu::V2::QueuedResourceState::StateInitiator)Output only. The initiator of the QueuedResources's current state. Used to indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or the service.
Enum: QueuedResourceState::State
STATE_UNSPECIFIED=>0CREATING=>1ACCEPTED=>2PROVISIONING=>3FAILED=>4DELETING=>5ACTIVE=>6SUSPENDING=>7SUSPENDED=>8WAITING_FOR_RESOURCES=>9
Enum: QueuedResourceState::StateInitiator
STATE_INITIATOR_UNSPECIFIED=>0USER=>1SERVICE=>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:
StringRequired. The parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe 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:
StringThe next page token or empty if none.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. The parent resource name.
$msg->node_id()/$msg->node_id($value)Type:
StringThe 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. The parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. 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:
StringThe next page token or empty if none.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. The parent resource name.
$msg->queued_resource_id()/$msg->queued_resource_id($value)Type:
StringOptional. 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:
StringOptional. 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:
StringRequired. The resource name.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. Idempotent request UUID.
$msg->force()/$msg->force($value)Type:
BoolOptional. 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:
StringRequired. 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:
StringThe 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:
StringRequired. The parent resource name.
Google::Cloud::Tpu::V2::CloudTpu::GenerateServiceIdentityResponse
Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
Inherits from Protobuf::Message.
Accessors
$msg->identity()/$msg->identity($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::ServiceIdentity)ServiceIdentity that was created or retrieved.
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:
StringThe resource name.
$msg->type()/$msg->type($value)Type:
StringThe 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:
StringRequired. 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:
StringRequired. The parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringList filter.
$msg->order_by()/$msg->order_by($value)Type:
StringSort 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:
StringThe next page token or empty if none.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringThe resource name.
$msg->version()/$msg->version($value)Type:
StringThe 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:
StringRequired. 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:
StringRequired. The parent resource name.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringList filter.
$msg->order_by()/$msg->order_by($value)Type:
StringSort 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:
StringThe next page token or empty if none.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringTarget of the operation - for example projects/project-1/connectivityTests/test-1
$msg->verb()/$msg->verb($value)Type:
StringName of the verb executed by the operation.
$msg->status_detail()/$msg->status_detail($value)Type:
StringHuman-readable status of the operation, if any.
$msg->cancel_requested()/$msg->cancel_requested($value)Type:
BoolSpecifies if cancellation was requested for the operation.
$msg->api_version()/$msg->api_version($value)Type:
StringAPI 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:
StringDetailed information of the current Symptom.
$msg->worker_id()/$msg->worker_id($value)Type:
StringA string used to uniquely distinguish a worker within a TPU node.
Enum: Symptom::SymptomType
SYMPTOM_TYPE_UNSPECIFIED=>0LOW_MEMORY=>1OUT_OF_MEMORY=>2EXECUTE_TIMED_OUT=>3MESH_BUILD_FAIL=>4HBM_OUT_OF_MEMORY=>5PROJECT_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:
StringRequired. The resource name.
$msg->query_path()/$msg->query_path($value)Type:
StringThe guest attributes path to be queried.
$msg->worker_ids()/$msg->worker_ids($value)Type:
StringThe 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
$msg->guest_attributes()/$msg->guest_attributes($value)Type:
Message(Google::Cloud::Tpu::V2::CloudTpu::GuestAttributes)The guest attributes for the TPU workers.
Google::Cloud::Tpu::V2::CloudTpu::AcceleratorConfig
A TPU accelerator configuration.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Tpu::V2::AcceleratorConfig::Type)Required. Type of TPU.
$msg->topology()/$msg->topology($value)Type:
StringRequired. Topology of TPU in chips.
Enum: AcceleratorConfig::Type
TYPE_UNSPECIFIED=>0V2=>2V3=>4V4=>7V5LITE_POD=>9V5P=>10V6E=>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:
BoolDefines 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.