google-cloud-dataproc-v1 0.19.0 → 0.21.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/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +10 -1
- data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/client.rb +84 -0
- data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +10 -1
- data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +10 -1
- data/lib/google/cloud/dataproc/v1/batch_controller/rest/client.rb +75 -0
- data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +75 -0
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +24 -2
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +10 -1
- data/lib/google/cloud/dataproc/v1/cluster_controller/rest/client.rb +188 -1
- data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +75 -0
- data/lib/google/cloud/dataproc/v1/clusters_pb.rb +4 -1
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +10 -1
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +10 -1
- data/lib/google/cloud/dataproc/v1/job_controller/rest/client.rb +123 -0
- data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +75 -0
- data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +10 -1
- data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +10 -1
- data/lib/google/cloud/dataproc/v1/node_group_controller/rest/client.rb +62 -0
- data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +75 -0
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +10 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +10 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/client.rb +130 -0
- data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/operations.rb +75 -0
- data/proto_docs/google/cloud/dataproc/v1/clusters.rb +33 -18
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +6 -4
| @@ -243,6 +243,29 @@ module Google | |
| 243 243 | 
             
                          # @return [::Gapic::Operation]
         | 
| 244 244 | 
             
                          #
         | 
| 245 245 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 246 | 
            +
                          #
         | 
| 247 | 
            +
                          # @example Basic example
         | 
| 248 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 249 | 
            +
                          #
         | 
| 250 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 251 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 252 | 
            +
                          #
         | 
| 253 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 254 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::CreateClusterRequest.new
         | 
| 255 | 
            +
                          #
         | 
| 256 | 
            +
                          #   # Call the create_cluster method.
         | 
| 257 | 
            +
                          #   result = client.create_cluster request
         | 
| 258 | 
            +
                          #
         | 
| 259 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 260 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 261 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 262 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 263 | 
            +
                          #   if result.response?
         | 
| 264 | 
            +
                          #     p result.response
         | 
| 265 | 
            +
                          #   else
         | 
| 266 | 
            +
                          #     puts "No response received."
         | 
| 267 | 
            +
                          #   end
         | 
| 268 | 
            +
                          #
         | 
| 246 269 | 
             
                          def create_cluster request, options = nil
         | 
| 247 270 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 248 271 |  | 
| @@ -393,6 +416,29 @@ module Google | |
| 393 416 | 
             
                          # @return [::Gapic::Operation]
         | 
| 394 417 | 
             
                          #
         | 
| 395 418 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 419 | 
            +
                          #
         | 
| 420 | 
            +
                          # @example Basic example
         | 
| 421 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 422 | 
            +
                          #
         | 
| 423 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 424 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 425 | 
            +
                          #
         | 
| 426 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 427 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::UpdateClusterRequest.new
         | 
| 428 | 
            +
                          #
         | 
| 429 | 
            +
                          #   # Call the update_cluster method.
         | 
| 430 | 
            +
                          #   result = client.update_cluster request
         | 
| 431 | 
            +
                          #
         | 
| 432 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 433 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 434 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 435 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 436 | 
            +
                          #   if result.response?
         | 
| 437 | 
            +
                          #     p result.response
         | 
| 438 | 
            +
                          #   else
         | 
| 439 | 
            +
                          #     puts "No response received."
         | 
| 440 | 
            +
                          #   end
         | 
| 441 | 
            +
                          #
         | 
| 396 442 | 
             
                          def update_cluster request, options = nil
         | 
| 397 443 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 398 444 |  | 
| @@ -477,6 +523,29 @@ module Google | |
| 477 523 | 
             
                          # @return [::Gapic::Operation]
         | 
| 478 524 | 
             
                          #
         | 
| 479 525 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 526 | 
            +
                          #
         | 
| 527 | 
            +
                          # @example Basic example
         | 
| 528 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 529 | 
            +
                          #
         | 
| 530 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 531 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 532 | 
            +
                          #
         | 
| 533 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 534 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::StopClusterRequest.new
         | 
| 535 | 
            +
                          #
         | 
| 536 | 
            +
                          #   # Call the stop_cluster method.
         | 
| 537 | 
            +
                          #   result = client.stop_cluster request
         | 
| 538 | 
            +
                          #
         | 
| 539 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 540 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 541 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 542 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 543 | 
            +
                          #   if result.response?
         | 
| 544 | 
            +
                          #     p result.response
         | 
| 545 | 
            +
                          #   else
         | 
| 546 | 
            +
                          #     puts "No response received."
         | 
| 547 | 
            +
                          #   end
         | 
| 548 | 
            +
                          #
         | 
| 480 549 | 
             
                          def stop_cluster request, options = nil
         | 
| 481 550 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 482 551 |  | 
| @@ -561,6 +630,29 @@ module Google | |
| 561 630 | 
             
                          # @return [::Gapic::Operation]
         | 
| 562 631 | 
             
                          #
         | 
| 563 632 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 633 | 
            +
                          #
         | 
| 634 | 
            +
                          # @example Basic example
         | 
| 635 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 636 | 
            +
                          #
         | 
| 637 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 638 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 639 | 
            +
                          #
         | 
| 640 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 641 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::StartClusterRequest.new
         | 
| 642 | 
            +
                          #
         | 
| 643 | 
            +
                          #   # Call the start_cluster method.
         | 
| 644 | 
            +
                          #   result = client.start_cluster request
         | 
| 645 | 
            +
                          #
         | 
| 646 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 647 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 648 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 649 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 650 | 
            +
                          #   if result.response?
         | 
| 651 | 
            +
                          #     p result.response
         | 
| 652 | 
            +
                          #   else
         | 
| 653 | 
            +
                          #     puts "No response received."
         | 
| 654 | 
            +
                          #   end
         | 
| 655 | 
            +
                          #
         | 
| 564 656 | 
             
                          def start_cluster request, options = nil
         | 
| 565 657 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 566 658 |  | 
| @@ -647,6 +739,29 @@ module Google | |
| 647 739 | 
             
                          # @return [::Gapic::Operation]
         | 
| 648 740 | 
             
                          #
         | 
| 649 741 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 742 | 
            +
                          #
         | 
| 743 | 
            +
                          # @example Basic example
         | 
| 744 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 745 | 
            +
                          #
         | 
| 746 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 747 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 748 | 
            +
                          #
         | 
| 749 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 750 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::DeleteClusterRequest.new
         | 
| 751 | 
            +
                          #
         | 
| 752 | 
            +
                          #   # Call the delete_cluster method.
         | 
| 753 | 
            +
                          #   result = client.delete_cluster request
         | 
| 754 | 
            +
                          #
         | 
| 755 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 756 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 757 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 758 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 759 | 
            +
                          #   if result.response?
         | 
| 760 | 
            +
                          #     p result.response
         | 
| 761 | 
            +
                          #   else
         | 
| 762 | 
            +
                          #     puts "No response received."
         | 
| 763 | 
            +
                          #   end
         | 
| 764 | 
            +
                          #
         | 
| 650 765 | 
             
                          def delete_cluster request, options = nil
         | 
| 651 766 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 652 767 |  | 
| @@ -715,6 +830,22 @@ module Google | |
| 715 830 | 
             
                          # @return [::Google::Cloud::Dataproc::V1::Cluster]
         | 
| 716 831 | 
             
                          #
         | 
| 717 832 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 833 | 
            +
                          #
         | 
| 834 | 
            +
                          # @example Basic example
         | 
| 835 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 836 | 
            +
                          #
         | 
| 837 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 838 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 839 | 
            +
                          #
         | 
| 840 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 841 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::GetClusterRequest.new
         | 
| 842 | 
            +
                          #
         | 
| 843 | 
            +
                          #   # Call the get_cluster method.
         | 
| 844 | 
            +
                          #   result = client.get_cluster request
         | 
| 845 | 
            +
                          #
         | 
| 846 | 
            +
                          #   # The returned object is of type Google::Cloud::Dataproc::V1::Cluster.
         | 
| 847 | 
            +
                          #   p result
         | 
| 848 | 
            +
                          #
         | 
| 718 849 | 
             
                          def get_cluster request, options = nil
         | 
| 719 850 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 720 851 |  | 
| @@ -804,6 +935,26 @@ module Google | |
| 804 935 | 
             
                          # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataproc::V1::Cluster>]
         | 
| 805 936 | 
             
                          #
         | 
| 806 937 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 938 | 
            +
                          #
         | 
| 939 | 
            +
                          # @example Basic example
         | 
| 940 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 941 | 
            +
                          #
         | 
| 942 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 943 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 944 | 
            +
                          #
         | 
| 945 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 946 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::ListClustersRequest.new
         | 
| 947 | 
            +
                          #
         | 
| 948 | 
            +
                          #   # Call the list_clusters method.
         | 
| 949 | 
            +
                          #   result = client.list_clusters request
         | 
| 950 | 
            +
                          #
         | 
| 951 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 952 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 953 | 
            +
                          #   result.each do |item|
         | 
| 954 | 
            +
                          #     # Each element is of type ::Google::Cloud::Dataproc::V1::Cluster.
         | 
| 955 | 
            +
                          #     p item
         | 
| 956 | 
            +
                          #   end
         | 
| 957 | 
            +
                          #
         | 
| 807 958 | 
             
                          def list_clusters request, options = nil
         | 
| 808 959 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 809 960 |  | 
| @@ -859,7 +1010,7 @@ module Google | |
| 859 1010 | 
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         | 
| 860 1011 | 
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         | 
| 861 1012 | 
             
                          #
         | 
| 862 | 
            -
                          # @overload diagnose_cluster(project_id: nil, region: nil, cluster_name: nil)
         | 
| 1013 | 
            +
                          # @overload diagnose_cluster(project_id: nil, region: nil, cluster_name: nil, tarball_gcs_dir: nil, diagnosis_interval: nil, jobs: nil, yarn_application_ids: nil)
         | 
| 863 1014 | 
             
                          #   Pass arguments to `diagnose_cluster` via keyword arguments. Note that at
         | 
| 864 1015 | 
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         | 
| 865 1016 | 
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         | 
| @@ -871,6 +1022,19 @@ module Google | |
| 871 1022 | 
             
                          #     Required. The Dataproc region in which to handle the request.
         | 
| 872 1023 | 
             
                          #   @param cluster_name [::String]
         | 
| 873 1024 | 
             
                          #     Required. The cluster name.
         | 
| 1025 | 
            +
                          #   @param tarball_gcs_dir [::String]
         | 
| 1026 | 
            +
                          #     Optional. The output Cloud Storage directory for the diagnostic
         | 
| 1027 | 
            +
                          #     tarball. If not specified, a task-specific directory in the cluster's
         | 
| 1028 | 
            +
                          #     staging bucket will be used.
         | 
| 1029 | 
            +
                          #   @param diagnosis_interval [::Google::Type::Interval, ::Hash]
         | 
| 1030 | 
            +
                          #     Optional. Time interval in which diagnosis should be carried out on the
         | 
| 1031 | 
            +
                          #     cluster.
         | 
| 1032 | 
            +
                          #   @param jobs [::Array<::String>]
         | 
| 1033 | 
            +
                          #     Optional. Specifies a list of jobs on which diagnosis is to be performed.
         | 
| 1034 | 
            +
                          #     Format: projects/\\{project}/regions/\\{region}/jobs/\\{job}
         | 
| 1035 | 
            +
                          #   @param yarn_application_ids [::Array<::String>]
         | 
| 1036 | 
            +
                          #     Optional. Specifies a list of yarn applications on which diagnosis is to be
         | 
| 1037 | 
            +
                          #     performed.
         | 
| 874 1038 | 
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         | 
| 875 1039 | 
             
                          # @yieldparam result [::Gapic::Operation]
         | 
| 876 1040 | 
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         | 
| @@ -878,6 +1042,29 @@ module Google | |
| 878 1042 | 
             
                          # @return [::Gapic::Operation]
         | 
| 879 1043 | 
             
                          #
         | 
| 880 1044 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1045 | 
            +
                          #
         | 
| 1046 | 
            +
                          # @example Basic example
         | 
| 1047 | 
            +
                          #   require "google/cloud/dataproc/v1"
         | 
| 1048 | 
            +
                          #
         | 
| 1049 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1050 | 
            +
                          #   client = Google::Cloud::Dataproc::V1::ClusterController::Rest::Client.new
         | 
| 1051 | 
            +
                          #
         | 
| 1052 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1053 | 
            +
                          #   request = Google::Cloud::Dataproc::V1::DiagnoseClusterRequest.new
         | 
| 1054 | 
            +
                          #
         | 
| 1055 | 
            +
                          #   # Call the diagnose_cluster method.
         | 
| 1056 | 
            +
                          #   result = client.diagnose_cluster request
         | 
| 1057 | 
            +
                          #
         | 
| 1058 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 1059 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 1060 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 1061 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 1062 | 
            +
                          #   if result.response?
         | 
| 1063 | 
            +
                          #     p result.response
         | 
| 1064 | 
            +
                          #   else
         | 
| 1065 | 
            +
                          #     puts "No response received."
         | 
| 1066 | 
            +
                          #   end
         | 
| 1067 | 
            +
                          #
         | 
| 881 1068 | 
             
                          def diagnose_cluster request, options = nil
         | 
| 882 1069 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 883 1070 |  | 
| @@ -136,6 +136,26 @@ module Google | |
| 136 136 | 
             
                          # @return [::Gapic::Operation]
         | 
| 137 137 | 
             
                          #
         | 
| 138 138 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 139 | 
            +
                          #
         | 
| 140 | 
            +
                          # @example Basic example
         | 
| 141 | 
            +
                          #   require "google/longrunning"
         | 
| 142 | 
            +
                          #
         | 
| 143 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 144 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 145 | 
            +
                          #
         | 
| 146 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 147 | 
            +
                          #   request = Google::Longrunning::ListOperationsRequest.new
         | 
| 148 | 
            +
                          #
         | 
| 149 | 
            +
                          #   # Call the list_operations method.
         | 
| 150 | 
            +
                          #   result = client.list_operations request
         | 
| 151 | 
            +
                          #
         | 
| 152 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 153 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 154 | 
            +
                          #   result.each do |item|
         | 
| 155 | 
            +
                          #     # Each element is of type ::Google::Longrunning::Operation.
         | 
| 156 | 
            +
                          #     p item
         | 
| 157 | 
            +
                          #   end
         | 
| 158 | 
            +
                          #
         | 
| 139 159 | 
             
                          def list_operations request, options = nil
         | 
| 140 160 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 141 161 |  | 
| @@ -201,6 +221,29 @@ module Google | |
| 201 221 | 
             
                          # @return [::Gapic::Operation]
         | 
| 202 222 | 
             
                          #
         | 
| 203 223 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 224 | 
            +
                          #
         | 
| 225 | 
            +
                          # @example Basic example
         | 
| 226 | 
            +
                          #   require "google/longrunning"
         | 
| 227 | 
            +
                          #
         | 
| 228 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 229 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 230 | 
            +
                          #
         | 
| 231 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 232 | 
            +
                          #   request = Google::Longrunning::GetOperationRequest.new
         | 
| 233 | 
            +
                          #
         | 
| 234 | 
            +
                          #   # Call the get_operation method.
         | 
| 235 | 
            +
                          #   result = client.get_operation request
         | 
| 236 | 
            +
                          #
         | 
| 237 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 238 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 239 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 240 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 241 | 
            +
                          #   if result.response?
         | 
| 242 | 
            +
                          #     p result.response
         | 
| 243 | 
            +
                          #   else
         | 
| 244 | 
            +
                          #     puts "No response received."
         | 
| 245 | 
            +
                          #   end
         | 
| 246 | 
            +
                          #
         | 
| 204 247 | 
             
                          def get_operation request, options = nil
         | 
| 205 248 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 206 249 |  | 
| @@ -267,6 +310,22 @@ module Google | |
| 267 310 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 268 311 | 
             
                          #
         | 
| 269 312 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 313 | 
            +
                          #
         | 
| 314 | 
            +
                          # @example Basic example
         | 
| 315 | 
            +
                          #   require "google/longrunning"
         | 
| 316 | 
            +
                          #
         | 
| 317 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 318 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 319 | 
            +
                          #
         | 
| 320 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 321 | 
            +
                          #   request = Google::Longrunning::DeleteOperationRequest.new
         | 
| 322 | 
            +
                          #
         | 
| 323 | 
            +
                          #   # Call the delete_operation method.
         | 
| 324 | 
            +
                          #   result = client.delete_operation request
         | 
| 325 | 
            +
                          #
         | 
| 326 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 327 | 
            +
                          #   p result
         | 
| 328 | 
            +
                          #
         | 
| 270 329 | 
             
                          def delete_operation request, options = nil
         | 
| 271 330 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 272 331 |  | 
| @@ -338,6 +397,22 @@ module Google | |
| 338 397 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 339 398 | 
             
                          #
         | 
| 340 399 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 400 | 
            +
                          #
         | 
| 401 | 
            +
                          # @example Basic example
         | 
| 402 | 
            +
                          #   require "google/longrunning"
         | 
| 403 | 
            +
                          #
         | 
| 404 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 405 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 406 | 
            +
                          #
         | 
| 407 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 408 | 
            +
                          #   request = Google::Longrunning::CancelOperationRequest.new
         | 
| 409 | 
            +
                          #
         | 
| 410 | 
            +
                          #   # Call the cancel_operation method.
         | 
| 411 | 
            +
                          #   result = client.cancel_operation request
         | 
| 412 | 
            +
                          #
         | 
| 413 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 414 | 
            +
                          #   p result
         | 
| 415 | 
            +
                          #
         | 
| 341 416 | 
             
                          def cancel_operation request, options = nil
         | 
| 342 417 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 343 418 |  | 
| @@ -13,9 +13,11 @@ require 'google/longrunning/operations_pb' | |
| 13 13 | 
             
            require 'google/protobuf/duration_pb'
         | 
| 14 14 | 
             
            require 'google/protobuf/field_mask_pb'
         | 
| 15 15 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 16 | 
            +
            require 'google/protobuf/wrappers_pb'
         | 
| 17 | 
            +
            require 'google/type/interval_pb'
         | 
| 16 18 |  | 
| 17 19 |  | 
| 18 | 
            -
            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/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.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\"\xa5\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\"`\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\"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\"a\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\"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\x82\xd3\xe4\x93\x02>\"3/v1/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\xda\x41\x19project_id,region,cluster\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xa8\x02\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\xda\x41\x32project_id,region,cluster_name,cluster,update_mask\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xee\x01\n\x0bStopCluster\x12,.google.cloud.dataproc.v1.StopClusterRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02L\"G/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop:\x01*\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xf1\x01\n\x0cStartCluster\x12-.google.cloud.dataproc.v1.StartClusterRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02M\"H/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start:\x01*\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\x99\x02\n\rDeleteCluster\x12..google.cloud.dataproc.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\x82\xd3\xe4\x93\x02\x44*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\xda\x41\x1eproject_id,region,cluster_name\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xc9\x01\n\nGetCluster\x12+.google.cloud.dataproc.v1.GetClusterRequest\x1a!.google.cloud.dataproc.v1.Cluster\"k\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\xda\x41\x1eproject_id,region,cluster_name\x12\xd9\x01\n\x0cListClusters\x12-.google.cloud.dataproc.v1.ListClustersRequest\x1a..google.cloud.dataproc.v1.ListClustersResponse\"j\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/projects/{project_id}/regions/{region}/clusters\xda\x41\x11project_id,region\xda\x41\x18project_id,region,filter\x12\xaa\x02\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\x82\xd3\xe4\x93\x02P\"K/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*\xda\x41\x1eproject_id,region,cluster_name\xca\x41K\n\x16\x44iagnoseClusterResults\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\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"
         | 
| 20 | 
            +
            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/shared.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.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\"\xa5\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\"`\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\"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\x82\xd3\xe4\x93\x02>\"3/v1/projects/{project_id}/regions/{region}/clusters:\x07\x63luster\xda\x41\x19project_id,region,cluster\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xa8\x02\n\rUpdateCluster\x12..google.cloud.dataproc.v1.UpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\x82\xd3\xe4\x93\x02M2B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:\x07\x63luster\xda\x41\x32project_id,region,cluster_name,cluster,update_mask\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xee\x01\n\x0bStopCluster\x12,.google.cloud.dataproc.v1.StopClusterRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02L\"G/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:stop:\x01*\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xf1\x01\n\x0cStartCluster\x12-.google.cloud.dataproc.v1.StartClusterRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02M\"H/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:start:\x01*\xca\x41<\n\x07\x43luster\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\x99\x02\n\rDeleteCluster\x12..google.cloud.dataproc.v1.DeleteClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\x82\xd3\xe4\x93\x02\x44*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\xda\x41\x1eproject_id,region,cluster_name\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\x12\xc9\x01\n\nGetCluster\x12+.google.cloud.dataproc.v1.GetClusterRequest\x1a!.google.cloud.dataproc.v1.Cluster\"k\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\xda\x41\x1eproject_id,region,cluster_name\x12\xd9\x01\n\x0cListClusters\x12-.google.cloud.dataproc.v1.ListClustersRequest\x1a..google.cloud.dataproc.v1.ListClustersResponse\"j\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/projects/{project_id}/regions/{region}/clusters\xda\x41\x11project_id,region\xda\x41\x18project_id,region,filter\x12\xaa\x02\n\x0f\x44iagnoseCluster\x12\x30.google.cloud.dataproc.v1.DiagnoseClusterRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\x82\xd3\xe4\x93\x02P\"K/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\x01*\xda\x41\x1eproject_id,region,cluster_name\xca\x41K\n\x16\x44iagnoseClusterResults\x12\x31google.cloud.dataproc.v1.ClusterOperationMetadata\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"
         | 
| 19 21 |  | 
| 20 22 | 
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 21 23 |  | 
| @@ -34,6 +36,7 @@ rescue TypeError => e | |
| 34 36 | 
             
                ["google.protobuf.Duration", "google/protobuf/duration.proto"],
         | 
| 35 37 | 
             
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         | 
| 36 38 | 
             
                ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
         | 
| 39 | 
            +
                ["google.type.Interval", "google/type/interval.proto"],
         | 
| 37 40 | 
             
              ]
         | 
| 38 41 | 
             
              imports.each do |type_name, expected_filename|
         | 
| 39 42 | 
             
                import_file = pool.lookup(type_name).file_descriptor
         | 
| @@ -184,7 +184,8 @@ module Google | |
| 184 184 | 
             
                            credentials:  credentials,
         | 
| 185 185 | 
             
                            endpoint:     @config.endpoint,
         | 
| 186 186 | 
             
                            channel_args: @config.channel_args,
         | 
| 187 | 
            -
                            interceptors: @config.interceptors
         | 
| 187 | 
            +
                            interceptors: @config.interceptors,
         | 
| 188 | 
            +
                            channel_pool_config: @config.channel_pool
         | 
| 188 189 | 
             
                          )
         | 
| 189 190 | 
             
                        end
         | 
| 190 191 |  | 
| @@ -1065,6 +1066,14 @@ module Google | |
| 1065 1066 | 
             
                            end
         | 
| 1066 1067 | 
             
                          end
         | 
| 1067 1068 |  | 
| 1069 | 
            +
                          ##
         | 
| 1070 | 
            +
                          # Configuration for the channel pool
         | 
| 1071 | 
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 1072 | 
            +
                          #
         | 
| 1073 | 
            +
                          def channel_pool
         | 
| 1074 | 
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 1075 | 
            +
                          end
         | 
| 1076 | 
            +
             | 
| 1068 1077 | 
             
                          ##
         | 
| 1069 1078 | 
             
                          # Configuration RPC class for the JobController API.
         | 
| 1070 1079 | 
             
                          #
         | 
| @@ -93,7 +93,8 @@ module Google | |
| 93 93 | 
             
                            credentials:  credentials,
         | 
| 94 94 | 
             
                            endpoint:     @config.endpoint,
         | 
| 95 95 | 
             
                            channel_args: @config.channel_args,
         | 
| 96 | 
            -
                            interceptors: @config.interceptors
         | 
| 96 | 
            +
                            interceptors: @config.interceptors,
         | 
| 97 | 
            +
                            channel_pool_config: @config.channel_pool
         | 
| 97 98 | 
             
                          )
         | 
| 98 99 |  | 
| 99 100 | 
             
                          # Used by an LRO wrapper for some methods of this service
         | 
| @@ -701,6 +702,14 @@ module Google | |
| 701 702 | 
             
                            end
         | 
| 702 703 | 
             
                          end
         | 
| 703 704 |  | 
| 705 | 
            +
                          ##
         | 
| 706 | 
            +
                          # Configuration for the channel pool
         | 
| 707 | 
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 708 | 
            +
                          #
         | 
| 709 | 
            +
                          def channel_pool
         | 
| 710 | 
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 711 | 
            +
                          end
         | 
| 712 | 
            +
             | 
| 704 713 | 
             
                          ##
         | 
| 705 714 | 
             
                          # Configuration RPC class for the Operations API.
         | 
| 706 715 | 
             
                          #
         |