Google Cloud Datastore Admin V1 Client - Class CreateIndexRequest (1.0.2)

Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class CreateIndexRequest.

The request for google.datastore.admin.v1.DatastoreAdmin.CreateIndex.

Generated from protobuf message google.datastore.admin.v1.CreateIndexRequest

Namespace

Google \ Cloud \ Datastore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project_id string

Project ID against which to make the request.

↳ index Index

The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.

getProjectId

Project ID against which to make the request.

Returns
Type Description
string

setProjectId

Project ID against which to make the request.

Parameter
Name Description
var string
Returns
Type Description
$this

getIndex

The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.

Returns
Type Description
Index|null

hasIndex

clearIndex

setIndex

The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.

Parameter
Name Description
var Index
Returns
Type Description
$this