Cloud Spanner V1 Client - Class GetBackupScheduleRequest (1.86.0)

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

The request for GetBackupSchedule.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the schedule to retrieve. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

getName

Required. The name of the schedule to retrieve.

Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

Returns
Type Description
string

setName

Required. The name of the schedule to retrieve.

Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the schedule to retrieve. Values are of the form projects/<project>/instances/<instance>/databases/<database>/backupSchedules/<backup_schedule_id>. Please see Google\Cloud\Spanner\Admin\Database\V1\DatabaseAdminClient::backupScheduleName() for help formatting this field.

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\GetBackupScheduleRequest