google-apis-firestore_v1 0.29.0 → 0.31.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4224111df8971548652ce2fdfeecad2c43b559bfaff1b9528f117a381e370b37
|
4
|
+
data.tar.gz: 901ceb84c144a5194efbc6dcb3b9db9f4ea32a515ed82be6e4755431dca7ce69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc31b6113a7c8e2a85e8be793fdf96d04eeebfded8764a883133aca0fa4c91b04b8e1f7020d56115f679484d7fcde6b79d104e304682029d9022aaa077310d6
|
7
|
+
data.tar.gz: c4efdf83fb74c5ce6e9e404c0a7145b2cca10c7dc5631917132a1af3d5ffc58388b7093aa29c0a02145df0ec29cb996529263d69dbabdb96c3bd66dcf14845d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1
|
2
2
|
|
3
|
+
### v0.31.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230110
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.30.0 (2022-12-15)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221210
|
11
|
+
|
3
12
|
### v0.29.0 (2022-11-04)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221029
|
@@ -1840,7 +1840,8 @@ module Google
|
|
1840
1840
|
# @return [Array<Google::Apis::FirestoreV1::Document>]
|
1841
1841
|
attr_accessor :documents
|
1842
1842
|
|
1843
|
-
#
|
1843
|
+
# A token to retrieve the next page of documents. If this field is omitted,
|
1844
|
+
# there are no subsequent pages.
|
1844
1845
|
# Corresponds to the JSON property `nextPageToken`
|
1845
1846
|
# @return [String]
|
1846
1847
|
attr_accessor :next_page_token
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FirestoreV1
|
18
18
|
# Version of the google-apis-firestore_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.31.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230110"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -90,6 +90,49 @@ module Google
|
|
90
90
|
execute_or_queue_command(command, &block)
|
91
91
|
end
|
92
92
|
|
93
|
+
# Deletes a database.
|
94
|
+
# @param [String] name
|
95
|
+
# Required. A name of the form `projects/`project_id`/databases/`database_id``
|
96
|
+
# @param [Boolean] allow_missing
|
97
|
+
# If set to true and the Database is not found, the request will succeed but no
|
98
|
+
# action will be taken.
|
99
|
+
# @param [String] etag
|
100
|
+
# The current etag of the Database. If an etag is provided and does not match
|
101
|
+
# the current etag of the database, deletion will be blocked and a
|
102
|
+
# FAILED_PRECONDITION error will be returned.
|
103
|
+
# @param [Boolean] validate_only
|
104
|
+
# If set, validate the request and preview the response, but do not actually
|
105
|
+
# delete the database.
|
106
|
+
# @param [String] fields
|
107
|
+
# Selector specifying which fields to include in a partial response.
|
108
|
+
# @param [String] quota_user
|
109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
111
|
+
# @param [Google::Apis::RequestOptions] options
|
112
|
+
# Request-specific options
|
113
|
+
#
|
114
|
+
# @yield [result, err] Result & error if block supplied
|
115
|
+
# @yieldparam result [Google::Apis::FirestoreV1::GoogleLongrunningOperation] parsed result object
|
116
|
+
# @yieldparam err [StandardError] error object if request failed
|
117
|
+
#
|
118
|
+
# @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
|
119
|
+
#
|
120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
123
|
+
def delete_project_database(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
124
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
125
|
+
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
126
|
+
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
127
|
+
command.params['name'] = name unless name.nil?
|
128
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
129
|
+
command.query['etag'] = etag unless etag.nil?
|
130
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
131
|
+
command.query['fields'] = fields unless fields.nil?
|
132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
133
|
+
execute_or_queue_command(command, &block)
|
134
|
+
end
|
135
|
+
|
93
136
|
# Exports a copy of all or a subset of documents from Google Cloud Firestore to
|
94
137
|
# another storage system, such as Google Cloud Storage. Recent updates to
|
95
138
|
# documents may not be reflected in the export. The export occurs in the
|
@@ -822,28 +865,35 @@ module Google
|
|
822
865
|
# databases/my-database/documents` or `projects/my-project/databases/my-database/
|
823
866
|
# documents/chatrooms/my-chatroom`
|
824
867
|
# @param [String] collection_id
|
825
|
-
#
|
826
|
-
# chatrooms` or `messages`.
|
868
|
+
# Optional. The collection ID, relative to `parent`, to list. For example: `
|
869
|
+
# chatrooms` or `messages`. This is optional, and when not provided, Firestore
|
870
|
+
# will list documents from all collections under the provided `parent`.
|
827
871
|
# @param [Array<String>, String] mask_field_paths
|
828
872
|
# The list of field paths in the mask. See Document.fields for a field path
|
829
873
|
# syntax reference.
|
830
874
|
# @param [String] order_by
|
831
|
-
# The
|
875
|
+
# Optional. The optional ordering of the documents to return. For example: `
|
876
|
+
# priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore
|
877
|
+
# queries but in a string representation. When absent, documents are ordered
|
878
|
+
# based on `__name__ ASC`.
|
832
879
|
# @param [Fixnum] page_size
|
833
|
-
# The maximum number of documents to return.
|
880
|
+
# Optional. The maximum number of documents to return in a single response.
|
881
|
+
# Firestore may return fewer than this value.
|
834
882
|
# @param [String] page_token
|
835
|
-
#
|
883
|
+
# Optional. A page token, received from a previous `ListDocuments` response.
|
884
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
885
|
+
# parameters (with the exception of `page_size`) must match the values set in
|
886
|
+
# the request that generated the page token.
|
836
887
|
# @param [String] read_time
|
837
|
-
#
|
838
|
-
# seconds.
|
888
|
+
# Perform the read at the provided time. This may not be older than 270 seconds.
|
839
889
|
# @param [Boolean] show_missing
|
840
|
-
# If the list should show missing documents. A
|
841
|
-
#
|
842
|
-
# with a key but will not have fields,
|
843
|
-
# update_time set. Requests with `show_missing` may not
|
844
|
-
# order_by`.
|
890
|
+
# If the list should show missing documents. A document is missing if it does
|
891
|
+
# not exist, but there are sub-documents nested underneath it. When true, such
|
892
|
+
# missing documents will be returned with a key but will not have fields, `
|
893
|
+
# create_time`, or `update_time` set. Requests with `show_missing` may not
|
894
|
+
# specify `where` or `order_by`.
|
845
895
|
# @param [String] transaction
|
846
|
-
#
|
896
|
+
# Perform the read as part of an already active transaction.
|
847
897
|
# @param [String] fields
|
848
898
|
# Selector specifying which fields to include in a partial response.
|
849
899
|
# @param [String] quota_user
|
@@ -922,28 +972,35 @@ module Google
|
|
922
972
|
# databases/my-database/documents` or `projects/my-project/databases/my-database/
|
923
973
|
# documents/chatrooms/my-chatroom`
|
924
974
|
# @param [String] collection_id
|
925
|
-
#
|
926
|
-
# chatrooms` or `messages`.
|
975
|
+
# Optional. The collection ID, relative to `parent`, to list. For example: `
|
976
|
+
# chatrooms` or `messages`. This is optional, and when not provided, Firestore
|
977
|
+
# will list documents from all collections under the provided `parent`.
|
927
978
|
# @param [Array<String>, String] mask_field_paths
|
928
979
|
# The list of field paths in the mask. See Document.fields for a field path
|
929
980
|
# syntax reference.
|
930
981
|
# @param [String] order_by
|
931
|
-
# The
|
982
|
+
# Optional. The optional ordering of the documents to return. For example: `
|
983
|
+
# priority desc, __name__ desc`. This mirrors the `ORDER BY` used in Firestore
|
984
|
+
# queries but in a string representation. When absent, documents are ordered
|
985
|
+
# based on `__name__ ASC`.
|
932
986
|
# @param [Fixnum] page_size
|
933
|
-
# The maximum number of documents to return.
|
987
|
+
# Optional. The maximum number of documents to return in a single response.
|
988
|
+
# Firestore may return fewer than this value.
|
934
989
|
# @param [String] page_token
|
935
|
-
#
|
990
|
+
# Optional. A page token, received from a previous `ListDocuments` response.
|
991
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
992
|
+
# parameters (with the exception of `page_size`) must match the values set in
|
993
|
+
# the request that generated the page token.
|
936
994
|
# @param [String] read_time
|
937
|
-
#
|
938
|
-
# seconds.
|
995
|
+
# Perform the read at the provided time. This may not be older than 270 seconds.
|
939
996
|
# @param [Boolean] show_missing
|
940
|
-
# If the list should show missing documents. A
|
941
|
-
#
|
942
|
-
# with a key but will not have fields,
|
943
|
-
# update_time set. Requests with `show_missing` may not
|
944
|
-
# order_by`.
|
997
|
+
# If the list should show missing documents. A document is missing if it does
|
998
|
+
# not exist, but there are sub-documents nested underneath it. When true, such
|
999
|
+
# missing documents will be returned with a key but will not have fields, `
|
1000
|
+
# create_time`, or `update_time` set. Requests with `show_missing` may not
|
1001
|
+
# specify `where` or `order_by`.
|
945
1002
|
# @param [String] transaction
|
946
|
-
#
|
1003
|
+
# Perform the read as part of an already active transaction.
|
947
1004
|
# @param [String] fields
|
948
1005
|
# Selector specifying which fields to include in a partial response.
|
949
1006
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firestore_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.31.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Firestore API V1
|