google-apis-datastore_v1 0.13.0 → 0.16.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: b2e8dda66e7b060105a34941dc8be086dd33adfda6256b811054daccccf3c220
4
- data.tar.gz: a01a4ca826ad37f0084a034918d9adcab6245a3d165f5310b5cb6f4a9af5f79a
3
+ metadata.gz: dee0d5a76f68138ea9ca47a441b0e0ed14c43f74c5bc00738c5e6f59e82d4ef2
4
+ data.tar.gz: d62ed66d91946f147383b32fda070a9d988da17476ef7392e44298c7a5ca6d82
5
5
  SHA512:
6
- metadata.gz: c8b840fae4cf821064df3442f187901de31f3276c7ac2917ba3c279eeb0434f1a585c989e9f05a2a067b1d0ff3af5d598ea6846ac3853e1e6f67f703de137f66
7
- data.tar.gz: 899f1193ddc3fa3ae8649d58f327f00654682a5cf97f943b5dd67ee9f193565a20e463fcf54aef3020c5e7c22eb6d23f10bcbadfaa28205e2e930e261bcd0cbf
6
+ metadata.gz: fcaf002bef055d0be386b926d2d1a2b7a29e4dcfad5a8d09cabbc8bade27968e19d08b1e83f0344a8ac2f0f792fd6ff875325691bb3298849c023c8d745a3b69
7
+ data.tar.gz: cce86338697dbaecf148fa03abb725051ce8122f17caefda796fb3886eb065954a4eecb4a13f4c8f0ab86e4465624c9f97e03a91c267a2332c2971b79004da05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-datastore_v1
2
2
 
3
+ ### v0.16.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+
7
+ ### v0.15.0 (2022-06-18)
8
+
9
+ * Regenerated from discovery document revision 20220604
10
+ * Regenerated using generator version 0.7.0
11
+
12
+ ### v0.14.0 (2022-06-06)
13
+
14
+ * Regenerated from discovery document revision 20220524
15
+ * Regenerated using generator version 0.5.0
16
+
3
17
  ### v0.13.0 (2022-04-09)
4
18
 
5
19
  * Regenerated from discovery document revision 20220402
@@ -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
@@ -1631,13 +1661,16 @@ module Google
1631
1661
 
1632
1662
  # The kind of the entity. A kind matching regex `__.*__` is reserved/read-only.
1633
1663
  # A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`
1634
- # .
1664
+ # . Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are
1665
+ # encoded as `__bytes__` where `` is the base-64 encoding of the bytes.
1635
1666
  # Corresponds to the JSON property `kind`
1636
1667
  # @return [String]
1637
1668
  attr_accessor :kind
1638
1669
 
1639
1670
  # The name of the entity. A name matching regex `__.*__` is reserved/read-only.
1640
1671
  # A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
1672
+ # Must be valid UTF-8 bytes. Legacy values that are not valid UTF-8 are encoded
1673
+ # as `__bytes__` where `` is the base-64 encoding of the bytes.
1641
1674
  # Corresponds to the JSON property `name`
1642
1675
  # @return [String]
1643
1676
  attr_accessor :name
@@ -2021,6 +2054,11 @@ module Google
2021
2054
  class RollbackRequest
2022
2055
  include Google::Apis::Core::Hashable
2023
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
+
2024
2062
  # Required. The transaction identifier, returned by a call to Datastore.
2025
2063
  # BeginTransaction.
2026
2064
  # Corresponds to the JSON property `transaction`
@@ -2034,6 +2072,7 @@ module Google
2034
2072
 
2035
2073
  # Update properties of this object
2036
2074
  def update!(**args)
2075
+ @database_id = args[:database_id] if args.key?(:database_id)
2037
2076
  @transaction = args[:transaction] if args.key?(:transaction)
2038
2077
  end
2039
2078
  end
@@ -2055,6 +2094,11 @@ module Google
2055
2094
  class RunQueryRequest
2056
2095
  include Google::Apis::Core::Hashable
2057
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
+
2058
2102
  # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
2059
2103
  # Corresponds to the JSON property `gqlQuery`
2060
2104
  # @return [Google::Apis::DatastoreV1::GqlQuery]
@@ -2090,6 +2134,7 @@ module Google
2090
2134
 
2091
2135
  # Update properties of this object
2092
2136
  def update!(**args)
2137
+ @database_id = args[:database_id] if args.key?(:database_id)
2093
2138
  @gql_query = args[:gql_query] if args.key?(:gql_query)
2094
2139
  @partition_id = args[:partition_id] if args.key?(:partition_id)
2095
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.13.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220402"
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.13.0
4
+ version: 0.16.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-04-11 00:00:00.000000000 Z
11
+ date: 2022-07-04 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.4'
19
+ version: '0.7'
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.4'
29
+ version: '0.7'
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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.16.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: []
@@ -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.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Datastore API V1