google-apis-firestore_v1 0.50.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b37a10ee299661cbbee1cf06fadee7bab8bf3c1d1c06178900d53d1564645a2b
4
- data.tar.gz: 9f02c0bf41a288b648d6a7a58611cef44f99c24a45caaabd47adb306c2c99452
3
+ metadata.gz: 252d91b669d888922a66f913e7e20b05385d2b36ea80f18e3a2993ebb5360f16
4
+ data.tar.gz: 2a3023e21c16e9e98762d30b6c0d0a8c906b3529603d92fefac4e4dce8bfcb69
5
5
  SHA512:
6
- metadata.gz: 6841cd2089ab4dfdf891dda95e78307909b8593011e50b6b8e0c588b8b7b7947a40142240666bb6ea64688abe7465fd1f4c3d2ce87e5695e8a8809e891731346
7
- data.tar.gz: 731c7183e71ec2396ef5c5816b60f74b62fc02ddad0a2aa5c1ccd9a96f2fbbd351c8ca467862cc784f6ceea402a4db682474fd36d0d6f1ef76fcc03826b3e1f8
6
+ metadata.gz: '08243a86a20a9e4bec0d228762ecaff864255eaecd28b5d75d3e4ef8f4831944d18c8f8d6755cb4d9c9affe8a2e42ae0c4515d90b42303a2d7c63828448a8c96'
7
+ data.tar.gz: 8859eb1ef6beca57103604808ac6204ac72f2bd5c29ba2a4df292ac960212bad554e94b32ec65c3d31fe4d2032ff9610afcb3a6fe8a024c348fbdde828e932b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.51.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230905
6
+
3
7
  ### v0.50.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230806
@@ -588,20 +588,7 @@ module Google
588
588
  # @return [String]
589
589
  attr_accessor :create_time
590
590
 
591
- # The document's fields. The map keys represent field names. A simple field name
592
- # contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must
593
- # not start with `0` to `9`. For example, `foo_bar_17`. Field names matching the
594
- # regular expression `__.*__` are reserved. Reserved field names are forbidden
595
- # except in certain documented contexts. The map keys, represented as UTF-8,
596
- # must not exceed 1,500 bytes and cannot be empty. Field paths may be used in
597
- # other contexts to refer to structured fields defined here. For `map_value`,
598
- # the field path is represented by the simple or quoted field names of the
599
- # containing fields, delimited by `.`. For example, the structured field `"foo" :
600
- # ` map_value: ` "x&y" : ` string_value: "hello" ```` would be represented by
601
- # the field path `foo.x&y`. Within a field path, a quoted field name starts and
602
- # ends with `` ` `` and may contain any character. Some characters, including ``
603
- # ` ``, must be escaped using a `\`. For example, `` `x&y` `` represents `x&y`
604
- # and `` `bak\`tik` `` represents `` bak`tik ``.
591
+ #
605
592
  # Corresponds to the JSON property `fields`
606
593
  # @return [Hash<String,Google::Apis::FirestoreV1::Value>]
607
594
  attr_accessor :fields
@@ -903,8 +890,9 @@ module Google
903
890
  class FieldReference
904
891
  include Google::Apis::Core::Hashable
905
892
 
906
- # The relative path of the document being referenced. Requires: * Conform to
907
- # document field name limitations.
893
+ # A reference to a field in a document. Requires: * MUST be a dot-delimited (`.`)
894
+ # string of segments, where each segment conforms to document field name
895
+ # limitations.
908
896
  # Corresponds to the JSON property `fieldPath`
909
897
  # @return [String]
910
898
  attr_accessor :field_path
@@ -1006,7 +994,7 @@ module Google
1006
994
  end
1007
995
 
1008
996
  # A Backup of a Cloud Firestore Database. The backup contains all documents and
1009
- # index configurations for the given database at specific point in time.
997
+ # index configurations for the given database at a specific point in time.
1010
998
  class GoogleFirestoreAdminV1Backup
1011
999
  include Google::Apis::Core::Hashable
1012
1000
 
@@ -1124,6 +1112,19 @@ module Google
1124
1112
  end
1125
1113
  end
1126
1114
 
1115
+ # Metadata related to the create database operation.
1116
+ class GoogleFirestoreAdminV1CreateDatabaseMetadata
1117
+ include Google::Apis::Core::Hashable
1118
+
1119
+ def initialize(**args)
1120
+ update!(**args)
1121
+ end
1122
+
1123
+ # Update properties of this object
1124
+ def update!(**args)
1125
+ end
1126
+ end
1127
+
1127
1128
  # Represent a recurring schedule that runs at a specific time every day. The
1128
1129
  # time zone is UTC.
1129
1130
  class GoogleFirestoreAdminV1DailyRecurrence
@@ -1138,8 +1139,7 @@ module Google
1138
1139
  end
1139
1140
  end
1140
1141
 
1141
- # A Cloud Firestore Database. Currently only one database is allowed per cloud
1142
- # project; this database must have a `database_id` of '(default)'.
1142
+ # A Cloud Firestore Database.
1143
1143
  class GoogleFirestoreAdminV1Database
1144
1144
  include Google::Apis::Core::Hashable
1145
1145
 
@@ -1257,6 +1257,19 @@ module Google
1257
1257
  end
1258
1258
  end
1259
1259
 
1260
+ # Metadata related to the delete database operation.
1261
+ class GoogleFirestoreAdminV1DeleteDatabaseMetadata
1262
+ include Google::Apis::Core::Hashable
1263
+
1264
+ def initialize(**args)
1265
+ update!(**args)
1266
+ end
1267
+
1268
+ # Update properties of this object
1269
+ def update!(**args)
1270
+ end
1271
+ end
1272
+
1260
1273
  # Metadata for google.longrunning.Operation results from FirestoreAdmin.
1261
1274
  # ExportDocuments.
1262
1275
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
@@ -3237,7 +3250,17 @@ module Google
3237
3250
  attr_accessor :resume_token
3238
3251
 
3239
3252
  # The target ID that identifies the target on the stream. Must be a positive
3240
- # number and non-zero.
3253
+ # number and non-zero. If `target_id` is 0 (or unspecified), the server will
3254
+ # assign an ID for this target and return that in a `TargetChange::ADD` event.
3255
+ # Once a target with `target_id=0` is added, all subsequent targets must also
3256
+ # have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent to
3257
+ # the server after a target with `target_id=0` is added, the server will
3258
+ # immediately send a response with a `TargetChange::Remove` event. Note that if
3259
+ # the client sends multiple `AddTarget` requests without an ID, the order of IDs
3260
+ # returned in `TargetChage.target_ids` are undefined. Therefore, clients should
3261
+ # provide a target ID instead of relying on the server to assign one. If `
3262
+ # target_id` is non-zero, there must not be an existing active target on this
3263
+ # stream with the same ID.
3241
3264
  # Corresponds to the JSON property `targetId`
3242
3265
  # @return [Fixnum]
3243
3266
  attr_accessor :target_id
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230806"
25
+ REVISION = "20230905"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleFirestoreAdminV1CreateDatabaseMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class GoogleFirestoreAdminV1DailyRecurrence
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -232,6 +238,12 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class GoogleFirestoreAdminV1DeleteDatabaseMetadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -933,6 +945,12 @@ module Google
933
945
  end
934
946
  end
935
947
 
948
+ class GoogleFirestoreAdminV1CreateDatabaseMetadata
949
+ # @private
950
+ class Representation < Google::Apis::Core::JsonRepresentation
951
+ end
952
+ end
953
+
936
954
  class GoogleFirestoreAdminV1DailyRecurrence
937
955
  # @private
938
956
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -959,6 +977,12 @@ module Google
959
977
  end
960
978
  end
961
979
 
980
+ class GoogleFirestoreAdminV1DeleteDatabaseMetadata
981
+ # @private
982
+ class Representation < Google::Apis::Core::JsonRepresentation
983
+ end
984
+ end
985
+
962
986
  class GoogleFirestoreAdminV1ExportDocumentsMetadata
963
987
  # @private
964
988
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -302,7 +302,7 @@ module Google
302
302
  execute_or_queue_command(command, &block)
303
303
  end
304
304
 
305
- # Create a new database by restore from an existing backup. The new database
305
+ # Creates a new database by restoring from an existing backup. The new database
306
306
  # must be in the same cloud region or multi-region location as the existing
307
307
  # backup. This behaves similar to FirestoreAdmin.CreateDatabase except instead
308
308
  # of creating a new empty database, a new database is created with the database
@@ -310,9 +310,7 @@ module Google
310
310
  # running operation can be used to track the progress of the restore, with the
311
311
  # Operation's metadata field type being the RestoreDatabaseMetadata. The
312
312
  # response type is the Database if the restore was successful. The new database
313
- # is not readable or writeable until the LRO has completed. Cancelling the
314
- # returned operation will stop the restore and delete the in-progress database,
315
- # if the restore is still active.
313
+ # is not readable or writeable until the LRO has completed.
316
314
  # @param [String] parent
317
315
  # Required. The project to restore the database in. Format is `projects/`
318
316
  # project_id``.
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.50.0
4
+ version: 0.51.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-08-20 00:00:00.000000000 Z
11
+ date: 2023-09-17 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.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.51.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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Firestore API V1