google-api-client 0.10.2 → 0.10.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 +25 -0
- data/MIGRATING.md +22 -7
- data/README.md +4 -8
- data/api_names.yaml +1210 -37815
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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 +187 -187
- data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
- data/generated/google/apis/appengine_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +2251 -0
- data/generated/google/apis/appengine_v1/representations.rb +858 -0
- data/generated/google/apis/appengine_v1/service.rb +894 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +11 -6
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +26 -0
- data/generated/google/apis/books_v1/representations.rb +15 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
- data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
- data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
- data/generated/google/apis/cloudfunctions_v1.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
- data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
- data/generated/google/apis/cloudkms_v1/service.rb +194 -194
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +32 -7
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +11 -11
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -2
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
- data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
- data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
- data/generated/google/apis/dataproc_v1/representations.rb +200 -200
- data/generated/google/apis/dataproc_v1/service.rb +356 -356
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +701 -690
- data/generated/google/apis/datastore_v1/representations.rb +160 -160
- data/generated/google/apis/datastore_v1/service.rb +52 -52
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -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 +158 -35
- data/generated/google/apis/drive_v2/representations.rb +39 -0
- data/generated/google/apis/drive_v2/service.rb +4 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +162 -33
- data/generated/google/apis/drive_v3/representations.rb +39 -0
- data/generated/google/apis/drive_v3/service.rb +4 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
- data/generated/google/apis/firebaserules_v1.rb +41 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
- data/generated/google/apis/firebaserules_v1/service.rb +495 -0
- data/generated/google/apis/games_v1/classes.rb +4 -0
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
- data/generated/google/apis/genomics_v1/representations.rb +387 -387
- data/generated/google/apis/genomics_v1/service.rb +1187 -1187
- data/generated/google/apis/gmail_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -117
- data/generated/google/apis/iam_v1/representations.rb +33 -33
- data/generated/google/apis/iam_v1/service.rb +109 -109
- data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
- 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 +4 -4
- data/generated/google/apis/language_v1.rb +36 -0
- data/generated/google/apis/language_v1/classes.rb +757 -0
- data/generated/google/apis/language_v1/representations.rb +338 -0
- data/generated/google/apis/language_v1/service.rb +185 -0
- data/generated/google/apis/language_v1beta1/classes.rb +407 -407
- data/generated/google/apis/language_v1beta1/representations.rb +103 -103
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +46 -0
- data/generated/google/apis/logging_v2/classes.rb +1271 -0
- data/generated/google/apis/logging_v2/representations.rb +421 -0
- data/generated/google/apis/logging_v2/service.rb +1569 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
- data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
- data/generated/google/apis/logging_v2beta1/service.rb +235 -235
- data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
- data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
- data/generated/google/apis/ml_v1.rb +34 -0
- data/generated/google/apis/ml_v1/classes.rb +1617 -0
- data/generated/google/apis/ml_v1/representations.rb +498 -0
- data/generated/google/apis/ml_v1/service.rb +769 -0
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +630 -630
- data/generated/google/apis/monitoring_v3/representations.rb +134 -134
- data/generated/google/apis/monitoring_v3/service.rb +240 -240
- data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +639 -639
- data/generated/google/apis/partners_v2/representations.rb +168 -168
- data/generated/google/apis/partners_v2/service.rb +381 -381
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +524 -524
- data/generated/google/apis/people_v1/representations.rb +143 -143
- data/generated/google/apis/people_v1/service.rb +30 -30
- 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/classes.rb +454 -444
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
- data/generated/google/apis/pubsub_v1/classes.rb +175 -173
- data/generated/google/apis/pubsub_v1/representations.rb +53 -53
- data/generated/google/apis/pubsub_v1/service.rb +210 -210
- data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
- data/generated/google/apis/runtimeconfig_v1.rb +38 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
- data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
- data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -6
- data/generated/google/apis/script_v1/representations.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +31 -0
- data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
- data/generated/google/apis/searchconsole_v1/service.rb +88 -0
- data/generated/google/apis/servicecontrol_v1.rb +38 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
- data/generated/google/apis/servicemanagement_v1.rb +45 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
- data/generated/google/apis/serviceuser_v1.rb +42 -0
- data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
- data/generated/google/apis/serviceuser_v1/service.rb +214 -0
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
- data/generated/google/apis/sheets_v4/representations.rb +381 -381
- data/generated/google/apis/sheets_v4/service.rb +48 -48
- data/generated/google/apis/slides_v1.rb +3 -3
- data/generated/google/apis/slides_v1/classes.rb +2860 -2860
- data/generated/google/apis/slides_v1/representations.rb +693 -693
- data/generated/google/apis/slides_v1/service.rb +30 -30
- data/generated/google/apis/sourcerepo_v1.rb +34 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
- data/generated/google/apis/spanner_v1.rb +35 -0
- data/generated/google/apis/spanner_v1/classes.rb +3294 -0
- data/generated/google/apis/spanner_v1/representations.rb +984 -0
- data/generated/google/apis/spanner_v1/service.rb +1504 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
- data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
- data/generated/google/apis/speech_v1beta1/service.rb +27 -27
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +131 -0
- data/generated/google/apis/storage_v1/representations.rb +51 -0
- data/generated/google/apis/storage_v1/service.rb +182 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
- data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
- data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
- data/generated/google/apis/surveys_v2.rb +40 -0
- data/generated/google/apis/surveys_v2/classes.rb +806 -0
- data/generated/google/apis/surveys_v2/representations.rb +347 -0
- data/generated/google/apis/surveys_v2/service.rb +477 -0
- data/generated/google/apis/tagmanager_v2.rb +52 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
- data/generated/google/apis/toolresults_v1beta3.rb +34 -0
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
- data/generated/google/apis/tracing_v1.rb +40 -0
- data/generated/google/apis/tracing_v1/classes.rb +664 -0
- data/generated/google/apis/tracing_v1/representations.rb +279 -0
- data/generated/google/apis/tracing_v1/service.rb +225 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1223 -1222
- data/generated/google/apis/vision_v1/representations.rb +234 -234
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webfonts_v1.rb +33 -0
- data/generated/google/apis/webfonts_v1/classes.rb +113 -0
- data/generated/google/apis/webfonts_v1/representations.rb +62 -0
- data/generated/google/apis/webfonts_v1/service.rb +102 -0
- 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 +31 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
- data/generated/google/apis/youtube_v3/classes.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
- data/lib/google/apis/generator/annotator.rb +5 -4
- data/lib/google/apis/generator/templates/_class.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/adsense.rb +99 -0
- data/samples/cli/lib/samples/analytics.rb +18 -0
- data/samples/cli/lib/samples/gmail.rb +33 -0
- data/samples/cli/lib/samples/vision.rb +69 -0
- metadata +89 -4
- data/sync.rb +0 -71
|
@@ -0,0 +1,984 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'date'
|
|
16
|
+
require 'google/apis/core/base_service'
|
|
17
|
+
require 'google/apis/core/json_representation'
|
|
18
|
+
require 'google/apis/core/hashable'
|
|
19
|
+
require 'google/apis/errors'
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Apis
|
|
23
|
+
module SpannerV1
|
|
24
|
+
|
|
25
|
+
class ListInstanceConfigsResponse
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class BeginTransactionRequest
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class CommitRequest
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class GetIamPolicyRequest
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class TestIamPermissionsResponse
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class CreateDatabaseMetadata
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class Rule
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class LogConfig
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class Session
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class ListInstancesResponse
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class KeyRange
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class ShortRepresentation
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class InstanceConfig
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class UpdateInstanceRequest
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class Empty
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class TransactionOptions
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class CreateDatabaseRequest
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class CreateInstanceRequest
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class Condition
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class AuditLogConfig
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class ReadOnly
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class ExecuteSqlRequest
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class Policy
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class ReadRequest
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class Write
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class ReadWrite
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class DataAccessOptions
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class Operation
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class ResultSet
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class Status
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class Binding
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class UpdateDatabaseDdlRequest
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class PartialResultSet
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
class UpdateInstanceMetadata
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
|
+
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
class ListOperationsResponse
|
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
|
+
|
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
class ResultSetMetadata
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class TransactionSelector
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
class Mutation
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
class KeySet
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class GetDatabaseDdlResponse
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
class Database
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class ListDatabasesResponse
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class SetIamPolicyRequest
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
class Instance
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
class RollbackRequest
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class Transaction
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
class UpdateDatabaseDdlMetadata
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
class CounterOptions
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class QueryPlan
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class StructType
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class Field
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class TestIamPermissionsRequest
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
class ResultSetStats
|
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
+
|
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class CommitResponse
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class Type
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class PlanNode
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
class AuditConfig
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
class CreateInstanceMetadata
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
class ChildLink
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class CloudAuditOptions
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class Delete
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
class ListInstanceConfigsResponse
|
|
392
|
+
# @private
|
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
394
|
+
property :next_page_token, as: 'nextPageToken'
|
|
395
|
+
collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
|
|
396
|
+
|
|
397
|
+
end
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
class BeginTransactionRequest
|
|
401
|
+
# @private
|
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
403
|
+
property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
|
404
|
+
|
|
405
|
+
end
|
|
406
|
+
end
|
|
407
|
+
|
|
408
|
+
class CommitRequest
|
|
409
|
+
# @private
|
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
411
|
+
property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
|
412
|
+
|
|
413
|
+
collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
|
|
414
|
+
|
|
415
|
+
property :transaction_id, :base64 => true, as: 'transactionId'
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
class GetIamPolicyRequest
|
|
420
|
+
# @private
|
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
422
|
+
end
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
class TestIamPermissionsResponse
|
|
426
|
+
# @private
|
|
427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
428
|
+
collection :permissions, as: 'permissions'
|
|
429
|
+
end
|
|
430
|
+
end
|
|
431
|
+
|
|
432
|
+
class CreateDatabaseMetadata
|
|
433
|
+
# @private
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
435
|
+
property :database, as: 'database'
|
|
436
|
+
end
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
class Rule
|
|
440
|
+
# @private
|
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
442
|
+
property :description, as: 'description'
|
|
443
|
+
collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
|
|
444
|
+
|
|
445
|
+
collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
|
|
446
|
+
|
|
447
|
+
collection :in, as: 'in'
|
|
448
|
+
collection :permissions, as: 'permissions'
|
|
449
|
+
property :action, as: 'action'
|
|
450
|
+
collection :not_in, as: 'notIn'
|
|
451
|
+
end
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
class LogConfig
|
|
455
|
+
# @private
|
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
457
|
+
property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
|
|
458
|
+
|
|
459
|
+
property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
|
|
460
|
+
|
|
461
|
+
property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
|
|
462
|
+
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
class Session
|
|
467
|
+
# @private
|
|
468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
469
|
+
property :name, as: 'name'
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
class ListInstancesResponse
|
|
474
|
+
# @private
|
|
475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
476
|
+
property :next_page_token, as: 'nextPageToken'
|
|
477
|
+
collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
|
478
|
+
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
class KeyRange
|
|
483
|
+
# @private
|
|
484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
485
|
+
collection :end_closed, as: 'endClosed'
|
|
486
|
+
collection :start_closed, as: 'startClosed'
|
|
487
|
+
collection :start_open, as: 'startOpen'
|
|
488
|
+
collection :end_open, as: 'endOpen'
|
|
489
|
+
end
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
class ShortRepresentation
|
|
493
|
+
# @private
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
495
|
+
property :description, as: 'description'
|
|
496
|
+
hash :subqueries, as: 'subqueries'
|
|
497
|
+
end
|
|
498
|
+
end
|
|
499
|
+
|
|
500
|
+
class InstanceConfig
|
|
501
|
+
# @private
|
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
503
|
+
property :name, as: 'name'
|
|
504
|
+
property :display_name, as: 'displayName'
|
|
505
|
+
end
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
class UpdateInstanceRequest
|
|
509
|
+
# @private
|
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
511
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
|
512
|
+
|
|
513
|
+
property :field_mask, as: 'fieldMask'
|
|
514
|
+
end
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
class Empty
|
|
518
|
+
# @private
|
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
520
|
+
end
|
|
521
|
+
end
|
|
522
|
+
|
|
523
|
+
class TransactionOptions
|
|
524
|
+
# @private
|
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
526
|
+
property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation
|
|
527
|
+
|
|
528
|
+
property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
|
|
529
|
+
|
|
530
|
+
end
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
class CreateDatabaseRequest
|
|
534
|
+
# @private
|
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
536
|
+
collection :extra_statements, as: 'extraStatements'
|
|
537
|
+
property :create_statement, as: 'createStatement'
|
|
538
|
+
end
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
class CreateInstanceRequest
|
|
542
|
+
# @private
|
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
544
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
|
545
|
+
|
|
546
|
+
property :instance_id, as: 'instanceId'
|
|
547
|
+
end
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
class Condition
|
|
551
|
+
# @private
|
|
552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
553
|
+
property :svc, as: 'svc'
|
|
554
|
+
property :value, as: 'value'
|
|
555
|
+
property :sys, as: 'sys'
|
|
556
|
+
collection :values, as: 'values'
|
|
557
|
+
property :iam, as: 'iam'
|
|
558
|
+
property :op, as: 'op'
|
|
559
|
+
end
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
class AuditLogConfig
|
|
563
|
+
# @private
|
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
565
|
+
collection :exempted_members, as: 'exemptedMembers'
|
|
566
|
+
property :log_type, as: 'logType'
|
|
567
|
+
end
|
|
568
|
+
end
|
|
569
|
+
|
|
570
|
+
class ReadOnly
|
|
571
|
+
# @private
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
573
|
+
property :min_read_timestamp, as: 'minReadTimestamp'
|
|
574
|
+
property :max_staleness, as: 'maxStaleness'
|
|
575
|
+
property :read_timestamp, as: 'readTimestamp'
|
|
576
|
+
property :return_read_timestamp, as: 'returnReadTimestamp'
|
|
577
|
+
property :exact_staleness, as: 'exactStaleness'
|
|
578
|
+
property :strong, as: 'strong'
|
|
579
|
+
end
|
|
580
|
+
end
|
|
581
|
+
|
|
582
|
+
class ExecuteSqlRequest
|
|
583
|
+
# @private
|
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
585
|
+
property :query_mode, as: 'queryMode'
|
|
586
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
|
587
|
+
|
|
588
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
|
589
|
+
hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
|
590
|
+
|
|
591
|
+
property :sql, as: 'sql'
|
|
592
|
+
hash :params, as: 'params'
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
class Policy
|
|
597
|
+
# @private
|
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
599
|
+
property :version, as: 'version'
|
|
600
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
|
|
601
|
+
|
|
602
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
|
|
603
|
+
|
|
604
|
+
property :etag, :base64 => true, as: 'etag'
|
|
605
|
+
property :iam_owned, as: 'iamOwned'
|
|
606
|
+
collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
|
|
607
|
+
|
|
608
|
+
end
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
class ReadRequest
|
|
612
|
+
# @private
|
|
613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
614
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
|
615
|
+
|
|
616
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
|
617
|
+
property :table, as: 'table'
|
|
618
|
+
property :limit, as: 'limit'
|
|
619
|
+
property :index, as: 'index'
|
|
620
|
+
property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
|
|
621
|
+
|
|
622
|
+
collection :columns, as: 'columns'
|
|
623
|
+
end
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
class Write
|
|
627
|
+
# @private
|
|
628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
629
|
+
property :table, as: 'table'
|
|
630
|
+
collection :columns, as: 'columns'
|
|
631
|
+
collection :values, as: 'values', :class => Array do
|
|
632
|
+
include Representable::JSON::Collection
|
|
633
|
+
items
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
class ReadWrite
|
|
640
|
+
# @private
|
|
641
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
642
|
+
end
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
class DataAccessOptions
|
|
646
|
+
# @private
|
|
647
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
648
|
+
end
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
class Operation
|
|
652
|
+
# @private
|
|
653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
654
|
+
hash :response, as: 'response'
|
|
655
|
+
property :name, as: 'name'
|
|
656
|
+
property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
|
|
657
|
+
|
|
658
|
+
hash :metadata, as: 'metadata'
|
|
659
|
+
property :done, as: 'done'
|
|
660
|
+
end
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
class ResultSet
|
|
664
|
+
# @private
|
|
665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
666
|
+
collection :rows, as: 'rows', :class => Array do
|
|
667
|
+
include Representable::JSON::Collection
|
|
668
|
+
items
|
|
669
|
+
end
|
|
670
|
+
|
|
671
|
+
property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
|
|
672
|
+
|
|
673
|
+
property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
|
|
674
|
+
|
|
675
|
+
end
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
class Status
|
|
679
|
+
# @private
|
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
681
|
+
collection :details, as: 'details'
|
|
682
|
+
property :code, as: 'code'
|
|
683
|
+
property :message, as: 'message'
|
|
684
|
+
end
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
class Binding
|
|
688
|
+
# @private
|
|
689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
690
|
+
collection :members, as: 'members'
|
|
691
|
+
property :role, as: 'role'
|
|
692
|
+
end
|
|
693
|
+
end
|
|
694
|
+
|
|
695
|
+
class UpdateDatabaseDdlRequest
|
|
696
|
+
# @private
|
|
697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
698
|
+
collection :statements, as: 'statements'
|
|
699
|
+
property :operation_id, as: 'operationId'
|
|
700
|
+
end
|
|
701
|
+
end
|
|
702
|
+
|
|
703
|
+
class PartialResultSet
|
|
704
|
+
# @private
|
|
705
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
706
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
|
707
|
+
property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
|
|
708
|
+
|
|
709
|
+
property :chunked_value, as: 'chunkedValue'
|
|
710
|
+
property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
|
|
711
|
+
|
|
712
|
+
collection :values, as: 'values'
|
|
713
|
+
end
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
class UpdateInstanceMetadata
|
|
717
|
+
# @private
|
|
718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
719
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
|
720
|
+
|
|
721
|
+
property :start_time, as: 'startTime'
|
|
722
|
+
property :cancel_time, as: 'cancelTime'
|
|
723
|
+
property :end_time, as: 'endTime'
|
|
724
|
+
end
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
class ListOperationsResponse
|
|
728
|
+
# @private
|
|
729
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
730
|
+
property :next_page_token, as: 'nextPageToken'
|
|
731
|
+
collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
|
|
732
|
+
|
|
733
|
+
end
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
class ResultSetMetadata
|
|
737
|
+
# @private
|
|
738
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
739
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
|
|
740
|
+
|
|
741
|
+
property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
|
|
742
|
+
|
|
743
|
+
end
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
class TransactionSelector
|
|
747
|
+
# @private
|
|
748
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
749
|
+
property :id, :base64 => true, as: 'id'
|
|
750
|
+
property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
|
751
|
+
|
|
752
|
+
property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
|
753
|
+
|
|
754
|
+
end
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
class Mutation
|
|
758
|
+
# @private
|
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
760
|
+
property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
|
|
761
|
+
|
|
762
|
+
property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
|
763
|
+
|
|
764
|
+
property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
|
765
|
+
|
|
766
|
+
property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
|
767
|
+
|
|
768
|
+
property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
|
769
|
+
|
|
770
|
+
end
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
class KeySet
|
|
774
|
+
# @private
|
|
775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
776
|
+
collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
|
|
777
|
+
|
|
778
|
+
collection :keys, as: 'keys', :class => Array do
|
|
779
|
+
include Representable::JSON::Collection
|
|
780
|
+
items
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
property :all, as: 'all'
|
|
784
|
+
end
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
class GetDatabaseDdlResponse
|
|
788
|
+
# @private
|
|
789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
790
|
+
collection :statements, as: 'statements'
|
|
791
|
+
end
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
class Database
|
|
795
|
+
# @private
|
|
796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
797
|
+
property :state, as: 'state'
|
|
798
|
+
property :name, as: 'name'
|
|
799
|
+
end
|
|
800
|
+
end
|
|
801
|
+
|
|
802
|
+
class ListDatabasesResponse
|
|
803
|
+
# @private
|
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
805
|
+
property :next_page_token, as: 'nextPageToken'
|
|
806
|
+
collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
|
|
807
|
+
|
|
808
|
+
end
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
class SetIamPolicyRequest
|
|
812
|
+
# @private
|
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
814
|
+
property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
|
|
815
|
+
|
|
816
|
+
property :update_mask, as: 'updateMask'
|
|
817
|
+
end
|
|
818
|
+
end
|
|
819
|
+
|
|
820
|
+
class Instance
|
|
821
|
+
# @private
|
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
823
|
+
property :node_count, as: 'nodeCount'
|
|
824
|
+
hash :labels, as: 'labels'
|
|
825
|
+
property :config, as: 'config'
|
|
826
|
+
property :state, as: 'state'
|
|
827
|
+
property :name, as: 'name'
|
|
828
|
+
property :display_name, as: 'displayName'
|
|
829
|
+
end
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
class RollbackRequest
|
|
833
|
+
# @private
|
|
834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
835
|
+
property :transaction_id, :base64 => true, as: 'transactionId'
|
|
836
|
+
end
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
class Transaction
|
|
840
|
+
# @private
|
|
841
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
842
|
+
property :read_timestamp, as: 'readTimestamp'
|
|
843
|
+
property :id, :base64 => true, as: 'id'
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
class UpdateDatabaseDdlMetadata
|
|
848
|
+
# @private
|
|
849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
850
|
+
property :database, as: 'database'
|
|
851
|
+
collection :statements, as: 'statements'
|
|
852
|
+
collection :commit_timestamps, as: 'commitTimestamps'
|
|
853
|
+
end
|
|
854
|
+
end
|
|
855
|
+
|
|
856
|
+
class CounterOptions
|
|
857
|
+
# @private
|
|
858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
859
|
+
property :metric, as: 'metric'
|
|
860
|
+
property :field, as: 'field'
|
|
861
|
+
end
|
|
862
|
+
end
|
|
863
|
+
|
|
864
|
+
class QueryPlan
|
|
865
|
+
# @private
|
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
867
|
+
collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
|
|
868
|
+
|
|
869
|
+
end
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
class StructType
|
|
873
|
+
# @private
|
|
874
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
875
|
+
collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
|
|
876
|
+
|
|
877
|
+
end
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
class Field
|
|
881
|
+
# @private
|
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
883
|
+
property :name, as: 'name'
|
|
884
|
+
property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
|
885
|
+
|
|
886
|
+
end
|
|
887
|
+
end
|
|
888
|
+
|
|
889
|
+
class TestIamPermissionsRequest
|
|
890
|
+
# @private
|
|
891
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
892
|
+
collection :permissions, as: 'permissions'
|
|
893
|
+
end
|
|
894
|
+
end
|
|
895
|
+
|
|
896
|
+
class ResultSetStats
|
|
897
|
+
# @private
|
|
898
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
899
|
+
property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
|
|
900
|
+
|
|
901
|
+
hash :query_stats, as: 'queryStats'
|
|
902
|
+
end
|
|
903
|
+
end
|
|
904
|
+
|
|
905
|
+
class CommitResponse
|
|
906
|
+
# @private
|
|
907
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
908
|
+
property :commit_timestamp, as: 'commitTimestamp'
|
|
909
|
+
end
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
class Type
|
|
913
|
+
# @private
|
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
915
|
+
property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
|
|
916
|
+
|
|
917
|
+
property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
|
918
|
+
|
|
919
|
+
property :code, as: 'code'
|
|
920
|
+
end
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
class PlanNode
|
|
924
|
+
# @private
|
|
925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
926
|
+
hash :metadata, as: 'metadata'
|
|
927
|
+
hash :execution_stats, as: 'executionStats'
|
|
928
|
+
property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
|
|
929
|
+
|
|
930
|
+
property :index, as: 'index'
|
|
931
|
+
property :display_name, as: 'displayName'
|
|
932
|
+
property :kind, as: 'kind'
|
|
933
|
+
collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
|
|
934
|
+
|
|
935
|
+
end
|
|
936
|
+
end
|
|
937
|
+
|
|
938
|
+
class AuditConfig
|
|
939
|
+
# @private
|
|
940
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
941
|
+
collection :exempted_members, as: 'exemptedMembers'
|
|
942
|
+
property :service, as: 'service'
|
|
943
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
|
|
944
|
+
|
|
945
|
+
end
|
|
946
|
+
end
|
|
947
|
+
|
|
948
|
+
class CreateInstanceMetadata
|
|
949
|
+
# @private
|
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
951
|
+
property :cancel_time, as: 'cancelTime'
|
|
952
|
+
property :end_time, as: 'endTime'
|
|
953
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
|
954
|
+
|
|
955
|
+
property :start_time, as: 'startTime'
|
|
956
|
+
end
|
|
957
|
+
end
|
|
958
|
+
|
|
959
|
+
class ChildLink
|
|
960
|
+
# @private
|
|
961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
962
|
+
property :child_index, as: 'childIndex'
|
|
963
|
+
property :variable, as: 'variable'
|
|
964
|
+
property :type, as: 'type'
|
|
965
|
+
end
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
class CloudAuditOptions
|
|
969
|
+
# @private
|
|
970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
971
|
+
end
|
|
972
|
+
end
|
|
973
|
+
|
|
974
|
+
class Delete
|
|
975
|
+
# @private
|
|
976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
977
|
+
property :table, as: 'table'
|
|
978
|
+
property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
|
|
979
|
+
|
|
980
|
+
end
|
|
981
|
+
end
|
|
982
|
+
end
|
|
983
|
+
end
|
|
984
|
+
end
|