Cloud Firestore V1 Client - Class ApiScope (1.40.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
NameDescription
value mixed

static::value

Parameter
NameDescription
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;