Cloud Firestore V1 Client - Class GetDatabaseRequest (1.45.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class GetDatabaseRequest.

The request for FirestoreAdmin.GetDatabase.

Generated from protobuf message google.firestore.admin.v1.GetDatabaseRequest

Namespace

Google \ Cloud \ Firestore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. A name of the form projects/{project_id}/databases/{database_id}

getName

Required. A name of the form projects/{project_id}/databases/{database_id}

Returns
Type Description
string

setName

Required. A name of the form projects/{project_id}/databases/{database_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. A name of the form projects/{project_id}/databases/{database_id} Please see Google\Cloud\Firestore\Admin\V1\FirestoreAdminClient::databaseName() for help formatting this field.

Returns
Type Description
Google\Cloud\Firestore\Admin\V1\GetDatabaseRequest