google-apis-firestore_v1 0.31.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: 4224111df8971548652ce2fdfeecad2c43b559bfaff1b9528f117a381e370b37
4
- data.tar.gz: 901ceb84c144a5194efbc6dcb3b9db9f4ea32a515ed82be6e4755431dca7ce69
3
+ metadata.gz: 97990f7e56c960106fd441ef5b441c800a4c7e505c54a25fa31b07531f21fca8
4
+ data.tar.gz: 3aaf19ac9f04b1c4deb4eada26b3dd824716297a2fc771d5f6c786c044c7e3e0
5
5
  SHA512:
6
- metadata.gz: adc31b6113a7c8e2a85e8be793fdf96d04eeebfded8764a883133aca0fa4c91b04b8e1f7020d56115f679484d7fcde6b79d104e304682029d9022aaa077310d6
7
- data.tar.gz: c4efdf83fb74c5ce6e9e404c0a7145b2cca10c7dc5631917132a1af3d5ffc58388b7093aa29c0a02145df0ec29cb996529263d69dbabdb96c3bd66dcf14845d2
6
+ metadata.gz: 1de47636d8b9dff529370dea605f5a23ee609adb93058d204f8cd8578995c9dab4cd6439a7869869fdffdbddc9fbb0ef444477bf4d0d5614de2c97ae954b31c9
7
+ data.tar.gz: 3726637ffa0f1a2333e52cf1052c7fa050ff8bb07265a54ea5168bc4615ab0e4d62982fc79e375121ba162a3fc3959c638e05cc42e4e45ac42477dd5d7210995
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.31.0 (2023-01-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20230110
@@ -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 entities are being exported to.
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)
@@ -1183,6 +1189,11 @@ module Google
1183
1189
  # @return [String]
1184
1190
  attr_accessor :input_uri_prefix
1185
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
+
1186
1197
  # The state of the import operation.
1187
1198
  # Corresponds to the JSON property `operationState`
1188
1199
  # @return [String]
@@ -1214,6 +1225,7 @@ module Google
1214
1225
  @collection_ids = args[:collection_ids] if args.key?(:collection_ids)
1215
1226
  @end_time = args[:end_time] if args.key?(:end_time)
1216
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)
1217
1229
  @operation_state = args[:operation_state] if args.key?(:operation_state)
1218
1230
  @progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
1219
1231
  @progress_documents = args[:progress_documents] if args.key?(:progress_documents)
@@ -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.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230110"
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
@@ -875,6 +876,7 @@ module Google
875
876
  collection :collection_ids, as: 'collectionIds'
876
877
  property :end_time, as: 'endTime'
877
878
  property :input_uri_prefix, as: 'inputUriPrefix'
879
+ collection :namespace_ids, as: 'namespaceIds'
878
880
  property :operation_state, as: 'operationState'
879
881
  property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
880
882
 
@@ -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.31.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-15 00:00:00.000000000 Z
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.31.0
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: []