Class Index

Package

@google-cloud/datastore!

Constructors

(constructor)(datastore, id)

  constructor 
 ( 
 datastore 
 : 
  
 Datastore 
 , 
  
 id 
 : 
  
 string 
 ); 
 

Constructs a new instance of the Index class

Parameters
Type Name Description
Datastore
datastore
string
id

Properties

datastore

  datastore 
 : 
  
 Datastore 
 ; 
 
Property Value
Type Description
Datastore

id

  id 
 : 
  
 string 
 ; 
 
Property Value
Type Description
string
  metadata 
 ?: 
  
 IIndex 
 ; 
 
Property Value
Type Description
IIndex

Methods

get(gaxOptions)

  get 
 ( 
 gaxOptions 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise<GetIndexResponse> 
 ; 
 
Parameter
Type Name Description
CallOptions
gaxOptions
Returns
Type Description
Promise < GetIndexResponse >

get(callback)

  get 
 ( 
 callback 
 : 
  
 GetIndexCallback 
 ) 
 : 
  
 void 
 ; 
 
Parameter
Type Name Description
GetIndexCallback
callback
Returns
Type Description
void

get(gaxOptions, callback)

  get 
 ( 
 gaxOptions 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 GetIndexCallback 
 ) 
 : 
  
 void 
 ; 
 
Parameters
Type Name Description
CallOptions
gaxOptions
GetIndexCallback
callback
Returns
Type Description
void
  getMetadata 
 ( 
 gaxOptions 
 ?: 
  
 CallOptions 
 ) 
 : 
  
 Promise<IndexGetMetadataResponse> 
 ; 
 
Parameter
Type Name Description
CallOptions
gaxOptions
Returns
Type Description
Promise < IndexGetMetadataResponse >
  getMetadata 
 ( 
 callback 
 : 
  
 IndexGetMetadataCallback 
 ) 
 : 
  
 void 
 ; 
 
Parameter
Type Name Description
IndexGetMetadataCallback
callback
Returns
Type Description
void
  getMetadata 
 ( 
 gaxOptions 
 : 
  
 CallOptions 
 , 
  
 callback 
 : 
  
 IndexGetMetadataCallback 
 ) 
 : 
  
 void 
 ; 
 
Parameters
Type Name Description
CallOptions
gaxOptions
IndexGetMetadataCallback
callback
Returns
Type Description
void
Create a Mobile Website
View Site in Mobile | Classic
Share by: