google-apis-dataproc_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
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
+ module Google
16
+ module Apis
17
+ module DataprocV1
18
+ # Version of the google-apis-dataproc_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201229"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1381 @@
1
+ # Copyright 2020 Google LLC
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 DataprocV1
24
+
25
+ class AcceleratorConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AutoscalingConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AutoscalingPolicy
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BasicAutoscalingAlgorithm
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BasicYarnAutoscalingConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Binding
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CancelJobRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Cluster
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ClusterConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ClusterMetrics
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ClusterOperation
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ClusterOperationMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ClusterOperationStatus
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ClusterSelector
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ClusterStatus
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DiagnoseClusterRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DiagnoseClusterResults
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DiskConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Empty
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class EncryptionConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class EndpointConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Expr
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GceClusterConfig
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GetIamPolicyRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GetPolicyOptions
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class HadoopJob
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class HiveJob
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class InjectCredentialsRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class InstanceGroupAutoscalingPolicyConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class InstanceGroupConfig
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class InstanceReference
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class InstantiateWorkflowTemplateRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Job
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class JobMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class JobPlacement
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class JobReference
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class JobScheduling
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class JobStatus
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class KerberosConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class LifecycleConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ListAutoscalingPoliciesResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ListClustersResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ListJobsResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ListOperationsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ListWorkflowTemplatesResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class LoggingConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class ManagedCluster
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ManagedGroupConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class NodeGroupAffinity
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class NodeInitializationAction
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class Operation
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class OrderedJob
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ParameterValidation
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class PigJob
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class Policy
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class PrestoJob
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class PySparkJob
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class QueryList
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class RegexValidation
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class ReservationAffinity
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class SecurityConfig
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class SetIamPolicyRequest
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class ShieldedInstanceConfig
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class SoftwareConfig
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class SparkJob
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class SparkRJob
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class SparkSqlJob
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class Status
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class SubmitJobRequest
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class TemplateParameter
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class TestIamPermissionsRequest
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class TestIamPermissionsResponse
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class ValueValidation
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class WorkflowGraph
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class WorkflowMetadata
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class WorkflowNode
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class WorkflowTemplate
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class WorkflowTemplatePlacement
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class YarnApplication
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class AcceleratorConfig
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :accelerator_count, as: 'acceleratorCount'
503
+ property :accelerator_type_uri, as: 'acceleratorTypeUri'
504
+ end
505
+ end
506
+
507
+ class AutoscalingConfig
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :policy_uri, as: 'policyUri'
511
+ end
512
+ end
513
+
514
+ class AutoscalingPolicy
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :basic_algorithm, as: 'basicAlgorithm', class: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm, decorator: Google::Apis::DataprocV1::BasicAutoscalingAlgorithm::Representation
518
+
519
+ property :id, as: 'id'
520
+ property :name, as: 'name'
521
+ property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig::Representation
522
+
523
+ property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig, decorator: Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig::Representation
524
+
525
+ end
526
+ end
527
+
528
+ class BasicAutoscalingAlgorithm
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :cooldown_period, as: 'cooldownPeriod'
532
+ property :yarn_config, as: 'yarnConfig', class: Google::Apis::DataprocV1::BasicYarnAutoscalingConfig, decorator: Google::Apis::DataprocV1::BasicYarnAutoscalingConfig::Representation
533
+
534
+ end
535
+ end
536
+
537
+ class BasicYarnAutoscalingConfig
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :graceful_decommission_timeout, as: 'gracefulDecommissionTimeout'
541
+ property :scale_down_factor, as: 'scaleDownFactor'
542
+ property :scale_down_min_worker_fraction, as: 'scaleDownMinWorkerFraction'
543
+ property :scale_up_factor, as: 'scaleUpFactor'
544
+ property :scale_up_min_worker_fraction, as: 'scaleUpMinWorkerFraction'
545
+ end
546
+ end
547
+
548
+ class Binding
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :condition, as: 'condition', class: Google::Apis::DataprocV1::Expr, decorator: Google::Apis::DataprocV1::Expr::Representation
552
+
553
+ collection :members, as: 'members'
554
+ property :role, as: 'role'
555
+ end
556
+ end
557
+
558
+ class CancelJobRequest
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ end
562
+ end
563
+
564
+ class Cluster
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :cluster_name, as: 'clusterName'
568
+ property :cluster_uuid, as: 'clusterUuid'
569
+ property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
570
+
571
+ hash :labels, as: 'labels'
572
+ property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
573
+
574
+ property :project_id, as: 'projectId'
575
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
576
+
577
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
578
+
579
+ end
580
+ end
581
+
582
+ class ClusterConfig
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::DataprocV1::AutoscalingConfig, decorator: Google::Apis::DataprocV1::AutoscalingConfig::Representation
586
+
587
+ property :config_bucket, as: 'configBucket'
588
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DataprocV1::EncryptionConfig, decorator: Google::Apis::DataprocV1::EncryptionConfig::Representation
589
+
590
+ property :endpoint_config, as: 'endpointConfig', class: Google::Apis::DataprocV1::EndpointConfig, decorator: Google::Apis::DataprocV1::EndpointConfig::Representation
591
+
592
+ property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
593
+
594
+ collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
595
+
596
+ property :lifecycle_config, as: 'lifecycleConfig', class: Google::Apis::DataprocV1::LifecycleConfig, decorator: Google::Apis::DataprocV1::LifecycleConfig::Representation
597
+
598
+ property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
599
+
600
+ property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
601
+
602
+ property :security_config, as: 'securityConfig', class: Google::Apis::DataprocV1::SecurityConfig, decorator: Google::Apis::DataprocV1::SecurityConfig::Representation
603
+
604
+ property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
605
+
606
+ property :temp_bucket, as: 'tempBucket'
607
+ property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
608
+
609
+ end
610
+ end
611
+
612
+ class ClusterMetrics
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ hash :hdfs_metrics, as: 'hdfsMetrics'
616
+ hash :yarn_metrics, as: 'yarnMetrics'
617
+ end
618
+ end
619
+
620
+ class ClusterOperation
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ property :done, as: 'done'
624
+ property :error, as: 'error'
625
+ property :operation_id, as: 'operationId'
626
+ end
627
+ end
628
+
629
+ class ClusterOperationMetadata
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :cluster_name, as: 'clusterName'
633
+ property :cluster_uuid, as: 'clusterUuid'
634
+ property :description, as: 'description'
635
+ hash :labels, as: 'labels'
636
+ property :operation_type, as: 'operationType'
637
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
638
+
639
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
640
+
641
+ collection :warnings, as: 'warnings'
642
+ end
643
+ end
644
+
645
+ class ClusterOperationStatus
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ property :details, as: 'details'
649
+ property :inner_state, as: 'innerState'
650
+ property :state, as: 'state'
651
+ property :state_start_time, as: 'stateStartTime'
652
+ end
653
+ end
654
+
655
+ class ClusterSelector
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ hash :cluster_labels, as: 'clusterLabels'
659
+ property :zone, as: 'zone'
660
+ end
661
+ end
662
+
663
+ class ClusterStatus
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :detail, as: 'detail'
667
+ property :state, as: 'state'
668
+ property :state_start_time, as: 'stateStartTime'
669
+ property :substate, as: 'substate'
670
+ end
671
+ end
672
+
673
+ class DiagnoseClusterRequest
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ end
677
+ end
678
+
679
+ class DiagnoseClusterResults
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :output_uri, as: 'outputUri'
683
+ end
684
+ end
685
+
686
+ class DiskConfig
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
690
+ property :boot_disk_type, as: 'bootDiskType'
691
+ property :num_local_ssds, as: 'numLocalSsds'
692
+ end
693
+ end
694
+
695
+ class Empty
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ end
699
+ end
700
+
701
+ class EncryptionConfig
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :gce_pd_kms_key_name, as: 'gcePdKmsKeyName'
705
+ end
706
+ end
707
+
708
+ class EndpointConfig
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :enable_http_port_access, as: 'enableHttpPortAccess'
712
+ hash :http_ports, as: 'httpPorts'
713
+ end
714
+ end
715
+
716
+ class Expr
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :description, as: 'description'
720
+ property :expression, as: 'expression'
721
+ property :location, as: 'location'
722
+ property :title, as: 'title'
723
+ end
724
+ end
725
+
726
+ class GceClusterConfig
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ property :internal_ip_only, as: 'internalIpOnly'
730
+ hash :metadata, as: 'metadata'
731
+ property :network_uri, as: 'networkUri'
732
+ property :node_group_affinity, as: 'nodeGroupAffinity', class: Google::Apis::DataprocV1::NodeGroupAffinity, decorator: Google::Apis::DataprocV1::NodeGroupAffinity::Representation
733
+
734
+ property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
735
+ property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::DataprocV1::ReservationAffinity, decorator: Google::Apis::DataprocV1::ReservationAffinity::Representation
736
+
737
+ property :service_account, as: 'serviceAccount'
738
+ collection :service_account_scopes, as: 'serviceAccountScopes'
739
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::DataprocV1::ShieldedInstanceConfig, decorator: Google::Apis::DataprocV1::ShieldedInstanceConfig::Representation
740
+
741
+ property :subnetwork_uri, as: 'subnetworkUri'
742
+ collection :tags, as: 'tags'
743
+ property :zone_uri, as: 'zoneUri'
744
+ end
745
+ end
746
+
747
+ class GetIamPolicyRequest
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :options, as: 'options', class: Google::Apis::DataprocV1::GetPolicyOptions, decorator: Google::Apis::DataprocV1::GetPolicyOptions::Representation
751
+
752
+ end
753
+ end
754
+
755
+ class GetPolicyOptions
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :requested_policy_version, as: 'requestedPolicyVersion'
759
+ end
760
+ end
761
+
762
+ class HadoopJob
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ collection :archive_uris, as: 'archiveUris'
766
+ collection :args, as: 'args'
767
+ collection :file_uris, as: 'fileUris'
768
+ collection :jar_file_uris, as: 'jarFileUris'
769
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
770
+
771
+ property :main_class, as: 'mainClass'
772
+ property :main_jar_file_uri, as: 'mainJarFileUri'
773
+ hash :properties, as: 'properties'
774
+ end
775
+ end
776
+
777
+ class HiveJob
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :continue_on_failure, as: 'continueOnFailure'
781
+ collection :jar_file_uris, as: 'jarFileUris'
782
+ hash :properties, as: 'properties'
783
+ property :query_file_uri, as: 'queryFileUri'
784
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
785
+
786
+ hash :script_variables, as: 'scriptVariables'
787
+ end
788
+ end
789
+
790
+ class InjectCredentialsRequest
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ property :cluster_uuid, as: 'clusterUuid'
794
+ property :credentials_ciphertext, as: 'credentialsCiphertext'
795
+ end
796
+ end
797
+
798
+ class InstanceGroupAutoscalingPolicyConfig
799
+ # @private
800
+ class Representation < Google::Apis::Core::JsonRepresentation
801
+ property :max_instances, as: 'maxInstances'
802
+ property :min_instances, as: 'minInstances'
803
+ property :weight, as: 'weight'
804
+ end
805
+ end
806
+
807
+ class InstanceGroupConfig
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
811
+
812
+ property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
813
+
814
+ property :image_uri, as: 'imageUri'
815
+ collection :instance_names, as: 'instanceNames'
816
+ collection :instance_references, as: 'instanceReferences', class: Google::Apis::DataprocV1::InstanceReference, decorator: Google::Apis::DataprocV1::InstanceReference::Representation
817
+
818
+ property :is_preemptible, as: 'isPreemptible'
819
+ property :machine_type_uri, as: 'machineTypeUri'
820
+ property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
821
+
822
+ property :min_cpu_platform, as: 'minCpuPlatform'
823
+ property :num_instances, as: 'numInstances'
824
+ property :preemptibility, as: 'preemptibility'
825
+ end
826
+ end
827
+
828
+ class InstanceReference
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :instance_id, as: 'instanceId'
832
+ property :instance_name, as: 'instanceName'
833
+ property :public_key, as: 'publicKey'
834
+ end
835
+ end
836
+
837
+ class InstantiateWorkflowTemplateRequest
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ hash :parameters, as: 'parameters'
841
+ property :request_id, as: 'requestId'
842
+ property :version, as: 'version'
843
+ end
844
+ end
845
+
846
+ class Job
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :done, as: 'done'
850
+ property :driver_control_files_uri, as: 'driverControlFilesUri'
851
+ property :driver_output_resource_uri, as: 'driverOutputResourceUri'
852
+ property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
853
+
854
+ property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
855
+
856
+ property :job_uuid, as: 'jobUuid'
857
+ hash :labels, as: 'labels'
858
+ property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
859
+
860
+ property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
861
+
862
+ property :presto_job, as: 'prestoJob', class: Google::Apis::DataprocV1::PrestoJob, decorator: Google::Apis::DataprocV1::PrestoJob::Representation
863
+
864
+ property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
865
+
866
+ property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
867
+
868
+ property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
869
+
870
+ property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
871
+
872
+ property :spark_r_job, as: 'sparkRJob', class: Google::Apis::DataprocV1::SparkRJob, decorator: Google::Apis::DataprocV1::SparkRJob::Representation
873
+
874
+ property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
875
+
876
+ property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
877
+
878
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
879
+
880
+ collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
881
+
882
+ end
883
+ end
884
+
885
+ class JobMetadata
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ property :job_id, as: 'jobId'
889
+ property :operation_type, as: 'operationType'
890
+ property :start_time, as: 'startTime'
891
+ property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
892
+
893
+ end
894
+ end
895
+
896
+ class JobPlacement
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :cluster_name, as: 'clusterName'
900
+ property :cluster_uuid, as: 'clusterUuid'
901
+ end
902
+ end
903
+
904
+ class JobReference
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :job_id, as: 'jobId'
908
+ property :project_id, as: 'projectId'
909
+ end
910
+ end
911
+
912
+ class JobScheduling
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ property :max_failures_per_hour, as: 'maxFailuresPerHour'
916
+ property :max_failures_total, as: 'maxFailuresTotal'
917
+ end
918
+ end
919
+
920
+ class JobStatus
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ property :details, as: 'details'
924
+ property :state, as: 'state'
925
+ property :state_start_time, as: 'stateStartTime'
926
+ property :substate, as: 'substate'
927
+ end
928
+ end
929
+
930
+ class KerberosConfig
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :cross_realm_trust_admin_server, as: 'crossRealmTrustAdminServer'
934
+ property :cross_realm_trust_kdc, as: 'crossRealmTrustKdc'
935
+ property :cross_realm_trust_realm, as: 'crossRealmTrustRealm'
936
+ property :cross_realm_trust_shared_password_uri, as: 'crossRealmTrustSharedPasswordUri'
937
+ property :enable_kerberos, as: 'enableKerberos'
938
+ property :kdc_db_key_uri, as: 'kdcDbKeyUri'
939
+ property :key_password_uri, as: 'keyPasswordUri'
940
+ property :keystore_password_uri, as: 'keystorePasswordUri'
941
+ property :keystore_uri, as: 'keystoreUri'
942
+ property :kms_key_uri, as: 'kmsKeyUri'
943
+ property :realm, as: 'realm'
944
+ property :root_principal_password_uri, as: 'rootPrincipalPasswordUri'
945
+ property :tgt_lifetime_hours, as: 'tgtLifetimeHours'
946
+ property :truststore_password_uri, as: 'truststorePasswordUri'
947
+ property :truststore_uri, as: 'truststoreUri'
948
+ end
949
+ end
950
+
951
+ class LifecycleConfig
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ property :auto_delete_time, as: 'autoDeleteTime'
955
+ property :auto_delete_ttl, as: 'autoDeleteTtl'
956
+ property :idle_delete_ttl, as: 'idleDeleteTtl'
957
+ property :idle_start_time, as: 'idleStartTime'
958
+ end
959
+ end
960
+
961
+ class ListAutoscalingPoliciesResponse
962
+ # @private
963
+ class Representation < Google::Apis::Core::JsonRepresentation
964
+ property :next_page_token, as: 'nextPageToken'
965
+ collection :policies, as: 'policies', class: Google::Apis::DataprocV1::AutoscalingPolicy, decorator: Google::Apis::DataprocV1::AutoscalingPolicy::Representation
966
+
967
+ end
968
+ end
969
+
970
+ class ListClustersResponse
971
+ # @private
972
+ class Representation < Google::Apis::Core::JsonRepresentation
973
+ collection :clusters, as: 'clusters', class: Google::Apis::DataprocV1::Cluster, decorator: Google::Apis::DataprocV1::Cluster::Representation
974
+
975
+ property :next_page_token, as: 'nextPageToken'
976
+ end
977
+ end
978
+
979
+ class ListJobsResponse
980
+ # @private
981
+ class Representation < Google::Apis::Core::JsonRepresentation
982
+ collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
983
+
984
+ property :next_page_token, as: 'nextPageToken'
985
+ end
986
+ end
987
+
988
+ class ListOperationsResponse
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ property :next_page_token, as: 'nextPageToken'
992
+ collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
993
+
994
+ end
995
+ end
996
+
997
+ class ListWorkflowTemplatesResponse
998
+ # @private
999
+ class Representation < Google::Apis::Core::JsonRepresentation
1000
+ property :next_page_token, as: 'nextPageToken'
1001
+ collection :templates, as: 'templates', class: Google::Apis::DataprocV1::WorkflowTemplate, decorator: Google::Apis::DataprocV1::WorkflowTemplate::Representation
1002
+
1003
+ end
1004
+ end
1005
+
1006
+ class LoggingConfig
1007
+ # @private
1008
+ class Representation < Google::Apis::Core::JsonRepresentation
1009
+ hash :driver_log_levels, as: 'driverLogLevels'
1010
+ end
1011
+ end
1012
+
1013
+ class ManagedCluster
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :cluster_name, as: 'clusterName'
1017
+ property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
1018
+
1019
+ hash :labels, as: 'labels'
1020
+ end
1021
+ end
1022
+
1023
+ class ManagedGroupConfig
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :instance_group_manager_name, as: 'instanceGroupManagerName'
1027
+ property :instance_template_name, as: 'instanceTemplateName'
1028
+ end
1029
+ end
1030
+
1031
+ class NodeGroupAffinity
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :node_group_uri, as: 'nodeGroupUri'
1035
+ end
1036
+ end
1037
+
1038
+ class NodeInitializationAction
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :executable_file, as: 'executableFile'
1042
+ property :execution_timeout, as: 'executionTimeout'
1043
+ end
1044
+ end
1045
+
1046
+ class Operation
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ property :done, as: 'done'
1050
+ property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation
1051
+
1052
+ hash :metadata, as: 'metadata'
1053
+ property :name, as: 'name'
1054
+ hash :response, as: 'response'
1055
+ end
1056
+ end
1057
+
1058
+ class OrderedJob
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
1062
+
1063
+ property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation
1064
+
1065
+ hash :labels, as: 'labels'
1066
+ property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation
1067
+
1068
+ collection :prerequisite_step_ids, as: 'prerequisiteStepIds'
1069
+ property :presto_job, as: 'prestoJob', class: Google::Apis::DataprocV1::PrestoJob, decorator: Google::Apis::DataprocV1::PrestoJob::Representation
1070
+
1071
+ property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
1072
+
1073
+ property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
1074
+
1075
+ property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
1076
+
1077
+ property :spark_r_job, as: 'sparkRJob', class: Google::Apis::DataprocV1::SparkRJob, decorator: Google::Apis::DataprocV1::SparkRJob::Representation
1078
+
1079
+ property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
1080
+
1081
+ property :step_id, as: 'stepId'
1082
+ end
1083
+ end
1084
+
1085
+ class ParameterValidation
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :regex, as: 'regex', class: Google::Apis::DataprocV1::RegexValidation, decorator: Google::Apis::DataprocV1::RegexValidation::Representation
1089
+
1090
+ property :values, as: 'values', class: Google::Apis::DataprocV1::ValueValidation, decorator: Google::Apis::DataprocV1::ValueValidation::Representation
1091
+
1092
+ end
1093
+ end
1094
+
1095
+ class PigJob
1096
+ # @private
1097
+ class Representation < Google::Apis::Core::JsonRepresentation
1098
+ property :continue_on_failure, as: 'continueOnFailure'
1099
+ collection :jar_file_uris, as: 'jarFileUris'
1100
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1101
+
1102
+ hash :properties, as: 'properties'
1103
+ property :query_file_uri, as: 'queryFileUri'
1104
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
1105
+
1106
+ hash :script_variables, as: 'scriptVariables'
1107
+ end
1108
+ end
1109
+
1110
+ class Policy
1111
+ # @private
1112
+ class Representation < Google::Apis::Core::JsonRepresentation
1113
+ collection :bindings, as: 'bindings', class: Google::Apis::DataprocV1::Binding, decorator: Google::Apis::DataprocV1::Binding::Representation
1114
+
1115
+ property :etag, :base64 => true, as: 'etag'
1116
+ property :version, as: 'version'
1117
+ end
1118
+ end
1119
+
1120
+ class PrestoJob
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ collection :client_tags, as: 'clientTags'
1124
+ property :continue_on_failure, as: 'continueOnFailure'
1125
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1126
+
1127
+ property :output_format, as: 'outputFormat'
1128
+ hash :properties, as: 'properties'
1129
+ property :query_file_uri, as: 'queryFileUri'
1130
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
1131
+
1132
+ end
1133
+ end
1134
+
1135
+ class PySparkJob
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ collection :archive_uris, as: 'archiveUris'
1139
+ collection :args, as: 'args'
1140
+ collection :file_uris, as: 'fileUris'
1141
+ collection :jar_file_uris, as: 'jarFileUris'
1142
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1143
+
1144
+ property :main_python_file_uri, as: 'mainPythonFileUri'
1145
+ hash :properties, as: 'properties'
1146
+ collection :python_file_uris, as: 'pythonFileUris'
1147
+ end
1148
+ end
1149
+
1150
+ class QueryList
1151
+ # @private
1152
+ class Representation < Google::Apis::Core::JsonRepresentation
1153
+ collection :queries, as: 'queries'
1154
+ end
1155
+ end
1156
+
1157
+ class RegexValidation
1158
+ # @private
1159
+ class Representation < Google::Apis::Core::JsonRepresentation
1160
+ collection :regexes, as: 'regexes'
1161
+ end
1162
+ end
1163
+
1164
+ class ReservationAffinity
1165
+ # @private
1166
+ class Representation < Google::Apis::Core::JsonRepresentation
1167
+ property :consume_reservation_type, as: 'consumeReservationType'
1168
+ property :key, as: 'key'
1169
+ collection :values, as: 'values'
1170
+ end
1171
+ end
1172
+
1173
+ class SecurityConfig
1174
+ # @private
1175
+ class Representation < Google::Apis::Core::JsonRepresentation
1176
+ property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1::KerberosConfig, decorator: Google::Apis::DataprocV1::KerberosConfig::Representation
1177
+
1178
+ end
1179
+ end
1180
+
1181
+ class SetIamPolicyRequest
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :policy, as: 'policy', class: Google::Apis::DataprocV1::Policy, decorator: Google::Apis::DataprocV1::Policy::Representation
1185
+
1186
+ end
1187
+ end
1188
+
1189
+ class ShieldedInstanceConfig
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
1193
+ property :enable_secure_boot, as: 'enableSecureBoot'
1194
+ property :enable_vtpm, as: 'enableVtpm'
1195
+ end
1196
+ end
1197
+
1198
+ class SoftwareConfig
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ property :image_version, as: 'imageVersion'
1202
+ collection :optional_components, as: 'optionalComponents'
1203
+ hash :properties, as: 'properties'
1204
+ end
1205
+ end
1206
+
1207
+ class SparkJob
1208
+ # @private
1209
+ class Representation < Google::Apis::Core::JsonRepresentation
1210
+ collection :archive_uris, as: 'archiveUris'
1211
+ collection :args, as: 'args'
1212
+ collection :file_uris, as: 'fileUris'
1213
+ collection :jar_file_uris, as: 'jarFileUris'
1214
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1215
+
1216
+ property :main_class, as: 'mainClass'
1217
+ property :main_jar_file_uri, as: 'mainJarFileUri'
1218
+ hash :properties, as: 'properties'
1219
+ end
1220
+ end
1221
+
1222
+ class SparkRJob
1223
+ # @private
1224
+ class Representation < Google::Apis::Core::JsonRepresentation
1225
+ collection :archive_uris, as: 'archiveUris'
1226
+ collection :args, as: 'args'
1227
+ collection :file_uris, as: 'fileUris'
1228
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1229
+
1230
+ property :main_r_file_uri, as: 'mainRFileUri'
1231
+ hash :properties, as: 'properties'
1232
+ end
1233
+ end
1234
+
1235
+ class SparkSqlJob
1236
+ # @private
1237
+ class Representation < Google::Apis::Core::JsonRepresentation
1238
+ collection :jar_file_uris, as: 'jarFileUris'
1239
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
1240
+
1241
+ hash :properties, as: 'properties'
1242
+ property :query_file_uri, as: 'queryFileUri'
1243
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
1244
+
1245
+ hash :script_variables, as: 'scriptVariables'
1246
+ end
1247
+ end
1248
+
1249
+ class Status
1250
+ # @private
1251
+ class Representation < Google::Apis::Core::JsonRepresentation
1252
+ property :code, as: 'code'
1253
+ collection :details, as: 'details'
1254
+ property :message, as: 'message'
1255
+ end
1256
+ end
1257
+
1258
+ class SubmitJobRequest
1259
+ # @private
1260
+ class Representation < Google::Apis::Core::JsonRepresentation
1261
+ property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
1262
+
1263
+ property :request_id, as: 'requestId'
1264
+ end
1265
+ end
1266
+
1267
+ class TemplateParameter
1268
+ # @private
1269
+ class Representation < Google::Apis::Core::JsonRepresentation
1270
+ property :description, as: 'description'
1271
+ collection :fields, as: 'fields'
1272
+ property :name, as: 'name'
1273
+ property :validation, as: 'validation', class: Google::Apis::DataprocV1::ParameterValidation, decorator: Google::Apis::DataprocV1::ParameterValidation::Representation
1274
+
1275
+ end
1276
+ end
1277
+
1278
+ class TestIamPermissionsRequest
1279
+ # @private
1280
+ class Representation < Google::Apis::Core::JsonRepresentation
1281
+ collection :permissions, as: 'permissions'
1282
+ end
1283
+ end
1284
+
1285
+ class TestIamPermissionsResponse
1286
+ # @private
1287
+ class Representation < Google::Apis::Core::JsonRepresentation
1288
+ collection :permissions, as: 'permissions'
1289
+ end
1290
+ end
1291
+
1292
+ class ValueValidation
1293
+ # @private
1294
+ class Representation < Google::Apis::Core::JsonRepresentation
1295
+ collection :values, as: 'values'
1296
+ end
1297
+ end
1298
+
1299
+ class WorkflowGraph
1300
+ # @private
1301
+ class Representation < Google::Apis::Core::JsonRepresentation
1302
+ collection :nodes, as: 'nodes', class: Google::Apis::DataprocV1::WorkflowNode, decorator: Google::Apis::DataprocV1::WorkflowNode::Representation
1303
+
1304
+ end
1305
+ end
1306
+
1307
+ class WorkflowMetadata
1308
+ # @private
1309
+ class Representation < Google::Apis::Core::JsonRepresentation
1310
+ property :cluster_name, as: 'clusterName'
1311
+ property :cluster_uuid, as: 'clusterUuid'
1312
+ property :create_cluster, as: 'createCluster', class: Google::Apis::DataprocV1::ClusterOperation, decorator: Google::Apis::DataprocV1::ClusterOperation::Representation
1313
+
1314
+ property :dag_end_time, as: 'dagEndTime'
1315
+ property :dag_start_time, as: 'dagStartTime'
1316
+ property :dag_timeout, as: 'dagTimeout'
1317
+ property :delete_cluster, as: 'deleteCluster', class: Google::Apis::DataprocV1::ClusterOperation, decorator: Google::Apis::DataprocV1::ClusterOperation::Representation
1318
+
1319
+ property :end_time, as: 'endTime'
1320
+ property :graph, as: 'graph', class: Google::Apis::DataprocV1::WorkflowGraph, decorator: Google::Apis::DataprocV1::WorkflowGraph::Representation
1321
+
1322
+ hash :parameters, as: 'parameters'
1323
+ property :start_time, as: 'startTime'
1324
+ property :state, as: 'state'
1325
+ property :template, as: 'template'
1326
+ property :version, as: 'version'
1327
+ end
1328
+ end
1329
+
1330
+ class WorkflowNode
1331
+ # @private
1332
+ class Representation < Google::Apis::Core::JsonRepresentation
1333
+ property :error, as: 'error'
1334
+ property :job_id, as: 'jobId'
1335
+ collection :prerequisite_step_ids, as: 'prerequisiteStepIds'
1336
+ property :state, as: 'state'
1337
+ property :step_id, as: 'stepId'
1338
+ end
1339
+ end
1340
+
1341
+ class WorkflowTemplate
1342
+ # @private
1343
+ class Representation < Google::Apis::Core::JsonRepresentation
1344
+ property :create_time, as: 'createTime'
1345
+ property :dag_timeout, as: 'dagTimeout'
1346
+ property :id, as: 'id'
1347
+ collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::OrderedJob, decorator: Google::Apis::DataprocV1::OrderedJob::Representation
1348
+
1349
+ hash :labels, as: 'labels'
1350
+ property :name, as: 'name'
1351
+ collection :parameters, as: 'parameters', class: Google::Apis::DataprocV1::TemplateParameter, decorator: Google::Apis::DataprocV1::TemplateParameter::Representation
1352
+
1353
+ property :placement, as: 'placement', class: Google::Apis::DataprocV1::WorkflowTemplatePlacement, decorator: Google::Apis::DataprocV1::WorkflowTemplatePlacement::Representation
1354
+
1355
+ property :update_time, as: 'updateTime'
1356
+ property :version, as: 'version'
1357
+ end
1358
+ end
1359
+
1360
+ class WorkflowTemplatePlacement
1361
+ # @private
1362
+ class Representation < Google::Apis::Core::JsonRepresentation
1363
+ property :cluster_selector, as: 'clusterSelector', class: Google::Apis::DataprocV1::ClusterSelector, decorator: Google::Apis::DataprocV1::ClusterSelector::Representation
1364
+
1365
+ property :managed_cluster, as: 'managedCluster', class: Google::Apis::DataprocV1::ManagedCluster, decorator: Google::Apis::DataprocV1::ManagedCluster::Representation
1366
+
1367
+ end
1368
+ end
1369
+
1370
+ class YarnApplication
1371
+ # @private
1372
+ class Representation < Google::Apis::Core::JsonRepresentation
1373
+ property :name, as: 'name'
1374
+ property :progress, as: 'progress'
1375
+ property :state, as: 'state'
1376
+ property :tracking_url, as: 'trackingUrl'
1377
+ end
1378
+ end
1379
+ end
1380
+ end
1381
+ end