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

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
Google\Cloud\Datastore\Admin\V1\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

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
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: