Cloud Spanner V1 Client - Class GetBackupRequest (1.56.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class GetBackupRequest.

The request for GetBackup.

Generated from protobuf message google.spanner.admin.database.v1.GetBackupRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the backup. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

getName

Required. Name of the backup.

Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Returns
TypeDescription
string

setName

Required. Name of the backup.

Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this