google-cloud-dataproc-v1 0.24.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +13 -5
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/client.rb +13 -5
- data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +11 -4
- data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +13 -5
- data/lib/google/cloud/dataproc/v1/batch_controller/rest/client.rb +11 -4
- data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +11 -4
- data/lib/google/cloud/dataproc/v1/batches_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +19 -8
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +13 -5
- data/lib/google/cloud/dataproc/v1/cluster_controller/rest/client.rb +19 -8
- data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +11 -4
- data/lib/google/cloud/dataproc/v1/clusters_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +17 -7
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +13 -5
- data/lib/google/cloud/dataproc/v1/job_controller/rest/client.rb +17 -7
- data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +11 -4
- data/lib/google/cloud/dataproc/v1/jobs_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +9 -3
- data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +13 -5
- data/lib/google/cloud/dataproc/v1/node_group_controller/rest/client.rb +9 -3
- data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +11 -4
- data/lib/google/cloud/dataproc/v1/node_groups_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/operations_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/session_controller/client.rb +13 -5
- data/lib/google/cloud/dataproc/v1/session_controller/operations.rb +13 -5
- data/lib/google/cloud/dataproc/v1/session_controller/rest/client.rb +13 -5
- data/lib/google/cloud/dataproc/v1/session_controller/rest/operations.rb +11 -4
- data/lib/google/cloud/dataproc/v1/session_template_controller/client.rb +13 -5
- data/lib/google/cloud/dataproc/v1/session_template_controller/rest/client.rb +13 -5
- data/lib/google/cloud/dataproc/v1/session_templates_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/sessions_pb.rb +1 -1
- data/lib/google/cloud/dataproc/v1/shared_pb.rb +3 -1
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +17 -7
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +13 -5
- data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/client.rb +17 -7
- data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/operations.rb +11 -4
- data/lib/google/cloud/dataproc/v1/workflow_templates_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/dataproc/v1/shared.rb +32 -0
- metadata +4 -116
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# of Compute Engine instances.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -304,10 +307,11 @@ module Google
|
|
304
307
|
# Customize the options with defaults
|
305
308
|
metadata = @config.rpcs.create_cluster.metadata.to_h
|
306
309
|
|
307
|
-
# Set x-goog-api-client
|
310
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
308
311
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
309
312
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
310
313
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
314
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
311
315
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
312
316
|
|
313
317
|
header_params = {}
|
@@ -487,10 +491,11 @@ module Google
|
|
487
491
|
# Customize the options with defaults
|
488
492
|
metadata = @config.rpcs.update_cluster.metadata.to_h
|
489
493
|
|
490
|
-
# Set x-goog-api-client
|
494
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
491
495
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
492
496
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
493
497
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
498
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
494
499
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
495
500
|
|
496
501
|
header_params = {}
|
@@ -607,10 +612,11 @@ module Google
|
|
607
612
|
# Customize the options with defaults
|
608
613
|
metadata = @config.rpcs.stop_cluster.metadata.to_h
|
609
614
|
|
610
|
-
# Set x-goog-api-client
|
615
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
611
616
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
612
617
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
613
618
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
619
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
614
620
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
615
621
|
|
616
622
|
header_params = {}
|
@@ -727,10 +733,11 @@ module Google
|
|
727
733
|
# Customize the options with defaults
|
728
734
|
metadata = @config.rpcs.start_cluster.metadata.to_h
|
729
735
|
|
730
|
-
# Set x-goog-api-client
|
736
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
731
737
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
732
738
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
733
739
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
740
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
734
741
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
735
742
|
|
736
743
|
header_params = {}
|
@@ -849,10 +856,11 @@ module Google
|
|
849
856
|
# Customize the options with defaults
|
850
857
|
metadata = @config.rpcs.delete_cluster.metadata.to_h
|
851
858
|
|
852
|
-
# Set x-goog-api-client
|
859
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
853
860
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
854
861
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
855
862
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
863
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
856
864
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
857
865
|
|
858
866
|
header_params = {}
|
@@ -946,10 +954,11 @@ module Google
|
|
946
954
|
# Customize the options with defaults
|
947
955
|
metadata = @config.rpcs.get_cluster.metadata.to_h
|
948
956
|
|
949
|
-
# Set x-goog-api-client
|
957
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
950
958
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
951
959
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
952
960
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
961
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
953
962
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
954
963
|
|
955
964
|
header_params = {}
|
@@ -1068,10 +1077,11 @@ module Google
|
|
1068
1077
|
# Customize the options with defaults
|
1069
1078
|
metadata = @config.rpcs.list_clusters.metadata.to_h
|
1070
1079
|
|
1071
|
-
# Set x-goog-api-client
|
1080
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1072
1081
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1073
1082
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1074
1083
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
1084
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1075
1085
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1076
1086
|
|
1077
1087
|
header_params = {}
|
@@ -1188,10 +1198,11 @@ module Google
|
|
1188
1198
|
# Customize the options with defaults
|
1189
1199
|
metadata = @config.rpcs.diagnose_cluster.metadata.to_h
|
1190
1200
|
|
1191
|
-
# Set x-goog-api-client
|
1201
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1192
1202
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1193
1203
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1194
1204
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
1205
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1195
1206
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1196
1207
|
|
1197
1208
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module ClusterController
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# of Compute Engine instances.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -297,12 +300,13 @@ module Google
|
|
297
300
|
# Customize the options with defaults
|
298
301
|
call_metadata = @config.rpcs.create_cluster.metadata.to_h
|
299
302
|
|
300
|
-
# Set x-goog-api-client
|
303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
301
304
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
302
305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
303
306
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
304
307
|
transports_version_send: [:rest]
|
305
308
|
|
309
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
306
310
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
307
311
|
|
308
312
|
options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
|
@@ -470,12 +474,13 @@ module Google
|
|
470
474
|
# Customize the options with defaults
|
471
475
|
call_metadata = @config.rpcs.update_cluster.metadata.to_h
|
472
476
|
|
473
|
-
# Set x-goog-api-client
|
477
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
478
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
479
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
480
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
477
481
|
transports_version_send: [:rest]
|
478
482
|
|
483
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
479
484
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
480
485
|
|
481
486
|
options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
|
@@ -577,12 +582,13 @@ module Google
|
|
577
582
|
# Customize the options with defaults
|
578
583
|
call_metadata = @config.rpcs.stop_cluster.metadata.to_h
|
579
584
|
|
580
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
581
586
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
582
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
583
588
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
584
589
|
transports_version_send: [:rest]
|
585
590
|
|
591
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
586
592
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
587
593
|
|
588
594
|
options.apply_defaults timeout: @config.rpcs.stop_cluster.timeout,
|
@@ -684,12 +690,13 @@ module Google
|
|
684
690
|
# Customize the options with defaults
|
685
691
|
call_metadata = @config.rpcs.start_cluster.metadata.to_h
|
686
692
|
|
687
|
-
# Set x-goog-api-client
|
693
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
688
694
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
689
695
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
690
696
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
691
697
|
transports_version_send: [:rest]
|
692
698
|
|
699
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
693
700
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
694
701
|
|
695
702
|
options.apply_defaults timeout: @config.rpcs.start_cluster.timeout,
|
@@ -793,12 +800,13 @@ module Google
|
|
793
800
|
# Customize the options with defaults
|
794
801
|
call_metadata = @config.rpcs.delete_cluster.metadata.to_h
|
795
802
|
|
796
|
-
# Set x-goog-api-client
|
803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
797
804
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
798
805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
799
806
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
800
807
|
transports_version_send: [:rest]
|
801
808
|
|
809
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
802
810
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
803
811
|
|
804
812
|
options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
|
@@ -877,12 +885,13 @@ module Google
|
|
877
885
|
# Customize the options with defaults
|
878
886
|
call_metadata = @config.rpcs.get_cluster.metadata.to_h
|
879
887
|
|
880
|
-
# Set x-goog-api-client
|
888
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
881
889
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
882
890
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
883
891
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
884
892
|
transports_version_send: [:rest]
|
885
893
|
|
894
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
886
895
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
887
896
|
|
888
897
|
options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
|
@@ -986,12 +995,13 @@ module Google
|
|
986
995
|
# Customize the options with defaults
|
987
996
|
call_metadata = @config.rpcs.list_clusters.metadata.to_h
|
988
997
|
|
989
|
-
# Set x-goog-api-client
|
998
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
990
999
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
991
1000
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
992
1001
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
993
1002
|
transports_version_send: [:rest]
|
994
1003
|
|
1004
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
995
1005
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
996
1006
|
|
997
1007
|
options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
|
@@ -1096,12 +1106,13 @@ module Google
|
|
1096
1106
|
# Customize the options with defaults
|
1097
1107
|
call_metadata = @config.rpcs.diagnose_cluster.metadata.to_h
|
1098
1108
|
|
1099
|
-
# Set x-goog-api-client
|
1109
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1100
1110
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1101
1111
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1102
1112
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
1103
1113
|
transports_version_send: [:rest]
|
1104
1114
|
|
1115
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1105
1116
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1106
1117
|
|
1107
1118
|
options.apply_defaults timeout: @config.rpcs.diagnose_cluster.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -19,7 +19,7 @@ require 'google/protobuf/wrappers_pb'
|
|
19
19
|
require 'google/type/interval_pb'
|
20
20
|
|
21
21
|
|
22
|
-
descriptor_data = "\n\'google/cloud/dataproc/v1/clusters.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/dataproc/v1/operations.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1agoogle/type/interval.proto\"\xab\x04\n\x07\x43luster\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12=\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterConfigB\x04\xe2\x41\x01\x01\x12T\n\x16virtual_cluster_config\x18\n \x01(\x0b\x32..google.cloud.dataproc.v1.VirtualClusterConfigB\x04\xe2\x41\x01\x01\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32-.google.cloud.dataproc.v1.Cluster.LabelsEntryB\x04\xe2\x41\x01\x01\x12=\n\x06status\x18\x04 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatusB\x04\xe2\x41\x01\x03\x12\x45\n\x0estatus_history\x18\x07 \x03(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatusB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x63luster_uuid\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12?\n\x07metrics\x18\t \x01(\x0b\x32(.google.cloud.dataproc.v1.ClusterMetricsB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x93\t\n\rClusterConfig\x12\x1b\n\rconfig_bucket\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0btemp_bucket\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x12gce_cluster_config\x18\x08 \x01(\x0b\x32*.google.cloud.dataproc.v1.GceClusterConfigB\x04\xe2\x41\x01\x01\x12J\n\rmaster_config\x18\t \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x04\xe2\x41\x01\x01\x12J\n\rworker_config\x18\n \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x04\xe2\x41\x01\x01\x12T\n\x17secondary_worker_config\x18\x0c \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x04\xe2\x41\x01\x01\x12G\n\x0fsoftware_config\x18\r \x01(\x0b\x32(.google.cloud.dataproc.v1.SoftwareConfigB\x04\xe2\x41\x01\x01\x12X\n\x16initialization_actions\x18\x0b \x03(\x0b\x32\x32.google.cloud.dataproc.v1.NodeInitializationActionB\x04\xe2\x41\x01\x01\x12K\n\x11\x65ncryption_config\x18\x0f \x01(\x0b\x32*.google.cloud.dataproc.v1.EncryptionConfigB\x04\xe2\x41\x01\x01\x12M\n\x12\x61utoscaling_config\x18\x12 \x01(\x0b\x32+.google.cloud.dataproc.v1.AutoscalingConfigB\x04\xe2\x41\x01\x01\x12G\n\x0fsecurity_config\x18\x10 \x01(\x0b\x32(.google.cloud.dataproc.v1.SecurityConfigB\x04\xe2\x41\x01\x01\x12I\n\x10lifecycle_config\x18\x11 \x01(\x0b\x32).google.cloud.dataproc.v1.LifecycleConfigB\x04\xe2\x41\x01\x01\x12G\n\x0f\x65ndpoint_config\x18\x13 \x01(\x0b\x32(.google.cloud.dataproc.v1.EndpointConfigB\x04\xe2\x41\x01\x01\x12I\n\x10metastore_config\x18\x14 \x01(\x0b\x32).google.cloud.dataproc.v1.MetastoreConfigB\x04\xe2\x41\x01\x01\x12T\n\x16\x64\x61taproc_metric_config\x18\x17 \x01(\x0b\x32..google.cloud.dataproc.v1.DataprocMetricConfigB\x04\xe2\x41\x01\x01\x12Q\n\x15\x61uxiliary_node_groups\x18\x19 \x03(\x0b\x32,.google.cloud.dataproc.v1.AuxiliaryNodeGroupB\x04\xe2\x41\x01\x01\"\x87\x02\n\x14VirtualClusterConfig\x12\x1c\n\x0estaging_bucket\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\\\n\x19kubernetes_cluster_config\x18\x06 \x01(\x0b\x32\x31.google.cloud.dataproc.v1.KubernetesClusterConfigB\x04\xe2\x41\x01\x02H\x00\x12Z\n\x19\x61uxiliary_services_config\x18\x07 \x01(\x0b\x32\x31.google.cloud.dataproc.v1.AuxiliaryServicesConfigB\x04\xe2\x41\x01\x01\x42\x17\n\x15infrastructure_config\"\xc3\x01\n\x17\x41uxiliaryServicesConfig\x12I\n\x10metastore_config\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.MetastoreConfigB\x04\xe2\x41\x01\x01\x12]\n\x1bspark_history_server_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.dataproc.v1.SparkHistoryServerConfigB\x04\xe2\x41\x01\x01\"\xbc\x01\n\x0e\x45ndpointConfig\x12Q\n\nhttp_ports\x18\x01 \x03(\x0b\x32\x37.google.cloud.dataproc.v1.EndpointConfig.HttpPortsEntryB\x04\xe2\x41\x01\x03\x12%\n\x17\x65nable_http_port_access\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a\x30\n\x0eHttpPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x11\x41utoscalingConfig\x12\x18\n\npolicy_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\"5\n\x10\x45ncryptionConfig\x12!\n\x13gce_pd_kms_key_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\"\xc6\x07\n\x10GceClusterConfig\x12\x16\n\x08zone_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0bnetwork_uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0esubnetwork_uri\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12#\n\x10internal_ip_only\x18\x07 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12l\n\x1aprivate_ipv6_google_access\x18\x0c \x01(\x0e\x32\x42.google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccessB\x04\xe2\x41\x01\x01\x12\x1d\n\x0fservice_account\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12$\n\x16service_account_scopes\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12P\n\x08metadata\x18\x05 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.GceClusterConfig.MetadataEntryB\x04\xe2\x41\x01\x01\x12Q\n\x14reservation_affinity\x18\x0b \x01(\x0b\x32-.google.cloud.dataproc.v1.ReservationAffinityB\x04\xe2\x41\x01\x01\x12N\n\x13node_group_affinity\x18\r \x01(\x0b\x32+.google.cloud.dataproc.v1.NodeGroupAffinityB\x04\xe2\x41\x01\x01\x12X\n\x18shielded_instance_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ShieldedInstanceConfigB\x04\xe2\x41\x01\x01\x12`\n\x1c\x63onfidential_instance_config\x18\x0f \x01(\x0b\x32\x34.google.cloud.dataproc.v1.ConfidentialInstanceConfigB\x04\xe2\x41\x01\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x01\n\x17PrivateIpv6GoogleAccess\x12*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\x10\x00\x12\x1b\n\x17INHERIT_FROM_SUBNETWORK\x10\x01\x12\x0c\n\x08OUTBOUND\x10\x02\x12\x11\n\rBIDIRECTIONAL\x10\x03\x42\x13\n\x11_internal_ip_only\"1\n\x11NodeGroupAffinity\x12\x1c\n\x0enode_group_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xd6\x01\n\x16ShieldedInstanceConfig\x12%\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x1e\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12.\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x02\x88\x01\x01\x42\x15\n\x13_enable_secure_bootB\x0e\n\x0c_enable_vtpmB\x1e\n\x1c_enable_integrity_monitoring\"G\n\x1a\x43onfidentialInstanceConfig\x12)\n\x1b\x65nable_confidential_compute\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xf9\x06\n\x13InstanceGroupConfig\x12\x1b\n\rnum_instances\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0einstance_names\x18\x02 \x03(\tB\x04\xe2\x41\x01\x03\x12N\n\x13instance_references\x18\x0b \x03(\x0b\x32+.google.cloud.dataproc.v1.InstanceReferenceB\x04\xe2\x41\x01\x03\x12\x17\n\timage_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10machine_type_uri\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12?\n\x0b\x64isk_config\x18\x05 \x01(\x0b\x32$.google.cloud.dataproc.v1.DiskConfigB\x04\xe2\x41\x01\x01\x12\x1c\n\x0eis_preemptible\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12Z\n\x0epreemptibility\x18\n \x01(\x0e\x32<.google.cloud.dataproc.v1.InstanceGroupConfig.PreemptibilityB\x04\xe2\x41\x01\x01\x12P\n\x14managed_group_config\x18\x07 \x01(\x0b\x32,.google.cloud.dataproc.v1.ManagedGroupConfigB\x04\xe2\x41\x01\x03\x12G\n\x0c\x61\x63\x63\x65lerators\x18\x08 \x03(\x0b\x32+.google.cloud.dataproc.v1.AcceleratorConfigB\x04\xe2\x41\x01\x01\x12\x1e\n\x10min_cpu_platform\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11min_num_instances\x18\x0c \x01(\x05\x42\x04\xe2\x41\x01\x01\x12^\n\x1binstance_flexibility_policy\x18\r \x01(\x0b\x32\x33.google.cloud.dataproc.v1.InstanceFlexibilityPolicyB\x04\xe2\x41\x01\x01\x12\x45\n\x0estartup_config\x18\x0e \x01(\x0b\x32\'.google.cloud.dataproc.v1.StartupConfigB\x04\xe2\x41\x01\x01\"`\n\x0ePreemptibility\x12\x1e\n\x1aPREEMPTIBILITY_UNSPECIFIED\x10\x00\x12\x13\n\x0fNON_PREEMPTIBLE\x10\x01\x12\x0f\n\x0bPREEMPTIBLE\x10\x02\x12\x08\n\x04SPOT\x10\x03\"e\n\rStartupConfig\x12\x31\n\x1erequired_registration_fraction\x18\x01 \x01(\x01\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x42!\n\x1f_required_registration_fraction\"m\n\x11InstanceReference\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\t\x12\x18\n\x10public_ecies_key\x18\x04 \x01(\t\"\x8f\x01\n\x12ManagedGroupConfig\x12$\n\x16instance_template_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12)\n\x1binstance_group_manager_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12(\n\x1ainstance_group_manager_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\"\xbd\x03\n\x19InstanceFlexibilityPolicy\x12l\n\x17instance_selection_list\x18\x02 \x03(\x0b\x32\x45.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionB\x04\xe2\x41\x01\x01\x12u\n\x1ainstance_selection_results\x18\x03 \x03(\x0b\x32K.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResultB\x04\xe2\x41\x01\x03\x1a\x44\n\x11InstanceSelection\x12\x1b\n\rmachine_types\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04rank\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x1au\n\x17InstanceSelectionResult\x12\x1f\n\x0cmachine_type\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03H\x00\x88\x01\x01\x12\x1b\n\x08vm_count\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x03H\x01\x88\x01\x01\x42\x0f\n\r_machine_typeB\x0b\n\t_vm_count\"L\n\x11\x41\x63\x63\x65leratorConfig\x12\x1c\n\x14\x61\x63\x63\x65lerator_type_uri\x18\x01 \x01(\t\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x02 \x01(\x05\"\x8c\x01\n\nDiskConfig\x12\x1c\n\x0e\x62oot_disk_type\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x62oot_disk_size_gb\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0enum_local_ssds\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12!\n\x13local_ssd_interface\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"p\n\x12\x41uxiliaryNodeGroup\x12=\n\nnode_group\x18\x01 \x01(\x0b\x32#.google.cloud.dataproc.v1.NodeGroupB\x04\xe2\x41\x01\x02\x12\x1b\n\rnode_group_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xc0\x03\n\tNodeGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x05roles\x18\x02 \x03(\x0e\x32(.google.cloud.dataproc.v1.NodeGroup.RoleB\x04\xe2\x41\x01\x02\x12N\n\x11node_group_config\x18\x03 \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x04\xe2\x41\x01\x01\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.dataproc.v1.NodeGroup.LabelsEntryB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44RIVER\x10\x01:v\xea\x41s\n!dataproc.googleapis.com/NodeGroup\x12Nprojects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{node_group}\"u\n\x18NodeInitializationAction\x12\x1d\n\x0f\x65xecutable_file\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x11\x65xecution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\"\xd8\x03\n\rClusterStatus\x12\x42\n\x05state\x18\x01 \x01(\x0e\x32-.google.cloud.dataproc.v1.ClusterStatus.StateB\x04\xe2\x41\x01\x03\x12\x15\n\x06\x64\x65tail\x18\x02 \x01(\tB\x05\xe2\x41\x02\x03\x01\x12:\n\x10state_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12H\n\x08substate\x18\x04 \x01(\x0e\x32\x30.google.cloud.dataproc.v1.ClusterStatus.SubstateB\x04\xe2\x41\x01\x03\"\xa7\x01\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x17\n\x13\x45RROR_DUE_TO_UPDATE\x10\t\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08STOPPING\x10\x06\x12\x0b\n\x07STOPPED\x10\x07\x12\x0c\n\x08STARTING\x10\x08\x12\r\n\tREPAIRING\x10\n\"<\n\x08Substate\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\r\n\tUNHEALTHY\x10\x01\x12\x10\n\x0cSTALE_STATUS\x10\x02\"\xa2\x01\n\x0eSecurityConfig\x12G\n\x0fkerberos_config\x18\x01 \x01(\x0b\x32(.google.cloud.dataproc.v1.KerberosConfigB\x04\xe2\x41\x01\x01\x12G\n\x0fidentity_config\x18\x02 \x01(\x0b\x32(.google.cloud.dataproc.v1.IdentityConfigB\x04\xe2\x41\x01\x01\"\x9f\x04\n\x0eKerberosConfig\x12\x1d\n\x0f\x65nable_kerberos\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12)\n\x1broot_principal_password_uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0bkms_key_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0ckeystore_uri\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0etruststore_uri\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12#\n\x15keystore_password_uri\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10key_password_uri\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12%\n\x17truststore_password_uri\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12%\n\x17\x63ross_realm_trust_realm\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12#\n\x15\x63ross_realm_trust_kdc\x18\n \x01(\tB\x04\xe2\x41\x01\x01\x12,\n\x1e\x63ross_realm_trust_admin_server\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12\x33\n%cross_realm_trust_shared_password_uri\x18\x0c \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0ekdc_db_key_uri\x18\r \x01(\tB\x04\xe2\x41\x01\x01\x12 \n\x12tgt_lifetime_hours\x18\x0e \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x13\n\x05realm\x18\x0f \x01(\tB\x04\xe2\x41\x01\x01\"\xc7\x01\n\x0eIdentityConfig\x12s\n\x1cuser_service_account_mapping\x18\x01 \x03(\x0b\x32G.google.cloud.dataproc.v1.IdentityConfig.UserServiceAccountMappingEntryB\x04\xe2\x41\x01\x02\x1a@\n\x1eUserServiceAccountMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfc\x01\n\x0eSoftwareConfig\x12\x1b\n\rimage_version\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12R\n\nproperties\x18\x02 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntryB\x04\xe2\x41\x01\x01\x12\x46\n\x13optional_components\x18\x03 \x03(\x0e\x32#.google.cloud.dataproc.v1.ComponentB\x04\xe2\x41\x01\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x02\n\x0fLifecycleConfig\x12\x38\n\x0fidle_delete_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12<\n\x10\x61uto_delete_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x01H\x00\x12:\n\x0f\x61uto_delete_ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01H\x00\x12\x39\n\x0fidle_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x42\x05\n\x03ttl\"`\n\x0fMetastoreConfig\x12M\n\x1a\x64\x61taproc_metastore_service\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\x9a\x02\n\x0e\x43lusterMetrics\x12O\n\x0chdfs_metrics\x18\x01 \x03(\x0b\x32\x39.google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry\x12O\n\x0cyarn_metrics\x18\x02 \x03(\x0b\x32\x39.google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry\x1a\x32\n\x10HdfsMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x32\n\x10YarnMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x95\x03\n\x14\x44\x61taprocMetricConfig\x12L\n\x07metrics\x18\x01 \x03(\x0b\x32\x35.google.cloud.dataproc.v1.DataprocMetricConfig.MetricB\x04\xe2\x41\x01\x02\x1a\x82\x01\n\x06Metric\x12X\n\rmetric_source\x18\x01 \x01(\x0e\x32;.google.cloud.dataproc.v1.DataprocMetricConfig.MetricSourceB\x04\xe2\x41\x01\x02\x12\x1e\n\x10metric_overrides\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\"\xa9\x01\n\x0cMetricSource\x12\x1d\n\x19METRIC_SOURCE_UNSPECIFIED\x10\x00\x12\x1d\n\x19MONITORING_AGENT_DEFAULTS\x10\x01\x12\x08\n\x04HDFS\x10\x02\x12\t\n\x05SPARK\x10\x03\x12\x08\n\x04YARN\x10\x04\x12\x18\n\x14SPARK_HISTORY_SERVER\x10\x05\x12\x0f\n\x0bHIVESERVER2\x10\x06\x12\x11\n\rHIVEMETASTORE\x10\x07\"\xf3\x01\n\x14\x43reateClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x38\n\x07\x63luster\x18\x02 \x01(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12W\n action_on_failed_primary_workers\x18\x05 \x01(\x0e\x32\'.google.cloud.dataproc.v1.FailureActionB\x04\xe2\x41\x01\x01\"\xb5\x02\n\x14UpdateClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x05 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x38\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x04\xe2\x41\x01\x02\x12\x46\n\x1dgraceful_decommission_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x35\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\"\x96\x01\n\x12StopClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x97\x01\n\x13StartClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x98\x01\n\x14\x44\x65leteClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"_\n\x11GetClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"\x8e\x01\n\x13ListClustersRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06\x66ilter\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"p\n\x14ListClustersResponse\x12\x39\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x04\xe2\x41\x01\x03\x12\x1d\n\x0fnext_page_token\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\xf4\x01\n\x16\x44iagnoseClusterRequest\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06region\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0c\x63luster_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1d\n\x0ftarball_gcs_dir\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x37\n\x12\x64iagnosis_interval\x18\x06 \x01(\x0b\x32\x15.google.type.IntervalB\x04\xe2\x41\x01\x01\x12\x12\n\x04jobs\x18\n \x03(\tB\x04\xe2\x41\x01\x01\x12\"\n\x14yarn_application_ids\x18\x0b \x03(\tB\x04\xe2\x41\x01\x01\"2\n\x16\x44iagnoseClusterResults\x12\x18\n\noutput_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"\xfb\x01\n\x13ReservationAffinity\x12Z\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.dataproc.v1.ReservationAffinity.TypeB\x04\xe2\x41\x01\x01\x12\x11\n\x03key\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06values\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\"_\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_RESERVATION\x10\x01\x12\x13\n\x0f\x41NY_RESERVATION\x10\x02\x12\x18\n\x14SPECIFIC_RESERVATION\x10\x03\x32\xe4\x10\n\x11\x43lusterController\x12\x80\x02\n\rCreateCluster\x12..google.cloud.dataproc.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x19project_id,region,cluster\x82\xd3\xe4\x93\x02>\"3/v1/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\x12\xa8\x02\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x32project_id,region,cluster_name,cluster,update_mask\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\x12\xee\x01\n\x0bStopCluster\x12,.google.cloud.dataproc.v1.StopClusterRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x82\xd3\xe4\x93\x02L\"G/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop:\x01*\x12\xf1\x01\n\x0cStartCluster\x12-.google.cloud.dataproc.v1.StartClusterRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x82\xd3\xe4\x93\x02M\"H/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start:\x01*\x12\x99\x02\n\rDeleteCluster\x12..google.cloud.dataproc.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x1eproject_id,region,cluster_name\x82\xd3\xe4\x93\x02\x44*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xc9\x01\n\nGetCluster\x12+.google.cloud.dataproc.v1.GetClusterRequest\x1a!.google.cloud.dataproc.v1.Cluster\"k\xda\x41\x1eproject_id,region,cluster_name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xd9\x01\n\x0cListClusters\x12-.google.cloud.dataproc.v1.ListClustersRequest\x1a..google.cloud.dataproc.v1.ListClustersResponse\"j\xda\x41\x11project_id,region\xda\x41\x18project_id,region,filter\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/projects/{project_id}/regions/{region}/clusters\x12\xaa\x02\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\xca\x41K\n\x16\x44iagnoseClusterResults\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x1eproject_id,region,cluster_name\x82\xd3\xe4\x93\x02P\"K/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBl\n\x1c\x63om.google.cloud.dataproc.v1B\rClustersProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
|
22
|
+
descriptor_data = "\n\'google/cloud/dataproc/v1/clusters.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/dataproc/v1/operations.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1agoogle/type/interval.proto\"\xa2\x04\n\x07\x43luster\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterConfigB\x03\xe0\x41\x01\x12S\n\x16virtual_cluster_config\x18\n \x01(\x0b\x32..google.cloud.dataproc.v1.VirtualClusterConfigB\x03\xe0\x41\x01\x12\x42\n\x06labels\x18\x08 \x03(\x0b\x32-.google.cloud.dataproc.v1.Cluster.LabelsEntryB\x03\xe0\x41\x01\x12<\n\x06status\x18\x04 \x01(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatusB\x03\xe0\x41\x03\x12\x44\n\x0estatus_history\x18\x07 \x03(\x0b\x32\'.google.cloud.dataproc.v1.ClusterStatusB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_uuid\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12>\n\x07metrics\x18\t \x01(\x0b\x32(.google.cloud.dataproc.v1.ClusterMetricsB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\t\n\rClusterConfig\x12\x1a\n\rconfig_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0btemp_bucket\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\x12gce_cluster_config\x18\x08 \x01(\x0b\x32*.google.cloud.dataproc.v1.GceClusterConfigB\x03\xe0\x41\x01\x12I\n\rmaster_config\x18\t \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12I\n\rworker_config\x18\n \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12S\n\x17secondary_worker_config\x18\x0c \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12\x46\n\x0fsoftware_config\x18\r \x01(\x0b\x32(.google.cloud.dataproc.v1.SoftwareConfigB\x03\xe0\x41\x01\x12W\n\x16initialization_actions\x18\x0b \x03(\x0b\x32\x32.google.cloud.dataproc.v1.NodeInitializationActionB\x03\xe0\x41\x01\x12J\n\x11\x65ncryption_config\x18\x0f \x01(\x0b\x32*.google.cloud.dataproc.v1.EncryptionConfigB\x03\xe0\x41\x01\x12L\n\x12\x61utoscaling_config\x18\x12 \x01(\x0b\x32+.google.cloud.dataproc.v1.AutoscalingConfigB\x03\xe0\x41\x01\x12\x46\n\x0fsecurity_config\x18\x10 \x01(\x0b\x32(.google.cloud.dataproc.v1.SecurityConfigB\x03\xe0\x41\x01\x12H\n\x10lifecycle_config\x18\x11 \x01(\x0b\x32).google.cloud.dataproc.v1.LifecycleConfigB\x03\xe0\x41\x01\x12\x46\n\x0f\x65ndpoint_config\x18\x13 \x01(\x0b\x32(.google.cloud.dataproc.v1.EndpointConfigB\x03\xe0\x41\x01\x12H\n\x10metastore_config\x18\x14 \x01(\x0b\x32).google.cloud.dataproc.v1.MetastoreConfigB\x03\xe0\x41\x01\x12S\n\x16\x64\x61taproc_metric_config\x18\x17 \x01(\x0b\x32..google.cloud.dataproc.v1.DataprocMetricConfigB\x03\xe0\x41\x01\x12P\n\x15\x61uxiliary_node_groups\x18\x19 \x03(\x0b\x32,.google.cloud.dataproc.v1.AuxiliaryNodeGroupB\x03\xe0\x41\x01\"\x84\x02\n\x14VirtualClusterConfig\x12\x1b\n\x0estaging_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12[\n\x19kubernetes_cluster_config\x18\x06 \x01(\x0b\x32\x31.google.cloud.dataproc.v1.KubernetesClusterConfigB\x03\xe0\x41\x02H\x00\x12Y\n\x19\x61uxiliary_services_config\x18\x07 \x01(\x0b\x32\x31.google.cloud.dataproc.v1.AuxiliaryServicesConfigB\x03\xe0\x41\x01\x42\x17\n\x15infrastructure_config\"\xc1\x01\n\x17\x41uxiliaryServicesConfig\x12H\n\x10metastore_config\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.MetastoreConfigB\x03\xe0\x41\x01\x12\\\n\x1bspark_history_server_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.dataproc.v1.SparkHistoryServerConfigB\x03\xe0\x41\x01\"\xba\x01\n\x0e\x45ndpointConfig\x12P\n\nhttp_ports\x18\x01 \x03(\x0b\x32\x37.google.cloud.dataproc.v1.EndpointConfig.HttpPortsEntryB\x03\xe0\x41\x03\x12$\n\x17\x65nable_http_port_access\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x30\n\x0eHttpPortsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\",\n\x11\x41utoscalingConfig\x12\x17\n\npolicy_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\"4\n\x10\x45ncryptionConfig\x12 \n\x13gce_pd_kms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xba\x07\n\x10GceClusterConfig\x12\x15\n\x08zone_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bnetwork_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0esubnetwork_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x10internal_ip_only\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12k\n\x1aprivate_ipv6_google_access\x18\x0c \x01(\x0e\x32\x42.google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccessB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16service_account_scopes\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x0c\n\x04tags\x18\x04 \x03(\t\x12O\n\x08metadata\x18\x05 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.GceClusterConfig.MetadataEntryB\x03\xe0\x41\x01\x12P\n\x14reservation_affinity\x18\x0b \x01(\x0b\x32-.google.cloud.dataproc.v1.ReservationAffinityB\x03\xe0\x41\x01\x12M\n\x13node_group_affinity\x18\r \x01(\x0b\x32+.google.cloud.dataproc.v1.NodeGroupAffinityB\x03\xe0\x41\x01\x12W\n\x18shielded_instance_config\x18\x0e \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ShieldedInstanceConfigB\x03\xe0\x41\x01\x12_\n\x1c\x63onfidential_instance_config\x18\x0f \x01(\x0b\x32\x34.google.cloud.dataproc.v1.ConfidentialInstanceConfigB\x03\xe0\x41\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x01\n\x17PrivateIpv6GoogleAccess\x12*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\x10\x00\x12\x1b\n\x17INHERIT_FROM_SUBNETWORK\x10\x01\x12\x0c\n\x08OUTBOUND\x10\x02\x12\x11\n\rBIDIRECTIONAL\x10\x03\x42\x13\n\x11_internal_ip_only\"0\n\x11NodeGroupAffinity\x12\x1b\n\x0enode_group_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xd3\x01\n\x16ShieldedInstanceConfig\x12$\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1d\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12-\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x15\n\x13_enable_secure_bootB\x0e\n\x0c_enable_vtpmB\x1e\n\x1c_enable_integrity_monitoring\"F\n\x1a\x43onfidentialInstanceConfig\x12(\n\x1b\x65nable_confidential_compute\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"\xeb\x06\n\x13InstanceGroupConfig\x12\x1a\n\rnum_instances\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0einstance_names\x18\x02 \x03(\tB\x03\xe0\x41\x03\x12M\n\x13instance_references\x18\x0b \x03(\x0b\x32+.google.cloud.dataproc.v1.InstanceReferenceB\x03\xe0\x41\x03\x12\x16\n\timage_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10machine_type_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12>\n\x0b\x64isk_config\x18\x05 \x01(\x0b\x32$.google.cloud.dataproc.v1.DiskConfigB\x03\xe0\x41\x01\x12\x1b\n\x0eis_preemptible\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12Y\n\x0epreemptibility\x18\n \x01(\x0e\x32<.google.cloud.dataproc.v1.InstanceGroupConfig.PreemptibilityB\x03\xe0\x41\x01\x12O\n\x14managed_group_config\x18\x07 \x01(\x0b\x32,.google.cloud.dataproc.v1.ManagedGroupConfigB\x03\xe0\x41\x03\x12\x46\n\x0c\x61\x63\x63\x65lerators\x18\x08 \x03(\x0b\x32+.google.cloud.dataproc.v1.AcceleratorConfigB\x03\xe0\x41\x01\x12\x1d\n\x10min_cpu_platform\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11min_num_instances\x18\x0c \x01(\x05\x42\x03\xe0\x41\x01\x12]\n\x1binstance_flexibility_policy\x18\r \x01(\x0b\x32\x33.google.cloud.dataproc.v1.InstanceFlexibilityPolicyB\x03\xe0\x41\x01\x12\x44\n\x0estartup_config\x18\x0e \x01(\x0b\x32\'.google.cloud.dataproc.v1.StartupConfigB\x03\xe0\x41\x01\"`\n\x0ePreemptibility\x12\x1e\n\x1aPREEMPTIBILITY_UNSPECIFIED\x10\x00\x12\x13\n\x0fNON_PREEMPTIBLE\x10\x01\x12\x0f\n\x0bPREEMPTIBLE\x10\x02\x12\x08\n\x04SPOT\x10\x03\"d\n\rStartupConfig\x12\x30\n\x1erequired_registration_fraction\x18\x01 \x01(\x01\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42!\n\x1f_required_registration_fraction\"m\n\x11InstanceReference\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x12\n\npublic_key\x18\x03 \x01(\t\x12\x18\n\x10public_ecies_key\x18\x04 \x01(\t\"\x8c\x01\n\x12ManagedGroupConfig\x12#\n\x16instance_template_name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12(\n\x1binstance_group_manager_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1ainstance_group_manager_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xb7\x03\n\x19InstanceFlexibilityPolicy\x12k\n\x17instance_selection_list\x18\x02 \x03(\x0b\x32\x45.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionB\x03\xe0\x41\x01\x12t\n\x1ainstance_selection_results\x18\x03 \x03(\x0b\x32K.google.cloud.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionResultB\x03\xe0\x41\x03\x1a\x42\n\x11InstanceSelection\x12\x1a\n\rmachine_types\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04rank\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x1as\n\x17InstanceSelectionResult\x12\x1e\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1a\n\x08vm_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03H\x01\x88\x01\x01\x42\x0f\n\r_machine_typeB\x0b\n\t_vm_count\"L\n\x11\x41\x63\x63\x65leratorConfig\x12\x1c\n\x14\x61\x63\x63\x65lerator_type_uri\x18\x01 \x01(\t\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x02 \x01(\x05\"\x88\x01\n\nDiskConfig\x12\x1b\n\x0e\x62oot_disk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x62oot_disk_size_gb\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0enum_local_ssds\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12 \n\x13local_ssd_interface\x18\x04 \x01(\tB\x03\xe0\x41\x01\"n\n\x12\x41uxiliaryNodeGroup\x12<\n\nnode_group\x18\x01 \x01(\x0b\x32#.google.cloud.dataproc.v1.NodeGroupB\x03\xe0\x41\x02\x12\x1a\n\rnode_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xbd\x03\n\tNodeGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\x05roles\x18\x02 \x03(\x0e\x32(.google.cloud.dataproc.v1.NodeGroup.RoleB\x03\xe0\x41\x02\x12M\n\x11node_group_config\x18\x03 \x01(\x0b\x32-.google.cloud.dataproc.v1.InstanceGroupConfigB\x03\xe0\x41\x01\x12\x44\n\x06labels\x18\x04 \x03(\x0b\x32/.google.cloud.dataproc.v1.NodeGroup.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44RIVER\x10\x01:v\xea\x41s\n!dataproc.googleapis.com/NodeGroup\x12Nprojects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{node_group}\"s\n\x18NodeInitializationAction\x12\x1c\n\x0f\x65xecutable_file\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x11\x65xecution_timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\xd6\x03\n\rClusterStatus\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32-.google.cloud.dataproc.v1.ClusterStatus.StateB\x03\xe0\x41\x03\x12\x16\n\x06\x64\x65tail\x18\x02 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x01\x12\x39\n\x10state_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x08substate\x18\x04 \x01(\x0e\x32\x30.google.cloud.dataproc.v1.ClusterStatus.SubstateB\x03\xe0\x41\x03\"\xa7\x01\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x17\n\x13\x45RROR_DUE_TO_UPDATE\x10\t\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08STOPPING\x10\x06\x12\x0b\n\x07STOPPED\x10\x07\x12\x0c\n\x08STARTING\x10\x08\x12\r\n\tREPAIRING\x10\n\"<\n\x08Substate\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\r\n\tUNHEALTHY\x10\x01\x12\x10\n\x0cSTALE_STATUS\x10\x02\"\xa0\x01\n\x0eSecurityConfig\x12\x46\n\x0fkerberos_config\x18\x01 \x01(\x0b\x32(.google.cloud.dataproc.v1.KerberosConfigB\x03\xe0\x41\x01\x12\x46\n\x0fidentity_config\x18\x02 \x01(\x0b\x32(.google.cloud.dataproc.v1.IdentityConfigB\x03\xe0\x41\x01\"\x90\x04\n\x0eKerberosConfig\x12\x1c\n\x0f\x65nable_kerberos\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1broot_principal_password_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bkms_key_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0ckeystore_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0etruststore_uri\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15keystore_password_uri\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10key_password_uri\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17truststore_password_uri\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x63ross_realm_trust_realm\x18\t \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15\x63ross_realm_trust_kdc\x18\n \x01(\tB\x03\xe0\x41\x01\x12+\n\x1e\x63ross_realm_trust_admin_server\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x32\n%cross_realm_trust_shared_password_uri\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0ekdc_db_key_uri\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12tgt_lifetime_hours\x18\x0e \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05realm\x18\x0f \x01(\tB\x03\xe0\x41\x01\"\xc6\x01\n\x0eIdentityConfig\x12r\n\x1cuser_service_account_mapping\x18\x01 \x03(\x0b\x32G.google.cloud.dataproc.v1.IdentityConfig.UserServiceAccountMappingEntryB\x03\xe0\x41\x02\x1a@\n\x1eUserServiceAccountMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf9\x01\n\x0eSoftwareConfig\x12\x1a\n\rimage_version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nproperties\x18\x02 \x03(\x0b\x32\x38.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntryB\x03\xe0\x41\x01\x12\x45\n\x13optional_components\x18\x03 \x03(\x0e\x32#.google.cloud.dataproc.v1.ComponentB\x03\xe0\x41\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x83\x02\n\x0fLifecycleConfig\x12\x37\n\x0fidle_delete_ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12;\n\x10\x61uto_delete_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x00\x12\x39\n\x0f\x61uto_delete_ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01H\x00\x12\x38\n\x0fidle_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x42\x05\n\x03ttl\"_\n\x0fMetastoreConfig\x12L\n\x1a\x64\x61taproc_metastore_service\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n metastore.googleapis.com/Service\"\x9a\x02\n\x0e\x43lusterMetrics\x12O\n\x0chdfs_metrics\x18\x01 \x03(\x0b\x32\x39.google.cloud.dataproc.v1.ClusterMetrics.HdfsMetricsEntry\x12O\n\x0cyarn_metrics\x18\x02 \x03(\x0b\x32\x39.google.cloud.dataproc.v1.ClusterMetrics.YarnMetricsEntry\x1a\x32\n\x10HdfsMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x32\n\x10YarnMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x92\x03\n\x14\x44\x61taprocMetricConfig\x12K\n\x07metrics\x18\x01 \x03(\x0b\x32\x35.google.cloud.dataproc.v1.DataprocMetricConfig.MetricB\x03\xe0\x41\x02\x1a\x80\x01\n\x06Metric\x12W\n\rmetric_source\x18\x01 \x01(\x0e\x32;.google.cloud.dataproc.v1.DataprocMetricConfig.MetricSourceB\x03\xe0\x41\x02\x12\x1d\n\x10metric_overrides\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\xa9\x01\n\x0cMetricSource\x12\x1d\n\x19METRIC_SOURCE_UNSPECIFIED\x10\x00\x12\x1d\n\x19MONITORING_AGENT_DEFAULTS\x10\x01\x12\x08\n\x04HDFS\x10\x02\x12\t\n\x05SPARK\x10\x03\x12\x08\n\x04YARN\x10\x04\x12\x18\n\x14SPARK_HISTORY_SERVER\x10\x05\x12\x0f\n\x0bHIVESERVER2\x10\x06\x12\x11\n\rHIVEMETASTORE\x10\x07\"\xee\x01\n\x14\x43reateClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07\x63luster\x18\x02 \x01(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12V\n action_on_failed_primary_workers\x18\x05 \x01(\x0e\x32\'.google.cloud.dataproc.v1.FailureActionB\x03\xe0\x41\x01\"\xae\x02\n\x14UpdateClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x03\xe0\x41\x02\x12\x45\n\x1dgraceful_decommission_timeout\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\x91\x01\n\x12StopClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x92\x01\n\x13StartClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x14\x44\x65leteClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\\\n\x11GetClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x89\x01\n\x13ListClustersRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"n\n\x14ListClustersResponse\x12\x38\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.cloud.dataproc.v1.ClusterB\x03\xe0\x41\x03\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xed\x01\n\x16\x44iagnoseClusterRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63luster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0ftarball_gcs_dir\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x36\n\x12\x64iagnosis_interval\x18\x06 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x01\x12\x11\n\x04jobs\x18\n \x03(\tB\x03\xe0\x41\x01\x12!\n\x14yarn_application_ids\x18\x0b \x03(\tB\x03\xe0\x41\x01\"1\n\x16\x44iagnoseClusterResults\x12\x17\n\noutput_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\xf8\x01\n\x13ReservationAffinity\x12Y\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.dataproc.v1.ReservationAffinity.TypeB\x03\xe0\x41\x01\x12\x10\n\x03key\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06values\x18\x03 \x03(\tB\x03\xe0\x41\x01\"_\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_RESERVATION\x10\x01\x12\x13\n\x0f\x41NY_RESERVATION\x10\x02\x12\x18\n\x14SPECIFIC_RESERVATION\x10\x03\x32\xe4\x10\n\x11\x43lusterController\x12\x80\x02\n\rCreateCluster\x12..google.cloud.dataproc.v1.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x19project_id,region,cluster\x82\xd3\xe4\x93\x02>\"3/v1/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\x12\xa8\x02\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x32project_id,region,cluster_name,cluster,update_mask\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\x12\xee\x01\n\x0bStopCluster\x12,.google.cloud.dataproc.v1.StopClusterRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x82\xd3\xe4\x93\x02L\"G/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop:\x01*\x12\xf1\x01\n\x0cStartCluster\x12-.google.cloud.dataproc.v1.StartClusterRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x82\xd3\xe4\x93\x02M\"H/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start:\x01*\x12\x99\x02\n\rDeleteCluster\x12..google.cloud.dataproc.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x1eproject_id,region,cluster_name\x82\xd3\xe4\x93\x02\x44*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xc9\x01\n\nGetCluster\x12+.google.cloud.dataproc.v1.GetClusterRequest\x1a!.google.cloud.dataproc.v1.Cluster\"k\xda\x41\x1eproject_id,region,cluster_name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\x12\xd9\x01\n\x0cListClusters\x12-.google.cloud.dataproc.v1.ListClustersRequest\x1a..google.cloud.dataproc.v1.ListClustersResponse\"j\xda\x41\x11project_id,region\xda\x41\x18project_id,region,filter\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/projects/{project_id}/regions/{region}/clusters\x12\xaa\x02\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\xca\x41K\n\x16\x44iagnoseClusterResults\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\xda\x41\x1eproject_id,region,cluster_name\x82\xd3\xe4\x93\x02P\"K/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBl\n\x1c\x63om.google.cloud.dataproc.v1B\rClustersProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
|
23
23
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
25
|
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# The JobController provides methods to manage jobs.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "dataproc.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -295,10 +298,11 @@ module Google
|
|
295
298
|
# Customize the options with defaults
|
296
299
|
metadata = @config.rpcs.submit_job.metadata.to_h
|
297
300
|
|
298
|
-
# Set x-goog-api-client
|
301
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
299
302
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
300
303
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
301
304
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
305
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
302
306
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
303
307
|
|
304
308
|
header_params = {}
|
@@ -408,10 +412,11 @@ module Google
|
|
408
412
|
# Customize the options with defaults
|
409
413
|
metadata = @config.rpcs.submit_job_as_operation.metadata.to_h
|
410
414
|
|
411
|
-
# Set x-goog-api-client
|
415
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
412
416
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
413
417
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
414
418
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
419
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
415
420
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
416
421
|
|
417
422
|
header_params = {}
|
@@ -502,10 +507,11 @@ module Google
|
|
502
507
|
# Customize the options with defaults
|
503
508
|
metadata = @config.rpcs.get_job.metadata.to_h
|
504
509
|
|
505
|
-
# Set x-goog-api-client
|
510
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
506
511
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
507
512
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
508
513
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
514
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
509
515
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
510
516
|
|
511
517
|
header_params = {}
|
@@ -628,10 +634,11 @@ module Google
|
|
628
634
|
# Customize the options with defaults
|
629
635
|
metadata = @config.rpcs.list_jobs.metadata.to_h
|
630
636
|
|
631
|
-
# Set x-goog-api-client
|
637
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
632
638
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
633
639
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
634
640
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
641
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
635
642
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
636
643
|
|
637
644
|
header_params = {}
|
@@ -731,10 +738,11 @@ module Google
|
|
731
738
|
# Customize the options with defaults
|
732
739
|
metadata = @config.rpcs.update_job.metadata.to_h
|
733
740
|
|
734
|
-
# Set x-goog-api-client
|
741
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
735
742
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
736
743
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
737
744
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
745
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
738
746
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
739
747
|
|
740
748
|
header_params = {}
|
@@ -831,10 +839,11 @@ module Google
|
|
831
839
|
# Customize the options with defaults
|
832
840
|
metadata = @config.rpcs.cancel_job.metadata.to_h
|
833
841
|
|
834
|
-
# Set x-goog-api-client
|
842
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
835
843
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
836
844
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
837
845
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
846
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
838
847
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
839
848
|
|
840
849
|
header_params = {}
|
@@ -928,10 +937,11 @@ module Google
|
|
928
937
|
# Customize the options with defaults
|
929
938
|
metadata = @config.rpcs.delete_job.metadata.to_h
|
930
939
|
|
931
|
-
# Set x-goog-api-client
|
940
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
932
941
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
933
942
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
934
943
|
gapic_version: ::Google::Cloud::Dataproc::V1::VERSION
|
944
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
935
945
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
936
946
|
|
937
947
|
header_params = {}
|