google-api-client 0.9.28 → 0.10.0

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.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +10 -0
  4. data/api_names.yaml +36512 -36326
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4.rb +3 -3
  12. data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
  13. data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
  14. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/classroom_v1.rb +22 -25
  20. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  21. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  22. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
  26. data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
  27. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  28. data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
  29. data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
  30. data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
  31. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
  33. data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
  34. data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
  35. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
  37. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
  41. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
  43. data/generated/google/apis/cloudtrace_v1.rb +8 -8
  44. data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
  45. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  46. data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +406 -31
  49. data/generated/google/apis/compute_beta/representations.rb +154 -0
  50. data/generated/google/apis/compute_beta/service.rb +262 -9
  51. data/generated/google/apis/compute_v1.rb +1 -1
  52. data/generated/google/apis/compute_v1/classes.rb +17 -20
  53. data/generated/google/apis/content_v2.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  55. data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
  56. data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
  57. data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
  58. data/generated/google/apis/dataproc_v1.rb +2 -2
  59. data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
  60. data/generated/google/apis/dataproc_v1/representations.rb +262 -244
  61. data/generated/google/apis/dataproc_v1/service.rb +298 -243
  62. data/generated/google/apis/datastore_v1.rb +4 -4
  63. data/generated/google/apis/datastore_v1/classes.rb +728 -728
  64. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  65. data/generated/google/apis/datastore_v1/service.rb +68 -68
  66. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v3.rb +1 -1
  69. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  70. data/generated/google/apis/games_management_v1management.rb +1 -1
  71. data/generated/google/apis/games_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1.rb +7 -7
  73. data/generated/google/apis/genomics_v1/classes.rb +932 -932
  74. data/generated/google/apis/genomics_v1/representations.rb +205 -205
  75. data/generated/google/apis/genomics_v1/service.rb +1228 -1228
  76. data/generated/google/apis/gmail_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +440 -440
  78. data/generated/google/apis/iam_v1/representations.rb +94 -94
  79. data/generated/google/apis/iam_v1/service.rb +60 -60
  80. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  81. data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
  82. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  83. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  84. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  85. data/generated/google/apis/kgsearch_v1/service.rb +21 -21
  86. data/generated/google/apis/language_v1beta1.rb +1 -1
  87. data/generated/google/apis/language_v1beta1/classes.rb +232 -232
  88. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  89. data/generated/google/apis/logging_v2beta1.rb +1 -1
  90. data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
  91. data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
  92. data/generated/google/apis/logging_v2beta1/service.rb +331 -306
  93. data/generated/google/apis/monitoring_v3.rb +1 -1
  94. data/generated/google/apis/monitoring_v3/classes.rb +253 -253
  95. data/generated/google/apis/monitoring_v3/representations.rb +58 -58
  96. data/generated/google/apis/monitoring_v3/service.rb +135 -135
  97. data/generated/google/apis/people_v1.rb +15 -16
  98. data/generated/google/apis/people_v1/classes.rb +985 -855
  99. data/generated/google/apis/people_v1/representations.rb +227 -220
  100. data/generated/google/apis/people_v1/service.rb +58 -52
  101. data/generated/google/apis/plus_domains_v1.rb +1 -1
  102. data/generated/google/apis/plus_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/classes.rb +257 -257
  105. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  106. data/generated/google/apis/pubsub_v1/service.rb +390 -390
  107. data/generated/google/apis/script_v1.rb +17 -17
  108. data/generated/google/apis/script_v1/classes.rb +149 -141
  109. data/generated/google/apis/script_v1/representations.rb +26 -27
  110. data/generated/google/apis/script_v1/service.rb +9 -8
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
  113. data/generated/google/apis/sheets_v4/representations.rb +850 -834
  114. data/generated/google/apis/sheets_v4/service.rb +192 -192
  115. data/generated/google/apis/slides_v1.rb +1 -1
  116. data/generated/google/apis/slides_v1/classes.rb +927 -800
  117. data/generated/google/apis/slides_v1/representations.rb +253 -211
  118. data/generated/google/apis/speech_v1beta1.rb +1 -1
  119. data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
  120. data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
  121. data/generated/google/apis/speech_v1beta1/service.rb +51 -54
  122. data/generated/google/apis/storage_v1.rb +1 -1
  123. data/generated/google/apis/vision_v1.rb +1 -1
  124. data/generated/google/apis/vision_v1/classes.rb +888 -885
  125. data/generated/google/apis/vision_v1/representations.rb +139 -139
  126. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  127. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
  128. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  129. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  130. data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
  131. data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
  132. data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
  133. data/google-api-client.gemspec +2 -2
  134. data/lib/google/apis/core/api_command.rb +1 -1
  135. data/lib/google/apis/core/json_representation.rb +2 -2
  136. data/lib/google/apis/version.rb +1 -1
  137. data/samples/cli/lib/samples/you_tube.rb +4 -1
  138. metadata +36 -30
@@ -22,25 +22,25 @@ module Google
22
22
  module Apis
23
23
  module DataprocV1
24
24
 
25
- class Cluster
25
+ class YarnApplication
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class ClusterConfig
31
+ class QueryList
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class GceClusterConfig
37
+ class HadoopJob
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class InstanceGroupConfig
43
+ class DiagnoseClusterRequest
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
@@ -52,121 +52,121 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class ManagedGroupConfig
55
+ class ClusterOperationMetadata
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class SoftwareConfig
61
+ class Empty
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class NodeInitializationAction
67
+ class HiveJob
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class ClusterStatus
73
+ class DiagnoseClusterResults
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class ClusterMetrics
79
+ class ClusterConfig
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class Operation
85
+ class PySparkJob
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class Status
91
+ class GceClusterConfig
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class ListClustersResponse
97
+ class ClusterMetrics
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class DiagnoseClusterRequest
103
+ class LoggingConfig
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class SubmitJobRequest
109
+ class DiagnoseClusterOutputLocation
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class Job
115
+ class Operation
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class JobReference
121
+ class OperationStatus
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class JobPlacement
127
+ class JobReference
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class HadoopJob
133
+ class SubmitJobRequest
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class LoggingConfig
139
+ class Status
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class SparkJob
145
+ class JobScheduling
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class PySparkJob
151
+ class InstanceGroupConfig
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class HiveJob
157
+ class ListJobsResponse
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class QueryList
163
+ class NodeInitializationAction
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class PigJob
169
+ class CancelJobRequest
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
@@ -178,264 +178,261 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class JobStatus
181
+ class Cluster
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class YarnApplication
187
+ class ListOperationsResponse
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class ListJobsResponse
193
+ class OperationMetadata
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class CancelJobRequest
199
+ class JobPlacement
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class Empty
205
+ class SoftwareConfig
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class ListOperationsResponse
211
+ class PigJob
212
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
213
 
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class DiagnoseClusterResults
217
+ class ClusterStatus
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class ClusterOperationMetadata
223
+ class ListClustersResponse
224
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
225
 
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class ClusterOperationStatus
229
+ class Job
230
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
231
 
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
- class DiagnoseClusterOutputLocation
235
+ class SparkJob
236
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
237
 
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class OperationMetadata
241
+ class JobStatus
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
- class OperationStatus
247
+ class ManagedGroupConfig
248
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
249
 
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
- class Cluster
254
- # @private
255
- class Representation < Google::Apis::Core::JsonRepresentation
256
- property :project_id, as: 'projectId'
257
- property :cluster_name, as: 'clusterName'
258
- property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
259
-
260
- hash :labels, as: 'labels'
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
- property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
253
+ class ClusterOperationStatus
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
255
 
268
- end
256
+ include Google::Apis::Core::JsonObjectSupport
269
257
  end
270
258
 
271
- class ClusterConfig
259
+ class YarnApplication
272
260
  # @private
273
261
  class Representation < Google::Apis::Core::JsonRepresentation
274
- property :config_bucket, as: 'configBucket'
275
- property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
276
-
277
- property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
278
-
279
- property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
280
-
281
- property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
282
-
283
- property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
284
-
285
- collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
286
-
262
+ property :name, as: 'name'
263
+ property :tracking_url, as: 'trackingUrl'
264
+ property :progress, as: 'progress'
265
+ property :state, as: 'state'
287
266
  end
288
267
  end
289
268
 
290
- class GceClusterConfig
269
+ class QueryList
291
270
  # @private
292
271
  class Representation < Google::Apis::Core::JsonRepresentation
293
- property :zone_uri, as: 'zoneUri'
294
- property :network_uri, as: 'networkUri'
295
- property :subnetwork_uri, as: 'subnetworkUri'
296
- property :internal_ip_only, as: 'internalIpOnly'
297
- collection :service_account_scopes, as: 'serviceAccountScopes'
298
- collection :tags, as: 'tags'
299
- hash :metadata, as: 'metadata'
272
+ collection :queries, as: 'queries'
300
273
  end
301
274
  end
302
275
 
303
- class InstanceGroupConfig
276
+ class HadoopJob
304
277
  # @private
305
278
  class Representation < Google::Apis::Core::JsonRepresentation
306
- property :num_instances, as: 'numInstances'
307
- collection :instance_names, as: 'instanceNames'
308
- property :image_uri, as: 'imageUri'
309
- property :machine_type_uri, as: 'machineTypeUri'
310
- property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
279
+ collection :jar_file_uris, as: 'jarFileUris'
280
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
311
281
 
312
- property :is_preemptible, as: 'isPreemptible'
313
- property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
282
+ hash :properties, as: 'properties'
283
+ collection :args, as: 'args'
284
+ collection :file_uris, as: 'fileUris'
285
+ property :main_class, as: 'mainClass'
286
+ collection :archive_uris, as: 'archiveUris'
287
+ property :main_jar_file_uri, as: 'mainJarFileUri'
288
+ end
289
+ end
314
290
 
291
+ class DiagnoseClusterRequest
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
315
294
  end
316
295
  end
317
296
 
318
297
  class DiskConfig
319
298
  # @private
320
299
  class Representation < Google::Apis::Core::JsonRepresentation
321
- property :boot_disk_size_gb, as: 'bootDiskSizeGb'
322
300
  property :num_local_ssds, as: 'numLocalSsds'
301
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
323
302
  end
324
303
  end
325
304
 
326
- class ManagedGroupConfig
305
+ class ClusterOperationMetadata
327
306
  # @private
328
307
  class Representation < Google::Apis::Core::JsonRepresentation
329
- property :instance_template_name, as: 'instanceTemplateName'
330
- property :instance_group_manager_name, as: 'instanceGroupManagerName'
308
+ collection :warnings, as: 'warnings'
309
+ hash :labels, as: 'labels'
310
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
311
+
312
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
313
+
314
+ property :cluster_name, as: 'clusterName'
315
+ property :cluster_uuid, as: 'clusterUuid'
316
+ property :operation_type, as: 'operationType'
317
+ property :description, as: 'description'
331
318
  end
332
319
  end
333
320
 
334
- class SoftwareConfig
321
+ class Empty
335
322
  # @private
336
323
  class Representation < Google::Apis::Core::JsonRepresentation
337
- property :image_version, as: 'imageVersion'
338
- hash :properties, as: 'properties'
339
324
  end
340
325
  end
341
326
 
342
- class NodeInitializationAction
327
+ class HiveJob
343
328
  # @private
344
329
  class Representation < Google::Apis::Core::JsonRepresentation
345
- property :executable_file, as: 'executableFile'
346
- property :execution_timeout, as: 'executionTimeout'
330
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
331
+
332
+ property :query_file_uri, as: 'queryFileUri'
333
+ collection :jar_file_uris, as: 'jarFileUris'
334
+ hash :script_variables, as: 'scriptVariables'
335
+ hash :properties, as: 'properties'
336
+ property :continue_on_failure, as: 'continueOnFailure'
347
337
  end
348
338
  end
349
339
 
350
- class ClusterStatus
340
+ class DiagnoseClusterResults
351
341
  # @private
352
342
  class Representation < Google::Apis::Core::JsonRepresentation
353
- property :state, as: 'state'
354
- property :detail, as: 'detail'
355
- property :state_start_time, as: 'stateStartTime'
343
+ property :output_uri, as: 'outputUri'
356
344
  end
357
345
  end
358
346
 
359
- class ClusterMetrics
347
+ class ClusterConfig
360
348
  # @private
361
349
  class Representation < Google::Apis::Core::JsonRepresentation
362
- hash :hdfs_metrics, as: 'hdfsMetrics'
363
- hash :yarn_metrics, as: 'yarnMetrics'
350
+ property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
351
+
352
+ property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
353
+
354
+ property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
355
+
356
+ property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
357
+
358
+ collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
359
+
360
+ property :config_bucket, as: 'configBucket'
361
+ property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
362
+
364
363
  end
365
364
  end
366
365
 
367
- class Operation
366
+ class PySparkJob
368
367
  # @private
369
368
  class Representation < Google::Apis::Core::JsonRepresentation
370
- property :name, as: 'name'
371
- hash :metadata, as: 'metadata'
372
- property :done, as: 'done'
373
- property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
369
+ property :main_python_file_uri, as: 'mainPythonFileUri'
370
+ collection :archive_uris, as: 'archiveUris'
371
+ collection :jar_file_uris, as: 'jarFileUris'
372
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
374
373
 
375
- hash :response, as: 'response'
374
+ hash :properties, as: 'properties'
375
+ collection :args, as: 'args'
376
+ collection :file_uris, as: 'fileUris'
377
+ collection :python_file_uris, as: 'pythonFileUris'
376
378
  end
377
379
  end
378
380
 
379
- class Status
381
+ class GceClusterConfig
380
382
  # @private
381
383
  class Representation < Google::Apis::Core::JsonRepresentation
382
- property :code, as: 'code'
383
- property :message, as: 'message'
384
- collection :details, as: 'details'
384
+ collection :tags, as: 'tags'
385
+ property :service_account, as: 'serviceAccount'
386
+ property :subnetwork_uri, as: 'subnetworkUri'
387
+ property :network_uri, as: 'networkUri'
388
+ property :zone_uri, as: 'zoneUri'
389
+ property :internal_ip_only, as: 'internalIpOnly'
390
+ hash :metadata, as: 'metadata'
391
+ collection :service_account_scopes, as: 'serviceAccountScopes'
385
392
  end
386
393
  end
387
394
 
388
- class ListClustersResponse
395
+ class ClusterMetrics
389
396
  # @private
390
397
  class Representation < Google::Apis::Core::JsonRepresentation
391
- collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
392
-
393
- property :next_page_token, as: 'nextPageToken'
398
+ hash :hdfs_metrics, as: 'hdfsMetrics'
399
+ hash :yarn_metrics, as: 'yarnMetrics'
394
400
  end
395
401
  end
396
402
 
397
- class DiagnoseClusterRequest
403
+ class LoggingConfig
398
404
  # @private
399
405
  class Representation < Google::Apis::Core::JsonRepresentation
406
+ hash :driver_log_levels, as: 'driverLogLevels'
400
407
  end
401
408
  end
402
409
 
403
- class SubmitJobRequest
410
+ class DiagnoseClusterOutputLocation
404
411
  # @private
405
412
  class Representation < Google::Apis::Core::JsonRepresentation
406
- property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
407
-
413
+ property :output_uri, as: 'outputUri'
408
414
  end
409
415
  end
410
416
 
411
- class Job
417
+ class Operation
412
418
  # @private
413
419
  class Representation < Google::Apis::Core::JsonRepresentation
414
- property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
415
-
416
- property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
417
-
418
- property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
419
-
420
- property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
421
-
422
- property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
423
-
424
- property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
425
-
426
- property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
427
-
428
- property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
429
-
430
- property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
431
-
432
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
420
+ property :done, as: 'done'
421
+ hash :response, as: 'response'
422
+ property :name, as: 'name'
423
+ property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
433
424
 
434
- collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
425
+ hash :metadata, as: 'metadata'
426
+ end
427
+ end
435
428
 
436
- property :driver_output_resource_uri, as: 'driverOutputResourceUri'
437
- property :driver_control_files_uri, as: 'driverControlFilesUri'
438
- hash :labels, as: 'labels'
429
+ class OperationStatus
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ property :state, as: 'state'
433
+ property :details, as: 'details'
434
+ property :inner_state, as: 'innerState'
435
+ property :state_start_time, as: 'stateStartTime'
439
436
  end
440
437
  end
441
438
 
@@ -447,229 +444,250 @@ module Google
447
444
  end
448
445
  end
449
446
 
450
- class JobPlacement
447
+ class SubmitJobRequest
451
448
  # @private
452
449
  class Representation < Google::Apis::Core::JsonRepresentation
453
- property :cluster_name, as: 'clusterName'
454
- property :cluster_uuid, as: 'clusterUuid'
450
+ property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
451
+
455
452
  end
456
453
  end
457
454
 
458
- class HadoopJob
455
+ class Status
459
456
  # @private
460
457
  class Representation < Google::Apis::Core::JsonRepresentation
461
- property :main_jar_file_uri, as: 'mainJarFileUri'
462
- property :main_class, as: 'mainClass'
463
- collection :args, as: 'args'
464
- collection :jar_file_uris, as: 'jarFileUris'
465
- collection :file_uris, as: 'fileUris'
466
- collection :archive_uris, as: 'archiveUris'
467
- hash :properties, as: 'properties'
468
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
469
-
458
+ property :code, as: 'code'
459
+ property :message, as: 'message'
460
+ collection :details, as: 'details'
470
461
  end
471
462
  end
472
463
 
473
- class LoggingConfig
464
+ class JobScheduling
474
465
  # @private
475
466
  class Representation < Google::Apis::Core::JsonRepresentation
476
- hash :driver_log_levels, as: 'driverLogLevels'
467
+ property :max_failures_per_hour, as: 'maxFailuresPerHour'
477
468
  end
478
469
  end
479
470
 
480
- class SparkJob
471
+ class InstanceGroupConfig
481
472
  # @private
482
473
  class Representation < Google::Apis::Core::JsonRepresentation
483
- property :main_jar_file_uri, as: 'mainJarFileUri'
484
- property :main_class, as: 'mainClass'
485
- collection :args, as: 'args'
486
- collection :jar_file_uris, as: 'jarFileUris'
487
- collection :file_uris, as: 'fileUris'
488
- collection :archive_uris, as: 'archiveUris'
489
- hash :properties, as: 'properties'
490
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
474
+ property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
475
+
476
+ property :machine_type_uri, as: 'machineTypeUri'
477
+ property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
491
478
 
479
+ property :is_preemptible, as: 'isPreemptible'
480
+ property :image_uri, as: 'imageUri'
481
+ collection :instance_names, as: 'instanceNames'
482
+ property :num_instances, as: 'numInstances'
492
483
  end
493
484
  end
494
485
 
495
- class PySparkJob
486
+ class ListJobsResponse
496
487
  # @private
497
488
  class Representation < Google::Apis::Core::JsonRepresentation
498
- property :main_python_file_uri, as: 'mainPythonFileUri'
499
- collection :args, as: 'args'
500
- collection :python_file_uris, as: 'pythonFileUris'
501
- collection :jar_file_uris, as: 'jarFileUris'
502
- collection :file_uris, as: 'fileUris'
503
- collection :archive_uris, as: 'archiveUris'
504
- hash :properties, as: 'properties'
505
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
489
+ collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
506
490
 
491
+ property :next_page_token, as: 'nextPageToken'
507
492
  end
508
493
  end
509
494
 
510
- class HiveJob
495
+ class NodeInitializationAction
511
496
  # @private
512
497
  class Representation < Google::Apis::Core::JsonRepresentation
513
- property :query_file_uri, as: 'queryFileUri'
514
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
515
-
516
- property :continue_on_failure, as: 'continueOnFailure'
517
- hash :script_variables, as: 'scriptVariables'
518
- hash :properties, as: 'properties'
519
- collection :jar_file_uris, as: 'jarFileUris'
498
+ property :executable_file, as: 'executableFile'
499
+ property :execution_timeout, as: 'executionTimeout'
520
500
  end
521
501
  end
522
502
 
523
- class QueryList
503
+ class CancelJobRequest
524
504
  # @private
525
505
  class Representation < Google::Apis::Core::JsonRepresentation
526
- collection :queries, as: 'queries'
527
506
  end
528
507
  end
529
508
 
530
- class PigJob
509
+ class SparkSqlJob
531
510
  # @private
532
511
  class Representation < Google::Apis::Core::JsonRepresentation
533
512
  property :query_file_uri, as: 'queryFileUri'
534
513
  property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
535
514
 
536
- property :continue_on_failure, as: 'continueOnFailure'
537
515
  hash :script_variables, as: 'scriptVariables'
538
- hash :properties, as: 'properties'
539
516
  collection :jar_file_uris, as: 'jarFileUris'
540
517
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
541
518
 
519
+ hash :properties, as: 'properties'
542
520
  end
543
521
  end
544
522
 
545
- class SparkSqlJob
523
+ class Cluster
546
524
  # @private
547
525
  class Representation < Google::Apis::Core::JsonRepresentation
548
- property :query_file_uri, as: 'queryFileUri'
549
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
526
+ hash :labels, as: 'labels'
527
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
550
528
 
551
- hash :script_variables, as: 'scriptVariables'
552
- hash :properties, as: 'properties'
553
- collection :jar_file_uris, as: 'jarFileUris'
554
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
529
+ property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
530
+
531
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
532
+
533
+ property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
555
534
 
535
+ property :cluster_uuid, as: 'clusterUuid'
536
+ property :cluster_name, as: 'clusterName'
537
+ property :project_id, as: 'projectId'
556
538
  end
557
539
  end
558
540
 
559
- class JobStatus
541
+ class ListOperationsResponse
560
542
  # @private
561
543
  class Representation < Google::Apis::Core::JsonRepresentation
562
- property :state, as: 'state'
563
- property :details, as: 'details'
564
- property :state_start_time, as: 'stateStartTime'
544
+ property :next_page_token, as: 'nextPageToken'
545
+ collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
546
+
565
547
  end
566
548
  end
567
549
 
568
- class YarnApplication
550
+ class OperationMetadata
569
551
  # @private
570
552
  class Representation < Google::Apis::Core::JsonRepresentation
571
- property :name, as: 'name'
553
+ property :operation_type, as: 'operationType'
554
+ property :description, as: 'description'
555
+ property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
556
+
557
+ property :details, as: 'details'
572
558
  property :state, as: 'state'
573
- property :progress, as: 'progress'
574
- property :tracking_url, as: 'trackingUrl'
559
+ property :cluster_name, as: 'clusterName'
560
+ property :cluster_uuid, as: 'clusterUuid'
561
+ property :inner_state, as: 'innerState'
562
+ property :end_time, as: 'endTime'
563
+ property :start_time, as: 'startTime'
564
+ collection :warnings, as: 'warnings'
565
+ property :insert_time, as: 'insertTime'
566
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
567
+
575
568
  end
576
569
  end
577
570
 
578
- class ListJobsResponse
571
+ class JobPlacement
579
572
  # @private
580
573
  class Representation < Google::Apis::Core::JsonRepresentation
581
- collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
582
-
583
- property :next_page_token, as: 'nextPageToken'
574
+ property :cluster_name, as: 'clusterName'
575
+ property :cluster_uuid, as: 'clusterUuid'
584
576
  end
585
577
  end
586
578
 
587
- class CancelJobRequest
579
+ class SoftwareConfig
588
580
  # @private
589
581
  class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :image_version, as: 'imageVersion'
583
+ hash :properties, as: 'properties'
590
584
  end
591
585
  end
592
586
 
593
- class Empty
587
+ class PigJob
594
588
  # @private
595
589
  class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
591
+
592
+ property :query_file_uri, as: 'queryFileUri'
593
+ collection :jar_file_uris, as: 'jarFileUris'
594
+ hash :script_variables, as: 'scriptVariables'
595
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
596
+
597
+ hash :properties, as: 'properties'
598
+ property :continue_on_failure, as: 'continueOnFailure'
596
599
  end
597
600
  end
598
601
 
599
- class ListOperationsResponse
602
+ class ClusterStatus
600
603
  # @private
601
604
  class Representation < Google::Apis::Core::JsonRepresentation
602
- collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
603
-
604
- property :next_page_token, as: 'nextPageToken'
605
+ property :state_start_time, as: 'stateStartTime'
606
+ property :detail, as: 'detail'
607
+ property :state, as: 'state'
605
608
  end
606
609
  end
607
610
 
608
- class DiagnoseClusterResults
611
+ class ListClustersResponse
609
612
  # @private
610
613
  class Representation < Google::Apis::Core::JsonRepresentation
611
- property :output_uri, as: 'outputUri'
614
+ collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
615
+
616
+ property :next_page_token, as: 'nextPageToken'
612
617
  end
613
618
  end
614
619
 
615
- class ClusterOperationMetadata
620
+ class Job
616
621
  # @private
617
622
  class Representation < Google::Apis::Core::JsonRepresentation
618
- property :cluster_name, as: 'clusterName'
619
- property :cluster_uuid, as: 'clusterUuid'
620
- property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
623
+ property :driver_control_files_uri, as: 'driverControlFilesUri'
624
+ property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
621
625
 
622
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
626
+ property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
627
+
628
+ property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
623
629
 
624
- property :operation_type, as: 'operationType'
625
- property :description, as: 'description'
626
630
  hash :labels, as: 'labels'
631
+ property :driver_output_resource_uri, as: 'driverOutputResourceUri'
632
+ property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
633
+
634
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
635
+
636
+ property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
637
+
638
+ collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
639
+
640
+ property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
641
+
642
+ property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
643
+
644
+ property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
645
+
646
+ property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
647
+
648
+ property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
649
+
627
650
  end
628
651
  end
629
652
 
630
- class ClusterOperationStatus
653
+ class SparkJob
631
654
  # @private
632
655
  class Representation < Google::Apis::Core::JsonRepresentation
633
- property :state, as: 'state'
634
- property :inner_state, as: 'innerState'
635
- property :details, as: 'details'
636
- property :state_start_time, as: 'stateStartTime'
656
+ collection :jar_file_uris, as: 'jarFileUris'
657
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
658
+
659
+ hash :properties, as: 'properties'
660
+ collection :args, as: 'args'
661
+ collection :file_uris, as: 'fileUris'
662
+ property :main_class, as: 'mainClass'
663
+ collection :archive_uris, as: 'archiveUris'
664
+ property :main_jar_file_uri, as: 'mainJarFileUri'
637
665
  end
638
666
  end
639
667
 
640
- class DiagnoseClusterOutputLocation
668
+ class JobStatus
641
669
  # @private
642
670
  class Representation < Google::Apis::Core::JsonRepresentation
643
- property :output_uri, as: 'outputUri'
671
+ property :state, as: 'state'
672
+ property :details, as: 'details'
673
+ property :state_start_time, as: 'stateStartTime'
644
674
  end
645
675
  end
646
676
 
647
- class OperationMetadata
677
+ class ManagedGroupConfig
648
678
  # @private
649
679
  class Representation < Google::Apis::Core::JsonRepresentation
650
- property :state, as: 'state'
651
- property :inner_state, as: 'innerState'
652
- property :details, as: 'details'
653
- property :insert_time, as: 'insertTime'
654
- property :start_time, as: 'startTime'
655
- property :end_time, as: 'endTime'
656
- property :cluster_name, as: 'clusterName'
657
- property :cluster_uuid, as: 'clusterUuid'
658
- property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
659
-
660
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
661
-
662
- property :operation_type, as: 'operationType'
663
- property :description, as: 'description'
680
+ property :instance_group_manager_name, as: 'instanceGroupManagerName'
681
+ property :instance_template_name, as: 'instanceTemplateName'
664
682
  end
665
683
  end
666
684
 
667
- class OperationStatus
685
+ class ClusterOperationStatus
668
686
  # @private
669
687
  class Representation < Google::Apis::Core::JsonRepresentation
670
688
  property :state, as: 'state'
671
- property :inner_state, as: 'innerState'
672
689
  property :details, as: 'details'
690
+ property :inner_state, as: 'innerState'
673
691
  property :state_start_time, as: 'stateStartTime'
674
692
  end
675
693
  end