Class: Google::Apis::FirestoreV1beta1::ListCollectionIdsRequest

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

Overview

The request for Firestore.ListCollectionIds.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCollectionIdsRequest

Returns a new instance of ListCollectionIdsRequest.



1278
1279
1280
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1278

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

Instance Attribute Details

#page_sizeFixnum

The maximum number of results to return. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


1265
1266
1267
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1265

def page_size
  @page_size
end

#page_tokenString

A page token. Must be a value from ListCollectionIdsResponse. Corresponds to the JSON property pageToken

Returns:

  • (String)


1270
1271
1272
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1270

def page_token
  @page_token
end

#read_timeString

Reads documents as they were at the given time. This may not be older than 270 seconds. Corresponds to the JSON property readTime

Returns:

  • (String)


1276
1277
1278
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1276

def read_time
  @read_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1283
1284
1285
1286
1287
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 1283

def update!(**args)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @read_time = args[:read_time] if args.key?(:read_time)
end