Cloud Firestore V1 Client - Class IndexConfigDelta (1.45.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
Name Description
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
Type Description
int

setChangeType

Specifies how the index is changing.

Parameter
Name Description
var int
Returns
Type Description
$this

getIndex

The index being changed.

Returns
Type Description
Google\Cloud\Firestore\Admin\V1\Index|null

hasIndex

clearIndex

setIndex

The index being changed.

Parameter
Name Description
var Google\Cloud\Firestore\Admin\V1\Index
Returns
Type Description
$this