Interface RenameVolumeRequestOrBuilder (0.43.0)

public interface RenameVolumeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name field is used to identify the volume. Format: projects/{project}/locations/{location}/volumes/{volume}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getNewVolumeId()

public abstract String getNewVolumeId()

Required. The new id of the volume.

string new_volume_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The newVolumeId.

getNewVolumeIdBytes()

public abstract ByteString getNewVolumeIdBytes()

Required. The new id of the volume.

string new_volume_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for newVolumeId.