Google Cloud Gke Backup V1 Client - Class GetRestoreRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class GetRestoreRequest.

Request message for GetRestore.

Generated from protobuf message google.cloud.gkebackup.v1.GetRestoreRequest

Methods

build

Parameter
Name Description
name string

Required. Name of the restore resource. Format: projects//locations//restorePlans//restores/ Please see {@see \Google\Cloud\GkeBackup\V1\BackupForGKEClient::restoreName()} for help formatting this field.

Returns
Type Description
Google\Cloud\GkeBackup\V1\GetRestoreRequest

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the restore resource. Format: projects//locations//restorePlans//restores/

getName

Required. Name of the restore resource.

Format: projects//locations//restorePlans//restores/

Returns
Type Description
string

setName

Required. Name of the restore resource.

Format: projects//locations//restorePlans//restores/

Parameter
Name Description
var string
Returns
Type Description
$this