google-apis-datastore_v1beta3 0.25.0 → 0.26.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: bb7dd0525685e7a5d0700e99b0e7f3f9cb00639f438f079c40ca84d03071f47c
4
- data.tar.gz: 0a06e007a276da8bb854c08a7e5e30120254520c3b40aa59147c876cf2841a68
3
+ metadata.gz: a395bdbc7ea4c811ca81b6573fb97b90478148741254fd412b2d84214ed7269e
4
+ data.tar.gz: 69dcff78e89f4fb9cc5139f35b3b812378dba0d9fa34ddbd24a8663bd0677d44
5
5
  SHA512:
6
- metadata.gz: 77e146985b2edc7677e0e44c7d6bd40516bd9e689bc31655b5126f17ddf2942ac41cba9bcc21b80a95c84f67c017db66bfa0f7a7f0b4e80f49cab0c0e6bbb4d4
7
- data.tar.gz: 70b2554c0f79f38e0dd4c44b391495ac97e40405f3a75d95c77ea6907fc264a674776a17393d66f2df7323d5418d1868a0d3c11be90bfd735edf03e264c52cfe
6
+ metadata.gz: 4b4af58fb6e7a8c5fdda0aee89e51747e7d7732b125440bd22bb571ad5ee961bf5920cdf790ff4abd40b9991466508648dd7f8fb0040e27013ba7a308d9a470a
7
+ data.tar.gz: 926d2f69a9936806a999e995afb9c5c5002bf1290d61283f442c7eee8093ee782739c19cbd3333959e6f67e7193c140decf32a4fef0d3d2962b0c22b3b5f494a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datastore_v1beta3
2
2
 
3
+ ### v0.26.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230806
6
+
3
7
  ### v0.25.0 (2023-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230716
@@ -38,12 +38,38 @@ module Google
38
38
  # @return [String]
39
39
  attr_accessor :alias
40
40
 
41
+ # Average of the values of the requested property. * Only numeric values will be
42
+ # aggregated. All non-numeric values including `NULL` are skipped. * If the
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.
46
+ # Corresponds to the JSON property `avg`
47
+ # @return [Google::Apis::DatastoreV1beta3::Avg]
48
+ attr_accessor :avg
49
+
41
50
  # Count of entities that match the query. The `COUNT(*)` aggregation function
42
51
  # operates on the entire entity so it does not require a field reference.
43
52
  # Corresponds to the JSON property `count`
44
53
  # @return [Google::Apis::DatastoreV1beta3::Count]
45
54
  attr_accessor :count
46
55
 
56
+ # Sum of the values of the requested property. * Only numeric values will be
57
+ # aggregated. All non-numeric values including `NULL` are skipped. * If the
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.
69
+ # Corresponds to the JSON property `sum`
70
+ # @return [Google::Apis::DatastoreV1beta3::Sum]
71
+ attr_accessor :sum
72
+
47
73
  def initialize(**args)
48
74
  update!(**args)
49
75
  end
@@ -51,7 +77,9 @@ module Google
51
77
  # Update properties of this object
52
78
  def update!(**args)
53
79
  @alias = args[:alias] if args.key?(:alias)
80
+ @avg = args[:avg] if args.key?(:avg)
54
81
  @count = args[:count] if args.key?(:count)
82
+ @sum = args[:sum] if args.key?(:sum)
55
83
  end
56
84
  end
57
85
 
@@ -200,6 +228,29 @@ module Google
200
228
  end
201
229
  end
202
230
 
231
+ # Average of the values of the requested property. * Only numeric values will be
232
+ # aggregated. All non-numeric values including `NULL` are skipped. * If the
233
+ # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
234
+ # standards. * If the aggregated value set is empty, returns `NULL`. * Always
235
+ # returns the result as a double.
236
+ class Avg
237
+ include Google::Apis::Core::Hashable
238
+
239
+ # A reference to a property relative to the kind expressions.
240
+ # Corresponds to the JSON property `property`
241
+ # @return [Google::Apis::DatastoreV1beta3::PropertyReference]
242
+ attr_accessor :property
243
+
244
+ def initialize(**args)
245
+ update!(**args)
246
+ end
247
+
248
+ # Update properties of this object
249
+ def update!(**args)
250
+ @property = args[:property] if args.key?(:property)
251
+ end
252
+ end
253
+
203
254
  # The request for Datastore.BeginTransaction.
204
255
  class BeginTransactionRequest
205
256
  include Google::Apis::Core::Hashable
@@ -2049,6 +2100,37 @@ module Google
2049
2100
  end
2050
2101
  end
2051
2102
 
2103
+ # Sum of the values of the requested property. * Only numeric values will be
2104
+ # aggregated. All non-numeric values including `NULL` are skipped. * If the
2105
+ # aggregated values contain `NaN`, returns `NaN`. Infinity math follows IEEE-754
2106
+ # standards. * If the aggregated value set is empty, returns 0. * Returns a 64-
2107
+ # bit integer if all aggregated numbers are integers and the sum result does not
2108
+ # overflow. Otherwise, the result is returned as a double. Note that even if all
2109
+ # the aggregated values are integers, the result is returned as a double if it
2110
+ # cannot fit within a 64-bit signed integer. When this occurs, the returned
2111
+ # value will lose precision. * When underflow occurs, floating-point aggregation
2112
+ # is non-deterministic. This means that running the same query repeatedly
2113
+ # without any changes to the underlying values could produce slightly different
2114
+ # results each time. In those cases, values should be stored as integers over
2115
+ # floating-point numbers.
2116
+ class Sum
2117
+ include Google::Apis::Core::Hashable
2118
+
2119
+ # A reference to a property relative to the kind expressions.
2120
+ # Corresponds to the JSON property `property`
2121
+ # @return [Google::Apis::DatastoreV1beta3::PropertyReference]
2122
+ attr_accessor :property
2123
+
2124
+ def initialize(**args)
2125
+ update!(**args)
2126
+ end
2127
+
2128
+ # Update properties of this object
2129
+ def update!(**args)
2130
+ @property = args[:property] if args.key?(:property)
2131
+ end
2132
+ end
2133
+
2052
2134
  # Options for beginning a new transaction. Transactions can be created
2053
2135
  # explicitly with calls to Datastore.BeginTransaction or implicitly by setting
2054
2136
  # ReadOptions.new_transaction in read requests.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastoreV1beta3
18
18
  # Version of the google-apis-datastore_v1beta3 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.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 = "20230716"
25
+ REVISION = "20230806"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class Avg
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class BeginTransactionRequest
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -394,6 +400,12 @@ module Google
394
400
  include Google::Apis::Core::JsonObjectSupport
395
401
  end
396
402
 
403
+ class Sum
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
397
409
  class TransactionOptions
398
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
411
 
@@ -410,8 +422,12 @@ module Google
410
422
  # @private
411
423
  class Representation < Google::Apis::Core::JsonRepresentation
412
424
  property :alias, as: 'alias'
425
+ property :avg, as: 'avg', class: Google::Apis::DatastoreV1beta3::Avg, decorator: Google::Apis::DatastoreV1beta3::Avg::Representation
426
+
413
427
  property :count, as: 'count', class: Google::Apis::DatastoreV1beta3::Count, decorator: Google::Apis::DatastoreV1beta3::Count::Representation
414
428
 
429
+ property :sum, as: 'sum', class: Google::Apis::DatastoreV1beta3::Sum, decorator: Google::Apis::DatastoreV1beta3::Sum::Representation
430
+
415
431
  end
416
432
  end
417
433
 
@@ -467,6 +483,14 @@ module Google
467
483
  end
468
484
  end
469
485
 
486
+ class Avg
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
490
+
491
+ end
492
+ end
493
+
470
494
  class BeginTransactionRequest
471
495
  # @private
472
496
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1012,6 +1036,14 @@ module Google
1012
1036
  end
1013
1037
  end
1014
1038
 
1039
+ class Sum
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
1043
+
1044
+ end
1045
+ end
1046
+
1015
1047
  class TransactionOptions
1016
1048
  # @private
1017
1049
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastore_v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-13 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-datastore_v1beta3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1beta3/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1beta3
63
63
  post_install_message:
64
64
  rdoc_options: []