google-apis-datastore_v1 0.14.0 → 0.17.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef72d9afd361464ae2fa67092186ffacbc5c93565d32b9c8d59724dd0e498f02
|
4
|
+
data.tar.gz: 18a64f8365a52b45577ded4a67856ba4a82f249976c8bbbfc680ff5ef87ebd56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89b423364bb9d65eae4467866b41b7e784d4af21aa14e45a8aaf5e02a54e3efbacbafb3b40c753a64357dea64f8ff0119e0b726e5b6f3b422a602275313f89a6
|
7
|
+
data.tar.gz: bddd50717e2c7bc591cda179a86d54d4b82050868a97162a43a2b21e13edcec7b51d788e4a770aa92f6d07f4098b80f4c04e32a0116e9dc1cc451b68dc3860e0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-datastore_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2022-08-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220808
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.16.0 (2022-06-30)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
|
12
|
+
### v0.15.0 (2022-06-18)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220604
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.14.0 (2022-06-06)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220524
|
@@ -26,6 +26,12 @@ module Google
|
|
26
26
|
class AllocateIdsRequest
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
+
# The ID of the database against which to make the request. '(default)' is not
|
30
|
+
# allowed; please use empty string '' to refer the default database.
|
31
|
+
# Corresponds to the JSON property `databaseId`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :database_id
|
34
|
+
|
29
35
|
# Required. A list of keys with incomplete key paths for which to allocate IDs.
|
30
36
|
# No key may be reserved/read-only.
|
31
37
|
# Corresponds to the JSON property `keys`
|
@@ -38,6 +44,7 @@ module Google
|
|
38
44
|
|
39
45
|
# Update properties of this object
|
40
46
|
def update!(**args)
|
47
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
41
48
|
@keys = args[:keys] if args.key?(:keys)
|
42
49
|
end
|
43
50
|
end
|
@@ -86,6 +93,12 @@ module Google
|
|
86
93
|
class BeginTransactionRequest
|
87
94
|
include Google::Apis::Core::Hashable
|
88
95
|
|
96
|
+
# The ID of the database against which to make the request. '(default)' is not
|
97
|
+
# allowed; please use empty string '' to refer the default database.
|
98
|
+
# Corresponds to the JSON property `databaseId`
|
99
|
+
# @return [String]
|
100
|
+
attr_accessor :database_id
|
101
|
+
|
89
102
|
# Options for beginning a new transaction. Transactions can be created
|
90
103
|
# explicitly with calls to Datastore.BeginTransaction or implicitly by setting
|
91
104
|
# ReadOptions.new_transaction in read requests.
|
@@ -99,6 +112,7 @@ module Google
|
|
99
112
|
|
100
113
|
# Update properties of this object
|
101
114
|
def update!(**args)
|
115
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
102
116
|
@transaction_options = args[:transaction_options] if args.key?(:transaction_options)
|
103
117
|
end
|
104
118
|
end
|
@@ -127,6 +141,12 @@ module Google
|
|
127
141
|
class CommitRequest
|
128
142
|
include Google::Apis::Core::Hashable
|
129
143
|
|
144
|
+
# The ID of the database against which to make the request. '(default)' is not
|
145
|
+
# allowed; please use empty string '' to refer the default database.
|
146
|
+
# Corresponds to the JSON property `databaseId`
|
147
|
+
# @return [String]
|
148
|
+
attr_accessor :database_id
|
149
|
+
|
130
150
|
# The type of commit to perform. Defaults to `TRANSACTIONAL`.
|
131
151
|
# Corresponds to the JSON property `mode`
|
132
152
|
# @return [String]
|
@@ -155,6 +175,7 @@ module Google
|
|
155
175
|
|
156
176
|
# Update properties of this object
|
157
177
|
def update!(**args)
|
178
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
158
179
|
@mode = args[:mode] if args.key?(:mode)
|
159
180
|
@mutations = args[:mutations] if args.key?(:mutations)
|
160
181
|
@transaction = args[:transaction] if args.key?(:transaction)
|
@@ -198,7 +219,7 @@ module Google
|
|
198
219
|
class CompositeFilter
|
199
220
|
include Google::Apis::Core::Hashable
|
200
221
|
|
201
|
-
# The list of filters to combine.
|
222
|
+
# The list of filters to combine. Requires: * At least one filter is present.
|
202
223
|
# Corresponds to the JSON property `filters`
|
203
224
|
# @return [Array<Google::Apis::DatastoreV1::Filter>]
|
204
225
|
attr_accessor :filters
|
@@ -1414,6 +1435,12 @@ module Google
|
|
1414
1435
|
class LookupRequest
|
1415
1436
|
include Google::Apis::Core::Hashable
|
1416
1437
|
|
1438
|
+
# The ID of the database against which to make the request. '(default)' is not
|
1439
|
+
# allowed; please use empty string '' to refer the default database.
|
1440
|
+
# Corresponds to the JSON property `databaseId`
|
1441
|
+
# @return [String]
|
1442
|
+
attr_accessor :database_id
|
1443
|
+
|
1417
1444
|
# Required. Keys of entities to look up.
|
1418
1445
|
# Corresponds to the JSON property `keys`
|
1419
1446
|
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
@@ -1430,6 +1457,7 @@ module Google
|
|
1430
1457
|
|
1431
1458
|
# Update properties of this object
|
1432
1459
|
def update!(**args)
|
1460
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
1433
1461
|
@keys = args[:keys] if args.key?(:keys)
|
1434
1462
|
@read_options = args[:read_options] if args.key?(:read_options)
|
1435
1463
|
end
|
@@ -1597,6 +1625,11 @@ module Google
|
|
1597
1625
|
class PartitionId
|
1598
1626
|
include Google::Apis::Core::Hashable
|
1599
1627
|
|
1628
|
+
# If not empty, the ID of the database to which the entities belong.
|
1629
|
+
# Corresponds to the JSON property `databaseId`
|
1630
|
+
# @return [String]
|
1631
|
+
attr_accessor :database_id
|
1632
|
+
|
1600
1633
|
# If not empty, the ID of the namespace to which the entities belong.
|
1601
1634
|
# Corresponds to the JSON property `namespaceId`
|
1602
1635
|
# @return [String]
|
@@ -1613,6 +1646,7 @@ module Google
|
|
1613
1646
|
|
1614
1647
|
# Update properties of this object
|
1615
1648
|
def update!(**args)
|
1649
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
1616
1650
|
@namespace_id = args[:namespace_id] if args.key?(:namespace_id)
|
1617
1651
|
@project_id = args[:project_id] if args.key?(:project_id)
|
1618
1652
|
end
|
@@ -1930,8 +1964,7 @@ module Google
|
|
1930
1964
|
class ReadOptions
|
1931
1965
|
include Google::Apis::Core::Hashable
|
1932
1966
|
|
1933
|
-
# The non-transactional read consistency to use.
|
1934
|
-
# global queries.
|
1967
|
+
# The non-transactional read consistency to use.
|
1935
1968
|
# Corresponds to the JSON property `readConsistency`
|
1936
1969
|
# @return [String]
|
1937
1970
|
attr_accessor :read_consistency
|
@@ -1985,7 +2018,8 @@ module Google
|
|
1985
2018
|
class ReserveIdsRequest
|
1986
2019
|
include Google::Apis::Core::Hashable
|
1987
2020
|
|
1988
|
-
#
|
2021
|
+
# The ID of the database against which to make the request. '(default)' is not
|
2022
|
+
# allowed; please use empty string '' to refer the default database.
|
1989
2023
|
# Corresponds to the JSON property `databaseId`
|
1990
2024
|
# @return [String]
|
1991
2025
|
attr_accessor :database_id
|
@@ -2024,6 +2058,12 @@ module Google
|
|
2024
2058
|
class RollbackRequest
|
2025
2059
|
include Google::Apis::Core::Hashable
|
2026
2060
|
|
2061
|
+
# The ID of the database against which to make the request. '(default)' is not
|
2062
|
+
# allowed; please use empty string '' to refer the default database.
|
2063
|
+
# Corresponds to the JSON property `databaseId`
|
2064
|
+
# @return [String]
|
2065
|
+
attr_accessor :database_id
|
2066
|
+
|
2027
2067
|
# Required. The transaction identifier, returned by a call to Datastore.
|
2028
2068
|
# BeginTransaction.
|
2029
2069
|
# Corresponds to the JSON property `transaction`
|
@@ -2037,6 +2077,7 @@ module Google
|
|
2037
2077
|
|
2038
2078
|
# Update properties of this object
|
2039
2079
|
def update!(**args)
|
2080
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
2040
2081
|
@transaction = args[:transaction] if args.key?(:transaction)
|
2041
2082
|
end
|
2042
2083
|
end
|
@@ -2058,6 +2099,12 @@ module Google
|
|
2058
2099
|
class RunQueryRequest
|
2059
2100
|
include Google::Apis::Core::Hashable
|
2060
2101
|
|
2102
|
+
# The ID of the database against which to make the request. '(default)' is not
|
2103
|
+
# allowed; please use empty string '' to refer the default database.
|
2104
|
+
# Corresponds to the JSON property `databaseId`
|
2105
|
+
# @return [String]
|
2106
|
+
attr_accessor :database_id
|
2107
|
+
|
2061
2108
|
# A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
2062
2109
|
# Corresponds to the JSON property `gqlQuery`
|
2063
2110
|
# @return [Google::Apis::DatastoreV1::GqlQuery]
|
@@ -2093,6 +2140,7 @@ module Google
|
|
2093
2140
|
|
2094
2141
|
# Update properties of this object
|
2095
2142
|
def update!(**args)
|
2143
|
+
@database_id = args[:database_id] if args.key?(:database_id)
|
2096
2144
|
@gql_query = args[:gql_query] if args.key?(:gql_query)
|
2097
2145
|
@partition_id = args[:partition_id] if args.key?(:partition_id)
|
2098
2146
|
@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.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220808"
|
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.
|
4
|
+
version: 0.17.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-
|
11
|
+
date: 2022-08-22 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datastore_v1/v0.17.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: []
|