google-apis-firestore_v1beta1 0.31.0 → 0.33.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: dcacca90d087af63291d5060dddfd7a8a13daeac36edee54ad07d702d837af7e
4
- data.tar.gz: b0a968d6398b25ac389b53c75f688142d6c1927f62ff7edb5f6cefc8aea8e575
3
+ metadata.gz: aae0a232d8df396c19747bd0ac8281cf3f1fd9410248df8048d2bfa7d434a836
4
+ data.tar.gz: f39e0fc8f076b8a5daef6db65d65c2a03122841f9425ec05ba0a045396d45360
5
5
  SHA512:
6
- metadata.gz: 6f878beb243741d59f031852800e03fda0e5dbec3793d9aa06e59d82987a11e7f82918c8cb854b60aa860368c5e23b6738f490ad7356c3a1206404f08ffc155c
7
- data.tar.gz: 9b99e3d036f996a8c2ea2c5312071546972796988a85c9fe332a1b3cdbd5c1ed7c16823bfc0ed3d102573b9454237f6afb1f8763996f9ea812aefecc9bdffab5
6
+ metadata.gz: 6e0ce11834d12fce8a486a61f54684b85f8442d3936d59d200bde2c40da5e82791443f2b6b3d69d7a499f9b16632ecb6cab0a49e6c230462052356a7fdc63fe6
7
+ data.tar.gz: 0e5530f782c77ec5a24f7ff153cb4d1232c3eac7f33159741b2f9c3c7908ba211a2d909c862a9619083a258d73792bcd15cda0b3c885591b6bd8dd21a987aec1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firestore_v1beta1
2
2
 
3
+ ### v0.33.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230905
6
+
7
+ ### v0.32.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230806
10
+
3
11
  ### v0.31.0 (2023-08-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20230729
@@ -40,8 +40,9 @@ module Google
40
40
 
41
41
  # Average of the values of the requested field. * Only numeric values will be
42
42
  # aggregated. All non-numeric values including `NULL` are skipped. * If the
43
- # aggregated values contain `NaN`, returns `NaN`. * If the aggregated value set
44
- # is empty, returns `NULL`. * Always returns the result as a double.
43
+ # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
44
+ # standards. * If the aggregated value set is empty, returns `NULL`. * Always
45
+ # returns the result as a double.
45
46
  # Corresponds to the JSON property `avg`
46
47
  # @return [Google::Apis::FirestoreV1beta1::Avg]
47
48
  attr_accessor :avg
@@ -54,16 +55,17 @@ module Google
54
55
 
55
56
  # Sum of the values of the requested field. * Only numeric values will be
56
57
  # aggregated. All non-numeric values including `NULL` are skipped. * If the
57
- # aggregated values contain `NaN`, returns `NaN`. * If the aggregated value set
58
- # is empty, returns 0. * Returns a 64-bit integer if the sum result is an
59
- # integer value and does not overflow. Otherwise, the result is returned as a
60
- # double. Note that even if all the aggregated values are integers, the result
61
- # is returned as a double if it cannot fit within a 64-bit signed integer. When
62
- # this occurs, the returned value will lose precision. * When underflow occurs,
63
- # floating-point aggregation is non-deterministic. This means that running the
64
- # same query repeatedly without any changes to the underlying values could
65
- # produce slightly different results each time. In those cases, values should be
66
- # stored as integers over floating-point numbers.
58
+ # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
59
+ # standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
60
+ # bit integer if all aggregated numbers are integers and the sum result does not
61
+ # overflow. Otherwise, the result is returned as a double. Note that even if all
62
+ # the aggregated values are integers, the result is returned as a double if it
63
+ # cannot fit within a 64-bit signed integer. When this occurs, the returned
64
+ # value will lose precision. * When underflow occurs, floating-point aggregation
65
+ # is non-deterministic. This means that running the same query repeatedly
66
+ # without any changes to the underlying values could produce slightly different
67
+ # results each time. In those cases, values should be stored as integers over
68
+ # floating-point numbers.
67
69
  # Corresponds to the JSON property `sum`
68
70
  # @return [Google::Apis::FirestoreV1beta1::Sum]
69
71
  attr_accessor :sum
@@ -125,8 +127,9 @@ module Google
125
127
 
126
128
  # Average of the values of the requested field. * Only numeric values will be
127
129
  # aggregated. All non-numeric values including `NULL` are skipped. * If the
128
- # aggregated values contain `NaN`, returns `NaN`. * If the aggregated value set
129
- # is empty, returns `NULL`. * Always returns the result as a double.
130
+ # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
131
+ # standards. * If the aggregated value set is empty, returns `NULL`. * Always
132
+ # returns the result as a double.
130
133
  class Avg
131
134
  include Google::Apis::Core::Hashable
132
135
 
@@ -585,20 +588,7 @@ module Google
585
588
  # @return [String]
586
589
  attr_accessor :create_time
587
590
 
588
- # The document's fields. The map keys represent field names. A simple field name
589
- # contains only characters `a` to `z`, `A` to `Z`, `0` to `9`, or `_`, and must
590
- # not start with `0` to `9`. For example, `foo_bar_17`. Field names matching the
591
- # regular expression `__.*__` are reserved. Reserved field names are forbidden
592
- # except in certain documented contexts. The map keys, represented as UTF-8,
593
- # must not exceed 1,500 bytes and cannot be empty. Field paths may be used in
594
- # other contexts to refer to structured fields defined here. For `map_value`,
595
- # the field path is represented by the simple or quoted field names of the
596
- # containing fields, delimited by `.`. For example, the structured field `"foo" :
597
- # ` map_value: ` "x&y" : ` string_value: "hello" ```` would be represented by
598
- # the field path `foo.x&y`. Within a field path, a quoted field name starts and
599
- # ends with `` ` `` and may contain any character. Some characters, including ``
600
- # ` ``, must be escaped using a `\`. For example, `` `x&y` `` represents `x&y`
601
- # and `` `bak\`tik` `` represents `` bak`tik ``.
591
+ #
602
592
  # Corresponds to the JSON property `fields`
603
593
  # @return [Hash<String,Google::Apis::FirestoreV1beta1::Value>]
604
594
  attr_accessor :fields
@@ -900,8 +890,9 @@ module Google
900
890
  class FieldReference
901
891
  include Google::Apis::Core::Hashable
902
892
 
903
- # The relative path of the document being referenced. Requires: * Conform to
904
- # 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.
905
896
  # Corresponds to the JSON property `fieldPath`
906
897
  # @return [String]
907
898
  attr_accessor :field_path
@@ -1002,6 +993,32 @@ module Google
1002
993
  end
1003
994
  end
1004
995
 
996
+ # Metadata related to the create database operation.
997
+ class GoogleFirestoreAdminV1CreateDatabaseMetadata
998
+ include Google::Apis::Core::Hashable
999
+
1000
+ def initialize(**args)
1001
+ update!(**args)
1002
+ end
1003
+
1004
+ # Update properties of this object
1005
+ def update!(**args)
1006
+ end
1007
+ end
1008
+
1009
+ # Metadata related to the delete database operation.
1010
+ class GoogleFirestoreAdminV1DeleteDatabaseMetadata
1011
+ include Google::Apis::Core::Hashable
1012
+
1013
+ def initialize(**args)
1014
+ update!(**args)
1015
+ end
1016
+
1017
+ # Update properties of this object
1018
+ def update!(**args)
1019
+ end
1020
+ end
1021
+
1005
1022
  # Describes the progress of the operation. Unit of work is generic and must be
1006
1023
  # interpreted based on where Progress is used.
1007
1024
  class GoogleFirestoreAdminV1Progress
@@ -1505,13 +1522,13 @@ module Google
1505
1522
  # @return [String]
1506
1523
  attr_accessor :name
1507
1524
 
1508
- # The normal response of the operation in case of success. If the original
1509
- # method returns no data on success, such as `Delete`, the response is `google.
1510
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1511
- # the response should be the resource. For other methods, the response should
1512
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1513
- # example, if the original method name is `TakeSnapshot()`, the inferred
1514
- # response type is `TakeSnapshotResponse`.
1525
+ # The normal, successful response of the operation. If the original method
1526
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1527
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1528
+ # response should be the resource. For other methods, the response should have
1529
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1530
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1531
+ # `TakeSnapshotResponse`.
1515
1532
  # Corresponds to the JSON property `response`
1516
1533
  # @return [Hash<String,Object>]
1517
1534
  attr_accessor :response
@@ -2329,16 +2346,17 @@ module Google
2329
2346
 
2330
2347
  # Sum of the values of the requested field. * Only numeric values will be
2331
2348
  # aggregated. All non-numeric values including `NULL` are skipped. * If the
2332
- # aggregated values contain `NaN`, returns `NaN`. * If the aggregated value set
2333
- # is empty, returns 0. * Returns a 64-bit integer if the sum result is an
2334
- # integer value and does not overflow. Otherwise, the result is returned as a
2335
- # double. Note that even if all the aggregated values are integers, the result
2336
- # is returned as a double if it cannot fit within a 64-bit signed integer. When
2337
- # this occurs, the returned value will lose precision. * When underflow occurs,
2338
- # floating-point aggregation is non-deterministic. This means that running the
2339
- # same query repeatedly without any changes to the underlying values could
2340
- # produce slightly different results each time. In those cases, values should be
2341
- # stored as integers over floating-point numbers.
2349
+ # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
2350
+ # standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
2351
+ # bit integer if all aggregated numbers are integers and the sum result does not
2352
+ # overflow. Otherwise, the result is returned as a double. Note that even if all
2353
+ # the aggregated values are integers, the result is returned as a double if it
2354
+ # cannot fit within a 64-bit signed integer. When this occurs, the returned
2355
+ # value will lose precision. * When underflow occurs, floating-point aggregation
2356
+ # is non-deterministic. This means that running the same query repeatedly
2357
+ # without any changes to the underlying values could produce slightly different
2358
+ # results each time. In those cases, values should be stored as integers over
2359
+ # floating-point numbers.
2342
2360
  class Sum
2343
2361
  include Google::Apis::Core::Hashable
2344
2362
 
@@ -2399,7 +2417,17 @@ module Google
2399
2417
  attr_accessor :resume_token
2400
2418
 
2401
2419
  # The target ID that identifies the target on the stream. Must be a positive
2402
- # number and non-zero.
2420
+ # number and non-zero. If `target_id` is 0 (or unspecified), the server will
2421
+ # assign an ID for this target and return that in a `TargetChange::ADD` event.
2422
+ # Once a target with `target_id=0` is added, all subsequent targets must also
2423
+ # have `target_id=0`. If an `AddTarget` request with `target_id != 0` is sent to
2424
+ # the server after a target with `target_id=0` is added, the server will
2425
+ # immediately send a response with a `TargetChange::Remove` event. Note that if
2426
+ # the client sends multiple `AddTarget` requests without an ID, the order of IDs
2427
+ # returned in `TargetChage.target_ids` are undefined. Therefore, clients should
2428
+ # provide a target ID instead of relying on the server to assign one. If `
2429
+ # target_id` is non-zero, there must not be an existing active target on this
2430
+ # stream with the same ID.
2403
2431
  # Corresponds to the JSON property `targetId`
2404
2432
  # @return [Fixnum]
2405
2433
  attr_accessor :target_id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirestoreV1beta1
18
18
  # Version of the google-apis-firestore_v1beta1 gem
19
- GEM_VERSION = "0.31.0"
19
+ GEM_VERSION = "0.33.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 = "20230729"
25
+ REVISION = "20230905"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,18 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class GoogleFirestoreAdminV1CreateDatabaseMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleFirestoreAdminV1DeleteDatabaseMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class GoogleFirestoreAdminV1Progress
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -785,6 +797,18 @@ module Google
785
797
  end
786
798
  end
787
799
 
800
+ class GoogleFirestoreAdminV1CreateDatabaseMetadata
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ end
804
+ end
805
+
806
+ class GoogleFirestoreAdminV1DeleteDatabaseMetadata
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ end
810
+ end
811
+
788
812
  class GoogleFirestoreAdminV1Progress
789
813
  # @private
790
814
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firestore_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.33.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-06 00:00:00.000000000 Z
11
+ date: 2023-09-10 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firestore_v1beta1/v0.33.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firestore_v1beta1
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 V1beta1