google-api-client 0.11.2 → 0.11.3
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
|
27
27
|
module DatastoreV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20170516'
|
|
30
30
|
|
|
31
31
|
# View and manage your Google Cloud Datastore data
|
|
32
32
|
AUTH_DATASTORE = 'https://www.googleapis.com/auth/datastore'
|
|
@@ -22,6 +22,185 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module DatastoreV1
|
|
24
24
|
|
|
25
|
+
# An array value.
|
|
26
|
+
class ArrayValue
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Values in the array.
|
|
30
|
+
# The order of this array may not be preserved if it contains a mix of
|
|
31
|
+
# indexed and unindexed values.
|
|
32
|
+
# Corresponds to the JSON property `values`
|
|
33
|
+
# @return [Array<Google::Apis::DatastoreV1::Value>]
|
|
34
|
+
attr_accessor :values
|
|
35
|
+
|
|
36
|
+
def initialize(**args)
|
|
37
|
+
update!(**args)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Update properties of this object
|
|
41
|
+
def update!(**args)
|
|
42
|
+
@values = args[:values] if args.key?(:values)
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# A representation of a property in a projection.
|
|
47
|
+
class Projection
|
|
48
|
+
include Google::Apis::Core::Hashable
|
|
49
|
+
|
|
50
|
+
# A reference to a property relative to the kind expressions.
|
|
51
|
+
# Corresponds to the JSON property `property`
|
|
52
|
+
# @return [Google::Apis::DatastoreV1::PropertyReference]
|
|
53
|
+
attr_accessor :property
|
|
54
|
+
|
|
55
|
+
def initialize(**args)
|
|
56
|
+
update!(**args)
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Update properties of this object
|
|
60
|
+
def update!(**args)
|
|
61
|
+
@property = args[:property] if args.key?(:property)
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# A mutation to apply to an entity.
|
|
66
|
+
class Mutation
|
|
67
|
+
include Google::Apis::Core::Hashable
|
|
68
|
+
|
|
69
|
+
# A unique identifier for an entity.
|
|
70
|
+
# If a key's partition ID or any of its path kinds or names are
|
|
71
|
+
# reserved/read-only, the key is reserved/read-only.
|
|
72
|
+
# A reserved/read-only key is forbidden in certain documented contexts.
|
|
73
|
+
# Corresponds to the JSON property `delete`
|
|
74
|
+
# @return [Google::Apis::DatastoreV1::Key]
|
|
75
|
+
attr_accessor :delete
|
|
76
|
+
|
|
77
|
+
# A Datastore data object.
|
|
78
|
+
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
79
|
+
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
80
|
+
# message.
|
|
81
|
+
# Corresponds to the JSON property `insert`
|
|
82
|
+
# @return [Google::Apis::DatastoreV1::Entity]
|
|
83
|
+
attr_accessor :insert
|
|
84
|
+
|
|
85
|
+
# The version of the entity that this mutation is being applied to. If this
|
|
86
|
+
# does not match the current version on the server, the mutation conflicts.
|
|
87
|
+
# Corresponds to the JSON property `baseVersion`
|
|
88
|
+
# @return [Fixnum]
|
|
89
|
+
attr_accessor :base_version
|
|
90
|
+
|
|
91
|
+
# A Datastore data object.
|
|
92
|
+
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
93
|
+
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
94
|
+
# message.
|
|
95
|
+
# Corresponds to the JSON property `update`
|
|
96
|
+
# @return [Google::Apis::DatastoreV1::Entity]
|
|
97
|
+
attr_accessor :update
|
|
98
|
+
|
|
99
|
+
# A Datastore data object.
|
|
100
|
+
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
101
|
+
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
102
|
+
# message.
|
|
103
|
+
# Corresponds to the JSON property `upsert`
|
|
104
|
+
# @return [Google::Apis::DatastoreV1::Entity]
|
|
105
|
+
attr_accessor :upsert
|
|
106
|
+
|
|
107
|
+
def initialize(**args)
|
|
108
|
+
update!(**args)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Update properties of this object
|
|
112
|
+
def update!(**args)
|
|
113
|
+
@delete = args[:delete] if args.key?(:delete)
|
|
114
|
+
@insert = args[:insert] if args.key?(:insert)
|
|
115
|
+
@base_version = args[:base_version] if args.key?(:base_version)
|
|
116
|
+
@update = args[:update] if args.key?(:update)
|
|
117
|
+
@upsert = args[:upsert] if args.key?(:upsert)
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# The options shared by read requests.
|
|
122
|
+
class ReadOptions
|
|
123
|
+
include Google::Apis::Core::Hashable
|
|
124
|
+
|
|
125
|
+
# The non-transactional read consistency to use.
|
|
126
|
+
# Cannot be set to `STRONG` for global queries.
|
|
127
|
+
# Corresponds to the JSON property `readConsistency`
|
|
128
|
+
# @return [String]
|
|
129
|
+
attr_accessor :read_consistency
|
|
130
|
+
|
|
131
|
+
# The identifier of the transaction in which to read. A
|
|
132
|
+
# transaction identifier is returned by a call to
|
|
133
|
+
# Datastore.BeginTransaction.
|
|
134
|
+
# Corresponds to the JSON property `transaction`
|
|
135
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
136
|
+
# @return [String]
|
|
137
|
+
attr_accessor :transaction
|
|
138
|
+
|
|
139
|
+
def initialize(**args)
|
|
140
|
+
update!(**args)
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Update properties of this object
|
|
144
|
+
def update!(**args)
|
|
145
|
+
@read_consistency = args[:read_consistency] if args.key?(:read_consistency)
|
|
146
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# The response for Datastore.Rollback.
|
|
151
|
+
# (an empty message).
|
|
152
|
+
class RollbackResponse
|
|
153
|
+
include Google::Apis::Core::Hashable
|
|
154
|
+
|
|
155
|
+
def initialize(**args)
|
|
156
|
+
update!(**args)
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Update properties of this object
|
|
160
|
+
def update!(**args)
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# The result of applying a mutation.
|
|
165
|
+
class MutationResult
|
|
166
|
+
include Google::Apis::Core::Hashable
|
|
167
|
+
|
|
168
|
+
# The version of the entity on the server after processing the mutation. If
|
|
169
|
+
# the mutation doesn't change anything on the server, then the version will
|
|
170
|
+
# be the version of the current entity or, if no entity is present, a version
|
|
171
|
+
# that is strictly greater than the version of any previous entity and less
|
|
172
|
+
# than the version of any possible future entity.
|
|
173
|
+
# Corresponds to the JSON property `version`
|
|
174
|
+
# @return [Fixnum]
|
|
175
|
+
attr_accessor :version
|
|
176
|
+
|
|
177
|
+
# Whether a conflict was detected for this mutation. Always false when a
|
|
178
|
+
# conflict detection strategy field is not set in the mutation.
|
|
179
|
+
# Corresponds to the JSON property `conflictDetected`
|
|
180
|
+
# @return [Boolean]
|
|
181
|
+
attr_accessor :conflict_detected
|
|
182
|
+
alias_method :conflict_detected?, :conflict_detected
|
|
183
|
+
|
|
184
|
+
# A unique identifier for an entity.
|
|
185
|
+
# If a key's partition ID or any of its path kinds or names are
|
|
186
|
+
# reserved/read-only, the key is reserved/read-only.
|
|
187
|
+
# A reserved/read-only key is forbidden in certain documented contexts.
|
|
188
|
+
# Corresponds to the JSON property `key`
|
|
189
|
+
# @return [Google::Apis::DatastoreV1::Key]
|
|
190
|
+
attr_accessor :key
|
|
191
|
+
|
|
192
|
+
def initialize(**args)
|
|
193
|
+
update!(**args)
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Update properties of this object
|
|
197
|
+
def update!(**args)
|
|
198
|
+
@version = args[:version] if args.key?(:version)
|
|
199
|
+
@conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected)
|
|
200
|
+
@key = args[:key] if args.key?(:key)
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
25
204
|
# A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
|
|
26
205
|
class GqlQuery
|
|
27
206
|
include Google::Apis::Core::Hashable
|
|
@@ -95,27 +274,6 @@ module Google
|
|
|
95
274
|
end
|
|
96
275
|
end
|
|
97
276
|
|
|
98
|
-
# The request for Datastore.Rollback.
|
|
99
|
-
class RollbackRequest
|
|
100
|
-
include Google::Apis::Core::Hashable
|
|
101
|
-
|
|
102
|
-
# The transaction identifier, returned by a call to
|
|
103
|
-
# Datastore.BeginTransaction.
|
|
104
|
-
# Corresponds to the JSON property `transaction`
|
|
105
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
106
|
-
# @return [String]
|
|
107
|
-
attr_accessor :transaction
|
|
108
|
-
|
|
109
|
-
def initialize(**args)
|
|
110
|
-
update!(**args)
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
# Update properties of this object
|
|
114
|
-
def update!(**args)
|
|
115
|
-
@transaction = args[:transaction] if args.key?(:transaction)
|
|
116
|
-
end
|
|
117
|
-
end
|
|
118
|
-
|
|
119
277
|
# The request for Datastore.RunQuery.
|
|
120
278
|
class RunQueryRequest
|
|
121
279
|
include Google::Apis::Core::Hashable
|
|
@@ -168,6 +326,27 @@ module Google
|
|
|
168
326
|
end
|
|
169
327
|
end
|
|
170
328
|
|
|
329
|
+
# The request for Datastore.Rollback.
|
|
330
|
+
class RollbackRequest
|
|
331
|
+
include Google::Apis::Core::Hashable
|
|
332
|
+
|
|
333
|
+
# The transaction identifier, returned by a call to
|
|
334
|
+
# Datastore.BeginTransaction.
|
|
335
|
+
# Corresponds to the JSON property `transaction`
|
|
336
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
337
|
+
# @return [String]
|
|
338
|
+
attr_accessor :transaction
|
|
339
|
+
|
|
340
|
+
def initialize(**args)
|
|
341
|
+
update!(**args)
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
# Update properties of this object
|
|
345
|
+
def update!(**args)
|
|
346
|
+
@transaction = args[:transaction] if args.key?(:transaction)
|
|
347
|
+
end
|
|
348
|
+
end
|
|
349
|
+
|
|
171
350
|
# A filter that merges multiple other filters using the given operator.
|
|
172
351
|
class CompositeFilter
|
|
173
352
|
include Google::Apis::Core::Hashable
|
|
@@ -218,32 +397,14 @@ module Google
|
|
|
218
397
|
class Query
|
|
219
398
|
include Google::Apis::Core::Hashable
|
|
220
399
|
|
|
221
|
-
#
|
|
222
|
-
# Corresponds to the JSON property `projection`
|
|
223
|
-
# @return [Array<Google::Apis::DatastoreV1::Projection>]
|
|
224
|
-
attr_accessor :projection
|
|
225
|
-
|
|
226
|
-
# An ending point for the query results. Query cursors are
|
|
400
|
+
# A starting point for the query results. Query cursors are
|
|
227
401
|
# returned in query result batches and
|
|
228
|
-
# [can only be used to
|
|
229
|
-
# docs/concepts/queries#cursors_limits_and_offsets).
|
|
230
|
-
# Corresponds to the JSON property `
|
|
402
|
+
# [can only be used to continue the same query](https://cloud.google.com/
|
|
403
|
+
# datastore/docs/concepts/queries#cursors_limits_and_offsets).
|
|
404
|
+
# Corresponds to the JSON property `startCursor`
|
|
231
405
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
232
406
|
# @return [String]
|
|
233
|
-
attr_accessor :
|
|
234
|
-
|
|
235
|
-
# A holder for any type of filter.
|
|
236
|
-
# Corresponds to the JSON property `filter`
|
|
237
|
-
# @return [Google::Apis::DatastoreV1::Filter]
|
|
238
|
-
attr_accessor :filter
|
|
239
|
-
|
|
240
|
-
# The maximum number of results to return. Applies after all other
|
|
241
|
-
# constraints. Optional.
|
|
242
|
-
# Unspecified is interpreted as no limit.
|
|
243
|
-
# Must be >= 0 if specified.
|
|
244
|
-
# Corresponds to the JSON property `limit`
|
|
245
|
-
# @return [Fixnum]
|
|
246
|
-
attr_accessor :limit
|
|
407
|
+
attr_accessor :start_cursor
|
|
247
408
|
|
|
248
409
|
# The number of results to skip. Applies before limit, but after all other
|
|
249
410
|
# constraints. Optional. Must be >= 0 if specified.
|
|
@@ -251,15 +412,6 @@ module Google
|
|
|
251
412
|
# @return [Fixnum]
|
|
252
413
|
attr_accessor :offset
|
|
253
414
|
|
|
254
|
-
# A starting point for the query results. Query cursors are
|
|
255
|
-
# returned in query result batches and
|
|
256
|
-
# [can only be used to continue the same query](https://cloud.google.com/
|
|
257
|
-
# datastore/docs/concepts/queries#cursors_limits_and_offsets).
|
|
258
|
-
# Corresponds to the JSON property `startCursor`
|
|
259
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
260
|
-
# @return [String]
|
|
261
|
-
attr_accessor :start_cursor
|
|
262
|
-
|
|
263
415
|
# The kinds to query (if empty, returns entities of all kinds).
|
|
264
416
|
# Currently at most 1 kind may be specified.
|
|
265
417
|
# Corresponds to the JSON property `kind`
|
|
@@ -278,21 +430,48 @@ module Google
|
|
|
278
430
|
# @return [Array<Google::Apis::DatastoreV1::PropertyOrder>]
|
|
279
431
|
attr_accessor :order
|
|
280
432
|
|
|
433
|
+
# The projection to return. Defaults to returning all properties.
|
|
434
|
+
# Corresponds to the JSON property `projection`
|
|
435
|
+
# @return [Array<Google::Apis::DatastoreV1::Projection>]
|
|
436
|
+
attr_accessor :projection
|
|
437
|
+
|
|
438
|
+
# An ending point for the query results. Query cursors are
|
|
439
|
+
# returned in query result batches and
|
|
440
|
+
# [can only be used to limit the same query](https://cloud.google.com/datastore/
|
|
441
|
+
# docs/concepts/queries#cursors_limits_and_offsets).
|
|
442
|
+
# Corresponds to the JSON property `endCursor`
|
|
443
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
444
|
+
# @return [String]
|
|
445
|
+
attr_accessor :end_cursor
|
|
446
|
+
|
|
447
|
+
# A holder for any type of filter.
|
|
448
|
+
# Corresponds to the JSON property `filter`
|
|
449
|
+
# @return [Google::Apis::DatastoreV1::Filter]
|
|
450
|
+
attr_accessor :filter
|
|
451
|
+
|
|
452
|
+
# The maximum number of results to return. Applies after all other
|
|
453
|
+
# constraints. Optional.
|
|
454
|
+
# Unspecified is interpreted as no limit.
|
|
455
|
+
# Must be >= 0 if specified.
|
|
456
|
+
# Corresponds to the JSON property `limit`
|
|
457
|
+
# @return [Fixnum]
|
|
458
|
+
attr_accessor :limit
|
|
459
|
+
|
|
281
460
|
def initialize(**args)
|
|
282
461
|
update!(**args)
|
|
283
462
|
end
|
|
284
463
|
|
|
285
464
|
# Update properties of this object
|
|
286
465
|
def update!(**args)
|
|
287
|
-
@projection = args[:projection] if args.key?(:projection)
|
|
288
|
-
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
|
289
|
-
@filter = args[:filter] if args.key?(:filter)
|
|
290
|
-
@limit = args[:limit] if args.key?(:limit)
|
|
291
|
-
@offset = args[:offset] if args.key?(:offset)
|
|
292
466
|
@start_cursor = args[:start_cursor] if args.key?(:start_cursor)
|
|
467
|
+
@offset = args[:offset] if args.key?(:offset)
|
|
293
468
|
@kind = args[:kind] if args.key?(:kind)
|
|
294
469
|
@distinct_on = args[:distinct_on] if args.key?(:distinct_on)
|
|
295
470
|
@order = args[:order] if args.key?(:order)
|
|
471
|
+
@projection = args[:projection] if args.key?(:projection)
|
|
472
|
+
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
|
473
|
+
@filter = args[:filter] if args.key?(:filter)
|
|
474
|
+
@limit = args[:limit] if args.key?(:limit)
|
|
296
475
|
end
|
|
297
476
|
end
|
|
298
477
|
|
|
@@ -370,11 +549,46 @@ module Google
|
|
|
370
549
|
end
|
|
371
550
|
end
|
|
372
551
|
|
|
552
|
+
# The response for Datastore.Commit.
|
|
553
|
+
class CommitResponse
|
|
554
|
+
include Google::Apis::Core::Hashable
|
|
555
|
+
|
|
556
|
+
# The result of performing the mutations.
|
|
557
|
+
# The i-th mutation result corresponds to the i-th mutation in the request.
|
|
558
|
+
# Corresponds to the JSON property `mutationResults`
|
|
559
|
+
# @return [Array<Google::Apis::DatastoreV1::MutationResult>]
|
|
560
|
+
attr_accessor :mutation_results
|
|
561
|
+
|
|
562
|
+
# The number of index entries updated during the commit, or zero if none were
|
|
563
|
+
# updated.
|
|
564
|
+
# Corresponds to the JSON property `indexUpdates`
|
|
565
|
+
# @return [Fixnum]
|
|
566
|
+
attr_accessor :index_updates
|
|
567
|
+
|
|
568
|
+
def initialize(**args)
|
|
569
|
+
update!(**args)
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# Update properties of this object
|
|
573
|
+
def update!(**args)
|
|
574
|
+
@mutation_results = args[:mutation_results] if args.key?(:mutation_results)
|
|
575
|
+
@index_updates = args[:index_updates] if args.key?(:index_updates)
|
|
576
|
+
end
|
|
577
|
+
end
|
|
578
|
+
|
|
373
579
|
# A message that can hold any of the supported value types and associated
|
|
374
580
|
# metadata.
|
|
375
581
|
class Value
|
|
376
582
|
include Google::Apis::Core::Hashable
|
|
377
583
|
|
|
584
|
+
# A Datastore data object.
|
|
585
|
+
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
586
|
+
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
587
|
+
# message.
|
|
588
|
+
# Corresponds to the JSON property `entityValue`
|
|
589
|
+
# @return [Google::Apis::DatastoreV1::Entity]
|
|
590
|
+
attr_accessor :entity_value
|
|
591
|
+
|
|
378
592
|
# An object representing a latitude/longitude pair. This is expressed as a pair
|
|
379
593
|
# of doubles representing degrees latitude and degrees longitude. Unless
|
|
380
594
|
# specified otherwise, this must conform to the
|
|
@@ -410,8 +624,6 @@ module Google
|
|
|
410
624
|
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
|
411
625
|
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
|
412
626
|
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
|
413
|
-
# The code in logs/storage/validator/logs_validator_traits.cc treats this type
|
|
414
|
-
# as if it were annotated as ST_LOCATION.
|
|
415
627
|
# Corresponds to the JSON property `geoPointValue`
|
|
416
628
|
# @return [Google::Apis::DatastoreV1::LatLng]
|
|
417
629
|
attr_accessor :geo_point_value
|
|
@@ -456,17 +668,17 @@ module Google
|
|
|
456
668
|
# @return [String]
|
|
457
669
|
attr_accessor :timestamp_value
|
|
458
670
|
|
|
459
|
-
# A null value.
|
|
460
|
-
# Corresponds to the JSON property `nullValue`
|
|
461
|
-
# @return [String]
|
|
462
|
-
attr_accessor :null_value
|
|
463
|
-
|
|
464
671
|
# A boolean value.
|
|
465
672
|
# Corresponds to the JSON property `booleanValue`
|
|
466
673
|
# @return [Boolean]
|
|
467
674
|
attr_accessor :boolean_value
|
|
468
675
|
alias_method :boolean_value?, :boolean_value
|
|
469
676
|
|
|
677
|
+
# A null value.
|
|
678
|
+
# Corresponds to the JSON property `nullValue`
|
|
679
|
+
# @return [String]
|
|
680
|
+
attr_accessor :null_value
|
|
681
|
+
|
|
470
682
|
# A blob value.
|
|
471
683
|
# May have at most 1,000,000 bytes.
|
|
472
684
|
# When `exclude_from_indexes` is false, may have at most 1500 bytes.
|
|
@@ -486,20 +698,13 @@ module Google
|
|
|
486
698
|
# @return [Google::Apis::DatastoreV1::ArrayValue]
|
|
487
699
|
attr_accessor :array_value
|
|
488
700
|
|
|
489
|
-
# A Datastore data object.
|
|
490
|
-
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
491
|
-
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
492
|
-
# message.
|
|
493
|
-
# Corresponds to the JSON property `entityValue`
|
|
494
|
-
# @return [Google::Apis::DatastoreV1::Entity]
|
|
495
|
-
attr_accessor :entity_value
|
|
496
|
-
|
|
497
701
|
def initialize(**args)
|
|
498
702
|
update!(**args)
|
|
499
703
|
end
|
|
500
704
|
|
|
501
705
|
# Update properties of this object
|
|
502
706
|
def update!(**args)
|
|
707
|
+
@entity_value = args[:entity_value] if args.key?(:entity_value)
|
|
503
708
|
@geo_point_value = args[:geo_point_value] if args.key?(:geo_point_value)
|
|
504
709
|
@key_value = args[:key_value] if args.key?(:key_value)
|
|
505
710
|
@integer_value = args[:integer_value] if args.key?(:integer_value)
|
|
@@ -507,39 +712,11 @@ module Google
|
|
|
507
712
|
@exclude_from_indexes = args[:exclude_from_indexes] if args.key?(:exclude_from_indexes)
|
|
508
713
|
@double_value = args[:double_value] if args.key?(:double_value)
|
|
509
714
|
@timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
|
|
510
|
-
@null_value = args[:null_value] if args.key?(:null_value)
|
|
511
715
|
@boolean_value = args[:boolean_value] if args.key?(:boolean_value)
|
|
716
|
+
@null_value = args[:null_value] if args.key?(:null_value)
|
|
512
717
|
@blob_value = args[:blob_value] if args.key?(:blob_value)
|
|
513
718
|
@meaning = args[:meaning] if args.key?(:meaning)
|
|
514
719
|
@array_value = args[:array_value] if args.key?(:array_value)
|
|
515
|
-
@entity_value = args[:entity_value] if args.key?(:entity_value)
|
|
516
|
-
end
|
|
517
|
-
end
|
|
518
|
-
|
|
519
|
-
# The response for Datastore.Commit.
|
|
520
|
-
class CommitResponse
|
|
521
|
-
include Google::Apis::Core::Hashable
|
|
522
|
-
|
|
523
|
-
# The number of index entries updated during the commit, or zero if none were
|
|
524
|
-
# updated.
|
|
525
|
-
# Corresponds to the JSON property `indexUpdates`
|
|
526
|
-
# @return [Fixnum]
|
|
527
|
-
attr_accessor :index_updates
|
|
528
|
-
|
|
529
|
-
# The result of performing the mutations.
|
|
530
|
-
# The i-th mutation result corresponds to the i-th mutation in the request.
|
|
531
|
-
# Corresponds to the JSON property `mutationResults`
|
|
532
|
-
# @return [Array<Google::Apis::DatastoreV1::MutationResult>]
|
|
533
|
-
attr_accessor :mutation_results
|
|
534
|
-
|
|
535
|
-
def initialize(**args)
|
|
536
|
-
update!(**args)
|
|
537
|
-
end
|
|
538
|
-
|
|
539
|
-
# Update properties of this object
|
|
540
|
-
def update!(**args)
|
|
541
|
-
@index_updates = args[:index_updates] if args.key?(:index_updates)
|
|
542
|
-
@mutation_results = args[:mutation_results] if args.key?(:mutation_results)
|
|
543
720
|
end
|
|
544
721
|
end
|
|
545
722
|
|
|
@@ -562,24 +739,24 @@ module Google
|
|
|
562
739
|
class PartitionId
|
|
563
740
|
include Google::Apis::Core::Hashable
|
|
564
741
|
|
|
565
|
-
# If not empty, the ID of the namespace to which the entities belong.
|
|
566
|
-
# Corresponds to the JSON property `namespaceId`
|
|
567
|
-
# @return [String]
|
|
568
|
-
attr_accessor :namespace_id
|
|
569
|
-
|
|
570
742
|
# The ID of the project to which the entities belong.
|
|
571
743
|
# Corresponds to the JSON property `projectId`
|
|
572
744
|
# @return [String]
|
|
573
745
|
attr_accessor :project_id
|
|
574
746
|
|
|
747
|
+
# If not empty, the ID of the namespace to which the entities belong.
|
|
748
|
+
# Corresponds to the JSON property `namespaceId`
|
|
749
|
+
# @return [String]
|
|
750
|
+
attr_accessor :namespace_id
|
|
751
|
+
|
|
575
752
|
def initialize(**args)
|
|
576
753
|
update!(**args)
|
|
577
754
|
end
|
|
578
755
|
|
|
579
756
|
# Update properties of this object
|
|
580
757
|
def update!(**args)
|
|
581
|
-
@namespace_id = args[:namespace_id] if args.key?(:namespace_id)
|
|
582
758
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
759
|
+
@namespace_id = args[:namespace_id] if args.key?(:namespace_id)
|
|
583
760
|
end
|
|
584
761
|
end
|
|
585
762
|
|
|
@@ -590,6 +767,14 @@ module Google
|
|
|
590
767
|
class Entity
|
|
591
768
|
include Google::Apis::Core::Hashable
|
|
592
769
|
|
|
770
|
+
# A unique identifier for an entity.
|
|
771
|
+
# If a key's partition ID or any of its path kinds or names are
|
|
772
|
+
# reserved/read-only, the key is reserved/read-only.
|
|
773
|
+
# A reserved/read-only key is forbidden in certain documented contexts.
|
|
774
|
+
# Corresponds to the JSON property `key`
|
|
775
|
+
# @return [Google::Apis::DatastoreV1::Key]
|
|
776
|
+
attr_accessor :key
|
|
777
|
+
|
|
593
778
|
# The entity's properties.
|
|
594
779
|
# The map's keys are property names.
|
|
595
780
|
# A property name matching regex `__.*__` is reserved.
|
|
@@ -600,22 +785,14 @@ module Google
|
|
|
600
785
|
# @return [Hash<String,Google::Apis::DatastoreV1::Value>]
|
|
601
786
|
attr_accessor :properties
|
|
602
787
|
|
|
603
|
-
# A unique identifier for an entity.
|
|
604
|
-
# If a key's partition ID or any of its path kinds or names are
|
|
605
|
-
# reserved/read-only, the key is reserved/read-only.
|
|
606
|
-
# A reserved/read-only key is forbidden in certain documented contexts.
|
|
607
|
-
# Corresponds to the JSON property `key`
|
|
608
|
-
# @return [Google::Apis::DatastoreV1::Key]
|
|
609
|
-
attr_accessor :key
|
|
610
|
-
|
|
611
788
|
def initialize(**args)
|
|
612
789
|
update!(**args)
|
|
613
790
|
end
|
|
614
791
|
|
|
615
792
|
# Update properties of this object
|
|
616
793
|
def update!(**args)
|
|
617
|
-
@properties = args[:properties] if args.key?(:properties)
|
|
618
794
|
@key = args[:key] if args.key?(:key)
|
|
795
|
+
@properties = args[:properties] if args.key?(:properties)
|
|
619
796
|
end
|
|
620
797
|
end
|
|
621
798
|
|
|
@@ -623,22 +800,6 @@ module Google
|
|
|
623
800
|
class QueryResultBatch
|
|
624
801
|
include Google::Apis::Core::Hashable
|
|
625
802
|
|
|
626
|
-
# The results for this batch.
|
|
627
|
-
# Corresponds to the JSON property `entityResults`
|
|
628
|
-
# @return [Array<Google::Apis::DatastoreV1::EntityResult>]
|
|
629
|
-
attr_accessor :entity_results
|
|
630
|
-
|
|
631
|
-
# The state of the query after the current batch.
|
|
632
|
-
# Corresponds to the JSON property `moreResults`
|
|
633
|
-
# @return [String]
|
|
634
|
-
attr_accessor :more_results
|
|
635
|
-
|
|
636
|
-
# A cursor that points to the position after the last result in the batch.
|
|
637
|
-
# Corresponds to the JSON property `endCursor`
|
|
638
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
639
|
-
# @return [String]
|
|
640
|
-
attr_accessor :end_cursor
|
|
641
|
-
|
|
642
803
|
# The version number of the snapshot this batch was returned from.
|
|
643
804
|
# This applies to the range of results from the query's `start_cursor` (or
|
|
644
805
|
# the beginning of the query if no cursor was given) to this batch's
|
|
@@ -668,19 +829,35 @@ module Google
|
|
|
668
829
|
# @return [String]
|
|
669
830
|
attr_accessor :entity_result_type
|
|
670
831
|
|
|
832
|
+
# The results for this batch.
|
|
833
|
+
# Corresponds to the JSON property `entityResults`
|
|
834
|
+
# @return [Array<Google::Apis::DatastoreV1::EntityResult>]
|
|
835
|
+
attr_accessor :entity_results
|
|
836
|
+
|
|
837
|
+
# A cursor that points to the position after the last result in the batch.
|
|
838
|
+
# Corresponds to the JSON property `endCursor`
|
|
839
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
840
|
+
# @return [String]
|
|
841
|
+
attr_accessor :end_cursor
|
|
842
|
+
|
|
843
|
+
# The state of the query after the current batch.
|
|
844
|
+
# Corresponds to the JSON property `moreResults`
|
|
845
|
+
# @return [String]
|
|
846
|
+
attr_accessor :more_results
|
|
847
|
+
|
|
671
848
|
def initialize(**args)
|
|
672
849
|
update!(**args)
|
|
673
850
|
end
|
|
674
851
|
|
|
675
852
|
# Update properties of this object
|
|
676
853
|
def update!(**args)
|
|
677
|
-
@entity_results = args[:entity_results] if args.key?(:entity_results)
|
|
678
|
-
@more_results = args[:more_results] if args.key?(:more_results)
|
|
679
|
-
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
|
680
854
|
@snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version)
|
|
681
855
|
@skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor)
|
|
682
856
|
@skipped_results = args[:skipped_results] if args.key?(:skipped_results)
|
|
683
857
|
@entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type)
|
|
858
|
+
@entity_results = args[:entity_results] if args.key?(:entity_results)
|
|
859
|
+
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
|
860
|
+
@more_results = args[:more_results] if args.key?(:more_results)
|
|
684
861
|
end
|
|
685
862
|
end
|
|
686
863
|
|
|
@@ -715,13 +892,6 @@ module Google
|
|
|
715
892
|
class PathElement
|
|
716
893
|
include Google::Apis::Core::Hashable
|
|
717
894
|
|
|
718
|
-
# The auto-allocated ID of the entity.
|
|
719
|
-
# Never equal to zero. Values less than zero are discouraged and may not
|
|
720
|
-
# be supported in the future.
|
|
721
|
-
# Corresponds to the JSON property `id`
|
|
722
|
-
# @return [Fixnum]
|
|
723
|
-
attr_accessor :id
|
|
724
|
-
|
|
725
895
|
# The name of the entity.
|
|
726
896
|
# A name matching regex `__.*__` is reserved/read-only.
|
|
727
897
|
# A name must not be more than 1500 bytes when UTF-8 encoded.
|
|
@@ -738,15 +908,22 @@ module Google
|
|
|
738
908
|
# @return [String]
|
|
739
909
|
attr_accessor :kind
|
|
740
910
|
|
|
911
|
+
# The auto-allocated ID of the entity.
|
|
912
|
+
# Never equal to zero. Values less than zero are discouraged and may not
|
|
913
|
+
# be supported in the future.
|
|
914
|
+
# Corresponds to the JSON property `id`
|
|
915
|
+
# @return [Fixnum]
|
|
916
|
+
attr_accessor :id
|
|
917
|
+
|
|
741
918
|
def initialize(**args)
|
|
742
919
|
update!(**args)
|
|
743
920
|
end
|
|
744
921
|
|
|
745
922
|
# Update properties of this object
|
|
746
923
|
def update!(**args)
|
|
747
|
-
@id = args[:id] if args.key?(:id)
|
|
748
924
|
@name = args[:name] if args.key?(:name)
|
|
749
925
|
@kind = args[:kind] if args.key?(:kind)
|
|
926
|
+
@id = args[:id] if args.key?(:id)
|
|
750
927
|
end
|
|
751
928
|
end
|
|
752
929
|
|
|
@@ -798,15 +975,19 @@ module Google
|
|
|
798
975
|
end
|
|
799
976
|
end
|
|
800
977
|
|
|
801
|
-
# The
|
|
802
|
-
class
|
|
978
|
+
# The response for Datastore.RunQuery.
|
|
979
|
+
class RunQueryResponse
|
|
803
980
|
include Google::Apis::Core::Hashable
|
|
804
981
|
|
|
805
|
-
# A
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
|
|
809
|
-
|
|
982
|
+
# A batch of results produced by a query.
|
|
983
|
+
# Corresponds to the JSON property `batch`
|
|
984
|
+
# @return [Google::Apis::DatastoreV1::QueryResultBatch]
|
|
985
|
+
attr_accessor :batch
|
|
986
|
+
|
|
987
|
+
# A query for entities.
|
|
988
|
+
# Corresponds to the JSON property `query`
|
|
989
|
+
# @return [Google::Apis::DatastoreV1::Query]
|
|
990
|
+
attr_accessor :query
|
|
810
991
|
|
|
811
992
|
def initialize(**args)
|
|
812
993
|
update!(**args)
|
|
@@ -814,7 +995,8 @@ module Google
|
|
|
814
995
|
|
|
815
996
|
# Update properties of this object
|
|
816
997
|
def update!(**args)
|
|
817
|
-
@
|
|
998
|
+
@batch = args[:batch] if args.key?(:batch)
|
|
999
|
+
@query = args[:query] if args.key?(:query)
|
|
818
1000
|
end
|
|
819
1001
|
end
|
|
820
1002
|
|
|
@@ -822,13 +1004,6 @@ module Google
|
|
|
822
1004
|
class LookupResponse
|
|
823
1005
|
include Google::Apis::Core::Hashable
|
|
824
1006
|
|
|
825
|
-
# A list of keys that were not looked up due to resource constraints. The
|
|
826
|
-
# order of results in this field is undefined and has no relation to the
|
|
827
|
-
# order of the keys in the input.
|
|
828
|
-
# Corresponds to the JSON property `deferred`
|
|
829
|
-
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
|
830
|
-
attr_accessor :deferred
|
|
831
|
-
|
|
832
1007
|
# Entities found as `ResultType.FULL` entities. The order of results in this
|
|
833
1008
|
# field is undefined and has no relation to the order of the keys in the
|
|
834
1009
|
# input.
|
|
@@ -843,31 +1018,34 @@ module Google
|
|
|
843
1018
|
# @return [Array<Google::Apis::DatastoreV1::EntityResult>]
|
|
844
1019
|
attr_accessor :missing
|
|
845
1020
|
|
|
1021
|
+
# A list of keys that were not looked up due to resource constraints. The
|
|
1022
|
+
# order of results in this field is undefined and has no relation to the
|
|
1023
|
+
# order of the keys in the input.
|
|
1024
|
+
# Corresponds to the JSON property `deferred`
|
|
1025
|
+
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
|
1026
|
+
attr_accessor :deferred
|
|
1027
|
+
|
|
846
1028
|
def initialize(**args)
|
|
847
1029
|
update!(**args)
|
|
848
1030
|
end
|
|
849
1031
|
|
|
850
1032
|
# Update properties of this object
|
|
851
1033
|
def update!(**args)
|
|
852
|
-
@deferred = args[:deferred] if args.key?(:deferred)
|
|
853
1034
|
@found = args[:found] if args.key?(:found)
|
|
854
1035
|
@missing = args[:missing] if args.key?(:missing)
|
|
1036
|
+
@deferred = args[:deferred] if args.key?(:deferred)
|
|
855
1037
|
end
|
|
856
1038
|
end
|
|
857
1039
|
|
|
858
|
-
# The
|
|
859
|
-
class
|
|
1040
|
+
# The request for Datastore.AllocateIds.
|
|
1041
|
+
class AllocateIdsRequest
|
|
860
1042
|
include Google::Apis::Core::Hashable
|
|
861
1043
|
|
|
862
|
-
# A
|
|
863
|
-
#
|
|
864
|
-
#
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
# A batch of results produced by a query.
|
|
868
|
-
# Corresponds to the JSON property `batch`
|
|
869
|
-
# @return [Google::Apis::DatastoreV1::QueryResultBatch]
|
|
870
|
-
attr_accessor :batch
|
|
1044
|
+
# A list of keys with incomplete key paths for which to allocate IDs.
|
|
1045
|
+
# No key may be reserved/read-only.
|
|
1046
|
+
# Corresponds to the JSON property `keys`
|
|
1047
|
+
# @return [Array<Google::Apis::DatastoreV1::Key>]
|
|
1048
|
+
attr_accessor :keys
|
|
871
1049
|
|
|
872
1050
|
def initialize(**args)
|
|
873
1051
|
update!(**args)
|
|
@@ -875,8 +1053,7 @@ module Google
|
|
|
875
1053
|
|
|
876
1054
|
# Update properties of this object
|
|
877
1055
|
def update!(**args)
|
|
878
|
-
@
|
|
879
|
-
@batch = args[:batch] if args.key?(:batch)
|
|
1056
|
+
@keys = args[:keys] if args.key?(:keys)
|
|
880
1057
|
end
|
|
881
1058
|
end
|
|
882
1059
|
|
|
@@ -884,6 +1061,19 @@ module Google
|
|
|
884
1061
|
class CommitRequest
|
|
885
1062
|
include Google::Apis::Core::Hashable
|
|
886
1063
|
|
|
1064
|
+
# The identifier of the transaction associated with the commit. A
|
|
1065
|
+
# transaction identifier is returned by a call to
|
|
1066
|
+
# Datastore.BeginTransaction.
|
|
1067
|
+
# Corresponds to the JSON property `transaction`
|
|
1068
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1069
|
+
# @return [String]
|
|
1070
|
+
attr_accessor :transaction
|
|
1071
|
+
|
|
1072
|
+
# The type of commit to perform. Defaults to `TRANSACTIONAL`.
|
|
1073
|
+
# Corresponds to the JSON property `mode`
|
|
1074
|
+
# @return [String]
|
|
1075
|
+
attr_accessor :mode
|
|
1076
|
+
|
|
887
1077
|
# The mutations to perform.
|
|
888
1078
|
# When mode is `TRANSACTIONAL`, mutations affecting a single entity are
|
|
889
1079
|
# applied in order. The following sequences of mutations affecting a single
|
|
@@ -898,28 +1088,15 @@ module Google
|
|
|
898
1088
|
# @return [Array<Google::Apis::DatastoreV1::Mutation>]
|
|
899
1089
|
attr_accessor :mutations
|
|
900
1090
|
|
|
901
|
-
# The identifier of the transaction associated with the commit. A
|
|
902
|
-
# transaction identifier is returned by a call to
|
|
903
|
-
# Datastore.BeginTransaction.
|
|
904
|
-
# Corresponds to the JSON property `transaction`
|
|
905
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
906
|
-
# @return [String]
|
|
907
|
-
attr_accessor :transaction
|
|
908
|
-
|
|
909
|
-
# The type of commit to perform. Defaults to `TRANSACTIONAL`.
|
|
910
|
-
# Corresponds to the JSON property `mode`
|
|
911
|
-
# @return [String]
|
|
912
|
-
attr_accessor :mode
|
|
913
|
-
|
|
914
1091
|
def initialize(**args)
|
|
915
1092
|
update!(**args)
|
|
916
1093
|
end
|
|
917
1094
|
|
|
918
1095
|
# Update properties of this object
|
|
919
1096
|
def update!(**args)
|
|
920
|
-
@mutations = args[:mutations] if args.key?(:mutations)
|
|
921
1097
|
@transaction = args[:transaction] if args.key?(:transaction)
|
|
922
1098
|
@mode = args[:mode] if args.key?(:mode)
|
|
1099
|
+
@mutations = args[:mutations] if args.key?(:mutations)
|
|
923
1100
|
end
|
|
924
1101
|
end
|
|
925
1102
|
|
|
@@ -1015,29 +1192,27 @@ module Google
|
|
|
1015
1192
|
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
|
1016
1193
|
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
|
1017
1194
|
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
|
1018
|
-
# The code in logs/storage/validator/logs_validator_traits.cc treats this type
|
|
1019
|
-
# as if it were annotated as ST_LOCATION.
|
|
1020
1195
|
class LatLng
|
|
1021
1196
|
include Google::Apis::Core::Hashable
|
|
1022
1197
|
|
|
1023
|
-
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
|
1024
|
-
# Corresponds to the JSON property `longitude`
|
|
1025
|
-
# @return [Float]
|
|
1026
|
-
attr_accessor :longitude
|
|
1027
|
-
|
|
1028
1198
|
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
|
1029
1199
|
# Corresponds to the JSON property `latitude`
|
|
1030
1200
|
# @return [Float]
|
|
1031
1201
|
attr_accessor :latitude
|
|
1032
1202
|
|
|
1203
|
+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
|
1204
|
+
# Corresponds to the JSON property `longitude`
|
|
1205
|
+
# @return [Float]
|
|
1206
|
+
attr_accessor :longitude
|
|
1207
|
+
|
|
1033
1208
|
def initialize(**args)
|
|
1034
1209
|
update!(**args)
|
|
1035
1210
|
end
|
|
1036
1211
|
|
|
1037
1212
|
# Update properties of this object
|
|
1038
1213
|
def update!(**args)
|
|
1039
|
-
@longitude = args[:longitude] if args.key?(:longitude)
|
|
1040
1214
|
@latitude = args[:latitude] if args.key?(:latitude)
|
|
1215
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
|
1041
1216
|
end
|
|
1042
1217
|
end
|
|
1043
1218
|
|
|
@@ -1116,185 +1291,6 @@ module Google
|
|
|
1116
1291
|
@name = args[:name] if args.key?(:name)
|
|
1117
1292
|
end
|
|
1118
1293
|
end
|
|
1119
|
-
|
|
1120
|
-
# An array value.
|
|
1121
|
-
class ArrayValue
|
|
1122
|
-
include Google::Apis::Core::Hashable
|
|
1123
|
-
|
|
1124
|
-
# Values in the array.
|
|
1125
|
-
# The order of this array may not be preserved if it contains a mix of
|
|
1126
|
-
# indexed and unindexed values.
|
|
1127
|
-
# Corresponds to the JSON property `values`
|
|
1128
|
-
# @return [Array<Google::Apis::DatastoreV1::Value>]
|
|
1129
|
-
attr_accessor :values
|
|
1130
|
-
|
|
1131
|
-
def initialize(**args)
|
|
1132
|
-
update!(**args)
|
|
1133
|
-
end
|
|
1134
|
-
|
|
1135
|
-
# Update properties of this object
|
|
1136
|
-
def update!(**args)
|
|
1137
|
-
@values = args[:values] if args.key?(:values)
|
|
1138
|
-
end
|
|
1139
|
-
end
|
|
1140
|
-
|
|
1141
|
-
# A representation of a property in a projection.
|
|
1142
|
-
class Projection
|
|
1143
|
-
include Google::Apis::Core::Hashable
|
|
1144
|
-
|
|
1145
|
-
# A reference to a property relative to the kind expressions.
|
|
1146
|
-
# Corresponds to the JSON property `property`
|
|
1147
|
-
# @return [Google::Apis::DatastoreV1::PropertyReference]
|
|
1148
|
-
attr_accessor :property
|
|
1149
|
-
|
|
1150
|
-
def initialize(**args)
|
|
1151
|
-
update!(**args)
|
|
1152
|
-
end
|
|
1153
|
-
|
|
1154
|
-
# Update properties of this object
|
|
1155
|
-
def update!(**args)
|
|
1156
|
-
@property = args[:property] if args.key?(:property)
|
|
1157
|
-
end
|
|
1158
|
-
end
|
|
1159
|
-
|
|
1160
|
-
# A mutation to apply to an entity.
|
|
1161
|
-
class Mutation
|
|
1162
|
-
include Google::Apis::Core::Hashable
|
|
1163
|
-
|
|
1164
|
-
# A unique identifier for an entity.
|
|
1165
|
-
# If a key's partition ID or any of its path kinds or names are
|
|
1166
|
-
# reserved/read-only, the key is reserved/read-only.
|
|
1167
|
-
# A reserved/read-only key is forbidden in certain documented contexts.
|
|
1168
|
-
# Corresponds to the JSON property `delete`
|
|
1169
|
-
# @return [Google::Apis::DatastoreV1::Key]
|
|
1170
|
-
attr_accessor :delete
|
|
1171
|
-
|
|
1172
|
-
# A Datastore data object.
|
|
1173
|
-
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
1174
|
-
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
1175
|
-
# message.
|
|
1176
|
-
# Corresponds to the JSON property `insert`
|
|
1177
|
-
# @return [Google::Apis::DatastoreV1::Entity]
|
|
1178
|
-
attr_accessor :insert
|
|
1179
|
-
|
|
1180
|
-
# The version of the entity that this mutation is being applied to. If this
|
|
1181
|
-
# does not match the current version on the server, the mutation conflicts.
|
|
1182
|
-
# Corresponds to the JSON property `baseVersion`
|
|
1183
|
-
# @return [Fixnum]
|
|
1184
|
-
attr_accessor :base_version
|
|
1185
|
-
|
|
1186
|
-
# A Datastore data object.
|
|
1187
|
-
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
1188
|
-
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
1189
|
-
# message.
|
|
1190
|
-
# Corresponds to the JSON property `update`
|
|
1191
|
-
# @return [Google::Apis::DatastoreV1::Entity]
|
|
1192
|
-
attr_accessor :update
|
|
1193
|
-
|
|
1194
|
-
# A Datastore data object.
|
|
1195
|
-
# An entity is limited to 1 megabyte when stored. That _roughly_
|
|
1196
|
-
# corresponds to a limit of 1 megabyte for the serialized form of this
|
|
1197
|
-
# message.
|
|
1198
|
-
# Corresponds to the JSON property `upsert`
|
|
1199
|
-
# @return [Google::Apis::DatastoreV1::Entity]
|
|
1200
|
-
attr_accessor :upsert
|
|
1201
|
-
|
|
1202
|
-
def initialize(**args)
|
|
1203
|
-
update!(**args)
|
|
1204
|
-
end
|
|
1205
|
-
|
|
1206
|
-
# Update properties of this object
|
|
1207
|
-
def update!(**args)
|
|
1208
|
-
@delete = args[:delete] if args.key?(:delete)
|
|
1209
|
-
@insert = args[:insert] if args.key?(:insert)
|
|
1210
|
-
@base_version = args[:base_version] if args.key?(:base_version)
|
|
1211
|
-
@update = args[:update] if args.key?(:update)
|
|
1212
|
-
@upsert = args[:upsert] if args.key?(:upsert)
|
|
1213
|
-
end
|
|
1214
|
-
end
|
|
1215
|
-
|
|
1216
|
-
# The options shared by read requests.
|
|
1217
|
-
class ReadOptions
|
|
1218
|
-
include Google::Apis::Core::Hashable
|
|
1219
|
-
|
|
1220
|
-
# The non-transactional read consistency to use.
|
|
1221
|
-
# Cannot be set to `STRONG` for global queries.
|
|
1222
|
-
# Corresponds to the JSON property `readConsistency`
|
|
1223
|
-
# @return [String]
|
|
1224
|
-
attr_accessor :read_consistency
|
|
1225
|
-
|
|
1226
|
-
# The identifier of the transaction in which to read. A
|
|
1227
|
-
# transaction identifier is returned by a call to
|
|
1228
|
-
# Datastore.BeginTransaction.
|
|
1229
|
-
# Corresponds to the JSON property `transaction`
|
|
1230
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1231
|
-
# @return [String]
|
|
1232
|
-
attr_accessor :transaction
|
|
1233
|
-
|
|
1234
|
-
def initialize(**args)
|
|
1235
|
-
update!(**args)
|
|
1236
|
-
end
|
|
1237
|
-
|
|
1238
|
-
# Update properties of this object
|
|
1239
|
-
def update!(**args)
|
|
1240
|
-
@read_consistency = args[:read_consistency] if args.key?(:read_consistency)
|
|
1241
|
-
@transaction = args[:transaction] if args.key?(:transaction)
|
|
1242
|
-
end
|
|
1243
|
-
end
|
|
1244
|
-
|
|
1245
|
-
# The response for Datastore.Rollback.
|
|
1246
|
-
# (an empty message).
|
|
1247
|
-
class RollbackResponse
|
|
1248
|
-
include Google::Apis::Core::Hashable
|
|
1249
|
-
|
|
1250
|
-
def initialize(**args)
|
|
1251
|
-
update!(**args)
|
|
1252
|
-
end
|
|
1253
|
-
|
|
1254
|
-
# Update properties of this object
|
|
1255
|
-
def update!(**args)
|
|
1256
|
-
end
|
|
1257
|
-
end
|
|
1258
|
-
|
|
1259
|
-
# The result of applying a mutation.
|
|
1260
|
-
class MutationResult
|
|
1261
|
-
include Google::Apis::Core::Hashable
|
|
1262
|
-
|
|
1263
|
-
# The version of the entity on the server after processing the mutation. If
|
|
1264
|
-
# the mutation doesn't change anything on the server, then the version will
|
|
1265
|
-
# be the version of the current entity or, if no entity is present, a version
|
|
1266
|
-
# that is strictly greater than the version of any previous entity and less
|
|
1267
|
-
# than the version of any possible future entity.
|
|
1268
|
-
# Corresponds to the JSON property `version`
|
|
1269
|
-
# @return [Fixnum]
|
|
1270
|
-
attr_accessor :version
|
|
1271
|
-
|
|
1272
|
-
# Whether a conflict was detected for this mutation. Always false when a
|
|
1273
|
-
# conflict detection strategy field is not set in the mutation.
|
|
1274
|
-
# Corresponds to the JSON property `conflictDetected`
|
|
1275
|
-
# @return [Boolean]
|
|
1276
|
-
attr_accessor :conflict_detected
|
|
1277
|
-
alias_method :conflict_detected?, :conflict_detected
|
|
1278
|
-
|
|
1279
|
-
# A unique identifier for an entity.
|
|
1280
|
-
# If a key's partition ID or any of its path kinds or names are
|
|
1281
|
-
# reserved/read-only, the key is reserved/read-only.
|
|
1282
|
-
# A reserved/read-only key is forbidden in certain documented contexts.
|
|
1283
|
-
# Corresponds to the JSON property `key`
|
|
1284
|
-
# @return [Google::Apis::DatastoreV1::Key]
|
|
1285
|
-
attr_accessor :key
|
|
1286
|
-
|
|
1287
|
-
def initialize(**args)
|
|
1288
|
-
update!(**args)
|
|
1289
|
-
end
|
|
1290
|
-
|
|
1291
|
-
# Update properties of this object
|
|
1292
|
-
def update!(**args)
|
|
1293
|
-
@version = args[:version] if args.key?(:version)
|
|
1294
|
-
@conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected)
|
|
1295
|
-
@key = args[:key] if args.key?(:key)
|
|
1296
|
-
end
|
|
1297
|
-
end
|
|
1298
1294
|
end
|
|
1299
1295
|
end
|
|
1300
1296
|
end
|