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
NameDescription
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
TypeDescription
Google\Cloud\GkeBackup\V1\GetRestoreRequest

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

Required. Name of the restore resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this