Cloud Firestore V1 Client - Class IndexConfigDelta (1.38.0)

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

Information about an index configuration change.

Generated from protobuf message google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ FieldOperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ change_type int

Specifies how the index is changing.

↳ index Google\Cloud\Firestore\Admin\V1\Index

The index being changed.

getChangeType

Specifies how the index is changing.

Returns
TypeDescription
int

setChangeType

Specifies how the index is changing.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getIndex

The index being changed.

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

hasIndex

clearIndex

setIndex

The index being changed.

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