Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListIndexesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/firestore_v1/classes.rb,
generated/google/apis/firestore_v1/representations.rb,
generated/google/apis/firestore_v1/representations.rb

Overview

The response for FirestoreAdmin.ListIndexes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1ListIndexesResponse

Returns a new instance of GoogleFirestoreAdminV1ListIndexesResponse



1314
1315
1316
# File 'generated/google/apis/firestore_v1/classes.rb', line 1314

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#indexesArray<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index>

The requested indexes. Corresponds to the JSON property indexes



1306
1307
1308
# File 'generated/google/apis/firestore_v1/classes.rb', line 1306

def indexes
  @indexes
end

#next_page_tokenString

A page token that may be used to request another page of results. If blank, this is the last page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1312
1313
1314
# File 'generated/google/apis/firestore_v1/classes.rb', line 1312

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1319
1320
1321
1322
# File 'generated/google/apis/firestore_v1/classes.rb', line 1319

def update!(**args)
  @indexes = args[:indexes] if args.key?(:indexes)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end