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