Cloud Firestore V1 Client - Class UpdateDatabaseRequest (1.31.0)

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

The request for FirestoreAdmin.UpdateDatabase.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database Google\Cloud\Firestore\Admin\V1\Database

Required. The database to update.

↳ update_mask Google\Protobuf\FieldMask

The list of fields to be updated.

getDatabase

Required. The database to update.

Returns
TypeDescription
Google\Cloud\Firestore\Admin\V1\Database|null

hasDatabase

clearDatabase

setDatabase

Required. The database to update.

Parameter
NameDescription
var Google\Cloud\Firestore\Admin\V1\Database
Returns
TypeDescription
$this

getUpdateMask

The list of fields to be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this