google-cloud-firestore 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b29ff86c36d87de106c57de21c3b95a8b619b277ebcd03b4fd60667105b47a5d
4
- data.tar.gz: 98727377686a78257943fee73d9b7ac0bd616a289942067cbdc9160ab45dbeda
3
+ metadata.gz: 6ef427537b88a216a13b4dd74abec63f412b8515e9e7781aaf1c3d144945e4a1
4
+ data.tar.gz: 2163095254cda5555d4537c8a88ca6fd85fa0b737ab9be4ca32b4e3944a77799
5
5
  SHA512:
6
- metadata.gz: 5b78369b8a28c595420617ddcba060e9864440253a5d8ebfd46651fa0ad2c6de95869c41132f23d0657e93a73b77e275a812e41d9d02426d37acc17a2eb3a61f
7
- data.tar.gz: 9461ff64e23edd02dd0410096c16f5d892068fcd2bfd6cadb2dc1ac2173f41a7b8a4299a15fef9fc0f7332db67adf84c5c8c93b0810886fb53290d1a642955c7
6
+ metadata.gz: b8d54d04aab91a4042c9e5d17546c73a0ccadc4af2b224c4a303eb0d43691af3ca4b1effc8c7bd2da92fba67e49c402e698c9caa1dfc411bd539b0fd1f5a09b1
7
+ data.tar.gz: 00c10d47aeaf52e9fafe544ebd7d9e6fdf38a6541a001977e08c168b8954aed27d6b3e954e2e833b77c17e0788bf85a0fc9de775b302efb61b9a422335ef646f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 1.2.2 / 2019-12-18
4
+
5
+ #### Bug Fixes
6
+
7
+ * Fix MonitorMixin usage on Ruby 2.7
8
+ * Ruby 2.7 will error if new_cond is called before super().
9
+ * Make the call to super() be the first call in initialize
10
+
11
+ #### Documentation
12
+
13
+ * Update lower-level API documentation
14
+
3
15
  ### 1.2.1 / 2019-11-06
4
16
 
5
17
  #### Bug Fixes
@@ -20,17 +20,17 @@ module Google
20
20
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::CreateIndex FirestoreAdmin::CreateIndex}.
21
21
  # @!attribute [rw] parent
22
22
  # @return [String]
23
- # A parent name of the form
23
+ # Required. A parent name of the form
24
24
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
25
25
  # @!attribute [rw] index
26
26
  # @return [Google::Firestore::Admin::V1::Index]
27
- # The composite index to create.
27
+ # Required. The composite index to create.
28
28
  class CreateIndexRequest; end
29
29
 
30
30
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::ListIndexes FirestoreAdmin::ListIndexes}.
31
31
  # @!attribute [rw] parent
32
32
  # @return [String]
33
- # A parent name of the form
33
+ # Required. A parent name of the form
34
34
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
35
35
  # @!attribute [rw] filter
36
36
  # @return [String]
@@ -58,21 +58,21 @@ module Google
58
58
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::GetIndex FirestoreAdmin::GetIndex}.
59
59
  # @!attribute [rw] name
60
60
  # @return [String]
61
- # A name of the form
61
+ # Required. A name of the form
62
62
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
63
63
  class GetIndexRequest; end
64
64
 
65
65
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::DeleteIndex FirestoreAdmin::DeleteIndex}.
66
66
  # @!attribute [rw] name
67
67
  # @return [String]
68
- # A name of the form
68
+ # Required. A name of the form
69
69
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
70
70
  class DeleteIndexRequest; end
71
71
 
72
72
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::UpdateField FirestoreAdmin::UpdateField}.
73
73
  # @!attribute [rw] field
74
74
  # @return [Google::Firestore::Admin::V1::Field]
75
- # The field to be updated.
75
+ # Required. The field to be updated.
76
76
  # @!attribute [rw] update_mask
77
77
  # @return [Google::Protobuf::FieldMask]
78
78
  # A mask, relative to the field. If specified, only configuration specified
@@ -82,14 +82,14 @@ module Google
82
82
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::GetField FirestoreAdmin::GetField}.
83
83
  # @!attribute [rw] name
84
84
  # @return [String]
85
- # A name of the form
85
+ # Required. A name of the form
86
86
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
87
87
  class GetFieldRequest; end
88
88
 
89
89
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::ListFields FirestoreAdmin::ListFields}.
90
90
  # @!attribute [rw] parent
91
91
  # @return [String]
92
- # A parent name of the form
92
+ # Required. A parent name of the form
93
93
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
94
94
  # @!attribute [rw] filter
95
95
  # @return [String]
@@ -121,7 +121,7 @@ module Google
121
121
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::ExportDocuments FirestoreAdmin::ExportDocuments}.
122
122
  # @!attribute [rw] name
123
123
  # @return [String]
124
- # Database to export. Should be of the form:
124
+ # Required. Database to export. Should be of the form:
125
125
  # `projects/{project_id}/databases/{database_id}`.
126
126
  # @!attribute [rw] collection_ids
127
127
  # @return [Array<String>]
@@ -141,7 +141,7 @@ module Google
141
141
  # The request for {Google::Firestore::Admin::V1::FirestoreAdmin::ImportDocuments FirestoreAdmin::ImportDocuments}.
142
142
  # @!attribute [rw] name
143
143
  # @return [String]
144
- # Database to import into. Should be of the form:
144
+ # Required. Database to import into. Should be of the form:
145
145
  # `projects/{project_id}/databases/{database_id}`.
146
146
  # @!attribute [rw] collection_ids
147
147
  # @return [Array<String>]
@@ -343,10 +343,10 @@ module Google
343
343
  # the operation will be the type {Google::Firestore::Admin::V1::IndexOperationMetadata IndexOperationMetadata}.
344
344
  #
345
345
  # @param parent [String]
346
- # A parent name of the form
346
+ # Required. A parent name of the form
347
347
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
348
348
  # @param index [Google::Firestore::Admin::V1::Index | Hash]
349
- # The composite index to create.
349
+ # Required. The composite index to create.
350
350
  # A hash of the same form as `Google::Firestore::Admin::V1::Index`
351
351
  # can also be provided.
352
352
  # @param options [Google::Gax::CallOptions]
@@ -383,7 +383,7 @@ module Google
383
383
  # Lists composite indexes.
384
384
  #
385
385
  # @param parent [String]
386
- # A parent name of the form
386
+ # Required. A parent name of the form
387
387
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
388
388
  # @param filter [String]
389
389
  # The filter to apply to list results.
@@ -442,7 +442,7 @@ module Google
442
442
  # Gets a composite index.
443
443
  #
444
444
  # @param name [String]
445
- # A name of the form
445
+ # Required. A name of the form
446
446
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
447
447
  # @param options [Google::Gax::CallOptions]
448
448
  # Overrides the default settings for this call, e.g, timeout,
@@ -473,7 +473,7 @@ module Google
473
473
  # Deletes a composite index.
474
474
  #
475
475
  # @param name [String]
476
- # A name of the form
476
+ # Required. A name of the form
477
477
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
478
478
  # @param options [Google::Gax::CallOptions]
479
479
  # Overrides the default settings for this call, e.g, timeout,
@@ -508,7 +508,7 @@ module Google
508
508
  # that a subset of the data has already been imported to Cloud Firestore.
509
509
  #
510
510
  # @param name [String]
511
- # Database to import into. Should be of the form:
511
+ # Required. Database to import into. Should be of the form:
512
512
  # `projects/{project_id}/databases/{database_id}`.
513
513
  # @param collection_ids [Array<String>]
514
514
  # Which collection ids to import. Unspecified means all collections included
@@ -559,7 +559,7 @@ module Google
559
559
  # Cloud Storage.
560
560
  #
561
561
  # @param name [String]
562
- # Database to export. Should be of the form:
562
+ # Required. Database to export. Should be of the form:
563
563
  # `projects/{project_id}/databases/{database_id}`.
564
564
  # @param collection_ids [Array<String>]
565
565
  # Which collection ids to export. Unspecified means all collections.
@@ -605,7 +605,7 @@ module Google
605
605
  # Gets the metadata and configuration for a Field.
606
606
  #
607
607
  # @param name [String]
608
- # A name of the form
608
+ # Required. A name of the form
609
609
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
610
610
  # @param options [Google::Gax::CallOptions]
611
611
  # Overrides the default settings for this call, e.g, timeout,
@@ -641,7 +641,7 @@ module Google
641
641
  # `indexConfig.usesAncestorConfig:false`.
642
642
  #
643
643
  # @param parent [String]
644
- # A parent name of the form
644
+ # Required. A parent name of the form
645
645
  # `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
646
646
  # @param filter [String]
647
647
  # The filter to apply to list results. Currently,
@@ -716,7 +716,7 @@ module Google
716
716
  # `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
717
717
  #
718
718
  # @param field [Google::Firestore::Admin::V1::Field | Hash]
719
- # The field to be updated.
719
+ # Required. The field to be updated.
720
720
  # A hash of the same form as `Google::Firestore::Admin::V1::Field`
721
721
  # can also be provided.
722
722
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
@@ -19,7 +19,7 @@ module Google
19
19
  # The request for {Google::Firestore::V1::Firestore::GetDocument Firestore::GetDocument}.
20
20
  # @!attribute [rw] name
21
21
  # @return [String]
22
- # The resource name of the Document to get. In the format:
22
+ # Required. The resource name of the Document to get. In the format:
23
23
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
24
24
  # @!attribute [rw] mask
25
25
  # @return [Google::Firestore::V1::DocumentMask]
@@ -39,7 +39,7 @@ module Google
39
39
  # The request for {Google::Firestore::V1::Firestore::ListDocuments Firestore::ListDocuments}.
40
40
  # @!attribute [rw] parent
41
41
  # @return [String]
42
- # The parent resource name. In the format:
42
+ # Required. The parent resource name. In the format:
43
43
  # `projects/{project_id}/databases/{database_id}/documents` or
44
44
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
45
45
  # For example:
@@ -47,7 +47,7 @@ module Google
47
47
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
48
48
  # @!attribute [rw] collection_id
49
49
  # @return [String]
50
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`
50
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
51
51
  # or `messages`.
52
52
  # @!attribute [rw] page_size
53
53
  # @return [Integer]
@@ -94,12 +94,12 @@ module Google
94
94
  # The request for {Google::Firestore::V1::Firestore::CreateDocument Firestore::CreateDocument}.
95
95
  # @!attribute [rw] parent
96
96
  # @return [String]
97
- # The parent resource. For example:
97
+ # Required. The parent resource. For example:
98
98
  # `projects/{project_id}/databases/{database_id}/documents` or
99
99
  # `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
100
100
  # @!attribute [rw] collection_id
101
101
  # @return [String]
102
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`.
102
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
103
103
  # @!attribute [rw] document_id
104
104
  # @return [String]
105
105
  # The client-assigned document ID to use for this document.
@@ -107,7 +107,7 @@ module Google
107
107
  # Optional. If not specified, an ID will be assigned by the service.
108
108
  # @!attribute [rw] document
109
109
  # @return [Google::Firestore::V1::Document]
110
- # The document to create. `name` must not be set.
110
+ # Required. The document to create. `name` must not be set.
111
111
  # @!attribute [rw] mask
112
112
  # @return [Google::Firestore::V1::DocumentMask]
113
113
  # The fields to return. If not set, returns all fields.
@@ -119,7 +119,7 @@ module Google
119
119
  # The request for {Google::Firestore::V1::Firestore::UpdateDocument Firestore::UpdateDocument}.
120
120
  # @!attribute [rw] document
121
121
  # @return [Google::Firestore::V1::Document]
122
- # The updated document.
122
+ # Required. The updated document.
123
123
  # Creates the document if it does not already exist.
124
124
  # @!attribute [rw] update_mask
125
125
  # @return [Google::Firestore::V1::DocumentMask]
@@ -145,7 +145,7 @@ module Google
145
145
  # The request for {Google::Firestore::V1::Firestore::DeleteDocument Firestore::DeleteDocument}.
146
146
  # @!attribute [rw] name
147
147
  # @return [String]
148
- # The resource name of the Document to delete. In the format:
148
+ # Required. The resource name of the Document to delete. In the format:
149
149
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
150
150
  # @!attribute [rw] current_document
151
151
  # @return [Google::Firestore::V1::Precondition]
@@ -156,7 +156,7 @@ module Google
156
156
  # The request for {Google::Firestore::V1::Firestore::BatchGetDocuments Firestore::BatchGetDocuments}.
157
157
  # @!attribute [rw] database
158
158
  # @return [String]
159
- # The database name. In the format:
159
+ # Required. The database name. In the format:
160
160
  # `projects/{project_id}/databases/{database_id}`.
161
161
  # @!attribute [rw] documents
162
162
  # @return [Array<String>]
@@ -209,7 +209,7 @@ module Google
209
209
  # The request for {Google::Firestore::V1::Firestore::BeginTransaction Firestore::BeginTransaction}.
210
210
  # @!attribute [rw] database
211
211
  # @return [String]
212
- # The database name. In the format:
212
+ # Required. The database name. In the format:
213
213
  # `projects/{project_id}/databases/{database_id}`.
214
214
  # @!attribute [rw] options
215
215
  # @return [Google::Firestore::V1::TransactionOptions]
@@ -226,7 +226,7 @@ module Google
226
226
  # The request for {Google::Firestore::V1::Firestore::Commit Firestore::Commit}.
227
227
  # @!attribute [rw] database
228
228
  # @return [String]
229
- # The database name. In the format:
229
+ # Required. The database name. In the format:
230
230
  # `projects/{project_id}/databases/{database_id}`.
231
231
  # @!attribute [rw] writes
232
232
  # @return [Array<Google::Firestore::V1::Write>]
@@ -253,17 +253,17 @@ module Google
253
253
  # The request for {Google::Firestore::V1::Firestore::Rollback Firestore::Rollback}.
254
254
  # @!attribute [rw] database
255
255
  # @return [String]
256
- # The database name. In the format:
256
+ # Required. The database name. In the format:
257
257
  # `projects/{project_id}/databases/{database_id}`.
258
258
  # @!attribute [rw] transaction
259
259
  # @return [String]
260
- # The transaction to roll back.
260
+ # Required. The transaction to roll back.
261
261
  class RollbackRequest; end
262
262
 
263
263
  # The request for {Google::Firestore::V1::Firestore::RunQuery Firestore::RunQuery}.
264
264
  # @!attribute [rw] parent
265
265
  # @return [String]
266
- # The parent resource name. In the format:
266
+ # Required. The parent resource name. In the format:
267
267
  # `projects/{project_id}/databases/{database_id}/documents` or
268
268
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
269
269
  # For example:
@@ -325,7 +325,7 @@ module Google
325
325
  # the next request.
326
326
  # @!attribute [rw] database
327
327
  # @return [String]
328
- # The database name. In the format:
328
+ # Required. The database name. In the format:
329
329
  # `projects/{project_id}/databases/{database_id}`.
330
330
  # This is only required in the first message.
331
331
  # @!attribute [rw] stream_id
@@ -387,7 +387,7 @@ module Google
387
387
  # A request for {Google::Firestore::V1::Firestore::Listen Firestore::Listen}
388
388
  # @!attribute [rw] database
389
389
  # @return [String]
390
- # The database name. In the format:
390
+ # Required. The database name. In the format:
391
391
  # `projects/{project_id}/databases/{database_id}`.
392
392
  # @!attribute [rw] add_target
393
393
  # @return [Google::Firestore::V1::Target]
@@ -538,7 +538,7 @@ module Google
538
538
  # The request for {Google::Firestore::V1::Firestore::ListCollectionIds Firestore::ListCollectionIds}.
539
539
  # @!attribute [rw] parent
540
540
  # @return [String]
541
- # The parent document. In the format:
541
+ # Required. The parent document. In the format:
542
542
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
543
543
  # For example:
544
544
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -174,15 +174,6 @@ module Google
174
174
  end
175
175
  end
176
176
 
177
- # The projection of document's fields to return.
178
- # @!attribute [rw] fields
179
- # @return [Array<Google::Firestore::V1::StructuredQuery::FieldReference>]
180
- # The fields to return.
181
- #
182
- # If empty, all fields are returned. To only return the name
183
- # of the document, use `['__name__']`.
184
- class Projection; end
185
-
186
177
  # An order on a field.
187
178
  # @!attribute [rw] field
188
179
  # @return [Google::Firestore::V1::StructuredQuery::FieldReference]
@@ -197,6 +188,15 @@ module Google
197
188
  # @return [String]
198
189
  class FieldReference; end
199
190
 
191
+ # The projection of document's fields to return.
192
+ # @!attribute [rw] fields
193
+ # @return [Array<Google::Firestore::V1::StructuredQuery::FieldReference>]
194
+ # The fields to return.
195
+ #
196
+ # If empty, all fields are returned. To only return the name
197
+ # of the document, use `['__name__']`.
198
+ class Projection; end
199
+
200
200
  # A sort direction.
201
201
  module Direction
202
202
  # Unspecified.
@@ -370,7 +370,7 @@ module Google
370
370
  # Gets a single document.
371
371
  #
372
372
  # @param name [String]
373
- # The resource name of the Document to get. In the format:
373
+ # Required. The resource name of the Document to get. In the format:
374
374
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
375
375
  # @param mask [Google::Firestore::V1::DocumentMask | Hash]
376
376
  # The fields to return. If not set, returns all fields.
@@ -421,14 +421,14 @@ module Google
421
421
  # Lists documents.
422
422
  #
423
423
  # @param parent [String]
424
- # The parent resource name. In the format:
424
+ # Required. The parent resource name. In the format:
425
425
  # `projects/{project_id}/databases/{database_id}/documents` or
426
426
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
427
427
  # For example:
428
428
  # `projects/my-project/databases/my-database/documents` or
429
429
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
430
430
  # @param collection_id [String]
431
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`
431
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
432
432
  # or `messages`.
433
433
  # @param page_size [Integer]
434
434
  # The maximum number of resources contained in the underlying API
@@ -522,17 +522,17 @@ module Google
522
522
  # Creates a new document.
523
523
  #
524
524
  # @param parent [String]
525
- # The parent resource. For example:
525
+ # Required. The parent resource. For example:
526
526
  # `projects/{project_id}/databases/{database_id}/documents` or
527
527
  # `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
528
528
  # @param collection_id [String]
529
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`.
529
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
530
530
  # @param document_id [String]
531
531
  # The client-assigned document ID to use for this document.
532
532
  #
533
533
  # Optional. If not specified, an ID will be assigned by the service.
534
534
  # @param document [Google::Firestore::V1::Document | Hash]
535
- # The document to create. `name` must not be set.
535
+ # Required. The document to create. `name` must not be set.
536
536
  # A hash of the same form as `Google::Firestore::V1::Document`
537
537
  # can also be provided.
538
538
  # @param mask [Google::Firestore::V1::DocumentMask | Hash]
@@ -588,7 +588,7 @@ module Google
588
588
  # Updates or inserts a document.
589
589
  #
590
590
  # @param document [Google::Firestore::V1::Document | Hash]
591
- # The updated document.
591
+ # Required. The updated document.
592
592
  # Creates the document if it does not already exist.
593
593
  # A hash of the same form as `Google::Firestore::V1::Document`
594
594
  # can also be provided.
@@ -654,7 +654,7 @@ module Google
654
654
  # Deletes a document.
655
655
  #
656
656
  # @param name [String]
657
- # The resource name of the Document to delete. In the format:
657
+ # Required. The resource name of the Document to delete. In the format:
658
658
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
659
659
  # @param current_document [Google::Firestore::V1::Precondition | Hash]
660
660
  # An optional precondition on the document.
@@ -695,7 +695,7 @@ module Google
695
695
  # same order that they were requested.
696
696
  #
697
697
  # @param database [String]
698
- # The database name. In the format:
698
+ # Required. The database name. In the format:
699
699
  # `projects/{project_id}/databases/{database_id}`.
700
700
  # @param documents [Array<String>]
701
701
  # The names of the documents to retrieve. In the format:
@@ -765,7 +765,7 @@ module Google
765
765
  # Starts a new transaction.
766
766
  #
767
767
  # @param database [String]
768
- # The database name. In the format:
768
+ # Required. The database name. In the format:
769
769
  # `projects/{project_id}/databases/{database_id}`.
770
770
  # @param options_ [Google::Firestore::V1::TransactionOptions | Hash]
771
771
  # The options for the transaction.
@@ -803,7 +803,7 @@ module Google
803
803
  # Commits a transaction, while optionally updating documents.
804
804
  #
805
805
  # @param database [String]
806
- # The database name. In the format:
806
+ # Required. The database name. In the format:
807
807
  # `projects/{project_id}/databases/{database_id}`.
808
808
  # @param writes [Array<Google::Firestore::V1::Write | Hash>]
809
809
  # The writes to apply.
@@ -849,10 +849,10 @@ module Google
849
849
  # Rolls back a transaction.
850
850
  #
851
851
  # @param database [String]
852
- # The database name. In the format:
852
+ # Required. The database name. In the format:
853
853
  # `projects/{project_id}/databases/{database_id}`.
854
854
  # @param transaction [String]
855
- # The transaction to roll back.
855
+ # Required. The transaction to roll back.
856
856
  # @param options [Google::Gax::CallOptions]
857
857
  # Overrides the default settings for this call, e.g, timeout,
858
858
  # retries, etc.
@@ -887,7 +887,7 @@ module Google
887
887
  # Runs a query.
888
888
  #
889
889
  # @param parent [String]
890
- # The parent resource name. In the format:
890
+ # Required. The parent resource name. In the format:
891
891
  # `projects/{project_id}/databases/{database_id}/documents` or
892
892
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
893
893
  # For example:
@@ -1018,7 +1018,7 @@ module Google
1018
1018
  # Lists all the collection IDs underneath a document.
1019
1019
  #
1020
1020
  # @param parent [String]
1021
- # The parent document. In the format:
1021
+ # Required. The parent document. In the format:
1022
1022
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
1023
1023
  # For example:
1024
1024
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -19,7 +19,7 @@ module Google
19
19
  # The request for {Google::Firestore::V1beta1::Firestore::GetDocument Firestore::GetDocument}.
20
20
  # @!attribute [rw] name
21
21
  # @return [String]
22
- # The resource name of the Document to get. In the format:
22
+ # Required. The resource name of the Document to get. In the format:
23
23
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
24
24
  # @!attribute [rw] mask
25
25
  # @return [Google::Firestore::V1beta1::DocumentMask]
@@ -39,7 +39,7 @@ module Google
39
39
  # The request for {Google::Firestore::V1beta1::Firestore::ListDocuments Firestore::ListDocuments}.
40
40
  # @!attribute [rw] parent
41
41
  # @return [String]
42
- # The parent resource name. In the format:
42
+ # Required. The parent resource name. In the format:
43
43
  # `projects/{project_id}/databases/{database_id}/documents` or
44
44
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
45
45
  # For example:
@@ -47,7 +47,7 @@ module Google
47
47
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
48
48
  # @!attribute [rw] collection_id
49
49
  # @return [String]
50
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`
50
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
51
51
  # or `messages`.
52
52
  # @!attribute [rw] page_size
53
53
  # @return [Integer]
@@ -94,12 +94,12 @@ module Google
94
94
  # The request for {Google::Firestore::V1beta1::Firestore::CreateDocument Firestore::CreateDocument}.
95
95
  # @!attribute [rw] parent
96
96
  # @return [String]
97
- # The parent resource. For example:
97
+ # Required. The parent resource. For example:
98
98
  # `projects/{project_id}/databases/{database_id}/documents` or
99
99
  # `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
100
100
  # @!attribute [rw] collection_id
101
101
  # @return [String]
102
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`.
102
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
103
103
  # @!attribute [rw] document_id
104
104
  # @return [String]
105
105
  # The client-assigned document ID to use for this document.
@@ -107,7 +107,7 @@ module Google
107
107
  # Optional. If not specified, an ID will be assigned by the service.
108
108
  # @!attribute [rw] document
109
109
  # @return [Google::Firestore::V1beta1::Document]
110
- # The document to create. `name` must not be set.
110
+ # Required. The document to create. `name` must not be set.
111
111
  # @!attribute [rw] mask
112
112
  # @return [Google::Firestore::V1beta1::DocumentMask]
113
113
  # The fields to return. If not set, returns all fields.
@@ -119,7 +119,7 @@ module Google
119
119
  # The request for {Google::Firestore::V1beta1::Firestore::UpdateDocument Firestore::UpdateDocument}.
120
120
  # @!attribute [rw] document
121
121
  # @return [Google::Firestore::V1beta1::Document]
122
- # The updated document.
122
+ # Required. The updated document.
123
123
  # Creates the document if it does not already exist.
124
124
  # @!attribute [rw] update_mask
125
125
  # @return [Google::Firestore::V1beta1::DocumentMask]
@@ -145,7 +145,7 @@ module Google
145
145
  # The request for {Google::Firestore::V1beta1::Firestore::DeleteDocument Firestore::DeleteDocument}.
146
146
  # @!attribute [rw] name
147
147
  # @return [String]
148
- # The resource name of the Document to delete. In the format:
148
+ # Required. The resource name of the Document to delete. In the format:
149
149
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
150
150
  # @!attribute [rw] current_document
151
151
  # @return [Google::Firestore::V1beta1::Precondition]
@@ -156,7 +156,7 @@ module Google
156
156
  # The request for {Google::Firestore::V1beta1::Firestore::BatchGetDocuments Firestore::BatchGetDocuments}.
157
157
  # @!attribute [rw] database
158
158
  # @return [String]
159
- # The database name. In the format:
159
+ # Required. The database name. In the format:
160
160
  # `projects/{project_id}/databases/{database_id}`.
161
161
  # @!attribute [rw] documents
162
162
  # @return [Array<String>]
@@ -209,7 +209,7 @@ module Google
209
209
  # The request for {Google::Firestore::V1beta1::Firestore::BeginTransaction Firestore::BeginTransaction}.
210
210
  # @!attribute [rw] database
211
211
  # @return [String]
212
- # The database name. In the format:
212
+ # Required. The database name. In the format:
213
213
  # `projects/{project_id}/databases/{database_id}`.
214
214
  # @!attribute [rw] options
215
215
  # @return [Google::Firestore::V1beta1::TransactionOptions]
@@ -226,7 +226,7 @@ module Google
226
226
  # The request for {Google::Firestore::V1beta1::Firestore::Commit Firestore::Commit}.
227
227
  # @!attribute [rw] database
228
228
  # @return [String]
229
- # The database name. In the format:
229
+ # Required. The database name. In the format:
230
230
  # `projects/{project_id}/databases/{database_id}`.
231
231
  # @!attribute [rw] writes
232
232
  # @return [Array<Google::Firestore::V1beta1::Write>]
@@ -253,17 +253,17 @@ module Google
253
253
  # The request for {Google::Firestore::V1beta1::Firestore::Rollback Firestore::Rollback}.
254
254
  # @!attribute [rw] database
255
255
  # @return [String]
256
- # The database name. In the format:
256
+ # Required. The database name. In the format:
257
257
  # `projects/{project_id}/databases/{database_id}`.
258
258
  # @!attribute [rw] transaction
259
259
  # @return [String]
260
- # The transaction to roll back.
260
+ # Required. The transaction to roll back.
261
261
  class RollbackRequest; end
262
262
 
263
263
  # The request for {Google::Firestore::V1beta1::Firestore::RunQuery Firestore::RunQuery}.
264
264
  # @!attribute [rw] parent
265
265
  # @return [String]
266
- # The parent resource name. In the format:
266
+ # Required. The parent resource name. In the format:
267
267
  # `projects/{project_id}/databases/{database_id}/documents` or
268
268
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
269
269
  # For example:
@@ -325,7 +325,7 @@ module Google
325
325
  # the next request.
326
326
  # @!attribute [rw] database
327
327
  # @return [String]
328
- # The database name. In the format:
328
+ # Required. The database name. In the format:
329
329
  # `projects/{project_id}/databases/{database_id}`.
330
330
  # This is only required in the first message.
331
331
  # @!attribute [rw] stream_id
@@ -387,7 +387,7 @@ module Google
387
387
  # A request for {Google::Firestore::V1beta1::Firestore::Listen Firestore::Listen}
388
388
  # @!attribute [rw] database
389
389
  # @return [String]
390
- # The database name. In the format:
390
+ # Required. The database name. In the format:
391
391
  # `projects/{project_id}/databases/{database_id}`.
392
392
  # @!attribute [rw] add_target
393
393
  # @return [Google::Firestore::V1beta1::Target]
@@ -538,7 +538,7 @@ module Google
538
538
  # The request for {Google::Firestore::V1beta1::Firestore::ListCollectionIds Firestore::ListCollectionIds}.
539
539
  # @!attribute [rw] parent
540
540
  # @return [String]
541
- # The parent document. In the format:
541
+ # Required. The parent document. In the format:
542
542
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
543
543
  # For example:
544
544
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -183,6 +183,11 @@ module Google
183
183
  # The direction to order by. Defaults to `ASCENDING`.
184
184
  class Order; end
185
185
 
186
+ # A reference to a field, such as `max(messages.time) as max_time`.
187
+ # @!attribute [rw] field_path
188
+ # @return [String]
189
+ class FieldReference; end
190
+
186
191
  # The projection of document's fields to return.
187
192
  # @!attribute [rw] fields
188
193
  # @return [Array<Google::Firestore::V1beta1::StructuredQuery::FieldReference>]
@@ -192,11 +197,6 @@ module Google
192
197
  # of the document, use `['__name__']`.
193
198
  class Projection; end
194
199
 
195
- # A reference to a field, such as `max(messages.time) as max_time`.
196
- # @!attribute [rw] field_path
197
- # @return [String]
198
- class FieldReference; end
199
-
200
200
  # A sort direction.
201
201
  module Direction
202
202
  # Unspecified.
@@ -370,7 +370,7 @@ module Google
370
370
  # Gets a single document.
371
371
  #
372
372
  # @param name [String]
373
- # The resource name of the Document to get. In the format:
373
+ # Required. The resource name of the Document to get. In the format:
374
374
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
375
375
  # @param mask [Google::Firestore::V1beta1::DocumentMask | Hash]
376
376
  # The fields to return. If not set, returns all fields.
@@ -421,14 +421,14 @@ module Google
421
421
  # Lists documents.
422
422
  #
423
423
  # @param parent [String]
424
- # The parent resource name. In the format:
424
+ # Required. The parent resource name. In the format:
425
425
  # `projects/{project_id}/databases/{database_id}/documents` or
426
426
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
427
427
  # For example:
428
428
  # `projects/my-project/databases/my-database/documents` or
429
429
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
430
430
  # @param collection_id [String]
431
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`
431
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`
432
432
  # or `messages`.
433
433
  # @param page_size [Integer]
434
434
  # The maximum number of resources contained in the underlying API
@@ -522,17 +522,17 @@ module Google
522
522
  # Creates a new document.
523
523
  #
524
524
  # @param parent [String]
525
- # The parent resource. For example:
525
+ # Required. The parent resource. For example:
526
526
  # `projects/{project_id}/databases/{database_id}/documents` or
527
527
  # `projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}`
528
528
  # @param collection_id [String]
529
- # The collection ID, relative to `parent`, to list. For example: `chatrooms`.
529
+ # Required. The collection ID, relative to `parent`, to list. For example: `chatrooms`.
530
530
  # @param document_id [String]
531
531
  # The client-assigned document ID to use for this document.
532
532
  #
533
533
  # Optional. If not specified, an ID will be assigned by the service.
534
534
  # @param document [Google::Firestore::V1beta1::Document | Hash]
535
- # The document to create. `name` must not be set.
535
+ # Required. The document to create. `name` must not be set.
536
536
  # A hash of the same form as `Google::Firestore::V1beta1::Document`
537
537
  # can also be provided.
538
538
  # @param mask [Google::Firestore::V1beta1::DocumentMask | Hash]
@@ -588,7 +588,7 @@ module Google
588
588
  # Updates or inserts a document.
589
589
  #
590
590
  # @param document [Google::Firestore::V1beta1::Document | Hash]
591
- # The updated document.
591
+ # Required. The updated document.
592
592
  # Creates the document if it does not already exist.
593
593
  # A hash of the same form as `Google::Firestore::V1beta1::Document`
594
594
  # can also be provided.
@@ -654,7 +654,7 @@ module Google
654
654
  # Deletes a document.
655
655
  #
656
656
  # @param name [String]
657
- # The resource name of the Document to delete. In the format:
657
+ # Required. The resource name of the Document to delete. In the format:
658
658
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
659
659
  # @param current_document [Google::Firestore::V1beta1::Precondition | Hash]
660
660
  # An optional precondition on the document.
@@ -695,7 +695,7 @@ module Google
695
695
  # same order that they were requested.
696
696
  #
697
697
  # @param database [String]
698
- # The database name. In the format:
698
+ # Required. The database name. In the format:
699
699
  # `projects/{project_id}/databases/{database_id}`.
700
700
  # @param documents [Array<String>]
701
701
  # The names of the documents to retrieve. In the format:
@@ -765,7 +765,7 @@ module Google
765
765
  # Starts a new transaction.
766
766
  #
767
767
  # @param database [String]
768
- # The database name. In the format:
768
+ # Required. The database name. In the format:
769
769
  # `projects/{project_id}/databases/{database_id}`.
770
770
  # @param options_ [Google::Firestore::V1beta1::TransactionOptions | Hash]
771
771
  # The options for the transaction.
@@ -803,7 +803,7 @@ module Google
803
803
  # Commits a transaction, while optionally updating documents.
804
804
  #
805
805
  # @param database [String]
806
- # The database name. In the format:
806
+ # Required. The database name. In the format:
807
807
  # `projects/{project_id}/databases/{database_id}`.
808
808
  # @param writes [Array<Google::Firestore::V1beta1::Write | Hash>]
809
809
  # The writes to apply.
@@ -849,10 +849,10 @@ module Google
849
849
  # Rolls back a transaction.
850
850
  #
851
851
  # @param database [String]
852
- # The database name. In the format:
852
+ # Required. The database name. In the format:
853
853
  # `projects/{project_id}/databases/{database_id}`.
854
854
  # @param transaction [String]
855
- # The transaction to roll back.
855
+ # Required. The transaction to roll back.
856
856
  # @param options [Google::Gax::CallOptions]
857
857
  # Overrides the default settings for this call, e.g, timeout,
858
858
  # retries, etc.
@@ -887,7 +887,7 @@ module Google
887
887
  # Runs a query.
888
888
  #
889
889
  # @param parent [String]
890
- # The parent resource name. In the format:
890
+ # Required. The parent resource name. In the format:
891
891
  # `projects/{project_id}/databases/{database_id}/documents` or
892
892
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
893
893
  # For example:
@@ -1018,7 +1018,7 @@ module Google
1018
1018
  # Lists all the collection IDs underneath a document.
1019
1019
  #
1020
1020
  # @param parent [String]
1021
- # The parent document. In the format:
1021
+ # Required. The parent document. In the format:
1022
1022
  # `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
1023
1023
  # For example:
1024
1024
  # `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Firestore
19
- VERSION = "1.2.1".freeze
19
+ VERSION = "1.2.2".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -65,13 +65,13 @@ module Google
65
65
  end
66
66
 
67
67
  def initialize query, doc_ref, client, init_listen_req, &callback
68
+ super() # to init MonitorMixin
69
+
68
70
  @query = query
69
71
  @doc_ref = doc_ref
70
72
  @client = client
71
73
  @init_listen_req = init_listen_req
72
74
  @callback = callback
73
-
74
- super() # to init MonitorMixin
75
75
  end
76
76
 
77
77
  def start
@@ -4,6 +4,7 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
+ require 'google/api/resource_pb'
7
8
  require 'google/firestore/admin/v1/index_pb'
8
9
  require 'google/api/annotations_pb'
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -5,12 +5,14 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/firestore/admin/v1/field_pb'
9
12
  require 'google/firestore/admin/v1/index_pb'
10
13
  require 'google/longrunning/operations_pb'
11
14
  require 'google/protobuf/empty_pb'
12
15
  require 'google/protobuf/field_mask_pb'
13
- require 'google/api/client_pb'
14
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
17
  add_message "google.firestore.admin.v1.CreateIndexRequest" do
16
18
  optional :parent, :string, 1
@@ -4,6 +4,7 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
+ require 'google/api/resource_pb'
7
8
  require 'google/api/annotations_pb'
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_message "google.firestore.admin.v1.Index" do
@@ -5,6 +5,8 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
8
10
  require 'google/firestore/v1/common_pb'
9
11
  require 'google/firestore/v1/document_pb'
10
12
  require 'google/firestore/v1/query_pb'
@@ -12,7 +14,6 @@ require 'google/firestore/v1/write_pb'
12
14
  require 'google/protobuf/empty_pb'
13
15
  require 'google/protobuf/timestamp_pb'
14
16
  require 'google/rpc/status_pb'
15
- require 'google/api/client_pb'
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  add_message "google.firestore.v1.GetDocumentRequest" do
18
19
  optional :name, :string, 1
@@ -64,9 +64,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
64
  value :IS_NAN, 2
65
65
  value :IS_NULL, 3
66
66
  end
67
- add_message "google.firestore.v1.StructuredQuery.Projection" do
68
- repeated :fields, :message, 2, "google.firestore.v1.StructuredQuery.FieldReference"
69
- end
70
67
  add_message "google.firestore.v1.StructuredQuery.Order" do
71
68
  optional :field, :message, 1, "google.firestore.v1.StructuredQuery.FieldReference"
72
69
  optional :direction, :enum, 2, "google.firestore.v1.StructuredQuery.Direction"
@@ -74,6 +71,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
74
71
  add_message "google.firestore.v1.StructuredQuery.FieldReference" do
75
72
  optional :field_path, :string, 2
76
73
  end
74
+ add_message "google.firestore.v1.StructuredQuery.Projection" do
75
+ repeated :fields, :message, 2, "google.firestore.v1.StructuredQuery.FieldReference"
76
+ end
77
77
  add_enum "google.firestore.v1.StructuredQuery.Direction" do
78
78
  value :DIRECTION_UNSPECIFIED, 0
79
79
  value :ASCENDING, 1
@@ -97,9 +97,9 @@ module Google
97
97
  StructuredQuery::FieldFilter::Operator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.FieldFilter.Operator").enummodule
98
98
  StructuredQuery::UnaryFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.UnaryFilter").msgclass
99
99
  StructuredQuery::UnaryFilter::Operator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.UnaryFilter.Operator").enummodule
100
- StructuredQuery::Projection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.Projection").msgclass
101
100
  StructuredQuery::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.Order").msgclass
102
101
  StructuredQuery::FieldReference = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.FieldReference").msgclass
102
+ StructuredQuery::Projection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.Projection").msgclass
103
103
  StructuredQuery::Direction = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.StructuredQuery.Direction").enummodule
104
104
  Cursor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1.Cursor").msgclass
105
105
  end
@@ -5,6 +5,8 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
8
10
  require 'google/firestore/v1beta1/common_pb'
9
11
  require 'google/firestore/v1beta1/document_pb'
10
12
  require 'google/firestore/v1beta1/query_pb'
@@ -12,7 +14,6 @@ require 'google/firestore/v1beta1/write_pb'
12
14
  require 'google/protobuf/empty_pb'
13
15
  require 'google/protobuf/timestamp_pb'
14
16
  require 'google/rpc/status_pb'
15
- require 'google/api/client_pb'
16
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  add_message "google.firestore.v1beta1.GetDocumentRequest" do
18
19
  optional :name, :string, 1
@@ -68,12 +68,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
68
68
  optional :field, :message, 1, "google.firestore.v1beta1.StructuredQuery.FieldReference"
69
69
  optional :direction, :enum, 2, "google.firestore.v1beta1.StructuredQuery.Direction"
70
70
  end
71
- add_message "google.firestore.v1beta1.StructuredQuery.Projection" do
72
- repeated :fields, :message, 2, "google.firestore.v1beta1.StructuredQuery.FieldReference"
73
- end
74
71
  add_message "google.firestore.v1beta1.StructuredQuery.FieldReference" do
75
72
  optional :field_path, :string, 2
76
73
  end
74
+ add_message "google.firestore.v1beta1.StructuredQuery.Projection" do
75
+ repeated :fields, :message, 2, "google.firestore.v1beta1.StructuredQuery.FieldReference"
76
+ end
77
77
  add_enum "google.firestore.v1beta1.StructuredQuery.Direction" do
78
78
  value :DIRECTION_UNSPECIFIED, 0
79
79
  value :ASCENDING, 1
@@ -98,8 +98,8 @@ module Google
98
98
  StructuredQuery::UnaryFilter = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.UnaryFilter").msgclass
99
99
  StructuredQuery::UnaryFilter::Operator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator").enummodule
100
100
  StructuredQuery::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.Order").msgclass
101
- StructuredQuery::Projection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.Projection").msgclass
102
101
  StructuredQuery::FieldReference = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.FieldReference").msgclass
102
+ StructuredQuery::Projection = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.Projection").msgclass
103
103
  StructuredQuery::Direction = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.StructuredQuery.Direction").enummodule
104
104
  Cursor = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.v1beta1.Cursor").msgclass
105
105
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-firestore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core