google-apis-firestore_v1 0.22.0 → 0.25.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: 2ebd21b9fdc30872203235d19fb8dda8fddeba318fdc65e7a79dff271251cb15
4
- data.tar.gz: 3ffabcd5a7d9db9d1d7e46875bd332795eb46ac609d50a7238b28dd7b5606d5e
3
+ metadata.gz: f8945a160c7cef4256e61b8216b5079b39f92b683fba8337a3862d063a87756c
4
+ data.tar.gz: 43ed93765a460c156249497adcb029746a57a0bff624b3bfe2da904d6ca7ac69
5
5
  SHA512:
6
- metadata.gz: 669d00c7d50af7f07b32a17858b259672be4e88c926351ea398fd3d6c315c0480678bb8c21413f680a9edc5fb92f2bd062927fbe8c1ead536649b1d167a02f12
7
- data.tar.gz: b8d946c4687b6f6dfe6ee9c141537a71c22ca822ae59bb5b5ca9c125bb59ef99f0c8da4f03af039e105054a2d0fd3bb72fa335c224db6998f411d63045d2b8f8
6
+ metadata.gz: c84a1a44251bca326c3f865802c66ad9ecb36545f405b7bb310412179e14d105094388691e825e47f6e27cc3ad64894065ff9467773cd9a6864cf68a29020952
7
+ data.tar.gz: e8eaf088e1b3a3b72635325fc0051fd1df1942eea3d204f5540a8a83dd151c6f9f9e4f33955e3256b8585c28983e7d5fe3e208ace551f54ad15af67438f19c62
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-firestore_v1
2
2
 
3
+ ### v0.25.0 (2022-09-09)
4
+
5
+ * Regenerated from discovery document revision 20220831
6
+
7
+ ### v0.24.0 (2022-08-19)
8
+
9
+ * Regenerated from discovery document revision 20220808
10
+
11
+ ### v0.23.0 (2022-07-14)
12
+
13
+ * Regenerated from discovery document revision 20220625
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.22.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -642,7 +642,7 @@ module Google
642
642
  class FieldFilter
643
643
  include Google::Apis::Core::Hashable
644
644
 
645
- # A reference to a field, such as `max(messages.time) as max_time`.
645
+ # A reference to a field in a document, ex: `stats.operations`.
646
646
  # Corresponds to the JSON property `field`
647
647
  # @return [Google::Apis::FirestoreV1::FieldReference]
648
648
  attr_accessor :field
@@ -669,11 +669,12 @@ module Google
669
669
  end
670
670
  end
671
671
 
672
- # A reference to a field, such as `max(messages.time) as max_time`.
672
+ # A reference to a field in a document, ex: `stats.operations`.
673
673
  class FieldReference
674
674
  include Google::Apis::Core::Hashable
675
675
 
676
- #
676
+ # The relative path of the document being referenced. Requires: * Conform to
677
+ # document field name limitations.
677
678
  # Corresponds to the JSON property `fieldPath`
678
679
  # @return [String]
679
680
  attr_accessor :field_path
@@ -984,8 +985,10 @@ module Google
984
985
 
985
986
  # The TTL (time-to-live) configuration for documents that have this `Field` set.
986
987
  # Storing a timestamp value into a TTL-enabled field will be treated as the
987
- # document's absolute expiration time. Using any other data type or leaving the
988
- # field absent will disable the TTL for the individual document.
988
+ # document's absolute expiration time. Timestamp values in the past indicate
989
+ # that the document is eligible for immediate expiration. Using any other data
990
+ # type or leaving the field absent will disable expiration for the individual
991
+ # document.
989
992
  # Corresponds to the JSON property `ttlConfig`
990
993
  # @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1TtlConfig]
991
994
  attr_accessor :ttl_config
@@ -1161,14 +1164,14 @@ module Google
1161
1164
  class GoogleFirestoreAdminV1Index
1162
1165
  include Google::Apis::Core::Hashable
1163
1166
 
1164
- # The fields supported by this index. For composite indexes, this is always 2 or
1165
- # more fields. The last field entry is always for the field path `__name__`. If,
1166
- # on creation, `__name__` was not specified as the last field, it will be added
1167
- # automatically with the same direction as that of the last field defined. If
1168
- # the final field in a composite index is not directional, the `__name__` will
1169
- # be ordered ASCENDING (unless explicitly specified). For single field indexes,
1170
- # this will always be exactly one entry with a field path equal to the field
1171
- # path of the associated field.
1167
+ # The fields supported by this index. For composite indexes, this requires a
1168
+ # minimum of 2 and a maximum of 100 fields. The last field entry is always for
1169
+ # the field path `__name__`. If, on creation, `__name__` was not specified as
1170
+ # the last field, it will be added automatically with the same direction as that
1171
+ # of the last field defined. If the final field in a composite index is not
1172
+ # directional, the `__name__` will be ordered ASCENDING (unless explicitly
1173
+ # specified). For single field indexes, this will always be exactly one entry
1174
+ # with a field path equal to the field path of the associated field.
1172
1175
  # Corresponds to the JSON property `fields`
1173
1176
  # @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField>]
1174
1177
  attr_accessor :fields
@@ -1483,8 +1486,10 @@ module Google
1483
1486
 
1484
1487
  # The TTL (time-to-live) configuration for documents that have this `Field` set.
1485
1488
  # Storing a timestamp value into a TTL-enabled field will be treated as the
1486
- # document's absolute expiration time. Using any other data type or leaving the
1487
- # field absent will disable the TTL for the individual document.
1489
+ # document's absolute expiration time. Timestamp values in the past indicate
1490
+ # that the document is eligible for immediate expiration. Using any other data
1491
+ # type or leaving the field absent will disable expiration for the individual
1492
+ # document.
1488
1493
  class GoogleFirestoreAdminV1TtlConfig
1489
1494
  include Google::Apis::Core::Hashable
1490
1495
 
@@ -1932,7 +1937,7 @@ module Google
1932
1937
  # @return [String]
1933
1938
  attr_accessor :direction
1934
1939
 
1935
- # A reference to a field, such as `max(messages.time) as max_time`.
1940
+ # A reference to a field in a document, ex: `stats.operations`.
1936
1941
  # Corresponds to the JSON property `field`
1937
1942
  # @return [Google::Apis::FirestoreV1::FieldReference]
1938
1943
  attr_accessor :field
@@ -2327,27 +2332,32 @@ module Google
2327
2332
  attr_accessor :from
2328
2333
 
2329
2334
  # The maximum number of results to return. Applies after all other constraints.
2330
- # Must be >= 0 if specified.
2335
+ # Requires: * The value must be greater than or equal to zero if specified.
2331
2336
  # Corresponds to the JSON property `limit`
2332
2337
  # @return [Fixnum]
2333
2338
  attr_accessor :limit
2334
2339
 
2335
- # The number of results to skip. Applies before limit, but after all other
2336
- # constraints. Must be >= 0 if specified.
2340
+ # The number of documents to skip before returning the first result. This
2341
+ # applies after the constraints specified by the `WHERE`, `START AT`, & `END AT`
2342
+ # but before the `LIMIT` clause. Requires: * The value must be greater than or
2343
+ # equal to zero if specified.
2337
2344
  # Corresponds to the JSON property `offset`
2338
2345
  # @return [Fixnum]
2339
2346
  attr_accessor :offset
2340
2347
 
2341
- # The order to apply to the query results. Firestore guarantees a stable
2342
- # ordering through the following rules: * Any field required to appear in `
2343
- # order_by`, that is not already specified in `order_by`, is appended to the
2344
- # order in field name order by default. * If an order on `__name__` is not
2345
- # specified, it is appended by default. Fields are appended with the same sort
2346
- # direction as the last order specified, or 'ASCENDING' if no order was
2347
- # specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT *
2348
- # FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `
2349
- # SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A
2350
- # > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
2348
+ # The order to apply to the query results. Firestore allows callers to provide a
2349
+ # full ordering, a partial ordering, or no ordering at all. In all cases,
2350
+ # Firestore guarantees a stable ordering through the following rules: * The `
2351
+ # order_by` is required to reference all fields used with an inequality filter. *
2352
+ # All fields that are required to be in the `order_by` but are not already
2353
+ # present are appended in lexicographical ordering of the field name. * If an
2354
+ # order on `__name__` is not specified, it is appended by default. Fields are
2355
+ # appended with the same sort direction as the last order specified, or '
2356
+ # ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `
2357
+ # ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC,
2358
+ # __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__
2359
+ # ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a >
2360
+ # 1 ORDER BY a ASC, __name__ ASC`
2351
2361
  # Corresponds to the JSON property `orderBy`
2352
2362
  # @return [Array<Google::Apis::FirestoreV1::Order>]
2353
2363
  attr_accessor :order_by
@@ -2524,7 +2534,7 @@ module Google
2524
2534
  class UnaryFilter
2525
2535
  include Google::Apis::Core::Hashable
2526
2536
 
2527
- # A reference to a field, such as `max(messages.time) as max_time`.
2537
+ # A reference to a field in a document, ex: `stats.operations`.
2528
2538
  # Corresponds to the JSON property `field`
2529
2539
  # @return [Google::Apis::FirestoreV1::FieldReference]
2530
2540
  attr_accessor :field
@@ -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.22.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220604"
25
+ REVISION = "20220831"
26
26
  end
27
27
  end
28
28
  end
@@ -60,9 +60,6 @@ module Google
60
60
  # characters. Valid characters are /a-z-/ with first character a letter and the
61
61
  # last a letter or a number. Must not be UUID-like /[0-9a-f]`8`(-[0-9a-f]`4`)`3`-
62
62
  # [0-9a-f]`12`/. "(default)" database id is also valid.
63
- # @param [Boolean] validate_only
64
- # If set, validate the request and preview the response, but do not actually
65
- # create the database.
66
63
  # @param [String] fields
67
64
  # Selector specifying which fields to include in a partial response.
68
65
  # @param [String] quota_user
@@ -80,7 +77,7 @@ module Google
80
77
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
81
78
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
82
79
  # @raise [Google::Apis::AuthorizationError] Authorization is required
83
- def create_project_database(parent, google_firestore_admin_v1_database_object = nil, database_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
80
+ def create_project_database(parent, google_firestore_admin_v1_database_object = nil, database_id: nil, fields: nil, quota_user: nil, options: nil, &block)
84
81
  command = make_simple_command(:post, 'v1/{+parent}/databases', options)
85
82
  command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Database::Representation
86
83
  command.request_object = google_firestore_admin_v1_database_object
@@ -88,7 +85,6 @@ module Google
88
85
  command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
89
86
  command.params['parent'] = parent unless parent.nil?
90
87
  command.query['databaseId'] = database_id unless database_id.nil?
91
- command.query['validateOnly'] = validate_only unless validate_only.nil?
92
88
  command.query['fields'] = fields unless fields.nil?
93
89
  command.query['quotaUser'] = quota_user unless quota_user.nil?
94
90
  execute_or_queue_command(command, &block)
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.22.0
4
+ version: 0.25.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: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-09-12 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1/v0.25.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: []