google-api-client 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -0
- data/README.md +2 -2
- data/api_names.yaml +19 -0
- data/api_names_out.yaml +843 -269
- data/bin/generate-api +18 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +249 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +208 -1
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +68 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +38 -0
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +12 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +118 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +26 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +0 -7
- data/generated/google/apis/adsense_v1_4/representations.rb +62 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +40 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/representations.rb +188 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +76 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +6 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +92 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +22 -1
- data/generated/google/apis/appengine_v1beta5/representations.rb +69 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +43 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +22 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/representations.rb +8 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +32 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +31 -0
- data/generated/google/apis/bigquery_v2/representations.rb +98 -0
- data/generated/google/apis/blogger_v3/representations.rb +70 -0
- data/generated/google/apis/books_v1/representations.rb +196 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +64 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +40 -0
- data/generated/google/apis/classroom_v1/representations.rb +28 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +24 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/representations.rb +54 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +14 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +42 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +15 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/cloudtrace_v1/representations.rb +10 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +38 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +512 -0
- data/generated/google/apis/compute_beta/representations.rb +599 -0
- data/generated/google/apis/compute_beta/service.rb +415 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/representations.rb +386 -0
- data/generated/google/apis/container_v1/representations.rb +20 -0
- data/generated/google/apis/content_v2/representations.rb +296 -0
- data/generated/google/apis/coordinate_v1/representations.rb +36 -0
- data/generated/google/apis/customsearch_v1/representations.rb +26 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1415 -0
- data/generated/google/apis/dataproc_v1/representations.rb +569 -0
- data/generated/google/apis/dataproc_v1/service.rb +581 -4
- data/generated/google/apis/datastore_v1beta2/representations.rb +68 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +58 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +386 -0
- data/generated/google/apis/discovery_v1/representations.rb +40 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +16 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +42 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +34 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -0
- data/generated/google/apis/drive_v2/representations.rb +83 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +51 -0
- data/generated/google/apis/fitness_v1/representations.rb +40 -0
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/representations.rb +48 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +22 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/representations.rb +30 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/representations.rb +198 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2 -211
- data/generated/google/apis/genomics_v1/representations.rb +119 -84
- data/generated/google/apis/gmail_v1/representations.rb +44 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +2 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +105 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +99 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +36 -1
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/representations.rb +6 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +40 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +70 -0
- data/generated/google/apis/mirror_v1/representations.rb +40 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/representations.rb +8 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +28 -0
- data/generated/google/apis/partners_v2/representations.rb +52 -0
- data/generated/google/apis/people_v1.rb +11 -11
- data/generated/google/apis/people_v1/classes.rb +888 -961
- data/generated/google/apis/people_v1/representations.rb +295 -225
- data/generated/google/apis/people_v1/service.rb +61 -65
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/representations.rb +124 -0
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/representations.rb +102 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/prediction_v1_6/representations.rb +42 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +38 -0
- data/generated/google/apis/pubsub_v1/representations.rb +42 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +48 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +28 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +30 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +6 -0
- data/generated/google/apis/reseller_v1/representations.rb +23 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +32 -0
- data/generated/google/apis/script_v1/representations.rb +12 -0
- data/generated/google/apis/site_verification_v1/representations.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +50 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +98 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +48 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +110 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +96 -0
- data/generated/google/apis/tagmanager_v1/service.rb +303 -1
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +12 -0
- data/generated/google/apis/tasks_v1/representations.rb +10 -0
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/representations.rb +12 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +10 -0
- data/generated/google/apis/vision_v1.rb +37 -0
- data/generated/google/apis/vision_v1/classes.rb +1259 -0
- data/generated/google/apis/vision_v1/representations.rb +418 -0
- data/generated/google/apis/vision_v1/service.rb +91 -0
- data/generated/google/apis/webmasters_v3/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +30 -0
- data/generated/google/apis/youtube_v3/representations.rb +332 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +16 -0
- data/google-api-client.gemspec +0 -2
- data/lib/google/api_client/client_secrets.rb +3 -4
- data/lib/google/apis/core/api_command.rb +5 -4
- data/lib/google/apis/core/http_command.rb +20 -4
- data/lib/google/apis/core/json_representation.rb +20 -2
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +2 -0
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -1
- data/spec/google/api_client/client_secrets_spec.rb +2 -2
- data/spec/google/apis/core/api_command_spec.rb +2 -2
- data/spec/google/apis/core/http_command_spec.rb +19 -0
- data/spec/google/apis/core/json_representation_spec.rb +14 -7
- data/spec/google/apis/generator/generator_spec.rb +52 -0
- metadata +6 -30
@@ -24,18 +24,224 @@ module Google
|
|
24
24
|
|
25
25
|
class Media
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Cluster
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ClusterConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GceClusterConfig
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class InstanceGroupConfig
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class DiskConfig
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ManagedGroupConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class SoftwareConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class NodeInitializationAction
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ClusterStatus
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class Operation
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class Status
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class ListClustersResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class DiagnoseClusterRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class SubmitJobRequest
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class Job
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class JobReference
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class JobPlacement
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class HadoopJob
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class LoggingConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class SparkJob
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class PySparkJob
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class HiveJob
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class QueryList
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class PigJob
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class SparkSqlJob
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class JobStatus
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ListJobsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class CancelJobRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class Empty
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ListOperationsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class DiagnoseClusterResults
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ClusterOperationMetadata
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ClusterOperationStatus
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
27
227
|
end
|
28
228
|
|
29
229
|
class DiagnoseClusterOutputLocation
|
30
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
31
233
|
end
|
32
234
|
|
33
235
|
class OperationMetadata
|
34
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
239
|
end
|
36
240
|
|
37
241
|
class OperationStatus
|
38
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
39
245
|
end
|
40
246
|
|
41
247
|
class Media
|
@@ -45,6 +251,367 @@ module Google
|
|
45
251
|
end
|
46
252
|
end
|
47
253
|
|
254
|
+
class Cluster
|
255
|
+
# @private
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
257
|
+
property :project_id, as: 'projectId'
|
258
|
+
property :cluster_name, as: 'clusterName'
|
259
|
+
property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
|
260
|
+
|
261
|
+
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
|
262
|
+
|
263
|
+
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
|
264
|
+
|
265
|
+
property :cluster_uuid, as: 'clusterUuid'
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class ClusterConfig
|
270
|
+
# @private
|
271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
+
property :config_bucket, as: 'configBucket'
|
273
|
+
property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
|
274
|
+
|
275
|
+
property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
276
|
+
|
277
|
+
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
278
|
+
|
279
|
+
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
|
280
|
+
|
281
|
+
property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
|
282
|
+
|
283
|
+
collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
|
284
|
+
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
class GceClusterConfig
|
289
|
+
# @private
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
291
|
+
property :zone_uri, as: 'zoneUri'
|
292
|
+
property :network_uri, as: 'networkUri'
|
293
|
+
property :subnetwork_uri, as: 'subnetworkUri'
|
294
|
+
collection :service_account_scopes, as: 'serviceAccountScopes'
|
295
|
+
collection :tags, as: 'tags'
|
296
|
+
hash :metadata, as: 'metadata'
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
class InstanceGroupConfig
|
301
|
+
# @private
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
303
|
+
property :num_instances, as: 'numInstances'
|
304
|
+
collection :instance_names, as: 'instanceNames'
|
305
|
+
property :image_uri, as: 'imageUri'
|
306
|
+
property :machine_type_uri, as: 'machineTypeUri'
|
307
|
+
property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
|
308
|
+
|
309
|
+
property :is_preemptible, as: 'isPreemptible'
|
310
|
+
property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
|
311
|
+
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class DiskConfig
|
316
|
+
# @private
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
|
319
|
+
property :num_local_ssds, as: 'numLocalSsds'
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
class ManagedGroupConfig
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
property :instance_template_name, as: 'instanceTemplateName'
|
327
|
+
property :instance_group_manager_name, as: 'instanceGroupManagerName'
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
class SoftwareConfig
|
332
|
+
# @private
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
+
property :image_version, as: 'imageVersion'
|
335
|
+
hash :properties, as: 'properties'
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
class NodeInitializationAction
|
340
|
+
# @private
|
341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
+
property :executable_file, as: 'executableFile'
|
343
|
+
property :execution_timeout, as: 'executionTimeout'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class ClusterStatus
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
property :state, as: 'state'
|
351
|
+
property :detail, as: 'detail'
|
352
|
+
property :state_start_time, as: 'stateStartTime'
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class Operation
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
property :name, as: 'name'
|
360
|
+
hash :metadata, as: 'metadata'
|
361
|
+
property :done, as: 'done'
|
362
|
+
property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
|
363
|
+
|
364
|
+
hash :response, as: 'response'
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
class Status
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
property :code, as: 'code'
|
372
|
+
property :message, as: 'message'
|
373
|
+
collection :details, as: 'details'
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
class ListClustersResponse
|
378
|
+
# @private
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
+
collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
|
381
|
+
|
382
|
+
property :next_page_token, as: 'nextPageToken'
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
class DiagnoseClusterRequest
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
class SubmitJobRequest
|
393
|
+
# @private
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
|
396
|
+
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
class Job
|
401
|
+
# @private
|
402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
403
|
+
property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
|
404
|
+
|
405
|
+
property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
|
406
|
+
|
407
|
+
property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
|
408
|
+
|
409
|
+
property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
|
410
|
+
|
411
|
+
property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
|
412
|
+
|
413
|
+
property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
|
414
|
+
|
415
|
+
property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
|
416
|
+
|
417
|
+
property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
|
418
|
+
|
419
|
+
property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
420
|
+
|
421
|
+
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
|
422
|
+
|
423
|
+
property :driver_output_resource_uri, as: 'driverOutputResourceUri'
|
424
|
+
property :driver_control_files_uri, as: 'driverControlFilesUri'
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
class JobReference
|
429
|
+
# @private
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
+
property :project_id, as: 'projectId'
|
432
|
+
property :job_id, as: 'jobId'
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class JobPlacement
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :cluster_name, as: 'clusterName'
|
440
|
+
property :cluster_uuid, as: 'clusterUuid'
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
class HadoopJob
|
445
|
+
# @private
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
property :main_jar_file_uri, as: 'mainJarFileUri'
|
448
|
+
property :main_class, as: 'mainClass'
|
449
|
+
collection :args, as: 'args'
|
450
|
+
collection :jar_file_uris, as: 'jarFileUris'
|
451
|
+
collection :file_uris, as: 'fileUris'
|
452
|
+
collection :archive_uris, as: 'archiveUris'
|
453
|
+
hash :properties, as: 'properties'
|
454
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
455
|
+
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
class LoggingConfig
|
460
|
+
# @private
|
461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
462
|
+
hash :driver_log_levels, as: 'driverLogLevels'
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
466
|
+
class SparkJob
|
467
|
+
# @private
|
468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
469
|
+
property :main_jar_file_uri, as: 'mainJarFileUri'
|
470
|
+
property :main_class, as: 'mainClass'
|
471
|
+
collection :args, as: 'args'
|
472
|
+
collection :jar_file_uris, as: 'jarFileUris'
|
473
|
+
collection :file_uris, as: 'fileUris'
|
474
|
+
collection :archive_uris, as: 'archiveUris'
|
475
|
+
hash :properties, as: 'properties'
|
476
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
477
|
+
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class PySparkJob
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
property :main_python_file_uri, as: 'mainPythonFileUri'
|
485
|
+
collection :args, as: 'args'
|
486
|
+
collection :python_file_uris, as: 'pythonFileUris'
|
487
|
+
collection :jar_file_uris, as: 'jarFileUris'
|
488
|
+
collection :file_uris, as: 'fileUris'
|
489
|
+
collection :archive_uris, as: 'archiveUris'
|
490
|
+
hash :properties, as: 'properties'
|
491
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
492
|
+
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
class HiveJob
|
497
|
+
# @private
|
498
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
499
|
+
property :query_file_uri, as: 'queryFileUri'
|
500
|
+
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
501
|
+
|
502
|
+
property :continue_on_failure, as: 'continueOnFailure'
|
503
|
+
hash :script_variables, as: 'scriptVariables'
|
504
|
+
hash :properties, as: 'properties'
|
505
|
+
collection :jar_file_uris, as: 'jarFileUris'
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
class QueryList
|
510
|
+
# @private
|
511
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
512
|
+
collection :queries, as: 'queries'
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
class PigJob
|
517
|
+
# @private
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
property :query_file_uri, as: 'queryFileUri'
|
520
|
+
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
521
|
+
|
522
|
+
property :continue_on_failure, as: 'continueOnFailure'
|
523
|
+
hash :script_variables, as: 'scriptVariables'
|
524
|
+
hash :properties, as: 'properties'
|
525
|
+
collection :jar_file_uris, as: 'jarFileUris'
|
526
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
527
|
+
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
class SparkSqlJob
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :query_file_uri, as: 'queryFileUri'
|
535
|
+
property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
|
536
|
+
|
537
|
+
hash :script_variables, as: 'scriptVariables'
|
538
|
+
hash :properties, as: 'properties'
|
539
|
+
collection :jar_file_uris, as: 'jarFileUris'
|
540
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
|
541
|
+
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
class JobStatus
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
property :state, as: 'state'
|
549
|
+
property :details, as: 'details'
|
550
|
+
property :state_start_time, as: 'stateStartTime'
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
class ListJobsResponse
|
555
|
+
# @private
|
556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
+
collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
|
558
|
+
|
559
|
+
property :next_page_token, as: 'nextPageToken'
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
class CancelJobRequest
|
564
|
+
# @private
|
565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
class Empty
|
570
|
+
# @private
|
571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
class ListOperationsResponse
|
576
|
+
# @private
|
577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
|
579
|
+
|
580
|
+
property :next_page_token, as: 'nextPageToken'
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
class DiagnoseClusterResults
|
585
|
+
# @private
|
586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
587
|
+
property :output_uri, as: 'outputUri'
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
class ClusterOperationMetadata
|
592
|
+
# @private
|
593
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
594
|
+
property :cluster_name, as: 'clusterName'
|
595
|
+
property :cluster_uuid, as: 'clusterUuid'
|
596
|
+
property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
597
|
+
|
598
|
+
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
|
599
|
+
|
600
|
+
property :operation_type, as: 'operationType'
|
601
|
+
property :description, as: 'description'
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
class ClusterOperationStatus
|
606
|
+
# @private
|
607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
608
|
+
property :state, as: 'state'
|
609
|
+
property :inner_state, as: 'innerState'
|
610
|
+
property :details, as: 'details'
|
611
|
+
property :state_start_time, as: 'stateStartTime'
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
48
615
|
class DiagnoseClusterOutputLocation
|
49
616
|
# @private
|
50
617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -67,6 +634,8 @@ module Google
|
|
67
634
|
|
68
635
|
collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
|
69
636
|
|
637
|
+
property :operation_type, as: 'operationType'
|
638
|
+
property :description, as: 'description'
|
70
639
|
end
|
71
640
|
end
|
72
641
|
|