Google Cloud Filestore V1 Client - Class RestoreInstanceRequest (2.1.1)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class RestoreInstanceRequest.

RestoreInstanceRequest restores an existing instance's file share from a backup.

Generated from protobuf message google.cloud.filestore.v1.RestoreInstanceRequest

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id} .

↳ file_share
string

Required. Name of the file share in the Filestore instance that the backup is being restored to.

↳ source_backup
string

The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id} .

getName

Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id} .

Returns
Type
Description
string

setName

Required. The resource name of the instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFileShare

Required. Name of the file share in the Filestore instance that the backup is being restored to.

Returns
Type
Description
string

setFileShare

Required. Name of the file share in the Filestore instance that the backup is being restored to.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSourceBackup

The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id} .

Returns
Type
Description
string

hasSourceBackup

setSourceBackup

The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSource

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: