Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Google Cloud Tpu V2 Client - Class DiskMode (2.1.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.1.1keyboard_arrow_down
Reference documentation and code samples for the Google Cloud Tpu V2 Client class DiskMode.
The different mode of the attached disk.
Protobuf type google.cloud.tpu.v2.AttachedDisk.DiskMode
Namespace
Google \ Cloud \ Tpu \ V2 \ AttachedDisk
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
DISK_MODE_UNSPECIFIED
The disk mode is not known/set.
Generated from protobuf enum DISK_MODE_UNSPECIFIED = 0;
READ_WRITE
Attaches the disk in read-write mode. Only one TPU node can attach a disk
in read-write mode at a time.
Generated from protobuf enum READ_WRITE = 1;
READ_ONLY
Attaches the disk in read-only mode. Multiple TPU nodes can attach
a disk in read-only mode at a time.
Generated from protobuf enum READ_ONLY = 2;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]