Enum DiskRestoreProperties.AccessMode (0.34.0)

publicenumDiskRestoreProperties.AccessModeextendsEnum<DiskRestoreProperties.AccessMode>implementsProtocolMessageEnum

The supported access modes of the disk.

Protobuf enum google.cloud.backupdr.v1.DiskRestoreProperties.AccessMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
READ_ONLY_MANY

The AccessMode means the disk can be attached to multiple instances in RO mode.

READ_ONLY_MANY = 2;

READ_ONLY_MANY_VALUE

The AccessMode means the disk can be attached to multiple instances in RO mode.

READ_ONLY_MANY = 2;

READ_WRITE_MANY

The AccessMode means the disk can be attached to multiple instances in RW mode.

READ_WRITE_MANY = 1;

READ_WRITE_MANY_VALUE

The AccessMode means the disk can be attached to multiple instances in RW mode.

READ_WRITE_MANY = 1;

READ_WRITE_SINGLE

The default AccessMode, means the disk can be attached to single instance in RW mode.

READ_WRITE_SINGLE = 0;

READ_WRITE_SINGLE_VALUE

The default AccessMode, means the disk can be attached to single instance in RW mode.

READ_WRITE_SINGLE = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

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年11月19日 UTC.