google-apis-firestore_v1 0.34.0 → 0.36.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: 01e30481bd7f6e60f6b03a873ad33a4ba10f5fb8e7774fca913c6b992304dc3c
4
- data.tar.gz: 23984304276e262924f6f3f3b3b4679cc7133ca8e14d243fbe91e95a05e877c5
3
+ metadata.gz: f4e5862f61f098856d42b15156510a1ef916bd645a77d75e17cb7ef1aec00ac9
4
+ data.tar.gz: cfa9eb274b4fb2cde881e01179279dd1ecbea4ab8a795e49a24aab7ab830a376
5
5
  SHA512:
6
- metadata.gz: b84fcab18ac67b98b10e4877df149d539c603dfec847bb35aa2e2a4bbe877b2a8745c93cd590275138e5b2c59e3886bf6dd2fff7fb4be841277b0fb2c7a963ef
7
- data.tar.gz: d615fb65304ae771c7424bc91f3a48333f052160b589f84f01b69ae64be8b0c28b474e030ca95930bd49682afc7562d996976228f8689ff7d899b73cfa1b5640
6
+ metadata.gz: ff1b8f2a3c08da0952f558b7e8184b8061c652e5e97e625d3e36c16cefdd41ea0438a6079afae8feb41cb97a0ef2bf5f98db24581efd55159a2a98cfa6aa7ab5
7
+ data.tar.gz: 24ba11312abba5561b080070c660572f5b9fccee0f60811b43c432bcb74b68ed00ab2698016ee83994d55a71ff76692779562d5737aa61bda3bde27bff1aadfe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.36.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230315
6
+
7
+ ### v0.35.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230228
10
+
3
11
  ### v0.34.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230214
@@ -22,17 +22,17 @@ module Google
22
22
  module Apis
23
23
  module FirestoreV1
24
24
 
25
- # Defines a aggregation that produces a single result.
25
+ # Defines an aggregation that produces a single result.
26
26
  class Aggregation
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # Optional. Optional name of the field to store the result of the aggregation
30
30
  # into. If not provided, Firestore will pick a default name following the format
31
31
  # `field_`. For example: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1,
32
- # COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT_UP_TO(4) OVER ( ... ); `
33
- # `` becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS
34
- # field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT_UP_TO(4) AS field_2 OVER ( ...
35
- # ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to
32
+ # COUNT_UP_TO(2), COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) OVER ( ... ); ```
33
+ # becomes: ``` AGGREGATE COUNT_UP_TO(1) AS count_up_to_1, COUNT_UP_TO(2) AS
34
+ # field_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS field_2 OVER ( ... ); ```
35
+ # Requires: * Must be unique across all aggregation aliases. * Conform to
36
36
  # document field name limitations.
37
37
  # Corresponds to the JSON property `alias`
38
38
  # @return [String]
@@ -397,7 +397,7 @@ module Google
397
397
 
398
398
  # Optional. Optional constraint on the maximum number of documents to count.
399
399
  # This provides a way to set an upper bound on the number of documents to scan,
400
- # limiting latency and cost. Unspecified is interpreted as no bound. High-Level
400
+ # limiting latency, and cost. Unspecified is interpreted as no bound. High-Level
401
401
  # Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER ( SELECT * FROM k ); ```
402
402
  # Requires: * Must be greater than zero when present.
403
403
  # Corresponds to the JSON property `upTo`
@@ -2368,7 +2368,11 @@ module Google
2368
2368
  class RunAggregationQueryResponse
2369
2369
  include Google::Apis::Core::Hashable
2370
2370
 
2371
- # The time at which the aggregate value is valid for.
2371
+ # The time at which the aggregate result was computed. This is always
2372
+ # monotonically increasing; in this case, the previous AggregationResult in the
2373
+ # result stream are guaranteed not to have changed between their `read_time` and
2374
+ # this one. If the query returns no results, a response with `read_time` and no `
2375
+ # result` will be sent, and this represents the time at which the query was run.
2372
2376
  # Corresponds to the JSON property `readTime`
2373
2377
  # @return [String]
2374
2378
  attr_accessor :read_time
@@ -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.34.0"
19
+ GEM_VERSION = "0.36.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 = "20230214"
25
+ REVISION = "20230315"
26
26
  end
27
27
  end
28
28
  end
@@ -56,10 +56,8 @@ module Google
56
56
  # @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Database] google_firestore_admin_v1_database_object
57
57
  # @param [String] database_id
58
58
  # Required. The ID to use for the database, which will become the final
59
- # component of the database's resource name. This value should be 4-63
60
- # characters. Valid characters are /a-z-/ with first character a letter and the
61
- # last a letter or a number. Must not be UUID-like /[0-9a-f]`8`(-[0-9a-f]`4`)`3`-
62
- # [0-9a-f]`12`/. "(default)" database id is also valid.
59
+ # component of the database's resource name. The value must be set to "(default)"
60
+ # .
63
61
  # @param [String] fields
64
62
  # Selector specifying which fields to include in a partial response.
65
63
  # @param [String] quota_user
@@ -100,9 +98,6 @@ module Google
100
98
  # The current etag of the Database. If an etag is provided and does not match
101
99
  # the current etag of the database, deletion will be blocked and a
102
100
  # 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.
106
101
  # @param [Boolean] validate_only
107
102
  # If set, validate the request and preview the response, but do not actually
108
103
  # delete the database.
@@ -123,14 +118,13 @@ module Google
123
118
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
124
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
125
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
121
+ def delete_project_database(name, allow_missing: nil, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
127
122
  command = make_simple_command(:delete, 'v1/{+name}', options)
128
123
  command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
129
124
  command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
130
125
  command.params['name'] = name unless name.nil?
131
126
  command.query['allowMissing'] = allow_missing unless allow_missing.nil?
132
127
  command.query['etag'] = etag unless etag.nil?
133
- command.query['freeId'] = free_id unless free_id.nil?
134
128
  command.query['validateOnly'] = validate_only unless validate_only.nil?
135
129
  command.query['fields'] = fields unless fields.nil?
136
130
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1040,7 +1034,8 @@ module Google
1040
1034
  execute_or_queue_command(command, &block)
1041
1035
  end
1042
1036
 
1043
- # Listens to changes. This method is only available via the gRPC API (not REST).
1037
+ # Listens to changes. This method is only available via gRPC or WebChannel (not
1038
+ # REST).
1044
1039
  # @param [String] database
1045
1040
  # Required. The database name. In the format: `projects/`project_id`/databases/`
1046
1041
  # database_id``.
@@ -1274,7 +1269,7 @@ module Google
1274
1269
  end
1275
1270
 
1276
1271
  # Streams batches of document updates and deletes, in order. This method is only
1277
- # available via the gRPC API (not REST).
1272
+ # available via gRPC or WebChannel (not REST).
1278
1273
  # @param [String] database
1279
1274
  # Required. The database name. In the format: `projects/`project_id`/databases/`
1280
1275
  # database_id``. This is only required in the first message.
@@ -1413,13 +1408,7 @@ module Google
1413
1408
  end
1414
1409
 
1415
1410
  # Lists operations that match the specified filter in the request. If the server
1416
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1417
- # binding allows API services to override the binding to use different resource
1418
- # name schemes, such as `users/*/operations`. To override the binding, API
1419
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1420
- # service configuration. For backwards compatibility, the default name includes
1421
- # the operations collection id, however overriding users must ensure the name
1422
- # binding is the parent resource, without the operations collection id.
1411
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1423
1412
  # @param [String] name
1424
1413
  # The name of the operation's parent resource.
1425
1414
  # @param [String] filter
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.34.0
4
+ version: 0.36.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-02-26 00:00:00.000000000 Z
11
+ date: 2023-03-19 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.36.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: []