google-apis-firestore_v1 0.30.0 → 0.32.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: 97990f7e56c960106fd441ef5b441c800a4c7e505c54a25fa31b07531f21fca8
|
4
|
+
data.tar.gz: 3aaf19ac9f04b1c4deb4eada26b3dd824716297a2fc771d5f6c786c044c7e3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1de47636d8b9dff529370dea605f5a23ee609adb93058d204f8cd8578995c9dab4cd6439a7869869fdffdbddc9fbb0ef444477bf4d0d5614de2c97ae954b31c9
|
7
|
+
data.tar.gz: 3726637ffa0f1a2333e52cf1052c7fa050ff8bb07265a54ea5168bc4615ab0e4d62982fc79e375121ba162a3fc3959c638e05cc42e4e45ac42477dd5d7210995
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-firestore_v1
|
2
2
|
|
3
|
+
### v0.32.0 (2023-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230118
|
6
|
+
|
7
|
+
### v0.31.0 (2023-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230110
|
10
|
+
* Regenerated using generator version 0.11.1
|
11
|
+
|
3
12
|
### v0.30.0 (2022-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20221210
|
@@ -936,12 +936,17 @@ module Google
|
|
936
936
|
# @return [String]
|
937
937
|
attr_accessor :end_time
|
938
938
|
|
939
|
+
# Which namespace ids are being exported.
|
940
|
+
# Corresponds to the JSON property `namespaceIds`
|
941
|
+
# @return [Array<String>]
|
942
|
+
attr_accessor :namespace_ids
|
943
|
+
|
939
944
|
# The state of the export operation.
|
940
945
|
# Corresponds to the JSON property `operationState`
|
941
946
|
# @return [String]
|
942
947
|
attr_accessor :operation_state
|
943
948
|
|
944
|
-
# Where the
|
949
|
+
# Where the documents are being exported to.
|
945
950
|
# Corresponds to the JSON property `outputUriPrefix`
|
946
951
|
# @return [String]
|
947
952
|
attr_accessor :output_uri_prefix
|
@@ -971,6 +976,7 @@ module Google
|
|
971
976
|
def update!(**args)
|
972
977
|
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
973
978
|
@end_time = args[:end_time] if args.key?(:end_time)
|
979
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
974
980
|
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
975
981
|
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
976
982
|
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
@@ -988,6 +994,15 @@ module Google
|
|
988
994
|
# @return [Array<String>]
|
989
995
|
attr_accessor :collection_ids
|
990
996
|
|
997
|
+
# An empty list represents all namespaces. This is the preferred usage for
|
998
|
+
# databases that don't use namespaces. An empty string element represents the
|
999
|
+
# default namespace. This should be used if the database has data in non-default
|
1000
|
+
# namespaces, but doesn't want to include them. Each namespace in this list must
|
1001
|
+
# be unique.
|
1002
|
+
# Corresponds to the JSON property `namespaceIds`
|
1003
|
+
# @return [Array<String>]
|
1004
|
+
attr_accessor :namespace_ids
|
1005
|
+
|
991
1006
|
# The output URI. Currently only supports Google Cloud Storage URIs of the form:
|
992
1007
|
# `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the
|
993
1008
|
# Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud
|
@@ -1006,6 +1021,7 @@ module Google
|
|
1006
1021
|
# Update properties of this object
|
1007
1022
|
def update!(**args)
|
1008
1023
|
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1024
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1009
1025
|
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
1010
1026
|
end
|
1011
1027
|
end
|
@@ -1173,6 +1189,11 @@ module Google
|
|
1173
1189
|
# @return [String]
|
1174
1190
|
attr_accessor :input_uri_prefix
|
1175
1191
|
|
1192
|
+
# Which namespace ids are being imported.
|
1193
|
+
# Corresponds to the JSON property `namespaceIds`
|
1194
|
+
# @return [Array<String>]
|
1195
|
+
attr_accessor :namespace_ids
|
1196
|
+
|
1176
1197
|
# The state of the import operation.
|
1177
1198
|
# Corresponds to the JSON property `operationState`
|
1178
1199
|
# @return [String]
|
@@ -1204,6 +1225,7 @@ module Google
|
|
1204
1225
|
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1205
1226
|
@end_time = args[:end_time] if args.key?(:end_time)
|
1206
1227
|
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
|
1228
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1207
1229
|
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
1208
1230
|
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
1209
1231
|
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
@@ -1228,6 +1250,15 @@ module Google
|
|
1228
1250
|
# @return [String]
|
1229
1251
|
attr_accessor :input_uri_prefix
|
1230
1252
|
|
1253
|
+
# An empty list represents all namespaces. This is the preferred usage for
|
1254
|
+
# databases that don't use namespaces. An empty string element represents the
|
1255
|
+
# default namespace. This should be used if the database has data in non-default
|
1256
|
+
# namespaces, but doesn't want to include them. Each namespace in this list must
|
1257
|
+
# be unique.
|
1258
|
+
# Corresponds to the JSON property `namespaceIds`
|
1259
|
+
# @return [Array<String>]
|
1260
|
+
attr_accessor :namespace_ids
|
1261
|
+
|
1231
1262
|
def initialize(**args)
|
1232
1263
|
update!(**args)
|
1233
1264
|
end
|
@@ -1236,6 +1267,7 @@ module Google
|
|
1236
1267
|
def update!(**args)
|
1237
1268
|
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
1238
1269
|
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
|
1270
|
+
@namespace_ids = args[:namespace_ids] if args.key?(:namespace_ids)
|
1239
1271
|
end
|
1240
1272
|
end
|
1241
1273
|
|
@@ -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.32.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 = "20230118"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -814,6 +814,7 @@ module Google
|
|
814
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
815
815
|
collection :collection_ids, as: 'collectionIds'
|
816
816
|
property :end_time, as: 'endTime'
|
817
|
+
collection :namespace_ids, as: 'namespaceIds'
|
817
818
|
property :operation_state, as: 'operationState'
|
818
819
|
property :output_uri_prefix, as: 'outputUriPrefix'
|
819
820
|
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
@@ -828,6 +829,7 @@ module Google
|
|
828
829
|
# @private
|
829
830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
830
831
|
collection :collection_ids, as: 'collectionIds'
|
832
|
+
collection :namespace_ids, as: 'namespaceIds'
|
831
833
|
property :output_uri_prefix, as: 'outputUriPrefix'
|
832
834
|
end
|
833
835
|
end
|
@@ -874,6 +876,7 @@ module Google
|
|
874
876
|
collection :collection_ids, as: 'collectionIds'
|
875
877
|
property :end_time, as: 'endTime'
|
876
878
|
property :input_uri_prefix, as: 'inputUriPrefix'
|
879
|
+
collection :namespace_ids, as: 'namespaceIds'
|
877
880
|
property :operation_state, as: 'operationState'
|
878
881
|
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
879
882
|
|
@@ -888,6 +891,7 @@ module Google
|
|
888
891
|
class Representation < Google::Apis::Core::JsonRepresentation
|
889
892
|
collection :collection_ids, as: 'collectionIds'
|
890
893
|
property :input_uri_prefix, as: 'inputUriPrefix'
|
894
|
+
collection :namespace_ids, as: 'namespaceIds'
|
891
895
|
end
|
892
896
|
end
|
893
897
|
|
@@ -100,6 +100,9 @@ module Google
|
|
100
100
|
# The current etag of the Database. If an etag is provided and does not match
|
101
101
|
# the current etag of the database, deletion will be blocked and a
|
102
102
|
# FAILED_PRECONDITION error will be returned.
|
103
|
+
# @param [Boolean] free_id
|
104
|
+
# If set, will free the database_id associated with this database. uid will be
|
105
|
+
# used as the resource id to identify this deleted database.
|
103
106
|
# @param [Boolean] validate_only
|
104
107
|
# If set, validate the request and preview the response, but do not actually
|
105
108
|
# delete the database.
|
@@ -120,13 +123,14 @@ module Google
|
|
120
123
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
121
124
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
122
125
|
# @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)
|
126
|
+
def delete_project_database(name, allow_missing: nil, etag: nil, free_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
124
127
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
125
128
|
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
126
129
|
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
127
130
|
command.params['name'] = name unless name.nil?
|
128
131
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
129
132
|
command.query['etag'] = etag unless etag.nil?
|
133
|
+
command.query['freeId'] = free_id unless free_id.nil?
|
130
134
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
131
135
|
command.query['fields'] = fields unless fields.nil?
|
132
136
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
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.32.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: 2023-01-
|
11
|
+
date: 2023-01-22 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.32.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
|