Reference documentation and code samples for the Cloud Firestore V1 Client class CreateIndexRequest.
The request for FirestoreAdmin.CreateIndex .
Generated from protobuf message google.firestore.admin.v1.CreateIndexRequest
Namespace
Google \ Cloud \ Firestore \ Admin \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
↳ index
getParent
Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
string
setParent
Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
var
string
$this
getIndex
Required. The composite index to create.
hasIndex
clearIndex
setIndex
Required. The composite index to create.
$this
static::build
parent
string
Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
Please see Google\Cloud\Firestore\Admin\V1\FirestoreAdminClient::collectionGroupName()
for help formatting this field.
index