google-apis-datastore_v1 0.14.0 → 0.15.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: b792c119d7e1951886e9ba48eda00d07c3f77e645c1ae811a5949d3c81dd17e8
4
- data.tar.gz: '09ad399630da0394b42ceedff8d96a1dd3e6910556937a20be96b96678de237f'
3
+ metadata.gz: 86b5a9e56c9fa3be38fb78e3e67a037f7a0e05719d303278017ae312318f00b3
4
+ data.tar.gz: 3e3a1247c10064d9175dbcabeb2195ec634b0e15bc86f8b51d30894485aa33f4
5
5
  SHA512:
6
- metadata.gz: 9f4e40e3ab152718e2f0940716cc61cc65efbc3c7e9f79c96d37751a5e017aa62dddf5cd35fcc493815b44d92a79fec13430a784e3e871858c963f9900bc2cd6
7
- data.tar.gz: bc4284f5e9d81c311bfac310326be0fe0eda8af42e7cf1b4a75ec497d86ee4da94e9cb99a5616c607877c935b5de966d20e9c3012b167efbc3c6bd22adc8f958
6
+ metadata.gz: dd70503c00917430c9939e933cda1e92876006c1f5b99b4be0d43d8b8de84a05f172428f2426e2d919584c1e5eb16fe4388b132d7541a258895064f901fbeda3
7
+ data.tar.gz: 278767ada55d5790e03f3f9aa55d5311fad24f9b963386745c44250870f5675a80967845f13426d0ac53010cf456e20a8b65a21a5cc7ad31944ebac6c7e7b994
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-datastore_v1
2
2
 
3
+ ### v0.15.0 (2022-06-18)
4
+
5
+ * Regenerated from discovery document revision 20220604
6
+ * Regenerated using generator version 0.7.0
7
+
3
8
  ### v0.14.0 (2022-06-06)
4
9
 
5
10
  * Regenerated from discovery document revision 20220524
@@ -26,6 +26,11 @@ module Google
26
26
  class AllocateIdsRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
+ # If not empty, the ID of the database against which to make the request.
30
+ # Corresponds to the JSON property `databaseId`
31
+ # @return [String]
32
+ attr_accessor :database_id
33
+
29
34
  # Required. A list of keys with incomplete key paths for which to allocate IDs.
30
35
  # No key may be reserved/read-only.
31
36
  # Corresponds to the JSON property `keys`
@@ -38,6 +43,7 @@ module Google
38
43
 
39
44
  # Update properties of this object
40
45
  def update!(**args)
46
+ @database_id = args[:database_id] if args.key?(:database_id)
41
47
  @keys = args[:keys] if args.key?(:keys)
42
48
  end
43
49
  end
@@ -86,6 +92,11 @@ module Google
86
92
  class BeginTransactionRequest
87
93
  include Google::Apis::Core::Hashable
88
94
 
95
+ # If not empty, the ID of the database against which to make the request.
96
+ # Corresponds to the JSON property `databaseId`
97
+ # @return [String]
98
+ attr_accessor :database_id
99
+
89
100
  # Options for beginning a new transaction. Transactions can be created
90
101
  # explicitly with calls to Datastore.BeginTransaction or implicitly by setting
91
102
  # ReadOptions.new_transaction in read requests.
@@ -99,6 +110,7 @@ module Google
99
110
 
100
111
  # Update properties of this object
101
112
  def update!(**args)
113
+ @database_id = args[:database_id] if args.key?(:database_id)
102
114
  @transaction_options = args[:transaction_options] if args.key?(:transaction_options)
103
115
  end
104
116
  end
@@ -127,6 +139,11 @@ module Google
127
139
  class CommitRequest
128
140
  include Google::Apis::Core::Hashable
129
141
 
142
+ # If not empty, the ID of the database against which to make the request.
143
+ # Corresponds to the JSON property `databaseId`
144
+ # @return [String]
145
+ attr_accessor :database_id
146
+
130
147
  # The type of commit to perform. Defaults to `TRANSACTIONAL`.
131
148
  # Corresponds to the JSON property `mode`
132
149
  # @return [String]
@@ -155,6 +172,7 @@ module Google
155
172
 
156
173
  # Update properties of this object
157
174
  def update!(**args)
175
+ @database_id = args[:database_id] if args.key?(:database_id)
158
176
  @mode = args[:mode] if args.key?(:mode)
159
177
  @mutations = args[:mutations] if args.key?(:mutations)
160
178
  @transaction = args[:transaction] if args.key?(:transaction)
@@ -198,7 +216,7 @@ module Google
198
216
  class CompositeFilter
199
217
  include Google::Apis::Core::Hashable
200
218
 
201
- # The list of filters to combine. Must contain at least one filter.
219
+ # The list of filters to combine. Requires: * At least one filter is present.
202
220
  # Corresponds to the JSON property `filters`
203
221
  # @return [Array<Google::Apis::DatastoreV1::Filter>]
204
222
  attr_accessor :filters
@@ -1414,6 +1432,11 @@ module Google
1414
1432
  class LookupRequest
1415
1433
  include Google::Apis::Core::Hashable
1416
1434
 
1435
+ # If not empty, the ID of the database against which to make the request.
1436
+ # Corresponds to the JSON property `databaseId`
1437
+ # @return [String]
1438
+ attr_accessor :database_id
1439
+
1417
1440
  # Required. Keys of entities to look up.
1418
1441
  # Corresponds to the JSON property `keys`
1419
1442
  # @return [Array<Google::Apis::DatastoreV1::Key>]
@@ -1430,6 +1453,7 @@ module Google
1430
1453
 
1431
1454
  # Update properties of this object
1432
1455
  def update!(**args)
1456
+ @database_id = args[:database_id] if args.key?(:database_id)
1433
1457
  @keys = args[:keys] if args.key?(:keys)
1434
1458
  @read_options = args[:read_options] if args.key?(:read_options)
1435
1459
  end
@@ -1597,6 +1621,11 @@ module Google
1597
1621
  class PartitionId
1598
1622
  include Google::Apis::Core::Hashable
1599
1623
 
1624
+ # If not empty, the ID of the database to which the entities belong.
1625
+ # Corresponds to the JSON property `databaseId`
1626
+ # @return [String]
1627
+ attr_accessor :database_id
1628
+
1600
1629
  # If not empty, the ID of the namespace to which the entities belong.
1601
1630
  # Corresponds to the JSON property `namespaceId`
1602
1631
  # @return [String]
@@ -1613,6 +1642,7 @@ module Google
1613
1642
 
1614
1643
  # Update properties of this object
1615
1644
  def update!(**args)
1645
+ @database_id = args[:database_id] if args.key?(:database_id)
1616
1646
  @namespace_id = args[:namespace_id] if args.key?(:namespace_id)
1617
1647
  @project_id = args[:project_id] if args.key?(:project_id)
1618
1648
  end
@@ -2024,6 +2054,11 @@ module Google
2024
2054
  class RollbackRequest
2025
2055
  include Google::Apis::Core::Hashable
2026
2056
 
2057
+ # If not empty, the ID of the database against which to make the request.
2058
+ # Corresponds to the JSON property `databaseId`
2059
+ # @return [String]
2060
+ attr_accessor :database_id
2061
+
2027
2062
  # Required. The transaction identifier, returned by a call to Datastore.
2028
2063
  # BeginTransaction.
2029
2064
  # Corresponds to the JSON property `transaction`
@@ -2037,6 +2072,7 @@ module Google
2037
2072
 
2038
2073
  # Update properties of this object
2039
2074
  def update!(**args)
2075
+ @database_id = args[:database_id] if args.key?(:database_id)
2040
2076
  @transaction = args[:transaction] if args.key?(:transaction)
2041
2077
  end
2042
2078
  end
@@ -2058,6 +2094,11 @@ module Google
2058
2094
  class RunQueryRequest
2059
2095
  include Google::Apis::Core::Hashable
2060
2096
 
2097
+ # If not empty, the ID of the database against which to make the request.
2098
+ # Corresponds to the JSON property `databaseId`
2099
+ # @return [String]
2100
+ attr_accessor :database_id
2101
+
2061
2102
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2062
2103
  # Corresponds to the JSON property `gqlQuery`
2063
2104
  # @return [Google::Apis::DatastoreV1::GqlQuery]
@@ -2093,6 +2134,7 @@ module Google
2093
2134
 
2094
2135
  # Update properties of this object
2095
2136
  def update!(**args)
2137
+ @database_id = args[:database_id] if args.key?(:database_id)
2096
2138
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2097
2139
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2098
2140
  @query = args[:query] if args.key?(:query)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastoreV1
18
18
  # Version of the google-apis-datastore_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220524"
25
+ REVISION = "20220604"
26
26
  end
27
27
  end
28
28
  end
@@ -421,6 +421,7 @@ module Google
421
421
  class AllocateIdsRequest
422
422
  # @private
423
423
  class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :database_id, as: 'databaseId'
424
425
  collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
425
426
 
426
427
  end
@@ -445,6 +446,7 @@ module Google
445
446
  class BeginTransactionRequest
446
447
  # @private
447
448
  class Representation < Google::Apis::Core::JsonRepresentation
449
+ property :database_id, as: 'databaseId'
448
450
  property :transaction_options, as: 'transactionOptions', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
449
451
 
450
452
  end
@@ -460,6 +462,7 @@ module Google
460
462
  class CommitRequest
461
463
  # @private
462
464
  class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :database_id, as: 'databaseId'
463
466
  property :mode, as: 'mode'
464
467
  collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation
465
468
 
@@ -822,6 +825,7 @@ module Google
822
825
  class LookupRequest
823
826
  # @private
824
827
  class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :database_id, as: 'databaseId'
825
829
  collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
826
830
 
827
831
  property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
@@ -872,6 +876,7 @@ module Google
872
876
  class PartitionId
873
877
  # @private
874
878
  class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :database_id, as: 'databaseId'
875
880
  property :namespace_id, as: 'namespaceId'
876
881
  property :project_id, as: 'projectId'
877
882
  end
@@ -997,6 +1002,7 @@ module Google
997
1002
  class RollbackRequest
998
1003
  # @private
999
1004
  class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :database_id, as: 'databaseId'
1000
1006
  property :transaction, :base64 => true, as: 'transaction'
1001
1007
  end
1002
1008
  end
@@ -1010,6 +1016,7 @@ module Google
1010
1016
  class RunQueryRequest
1011
1017
  # @private
1012
1018
  class Representation < Google::Apis::Core::JsonRepresentation
1019
+ property :database_id, as: 'databaseId'
1013
1020
  property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
1014
1021
 
1015
1022
  property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastore_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.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-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastore_v1
63
63
  post_install_message:
64
64
  rdoc_options: []