Cloud Firestore V1 Client - Class ApiScope (1.53.0)

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

API Scope defines the APIs (Firestore Native, or Firestore in Datastore Mode) that are supported for queries.

Protobuf type google.firestore.admin.v1.Index.ApiScope

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ Index

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

ANY_API

  Value: 0 
 

The index can only be used by the Firestore Native query API.

This is the default.

Generated from protobuf enum ANY_API = 0;

DATASTORE_MODE_API

  Value: 1 
 

The index can only be used by the Firestore in Datastore Mode query API.

Generated from protobuf enum DATASTORE_MODE_API = 1;

MONGODB_COMPATIBLE_API

  Value: 2 
 

The index can only be used by the MONGODB_COMPATIBLE_API.

Generated from protobuf enum MONGODB_COMPATIBLE_API = 2;

Design a Mobile Site
View Site in Mobile | Classic
Share by: