Cloud Firestore V1 Client - Class GetFieldRequest (1.37.7)

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

The request for FirestoreAdmin.GetField.

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

Namespace

Google \ Cloud \ Firestore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. A name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}

getName

Required. A name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}

Returns
TypeDescription
string

setName

Required. A name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\Firestore\Admin\V1\GetFieldRequest