google-cloud-dataproc-v1beta2 0.6.2 → 0.6.3
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/v1beta2/autoscaling_policy_service/client.rb +44 -41
 - data/lib/google/cloud/dataproc/v1beta2/cluster_controller/client.rb +51 -46
 - data/lib/google/cloud/dataproc/v1beta2/cluster_controller/operations.rb +30 -21
 - data/lib/google/cloud/dataproc/v1beta2/clusters_services_pb.rb +4 -4
 - data/lib/google/cloud/dataproc/v1beta2/job_controller/client.rb +52 -45
 - data/lib/google/cloud/dataproc/v1beta2/job_controller/operations.rb +30 -21
 - data/lib/google/cloud/dataproc/v1beta2/jobs_services_pb.rb +2 -2
 - data/lib/google/cloud/dataproc/v1beta2/version.rb +1 -1
 - data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/client.rb +51 -44
 - data/lib/google/cloud/dataproc/v1beta2/workflow_template_service/operations.rb +30 -21
 - data/lib/google/cloud/dataproc/v1beta2/workflow_templates_services_pb.rb +1 -1
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 9979105fd78d15c01e8a1a40daa2a8f073013ab39687c3150367f40834388054
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 528fcc605b6f1466f16b97c0a00559468590072f1d72ded9d670a2651a95e65c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 24054353fea2979b8404a92b65124337d73e0ddd1edbf6b1c4c1c789a698112d04d439f260309174299dfe05e98ec210fca7731efa1d7e835d07c8fb1b47d003
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a676e246af8ffc923a67ccdcecb755d9afa5a960c652c2379734bf0e90ecdde5237f5fb96c5aac36f4758a00ba32eb9730893d45f5b70a58db29fd6550dbc57f
         
     | 
| 
         @@ -42,13 +42,12 @@ module Google 
     | 
|
| 
       42 
42 
     | 
    
         
             
                        # See {::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client::Configuration}
         
     | 
| 
       43 
43 
     | 
    
         
             
                        # for a description of the configuration fields.
         
     | 
| 
       44 
44 
     | 
    
         
             
                        #
         
     | 
| 
       45 
     | 
    
         
            -
                        #  
     | 
| 
      
 45 
     | 
    
         
            +
                        # @example
         
     | 
| 
       46 
46 
     | 
    
         
             
                        #
         
     | 
| 
       47 
     | 
    
         
            -
                        #  
     | 
| 
       48 
     | 
    
         
            -
                        #
         
     | 
| 
       49 
     | 
    
         
            -
                        #      
     | 
| 
       50 
     | 
    
         
            -
                        # 
     | 
| 
       51 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 47 
     | 
    
         
            +
                        #   # Modify the configuration for all AutoscalingPolicyService clients
         
     | 
| 
      
 48 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
         
     | 
| 
      
 49 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 50 
     | 
    
         
            +
                        #   end
         
     | 
| 
       52 
51 
     | 
    
         
             
                        #
         
     | 
| 
       53 
52 
     | 
    
         
             
                        # @yield [config] Configure the Client client.
         
     | 
| 
       54 
53 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -114,19 +113,15 @@ module Google 
     | 
|
| 
       114 
113 
     | 
    
         
             
                        ##
         
     | 
| 
       115 
114 
     | 
    
         
             
                        # Create a new AutoscalingPolicyService client object.
         
     | 
| 
       116 
115 
     | 
    
         
             
                        #
         
     | 
| 
       117 
     | 
    
         
            -
                        #  
     | 
| 
       118 
     | 
    
         
            -
                        #
         
     | 
| 
       119 
     | 
    
         
            -
                        # To create a new AutoscalingPolicyService client with the default
         
     | 
| 
       120 
     | 
    
         
            -
                        # configuration:
         
     | 
| 
       121 
     | 
    
         
            -
                        #
         
     | 
| 
       122 
     | 
    
         
            -
                        #     client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
         
     | 
| 
      
 116 
     | 
    
         
            +
                        # @example
         
     | 
| 
       123 
117 
     | 
    
         
             
                        #
         
     | 
| 
       124 
     | 
    
         
            -
                        #  
     | 
| 
       125 
     | 
    
         
            -
                        #  
     | 
| 
      
 118 
     | 
    
         
            +
                        #   # Create a client using the default configuration
         
     | 
| 
      
 119 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new
         
     | 
| 
       126 
120 
     | 
    
         
             
                        #
         
     | 
| 
       127 
     | 
    
         
            -
                        # 
     | 
| 
       128 
     | 
    
         
            -
                        # 
     | 
| 
       129 
     | 
    
         
            -
                        #      
     | 
| 
      
 121 
     | 
    
         
            +
                        #   # Create a client using a custom configuration
         
     | 
| 
      
 122 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
         
     | 
| 
      
 123 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 124 
     | 
    
         
            +
                        #   end
         
     | 
| 
       130 
125 
     | 
    
         
             
                        #
         
     | 
| 
       131 
126 
     | 
    
         
             
                        # @yield [config] Configure the AutoscalingPolicyService client.
         
     | 
| 
       132 
127 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -146,10 +141,9 @@ module Google 
     | 
|
| 
       146 
141 
     | 
    
         | 
| 
       147 
142 
     | 
    
         
             
                          # Create credentials
         
     | 
| 
       148 
143 
     | 
    
         
             
                          credentials = @config.credentials
         
     | 
| 
       149 
     | 
    
         
            -
                          # Use self-signed JWT if the  
     | 
| 
      
 144 
     | 
    
         
            +
                          # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       150 
145 
     | 
    
         
             
                          # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       151 
     | 
    
         
            -
                          enable_self_signed_jwt = @config. 
     | 
| 
       152 
     | 
    
         
            -
                                                   @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
      
 146 
     | 
    
         
            +
                          enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
       153 
147 
     | 
    
         
             
                                                   !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       154 
148 
     | 
    
         
             
                          credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       155 
149 
     | 
    
         
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -236,7 +230,9 @@ module Google 
     | 
|
| 
       236 
230 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.create_autoscaling_policy.timeout,
         
     | 
| 
       237 
231 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       238 
232 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.create_autoscaling_policy.retry_policy
         
     | 
| 
       239 
     | 
    
         
            -
             
     | 
| 
      
 233 
     | 
    
         
            +
             
     | 
| 
      
 234 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 235 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       240 
236 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       241 
237 
     | 
    
         | 
| 
       242 
238 
     | 
    
         
             
                          @autoscaling_policy_service_stub.call_rpc :create_autoscaling_policy, request, options: options do |response, operation|
         
     | 
| 
         @@ -305,7 +301,9 @@ module Google 
     | 
|
| 
       305 
301 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.update_autoscaling_policy.timeout,
         
     | 
| 
       306 
302 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       307 
303 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.update_autoscaling_policy.retry_policy
         
     | 
| 
       308 
     | 
    
         
            -
             
     | 
| 
      
 304 
     | 
    
         
            +
             
     | 
| 
      
 305 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 306 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       309 
307 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       310 
308 
     | 
    
         | 
| 
       311 
309 
     | 
    
         
             
                          @autoscaling_policy_service_stub.call_rpc :update_autoscaling_policy, request, options: options do |response, operation|
         
     | 
| 
         @@ -380,7 +378,9 @@ module Google 
     | 
|
| 
       380 
378 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_autoscaling_policy.timeout,
         
     | 
| 
       381 
379 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       382 
380 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_autoscaling_policy.retry_policy
         
     | 
| 
       383 
     | 
    
         
            -
             
     | 
| 
      
 381 
     | 
    
         
            +
             
     | 
| 
      
 382 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 383 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       384 
384 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       385 
385 
     | 
    
         | 
| 
       386 
386 
     | 
    
         
             
                          @autoscaling_policy_service_stub.call_rpc :get_autoscaling_policy, request, options: options do |response, operation|
         
     | 
| 
         @@ -461,7 +461,9 @@ module Google 
     | 
|
| 
       461 
461 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_autoscaling_policies.timeout,
         
     | 
| 
       462 
462 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       463 
463 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_autoscaling_policies.retry_policy
         
     | 
| 
       464 
     | 
    
         
            -
             
     | 
| 
      
 464 
     | 
    
         
            +
             
     | 
| 
      
 465 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 466 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       465 
467 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       466 
468 
     | 
    
         | 
| 
       467 
469 
     | 
    
         
             
                          @autoscaling_policy_service_stub.call_rpc :list_autoscaling_policies, request, options: options do |response, operation|
         
     | 
| 
         @@ -538,7 +540,9 @@ module Google 
     | 
|
| 
       538 
540 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_autoscaling_policy.timeout,
         
     | 
| 
       539 
541 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       540 
542 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_autoscaling_policy.retry_policy
         
     | 
| 
       541 
     | 
    
         
            -
             
     | 
| 
      
 543 
     | 
    
         
            +
             
     | 
| 
      
 544 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 545 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       542 
546 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       543 
547 
     | 
    
         | 
| 
       544 
548 
     | 
    
         
             
                          @autoscaling_policy_service_stub.call_rpc :delete_autoscaling_policy, request, options: options do |response, operation|
         
     | 
| 
         @@ -562,22 +566,21 @@ module Google 
     | 
|
| 
       562 
566 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       563 
567 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       564 
568 
     | 
    
         
             
                        #
         
     | 
| 
       565 
     | 
    
         
            -
                        #  
     | 
| 
       566 
     | 
    
         
            -
                        #
         
     | 
| 
       567 
     | 
    
         
            -
                        #  
     | 
| 
       568 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       569 
     | 
    
         
            -
                        #
         
     | 
| 
       570 
     | 
    
         
            -
                        # 
     | 
| 
       571 
     | 
    
         
            -
                        # 
     | 
| 
       572 
     | 
    
         
            -
                        # 
     | 
| 
       573 
     | 
    
         
            -
                        # 
     | 
| 
       574 
     | 
    
         
            -
                        #
         
     | 
| 
       575 
     | 
    
         
            -
                        #  
     | 
| 
       576 
     | 
    
         
            -
                        #
         
     | 
| 
       577 
     | 
    
         
            -
                        #      
     | 
| 
       578 
     | 
    
         
            -
                        # 
     | 
| 
       579 
     | 
    
         
            -
                        # 
     | 
| 
       580 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 569 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 570 
     | 
    
         
            +
                        #
         
     | 
| 
      
 571 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 572 
     | 
    
         
            +
                        #   # create_autoscaling_policy to 20 seconds,
         
     | 
| 
      
 573 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 574 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.configure do |config|
         
     | 
| 
      
 575 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 576 
     | 
    
         
            +
                        #     config.rpcs.create_autoscaling_policy.timeout = 20.0
         
     | 
| 
      
 577 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 578 
     | 
    
         
            +
                        #
         
     | 
| 
      
 579 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 580 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::AutoscalingPolicyService::Client.new do |config|
         
     | 
| 
      
 581 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 582 
     | 
    
         
            +
                        #     config.rpcs.create_autoscaling_policy.timeout = 20.0
         
     | 
| 
      
 583 
     | 
    
         
            +
                        #   end
         
     | 
| 
       581 
584 
     | 
    
         
             
                        #
         
     | 
| 
       582 
585 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       583 
586 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -42,13 +42,12 @@ module Google 
     | 
|
| 
       42 
42 
     | 
    
         
             
                        # See {::Google::Cloud::Dataproc::V1beta2::ClusterController::Client::Configuration}
         
     | 
| 
       43 
43 
     | 
    
         
             
                        # for a description of the configuration fields.
         
     | 
| 
       44 
44 
     | 
    
         
             
                        #
         
     | 
| 
       45 
     | 
    
         
            -
                        #  
     | 
| 
      
 45 
     | 
    
         
            +
                        # @example
         
     | 
| 
       46 
46 
     | 
    
         
             
                        #
         
     | 
| 
       47 
     | 
    
         
            -
                        #  
     | 
| 
       48 
     | 
    
         
            -
                        #
         
     | 
| 
       49 
     | 
    
         
            -
                        #      
     | 
| 
       50 
     | 
    
         
            -
                        # 
     | 
| 
       51 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 47 
     | 
    
         
            +
                        #   # Modify the configuration for all ClusterController clients
         
     | 
| 
      
 48 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.configure do |config|
         
     | 
| 
      
 49 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 50 
     | 
    
         
            +
                        #   end
         
     | 
| 
       52 
51 
     | 
    
         
             
                        #
         
     | 
| 
       53 
52 
     | 
    
         
             
                        # @yield [config] Configure the Client client.
         
     | 
| 
       54 
53 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -125,19 +124,15 @@ module Google 
     | 
|
| 
       125 
124 
     | 
    
         
             
                        ##
         
     | 
| 
       126 
125 
     | 
    
         
             
                        # Create a new ClusterController client object.
         
     | 
| 
       127 
126 
     | 
    
         
             
                        #
         
     | 
| 
       128 
     | 
    
         
            -
                        #  
     | 
| 
       129 
     | 
    
         
            -
                        #
         
     | 
| 
       130 
     | 
    
         
            -
                        # To create a new ClusterController client with the default
         
     | 
| 
       131 
     | 
    
         
            -
                        # configuration:
         
     | 
| 
      
 127 
     | 
    
         
            +
                        # @example
         
     | 
| 
       132 
128 
     | 
    
         
             
                        #
         
     | 
| 
       133 
     | 
    
         
            -
                        # 
     | 
| 
      
 129 
     | 
    
         
            +
                        #   # Create a client using the default configuration
         
     | 
| 
      
 130 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new
         
     | 
| 
       134 
131 
     | 
    
         
             
                        #
         
     | 
| 
       135 
     | 
    
         
            -
                        #  
     | 
| 
       136 
     | 
    
         
            -
                        #  
     | 
| 
       137 
     | 
    
         
            -
                        #
         
     | 
| 
       138 
     | 
    
         
            -
                        # 
     | 
| 
       139 
     | 
    
         
            -
                        #       config.timeout = 10.0
         
     | 
| 
       140 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 132 
     | 
    
         
            +
                        #   # Create a client using a custom configuration
         
     | 
| 
      
 133 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new do |config|
         
     | 
| 
      
 134 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 135 
     | 
    
         
            +
                        #   end
         
     | 
| 
       141 
136 
     | 
    
         
             
                        #
         
     | 
| 
       142 
137 
     | 
    
         
             
                        # @yield [config] Configure the ClusterController client.
         
     | 
| 
       143 
138 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -157,10 +152,9 @@ module Google 
     | 
|
| 
       157 
152 
     | 
    
         | 
| 
       158 
153 
     | 
    
         
             
                          # Create credentials
         
     | 
| 
       159 
154 
     | 
    
         
             
                          credentials = @config.credentials
         
     | 
| 
       160 
     | 
    
         
            -
                          # Use self-signed JWT if the  
     | 
| 
      
 155 
     | 
    
         
            +
                          # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       161 
156 
     | 
    
         
             
                          # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       162 
     | 
    
         
            -
                          enable_self_signed_jwt = @config. 
     | 
| 
       163 
     | 
    
         
            -
                                                   @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
      
 157 
     | 
    
         
            +
                          enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
       164 
158 
     | 
    
         
             
                                                   !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       165 
159 
     | 
    
         
             
                          credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       166 
160 
     | 
    
         
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -196,7 +190,7 @@ module Google 
     | 
|
| 
       196 
190 
     | 
    
         
             
                        ##
         
     | 
| 
       197 
191 
     | 
    
         
             
                        # Creates a cluster in a project. The returned
         
     | 
| 
       198 
192 
     | 
    
         
             
                        # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
         
     | 
| 
       199 
     | 
    
         
            -
                        #  
     | 
| 
      
 193 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       200 
194 
     | 
    
         
             
                        #
         
     | 
| 
       201 
195 
     | 
    
         
             
                        # @overload create_cluster(request, options = nil)
         
     | 
| 
       202 
196 
     | 
    
         
             
                        #   Pass arguments to `create_cluster` via a request object, either of type
         
     | 
| 
         @@ -269,7 +263,9 @@ module Google 
     | 
|
| 
       269 
263 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.create_cluster.timeout,
         
     | 
| 
       270 
264 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       271 
265 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.create_cluster.retry_policy
         
     | 
| 
       272 
     | 
    
         
            -
             
     | 
| 
      
 266 
     | 
    
         
            +
             
     | 
| 
      
 267 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 268 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       273 
269 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       274 
270 
     | 
    
         | 
| 
       275 
271 
     | 
    
         
             
                          @cluster_controller_stub.call_rpc :create_cluster, request, options: options do |response, operation|
         
     | 
| 
         @@ -284,7 +280,7 @@ module Google 
     | 
|
| 
       284 
280 
     | 
    
         
             
                        ##
         
     | 
| 
       285 
281 
     | 
    
         
             
                        # Updates a cluster in a project. The returned
         
     | 
| 
       286 
282 
     | 
    
         
             
                        # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
         
     | 
| 
       287 
     | 
    
         
            -
                        #  
     | 
| 
      
 283 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       288 
284 
     | 
    
         
             
                        #
         
     | 
| 
       289 
285 
     | 
    
         
             
                        # @overload update_cluster(request, options = nil)
         
     | 
| 
       290 
286 
     | 
    
         
             
                        #   Pass arguments to `update_cluster` via a request object, either of type
         
     | 
| 
         @@ -431,7 +427,9 @@ module Google 
     | 
|
| 
       431 
427 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.update_cluster.timeout,
         
     | 
| 
       432 
428 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       433 
429 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.update_cluster.retry_policy
         
     | 
| 
       434 
     | 
    
         
            -
             
     | 
| 
      
 430 
     | 
    
         
            +
             
     | 
| 
      
 431 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 432 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       435 
433 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       436 
434 
     | 
    
         | 
| 
       437 
435 
     | 
    
         
             
                          @cluster_controller_stub.call_rpc :update_cluster, request, options: options do |response, operation|
         
     | 
| 
         @@ -446,7 +444,7 @@ module Google 
     | 
|
| 
       446 
444 
     | 
    
         
             
                        ##
         
     | 
| 
       447 
445 
     | 
    
         
             
                        # Deletes a cluster in a project. The returned
         
     | 
| 
       448 
446 
     | 
    
         
             
                        # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
         
     | 
| 
       449 
     | 
    
         
            -
                        #  
     | 
| 
      
 447 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       450 
448 
     | 
    
         
             
                        #
         
     | 
| 
       451 
449 
     | 
    
         
             
                        # @overload delete_cluster(request, options = nil)
         
     | 
| 
       452 
450 
     | 
    
         
             
                        #   Pass arguments to `delete_cluster` via a request object, either of type
         
     | 
| 
         @@ -523,7 +521,9 @@ module Google 
     | 
|
| 
       523 
521 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_cluster.timeout,
         
     | 
| 
       524 
522 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       525 
523 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_cluster.retry_policy
         
     | 
| 
       526 
     | 
    
         
            -
             
     | 
| 
      
 524 
     | 
    
         
            +
             
     | 
| 
      
 525 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 526 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       527 
527 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       528 
528 
     | 
    
         | 
| 
       529 
529 
     | 
    
         
             
                          @cluster_controller_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
         
     | 
| 
         @@ -597,7 +597,9 @@ module Google 
     | 
|
| 
       597 
597 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_cluster.timeout,
         
     | 
| 
       598 
598 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       599 
599 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_cluster.retry_policy
         
     | 
| 
       600 
     | 
    
         
            -
             
     | 
| 
      
 600 
     | 
    
         
            +
             
     | 
| 
      
 601 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 602 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       601 
603 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       602 
604 
     | 
    
         | 
| 
       603 
605 
     | 
    
         
             
                          @cluster_controller_stub.call_rpc :get_cluster, request, options: options do |response, operation|
         
     | 
| 
         @@ -691,7 +693,9 @@ module Google 
     | 
|
| 
       691 
693 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_clusters.timeout,
         
     | 
| 
       692 
694 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       693 
695 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_clusters.retry_policy
         
     | 
| 
       694 
     | 
    
         
            -
             
     | 
| 
      
 696 
     | 
    
         
            +
             
     | 
| 
      
 697 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 698 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       695 
699 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       696 
700 
     | 
    
         | 
| 
       697 
701 
     | 
    
         
             
                          @cluster_controller_stub.call_rpc :list_clusters, request, options: options do |response, operation|
         
     | 
| 
         @@ -706,7 +710,7 @@ module Google 
     | 
|
| 
       706 
710 
     | 
    
         
             
                        ##
         
     | 
| 
       707 
711 
     | 
    
         
             
                        # Gets cluster diagnostic information. The returned
         
     | 
| 
       708 
712 
     | 
    
         
             
                        # {::Google::Longrunning::Operation#metadata Operation.metadata} will be
         
     | 
| 
       709 
     | 
    
         
            -
                        #  
     | 
| 
      
 713 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       710 
714 
     | 
    
         
             
                        # After the operation completes,
         
     | 
| 
       711 
715 
     | 
    
         
             
                        # {::Google::Longrunning::Operation#response Operation.response}
         
     | 
| 
       712 
716 
     | 
    
         
             
                        # contains
         
     | 
| 
         @@ -771,7 +775,9 @@ module Google 
     | 
|
| 
       771 
775 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.diagnose_cluster.timeout,
         
     | 
| 
       772 
776 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       773 
777 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.diagnose_cluster.retry_policy
         
     | 
| 
       774 
     | 
    
         
            -
             
     | 
| 
      
 778 
     | 
    
         
            +
             
     | 
| 
      
 779 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 780 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       775 
781 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       776 
782 
     | 
    
         | 
| 
       777 
783 
     | 
    
         
             
                          @cluster_controller_stub.call_rpc :diagnose_cluster, request, options: options do |response, operation|
         
     | 
| 
         @@ -796,22 +802,21 @@ module Google 
     | 
|
| 
       796 
802 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       797 
803 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       798 
804 
     | 
    
         
             
                        #
         
     | 
| 
       799 
     | 
    
         
            -
                        #  
     | 
| 
       800 
     | 
    
         
            -
                        #
         
     | 
| 
       801 
     | 
    
         
            -
                        #  
     | 
| 
       802 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       803 
     | 
    
         
            -
                        #
         
     | 
| 
       804 
     | 
    
         
            -
                        # 
     | 
| 
       805 
     | 
    
         
            -
                        # 
     | 
| 
       806 
     | 
    
         
            -
                        # 
     | 
| 
       807 
     | 
    
         
            -
                        # 
     | 
| 
       808 
     | 
    
         
            -
                        #
         
     | 
| 
       809 
     | 
    
         
            -
                        #  
     | 
| 
       810 
     | 
    
         
            -
                        #
         
     | 
| 
       811 
     | 
    
         
            -
                        #      
     | 
| 
       812 
     | 
    
         
            -
                        # 
     | 
| 
       813 
     | 
    
         
            -
                        # 
     | 
| 
       814 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 805 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 806 
     | 
    
         
            +
                        #
         
     | 
| 
      
 807 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 808 
     | 
    
         
            +
                        #   # create_cluster to 20 seconds,
         
     | 
| 
      
 809 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 810 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.configure do |config|
         
     | 
| 
      
 811 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 812 
     | 
    
         
            +
                        #     config.rpcs.create_cluster.timeout = 20.0
         
     | 
| 
      
 813 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 814 
     | 
    
         
            +
                        #
         
     | 
| 
      
 815 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 816 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::ClusterController::Client.new do |config|
         
     | 
| 
      
 817 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 818 
     | 
    
         
            +
                        #     config.rpcs.create_cluster.timeout = 20.0
         
     | 
| 
      
 819 
     | 
    
         
            +
                        #   end
         
     | 
| 
       815 
820 
     | 
    
         
             
                        #
         
     | 
| 
       816 
821 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       817 
822 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -169,7 +169,9 @@ module Google 
     | 
|
| 
       169 
169 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_operations.timeout,
         
     | 
| 
       170 
170 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       171 
171 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_operations.retry_policy
         
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
      
 172 
     | 
    
         
            +
             
     | 
| 
      
 173 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 174 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       173 
175 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       174 
176 
     | 
    
         | 
| 
       175 
177 
     | 
    
         
             
                          @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
         
     | 
| 
         @@ -239,7 +241,9 @@ module Google 
     | 
|
| 
       239 
241 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_operation.timeout,
         
     | 
| 
       240 
242 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       241 
243 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_operation.retry_policy
         
     | 
| 
       242 
     | 
    
         
            -
             
     | 
| 
      
 244 
     | 
    
         
            +
             
     | 
| 
      
 245 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 246 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       243 
247 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       244 
248 
     | 
    
         | 
| 
       245 
249 
     | 
    
         
             
                          @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -309,7 +313,9 @@ module Google 
     | 
|
| 
       309 
313 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_operation.timeout,
         
     | 
| 
       310 
314 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       311 
315 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_operation.retry_policy
         
     | 
| 
       312 
     | 
    
         
            -
             
     | 
| 
      
 316 
     | 
    
         
            +
             
     | 
| 
      
 317 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 318 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       313 
319 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       314 
320 
     | 
    
         | 
| 
       315 
321 
     | 
    
         
             
                          @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -384,7 +390,9 @@ module Google 
     | 
|
| 
       384 
390 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.cancel_operation.timeout,
         
     | 
| 
       385 
391 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       386 
392 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.cancel_operation.retry_policy
         
     | 
| 
       387 
     | 
    
         
            -
             
     | 
| 
      
 393 
     | 
    
         
            +
             
     | 
| 
      
 394 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 395 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       388 
396 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       389 
397 
     | 
    
         | 
| 
       390 
398 
     | 
    
         
             
                          @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -456,7 +464,9 @@ module Google 
     | 
|
| 
       456 
464 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.wait_operation.timeout,
         
     | 
| 
       457 
465 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       458 
466 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.wait_operation.retry_policy
         
     | 
| 
       459 
     | 
    
         
            -
             
     | 
| 
      
 467 
     | 
    
         
            +
             
     | 
| 
      
 468 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 469 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       460 
470 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       461 
471 
     | 
    
         | 
| 
       462 
472 
     | 
    
         
             
                          @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -481,22 +491,21 @@ module Google 
     | 
|
| 
       481 
491 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       482 
492 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       483 
493 
     | 
    
         
             
                        #
         
     | 
| 
       484 
     | 
    
         
            -
                        #  
     | 
| 
       485 
     | 
    
         
            -
                        #
         
     | 
| 
       486 
     | 
    
         
            -
                        #  
     | 
| 
       487 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       488 
     | 
    
         
            -
                        #
         
     | 
| 
       489 
     | 
    
         
            -
                        # 
     | 
| 
       490 
     | 
    
         
            -
                        # 
     | 
| 
       491 
     | 
    
         
            -
                        # 
     | 
| 
       492 
     | 
    
         
            -
                        # 
     | 
| 
       493 
     | 
    
         
            -
                        #
         
     | 
| 
       494 
     | 
    
         
            -
                        #  
     | 
| 
       495 
     | 
    
         
            -
                        #
         
     | 
| 
       496 
     | 
    
         
            -
                        #      
     | 
| 
       497 
     | 
    
         
            -
                        # 
     | 
| 
       498 
     | 
    
         
            -
                        # 
     | 
| 
       499 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 494 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 495 
     | 
    
         
            +
                        #
         
     | 
| 
      
 496 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 497 
     | 
    
         
            +
                        #   # list_operations to 20 seconds,
         
     | 
| 
      
 498 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 499 
     | 
    
         
            +
                        #   ::Google::Longrunning::Operations::Client.configure do |config|
         
     | 
| 
      
 500 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 501 
     | 
    
         
            +
                        #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 502 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 503 
     | 
    
         
            +
                        #
         
     | 
| 
      
 504 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 505 
     | 
    
         
            +
                        #   client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 506 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 507 
     | 
    
         
            +
                        #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 508 
     | 
    
         
            +
                        #   end
         
     | 
| 
       500 
509 
     | 
    
         
             
                        #
         
     | 
| 
       501 
510 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       502 
511 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -36,15 +36,15 @@ module Google 
     | 
|
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
                        # Creates a cluster in a project. The returned
         
     | 
| 
       38 
38 
     | 
    
         
             
                        # [Operation.metadata][google.longrunning.Operation.metadata] will be
         
     | 
| 
       39 
     | 
    
         
            -
                        #  
     | 
| 
      
 39 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       40 
40 
     | 
    
         
             
                        rpc :CreateCluster, ::Google::Cloud::Dataproc::V1beta2::CreateClusterRequest, ::Google::Longrunning::Operation
         
     | 
| 
       41 
41 
     | 
    
         
             
                        # Updates a cluster in a project. The returned
         
     | 
| 
       42 
42 
     | 
    
         
             
                        # [Operation.metadata][google.longrunning.Operation.metadata] will be
         
     | 
| 
       43 
     | 
    
         
            -
                        #  
     | 
| 
      
 43 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       44 
44 
     | 
    
         
             
                        rpc :UpdateCluster, ::Google::Cloud::Dataproc::V1beta2::UpdateClusterRequest, ::Google::Longrunning::Operation
         
     | 
| 
       45 
45 
     | 
    
         
             
                        # Deletes a cluster in a project. The returned
         
     | 
| 
       46 
46 
     | 
    
         
             
                        # [Operation.metadata][google.longrunning.Operation.metadata] will be
         
     | 
| 
       47 
     | 
    
         
            -
                        #  
     | 
| 
      
 47 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       48 
48 
     | 
    
         
             
                        rpc :DeleteCluster, ::Google::Cloud::Dataproc::V1beta2::DeleteClusterRequest, ::Google::Longrunning::Operation
         
     | 
| 
       49 
49 
     | 
    
         
             
                        # Gets the resource representation for a cluster in a project.
         
     | 
| 
       50 
50 
     | 
    
         
             
                        rpc :GetCluster, ::Google::Cloud::Dataproc::V1beta2::GetClusterRequest, ::Google::Cloud::Dataproc::V1beta2::Cluster
         
     | 
| 
         @@ -52,7 +52,7 @@ module Google 
     | 
|
| 
       52 
52 
     | 
    
         
             
                        rpc :ListClusters, ::Google::Cloud::Dataproc::V1beta2::ListClustersRequest, ::Google::Cloud::Dataproc::V1beta2::ListClustersResponse
         
     | 
| 
       53 
53 
     | 
    
         
             
                        # Gets cluster diagnostic information. The returned
         
     | 
| 
       54 
54 
     | 
    
         
             
                        # [Operation.metadata][google.longrunning.Operation.metadata] will be
         
     | 
| 
       55 
     | 
    
         
            -
                        #  
     | 
| 
      
 55 
     | 
    
         
            +
                        # ClusterOperationMetadata.
         
     | 
| 
       56 
56 
     | 
    
         
             
                        # After the operation completes,
         
     | 
| 
       57 
57 
     | 
    
         
             
                        # [Operation.response][google.longrunning.Operation.response]
         
     | 
| 
       58 
58 
     | 
    
         
             
                        # contains
         
     | 
| 
         @@ -39,13 +39,12 @@ module Google 
     | 
|
| 
       39 
39 
     | 
    
         
             
                        # See {::Google::Cloud::Dataproc::V1beta2::JobController::Client::Configuration}
         
     | 
| 
       40 
40 
     | 
    
         
             
                        # for a description of the configuration fields.
         
     | 
| 
       41 
41 
     | 
    
         
             
                        #
         
     | 
| 
       42 
     | 
    
         
            -
                        #  
     | 
| 
      
 42 
     | 
    
         
            +
                        # @example
         
     | 
| 
       43 
43 
     | 
    
         
             
                        #
         
     | 
| 
       44 
     | 
    
         
            -
                        #  
     | 
| 
       45 
     | 
    
         
            -
                        #
         
     | 
| 
       46 
     | 
    
         
            -
                        #      
     | 
| 
       47 
     | 
    
         
            -
                        # 
     | 
| 
       48 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 44 
     | 
    
         
            +
                        #   # Modify the configuration for all JobController clients
         
     | 
| 
      
 45 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::JobController::Client.configure do |config|
         
     | 
| 
      
 46 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 47 
     | 
    
         
            +
                        #   end
         
     | 
| 
       49 
48 
     | 
    
         
             
                        #
         
     | 
| 
       50 
49 
     | 
    
         
             
                        # @yield [config] Configure the Client client.
         
     | 
| 
       51 
50 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -127,19 +126,15 @@ module Google 
     | 
|
| 
       127 
126 
     | 
    
         
             
                        ##
         
     | 
| 
       128 
127 
     | 
    
         
             
                        # Create a new JobController client object.
         
     | 
| 
       129 
128 
     | 
    
         
             
                        #
         
     | 
| 
       130 
     | 
    
         
            -
                        #  
     | 
| 
       131 
     | 
    
         
            -
                        #
         
     | 
| 
       132 
     | 
    
         
            -
                        # To create a new JobController client with the default
         
     | 
| 
       133 
     | 
    
         
            -
                        # configuration:
         
     | 
| 
      
 129 
     | 
    
         
            +
                        # @example
         
     | 
| 
       134 
130 
     | 
    
         
             
                        #
         
     | 
| 
       135 
     | 
    
         
            -
                        # 
     | 
| 
      
 131 
     | 
    
         
            +
                        #   # Create a client using the default configuration
         
     | 
| 
      
 132 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::JobController::Client.new
         
     | 
| 
       136 
133 
     | 
    
         
             
                        #
         
     | 
| 
       137 
     | 
    
         
            -
                        #  
     | 
| 
       138 
     | 
    
         
            -
                        #  
     | 
| 
       139 
     | 
    
         
            -
                        #
         
     | 
| 
       140 
     | 
    
         
            -
                        # 
     | 
| 
       141 
     | 
    
         
            -
                        #       config.timeout = 10.0
         
     | 
| 
       142 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 134 
     | 
    
         
            +
                        #   # Create a client using a custom configuration
         
     | 
| 
      
 135 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::JobController::Client.new do |config|
         
     | 
| 
      
 136 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 137 
     | 
    
         
            +
                        #   end
         
     | 
| 
       143 
138 
     | 
    
         
             
                        #
         
     | 
| 
       144 
139 
     | 
    
         
             
                        # @yield [config] Configure the JobController client.
         
     | 
| 
       145 
140 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -159,10 +154,9 @@ module Google 
     | 
|
| 
       159 
154 
     | 
    
         | 
| 
       160 
155 
     | 
    
         
             
                          # Create credentials
         
     | 
| 
       161 
156 
     | 
    
         
             
                          credentials = @config.credentials
         
     | 
| 
       162 
     | 
    
         
            -
                          # Use self-signed JWT if the  
     | 
| 
      
 157 
     | 
    
         
            +
                          # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       163 
158 
     | 
    
         
             
                          # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       164 
     | 
    
         
            -
                          enable_self_signed_jwt = @config. 
     | 
| 
       165 
     | 
    
         
            -
                                                   @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
      
 159 
     | 
    
         
            +
                          enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
       166 
160 
     | 
    
         
             
                                                   !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       167 
161 
     | 
    
         
             
                          credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       168 
162 
     | 
    
         
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -268,7 +262,9 @@ module Google 
     | 
|
| 
       268 
262 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.submit_job.timeout,
         
     | 
| 
       269 
263 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       270 
264 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.submit_job.retry_policy
         
     | 
| 
       271 
     | 
    
         
            -
             
     | 
| 
      
 265 
     | 
    
         
            +
             
     | 
| 
      
 266 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 267 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       272 
268 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       273 
269 
     | 
    
         | 
| 
       274 
270 
     | 
    
         
             
                          @job_controller_stub.call_rpc :submit_job, request, options: options do |response, operation|
         
     | 
| 
         @@ -352,7 +348,9 @@ module Google 
     | 
|
| 
       352 
348 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.submit_job_as_operation.timeout,
         
     | 
| 
       353 
349 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       354 
350 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.submit_job_as_operation.retry_policy
         
     | 
| 
       355 
     | 
    
         
            -
             
     | 
| 
      
 351 
     | 
    
         
            +
             
     | 
| 
      
 352 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 353 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       356 
354 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       357 
355 
     | 
    
         | 
| 
       358 
356 
     | 
    
         
             
                          @job_controller_stub.call_rpc :submit_job_as_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -426,7 +424,9 @@ module Google 
     | 
|
| 
       426 
424 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_job.timeout,
         
     | 
| 
       427 
425 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       428 
426 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_job.retry_policy
         
     | 
| 
       429 
     | 
    
         
            -
             
     | 
| 
      
 427 
     | 
    
         
            +
             
     | 
| 
      
 428 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 429 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       430 
430 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       431 
431 
     | 
    
         | 
| 
       432 
432 
     | 
    
         
             
                          @job_controller_stub.call_rpc :get_job, request, options: options do |response, operation|
         
     | 
| 
         @@ -524,7 +524,9 @@ module Google 
     | 
|
| 
       524 
524 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_jobs.timeout,
         
     | 
| 
       525 
525 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       526 
526 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_jobs.retry_policy
         
     | 
| 
       527 
     | 
    
         
            -
             
     | 
| 
      
 527 
     | 
    
         
            +
             
     | 
| 
      
 528 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 529 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       528 
530 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       529 
531 
     | 
    
         | 
| 
       530 
532 
     | 
    
         
             
                          @job_controller_stub.call_rpc :list_jobs, request, options: options do |response, operation|
         
     | 
| 
         @@ -607,7 +609,9 @@ module Google 
     | 
|
| 
       607 
609 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.update_job.timeout,
         
     | 
| 
       608 
610 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       609 
611 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.update_job.retry_policy
         
     | 
| 
       610 
     | 
    
         
            -
             
     | 
| 
      
 612 
     | 
    
         
            +
             
     | 
| 
      
 613 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 614 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       611 
615 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       612 
616 
     | 
    
         | 
| 
       613 
617 
     | 
    
         
             
                          @job_controller_stub.call_rpc :update_job, request, options: options do |response, operation|
         
     | 
| 
         @@ -621,9 +625,9 @@ module Google 
     | 
|
| 
       621 
625 
     | 
    
         
             
                        ##
         
     | 
| 
       622 
626 
     | 
    
         
             
                        # Starts a job cancellation request. To access the job resource
         
     | 
| 
       623 
627 
     | 
    
         
             
                        # after cancellation, call
         
     | 
| 
       624 
     | 
    
         
            -
                        #  
     | 
| 
      
 628 
     | 
    
         
            +
                        # regions/\\{region}/jobs.list
         
     | 
| 
       625 
629 
     | 
    
         
             
                        # or
         
     | 
| 
       626 
     | 
    
         
            -
                        #  
     | 
| 
      
 630 
     | 
    
         
            +
                        # regions/\\{region}/jobs.get.
         
     | 
| 
       627 
631 
     | 
    
         
             
                        #
         
     | 
| 
       628 
632 
     | 
    
         
             
                        # @overload cancel_job(request, options = nil)
         
     | 
| 
       629 
633 
     | 
    
         
             
                        #   Pass arguments to `cancel_job` via a request object, either of type
         
     | 
| 
         @@ -684,7 +688,9 @@ module Google 
     | 
|
| 
       684 
688 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.cancel_job.timeout,
         
     | 
| 
       685 
689 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       686 
690 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.cancel_job.retry_policy
         
     | 
| 
       687 
     | 
    
         
            -
             
     | 
| 
      
 691 
     | 
    
         
            +
             
     | 
| 
      
 692 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 693 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       688 
694 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       689 
695 
     | 
    
         | 
| 
       690 
696 
     | 
    
         
             
                          @job_controller_stub.call_rpc :cancel_job, request, options: options do |response, operation|
         
     | 
| 
         @@ -758,7 +764,9 @@ module Google 
     | 
|
| 
       758 
764 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_job.timeout,
         
     | 
| 
       759 
765 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       760 
766 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_job.retry_policy
         
     | 
| 
       761 
     | 
    
         
            -
             
     | 
| 
      
 767 
     | 
    
         
            +
             
     | 
| 
      
 768 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 769 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       762 
770 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       763 
771 
     | 
    
         | 
| 
       764 
772 
     | 
    
         
             
                          @job_controller_stub.call_rpc :delete_job, request, options: options do |response, operation|
         
     | 
| 
         @@ -782,22 +790,21 @@ module Google 
     | 
|
| 
       782 
790 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       783 
791 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       784 
792 
     | 
    
         
             
                        #
         
     | 
| 
       785 
     | 
    
         
            -
                        #  
     | 
| 
       786 
     | 
    
         
            -
                        #
         
     | 
| 
       787 
     | 
    
         
            -
                        #  
     | 
| 
       788 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       789 
     | 
    
         
            -
                        #
         
     | 
| 
       790 
     | 
    
         
            -
                        # 
     | 
| 
       791 
     | 
    
         
            -
                        # 
     | 
| 
       792 
     | 
    
         
            -
                        # 
     | 
| 
       793 
     | 
    
         
            -
                        # 
     | 
| 
       794 
     | 
    
         
            -
                        #
         
     | 
| 
       795 
     | 
    
         
            -
                        #  
     | 
| 
       796 
     | 
    
         
            -
                        #
         
     | 
| 
       797 
     | 
    
         
            -
                        #      
     | 
| 
       798 
     | 
    
         
            -
                        # 
     | 
| 
       799 
     | 
    
         
            -
                        # 
     | 
| 
       800 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 793 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 794 
     | 
    
         
            +
                        #
         
     | 
| 
      
 795 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 796 
     | 
    
         
            +
                        #   # submit_job to 20 seconds,
         
     | 
| 
      
 797 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 798 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::JobController::Client.configure do |config|
         
     | 
| 
      
 799 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 800 
     | 
    
         
            +
                        #     config.rpcs.submit_job.timeout = 20.0
         
     | 
| 
      
 801 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 802 
     | 
    
         
            +
                        #
         
     | 
| 
      
 803 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 804 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::JobController::Client.new do |config|
         
     | 
| 
      
 805 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 806 
     | 
    
         
            +
                        #     config.rpcs.submit_job.timeout = 20.0
         
     | 
| 
      
 807 
     | 
    
         
            +
                        #   end
         
     | 
| 
       801 
808 
     | 
    
         
             
                        #
         
     | 
| 
       802 
809 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       803 
810 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -169,7 +169,9 @@ module Google 
     | 
|
| 
       169 
169 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_operations.timeout,
         
     | 
| 
       170 
170 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       171 
171 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_operations.retry_policy
         
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
      
 172 
     | 
    
         
            +
             
     | 
| 
      
 173 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 174 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       173 
175 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       174 
176 
     | 
    
         | 
| 
       175 
177 
     | 
    
         
             
                          @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
         
     | 
| 
         @@ -239,7 +241,9 @@ module Google 
     | 
|
| 
       239 
241 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_operation.timeout,
         
     | 
| 
       240 
242 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       241 
243 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_operation.retry_policy
         
     | 
| 
       242 
     | 
    
         
            -
             
     | 
| 
      
 244 
     | 
    
         
            +
             
     | 
| 
      
 245 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 246 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       243 
247 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       244 
248 
     | 
    
         | 
| 
       245 
249 
     | 
    
         
             
                          @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -309,7 +313,9 @@ module Google 
     | 
|
| 
       309 
313 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_operation.timeout,
         
     | 
| 
       310 
314 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       311 
315 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_operation.retry_policy
         
     | 
| 
       312 
     | 
    
         
            -
             
     | 
| 
      
 316 
     | 
    
         
            +
             
     | 
| 
      
 317 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 318 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       313 
319 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       314 
320 
     | 
    
         | 
| 
       315 
321 
     | 
    
         
             
                          @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -384,7 +390,9 @@ module Google 
     | 
|
| 
       384 
390 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.cancel_operation.timeout,
         
     | 
| 
       385 
391 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       386 
392 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.cancel_operation.retry_policy
         
     | 
| 
       387 
     | 
    
         
            -
             
     | 
| 
      
 393 
     | 
    
         
            +
             
     | 
| 
      
 394 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 395 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       388 
396 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       389 
397 
     | 
    
         | 
| 
       390 
398 
     | 
    
         
             
                          @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -456,7 +464,9 @@ module Google 
     | 
|
| 
       456 
464 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.wait_operation.timeout,
         
     | 
| 
       457 
465 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       458 
466 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.wait_operation.retry_policy
         
     | 
| 
       459 
     | 
    
         
            -
             
     | 
| 
      
 467 
     | 
    
         
            +
             
     | 
| 
      
 468 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 469 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       460 
470 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       461 
471 
     | 
    
         | 
| 
       462 
472 
     | 
    
         
             
                          @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -481,22 +491,21 @@ module Google 
     | 
|
| 
       481 
491 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       482 
492 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       483 
493 
     | 
    
         
             
                        #
         
     | 
| 
       484 
     | 
    
         
            -
                        #  
     | 
| 
       485 
     | 
    
         
            -
                        #
         
     | 
| 
       486 
     | 
    
         
            -
                        #  
     | 
| 
       487 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       488 
     | 
    
         
            -
                        #
         
     | 
| 
       489 
     | 
    
         
            -
                        # 
     | 
| 
       490 
     | 
    
         
            -
                        # 
     | 
| 
       491 
     | 
    
         
            -
                        # 
     | 
| 
       492 
     | 
    
         
            -
                        # 
     | 
| 
       493 
     | 
    
         
            -
                        #
         
     | 
| 
       494 
     | 
    
         
            -
                        #  
     | 
| 
       495 
     | 
    
         
            -
                        #
         
     | 
| 
       496 
     | 
    
         
            -
                        #      
     | 
| 
       497 
     | 
    
         
            -
                        # 
     | 
| 
       498 
     | 
    
         
            -
                        # 
     | 
| 
       499 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 494 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 495 
     | 
    
         
            +
                        #
         
     | 
| 
      
 496 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 497 
     | 
    
         
            +
                        #   # list_operations to 20 seconds,
         
     | 
| 
      
 498 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 499 
     | 
    
         
            +
                        #   ::Google::Longrunning::Operations::Client.configure do |config|
         
     | 
| 
      
 500 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 501 
     | 
    
         
            +
                        #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 502 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 503 
     | 
    
         
            +
                        #
         
     | 
| 
      
 504 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 505 
     | 
    
         
            +
                        #   client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 506 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 507 
     | 
    
         
            +
                        #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 508 
     | 
    
         
            +
                        #   end
         
     | 
| 
       500 
509 
     | 
    
         
             
                        #
         
     | 
| 
       501 
510 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       502 
511 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -45,9 +45,9 @@ module Google 
     | 
|
| 
       45 
45 
     | 
    
         
             
                        rpc :UpdateJob, ::Google::Cloud::Dataproc::V1beta2::UpdateJobRequest, ::Google::Cloud::Dataproc::V1beta2::Job
         
     | 
| 
       46 
46 
     | 
    
         
             
                        # Starts a job cancellation request. To access the job resource
         
     | 
| 
       47 
47 
     | 
    
         
             
                        # after cancellation, call
         
     | 
| 
       48 
     | 
    
         
            -
                        #  
     | 
| 
      
 48 
     | 
    
         
            +
                        # regions/{region}/jobs.list
         
     | 
| 
       49 
49 
     | 
    
         
             
                        # or
         
     | 
| 
       50 
     | 
    
         
            -
                        #  
     | 
| 
      
 50 
     | 
    
         
            +
                        # regions/{region}/jobs.get.
         
     | 
| 
       51 
51 
     | 
    
         
             
                        rpc :CancelJob, ::Google::Cloud::Dataproc::V1beta2::CancelJobRequest, ::Google::Cloud::Dataproc::V1beta2::Job
         
     | 
| 
       52 
52 
     | 
    
         
             
                        # Deletes the job from the project. If the job is active, the delete fails,
         
     | 
| 
       53 
53 
     | 
    
         
             
                        # and the response returns `FAILED_PRECONDITION`.
         
     | 
| 
         @@ -42,13 +42,12 @@ module Google 
     | 
|
| 
       42 
42 
     | 
    
         
             
                        # See {::Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client::Configuration}
         
     | 
| 
       43 
43 
     | 
    
         
             
                        # for a description of the configuration fields.
         
     | 
| 
       44 
44 
     | 
    
         
             
                        #
         
     | 
| 
       45 
     | 
    
         
            -
                        #  
     | 
| 
      
 45 
     | 
    
         
            +
                        # @example
         
     | 
| 
       46 
46 
     | 
    
         
             
                        #
         
     | 
| 
       47 
     | 
    
         
            -
                        #  
     | 
| 
       48 
     | 
    
         
            -
                        #
         
     | 
| 
       49 
     | 
    
         
            -
                        #      
     | 
| 
       50 
     | 
    
         
            -
                        # 
     | 
| 
       51 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 47 
     | 
    
         
            +
                        #   # Modify the configuration for all WorkflowTemplateService clients
         
     | 
| 
      
 48 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client.configure do |config|
         
     | 
| 
      
 49 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 50 
     | 
    
         
            +
                        #   end
         
     | 
| 
       52 
51 
     | 
    
         
             
                        #
         
     | 
| 
       53 
52 
     | 
    
         
             
                        # @yield [config] Configure the Client client.
         
     | 
| 
       54 
53 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -130,19 +129,15 @@ module Google 
     | 
|
| 
       130 
129 
     | 
    
         
             
                        ##
         
     | 
| 
       131 
130 
     | 
    
         
             
                        # Create a new WorkflowTemplateService client object.
         
     | 
| 
       132 
131 
     | 
    
         
             
                        #
         
     | 
| 
       133 
     | 
    
         
            -
                        #  
     | 
| 
       134 
     | 
    
         
            -
                        #
         
     | 
| 
       135 
     | 
    
         
            -
                        # To create a new WorkflowTemplateService client with the default
         
     | 
| 
       136 
     | 
    
         
            -
                        # configuration:
         
     | 
| 
      
 132 
     | 
    
         
            +
                        # @example
         
     | 
| 
       137 
133 
     | 
    
         
             
                        #
         
     | 
| 
       138 
     | 
    
         
            -
                        # 
     | 
| 
      
 134 
     | 
    
         
            +
                        #   # Create a client using the default configuration
         
     | 
| 
      
 135 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client.new
         
     | 
| 
       139 
136 
     | 
    
         
             
                        #
         
     | 
| 
       140 
     | 
    
         
            -
                        #  
     | 
| 
       141 
     | 
    
         
            -
                        #  
     | 
| 
       142 
     | 
    
         
            -
                        #
         
     | 
| 
       143 
     | 
    
         
            -
                        # 
     | 
| 
       144 
     | 
    
         
            -
                        #       config.timeout = 10.0
         
     | 
| 
       145 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 137 
     | 
    
         
            +
                        #   # Create a client using a custom configuration
         
     | 
| 
      
 138 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client.new do |config|
         
     | 
| 
      
 139 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 140 
     | 
    
         
            +
                        #   end
         
     | 
| 
       146 
141 
     | 
    
         
             
                        #
         
     | 
| 
       147 
142 
     | 
    
         
             
                        # @yield [config] Configure the WorkflowTemplateService client.
         
     | 
| 
       148 
143 
     | 
    
         
             
                        # @yieldparam config [Client::Configuration]
         
     | 
| 
         @@ -162,10 +157,9 @@ module Google 
     | 
|
| 
       162 
157 
     | 
    
         | 
| 
       163 
158 
     | 
    
         
             
                          # Create credentials
         
     | 
| 
       164 
159 
     | 
    
         
             
                          credentials = @config.credentials
         
     | 
| 
       165 
     | 
    
         
            -
                          # Use self-signed JWT if the  
     | 
| 
      
 160 
     | 
    
         
            +
                          # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       166 
161 
     | 
    
         
             
                          # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       167 
     | 
    
         
            -
                          enable_self_signed_jwt = @config. 
     | 
| 
       168 
     | 
    
         
            -
                                                   @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
      
 162 
     | 
    
         
            +
                          enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
         
     | 
| 
       169 
163 
     | 
    
         
             
                                                   !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       170 
164 
     | 
    
         
             
                          credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       171 
165 
     | 
    
         
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -264,7 +258,9 @@ module Google 
     | 
|
| 
       264 
258 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.create_workflow_template.timeout,
         
     | 
| 
       265 
259 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       266 
260 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.create_workflow_template.retry_policy
         
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
      
 261 
     | 
    
         
            +
             
     | 
| 
      
 262 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 263 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       268 
264 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       269 
265 
     | 
    
         | 
| 
       270 
266 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :create_workflow_template, request, options: options do |response, operation|
         
     | 
| 
         @@ -347,7 +343,9 @@ module Google 
     | 
|
| 
       347 
343 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_workflow_template.timeout,
         
     | 
| 
       348 
344 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       349 
345 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_workflow_template.retry_policy
         
     | 
| 
       350 
     | 
    
         
            -
             
     | 
| 
      
 346 
     | 
    
         
            +
             
     | 
| 
      
 347 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 348 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       351 
349 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       352 
350 
     | 
    
         | 
| 
       353 
351 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :get_workflow_template, request, options: options do |response, operation|
         
     | 
| 
         @@ -372,7 +370,7 @@ module Google 
     | 
|
| 
       372 
370 
     | 
    
         
             
                        # clusters to be deleted.
         
     | 
| 
       373 
371 
     | 
    
         
             
                        #
         
     | 
| 
       374 
372 
     | 
    
         
             
                        # The {::Google::Longrunning::Operation#metadata Operation.metadata} will be
         
     | 
| 
       375 
     | 
    
         
            -
                        #  
     | 
| 
      
 373 
     | 
    
         
            +
                        # WorkflowMetadata.
         
     | 
| 
       376 
374 
     | 
    
         
             
                        # Also see [Using
         
     | 
| 
       377 
375 
     | 
    
         
             
                        # WorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).
         
     | 
| 
       378 
376 
     | 
    
         
             
                        #
         
     | 
| 
         @@ -463,7 +461,9 @@ module Google 
     | 
|
| 
       463 
461 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.instantiate_workflow_template.timeout,
         
     | 
| 
       464 
462 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       465 
463 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.instantiate_workflow_template.retry_policy
         
     | 
| 
       466 
     | 
    
         
            -
             
     | 
| 
      
 464 
     | 
    
         
            +
             
     | 
| 
      
 465 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 466 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       467 
467 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       468 
468 
     | 
    
         | 
| 
       469 
469 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :instantiate_workflow_template, request, options: options do |response, operation|
         
     | 
| 
         @@ -577,7 +577,9 @@ module Google 
     | 
|
| 
       577 
577 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.instantiate_inline_workflow_template.timeout,
         
     | 
| 
       578 
578 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       579 
579 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.instantiate_inline_workflow_template.retry_policy
         
     | 
| 
       580 
     | 
    
         
            -
             
     | 
| 
      
 580 
     | 
    
         
            +
             
     | 
| 
      
 581 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 582 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       581 
583 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       582 
584 
     | 
    
         | 
| 
       583 
585 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :instantiate_inline_workflow_template, request, options: options do |response, operation|
         
     | 
| 
         @@ -647,7 +649,9 @@ module Google 
     | 
|
| 
       647 
649 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.update_workflow_template.timeout,
         
     | 
| 
       648 
650 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       649 
651 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.update_workflow_template.retry_policy
         
     | 
| 
       650 
     | 
    
         
            -
             
     | 
| 
      
 652 
     | 
    
         
            +
             
     | 
| 
      
 653 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 654 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       651 
655 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       652 
656 
     | 
    
         | 
| 
       653 
657 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :update_workflow_template, request, options: options do |response, operation|
         
     | 
| 
         @@ -727,7 +731,9 @@ module Google 
     | 
|
| 
       727 
731 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_workflow_templates.timeout,
         
     | 
| 
       728 
732 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       729 
733 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_workflow_templates.retry_policy
         
     | 
| 
       730 
     | 
    
         
            -
             
     | 
| 
      
 734 
     | 
    
         
            +
             
     | 
| 
      
 735 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 736 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       731 
737 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       732 
738 
     | 
    
         | 
| 
       733 
739 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :list_workflow_templates, request, options: options do |response, operation|
         
     | 
| 
         @@ -807,7 +813,9 @@ module Google 
     | 
|
| 
       807 
813 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_workflow_template.timeout,
         
     | 
| 
       808 
814 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       809 
815 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_workflow_template.retry_policy
         
     | 
| 
       810 
     | 
    
         
            -
             
     | 
| 
      
 816 
     | 
    
         
            +
             
     | 
| 
      
 817 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 818 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       811 
819 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       812 
820 
     | 
    
         | 
| 
       813 
821 
     | 
    
         
             
                          @workflow_template_service_stub.call_rpc :delete_workflow_template, request, options: options do |response, operation|
         
     | 
| 
         @@ -831,22 +839,21 @@ module Google 
     | 
|
| 
       831 
839 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       832 
840 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       833 
841 
     | 
    
         
             
                        #
         
     | 
| 
       834 
     | 
    
         
            -
                        #  
     | 
| 
       835 
     | 
    
         
            -
                        #
         
     | 
| 
       836 
     | 
    
         
            -
                        #  
     | 
| 
       837 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       838 
     | 
    
         
            -
                        #
         
     | 
| 
       839 
     | 
    
         
            -
                        # 
     | 
| 
       840 
     | 
    
         
            -
                        # 
     | 
| 
       841 
     | 
    
         
            -
                        # 
     | 
| 
       842 
     | 
    
         
            -
                        # 
     | 
| 
       843 
     | 
    
         
            -
                        #
         
     | 
| 
       844 
     | 
    
         
            -
                        #  
     | 
| 
       845 
     | 
    
         
            -
                        #
         
     | 
| 
       846 
     | 
    
         
            -
                        #      
     | 
| 
       847 
     | 
    
         
            -
                        # 
     | 
| 
       848 
     | 
    
         
            -
                        # 
     | 
| 
       849 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 842 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 843 
     | 
    
         
            +
                        #
         
     | 
| 
      
 844 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 845 
     | 
    
         
            +
                        #   # create_workflow_template to 20 seconds,
         
     | 
| 
      
 846 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 847 
     | 
    
         
            +
                        #   ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client.configure do |config|
         
     | 
| 
      
 848 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 849 
     | 
    
         
            +
                        #     config.rpcs.create_workflow_template.timeout = 20.0
         
     | 
| 
      
 850 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 851 
     | 
    
         
            +
                        #
         
     | 
| 
      
 852 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 853 
     | 
    
         
            +
                        #   client = ::Google::Cloud::Dataproc::V1beta2::WorkflowTemplateService::Client.new do |config|
         
     | 
| 
      
 854 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 855 
     | 
    
         
            +
                        #     config.rpcs.create_workflow_template.timeout = 20.0
         
     | 
| 
      
 856 
     | 
    
         
            +
                        #   end
         
     | 
| 
       850 
857 
     | 
    
         
             
                        #
         
     | 
| 
       851 
858 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       852 
859 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -169,7 +169,9 @@ module Google 
     | 
|
| 
       169 
169 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.list_operations.timeout,
         
     | 
| 
       170 
170 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       171 
171 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.list_operations.retry_policy
         
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
      
 172 
     | 
    
         
            +
             
     | 
| 
      
 173 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 174 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       173 
175 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       174 
176 
     | 
    
         | 
| 
       175 
177 
     | 
    
         
             
                          @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
         
     | 
| 
         @@ -239,7 +241,9 @@ module Google 
     | 
|
| 
       239 
241 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.get_operation.timeout,
         
     | 
| 
       240 
242 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       241 
243 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.get_operation.retry_policy
         
     | 
| 
       242 
     | 
    
         
            -
             
     | 
| 
      
 244 
     | 
    
         
            +
             
     | 
| 
      
 245 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 246 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       243 
247 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       244 
248 
     | 
    
         | 
| 
       245 
249 
     | 
    
         
             
                          @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -309,7 +313,9 @@ module Google 
     | 
|
| 
       309 
313 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.delete_operation.timeout,
         
     | 
| 
       310 
314 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       311 
315 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.delete_operation.retry_policy
         
     | 
| 
       312 
     | 
    
         
            -
             
     | 
| 
      
 316 
     | 
    
         
            +
             
     | 
| 
      
 317 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 318 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       313 
319 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       314 
320 
     | 
    
         | 
| 
       315 
321 
     | 
    
         
             
                          @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -384,7 +390,9 @@ module Google 
     | 
|
| 
       384 
390 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.cancel_operation.timeout,
         
     | 
| 
       385 
391 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       386 
392 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.cancel_operation.retry_policy
         
     | 
| 
       387 
     | 
    
         
            -
             
     | 
| 
      
 393 
     | 
    
         
            +
             
     | 
| 
      
 394 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 395 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       388 
396 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       389 
397 
     | 
    
         | 
| 
       390 
398 
     | 
    
         
             
                          @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -456,7 +464,9 @@ module Google 
     | 
|
| 
       456 
464 
     | 
    
         
             
                          options.apply_defaults timeout:      @config.rpcs.wait_operation.timeout,
         
     | 
| 
       457 
465 
     | 
    
         
             
                                                 metadata:     metadata,
         
     | 
| 
       458 
466 
     | 
    
         
             
                                                 retry_policy: @config.rpcs.wait_operation.retry_policy
         
     | 
| 
       459 
     | 
    
         
            -
             
     | 
| 
      
 467 
     | 
    
         
            +
             
     | 
| 
      
 468 
     | 
    
         
            +
                          options.apply_defaults timeout:      @config.timeout,
         
     | 
| 
      
 469 
     | 
    
         
            +
                                                 metadata:     @config.metadata,
         
     | 
| 
       460 
470 
     | 
    
         
             
                                                 retry_policy: @config.retry_policy
         
     | 
| 
       461 
471 
     | 
    
         | 
| 
       462 
472 
     | 
    
         
             
                          @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
         
     | 
| 
         @@ -481,22 +491,21 @@ module Google 
     | 
|
| 
       481 
491 
     | 
    
         
             
                        # Configuration can be applied globally to all clients, or to a single client
         
     | 
| 
       482 
492 
     | 
    
         
             
                        # on construction.
         
     | 
| 
       483 
493 
     | 
    
         
             
                        #
         
     | 
| 
       484 
     | 
    
         
            -
                        #  
     | 
| 
       485 
     | 
    
         
            -
                        #
         
     | 
| 
       486 
     | 
    
         
            -
                        #  
     | 
| 
       487 
     | 
    
         
            -
                        # to 20 seconds, 
     | 
| 
       488 
     | 
    
         
            -
                        #
         
     | 
| 
       489 
     | 
    
         
            -
                        # 
     | 
| 
       490 
     | 
    
         
            -
                        # 
     | 
| 
       491 
     | 
    
         
            -
                        # 
     | 
| 
       492 
     | 
    
         
            -
                        # 
     | 
| 
       493 
     | 
    
         
            -
                        #
         
     | 
| 
       494 
     | 
    
         
            -
                        #  
     | 
| 
       495 
     | 
    
         
            -
                        #
         
     | 
| 
       496 
     | 
    
         
            -
                        #      
     | 
| 
       497 
     | 
    
         
            -
                        # 
     | 
| 
       498 
     | 
    
         
            -
                        # 
     | 
| 
       499 
     | 
    
         
            -
                        #     end
         
     | 
| 
      
 494 
     | 
    
         
            +
                        # @example
         
     | 
| 
      
 495 
     | 
    
         
            +
                        #
         
     | 
| 
      
 496 
     | 
    
         
            +
                        #   # Modify the global config, setting the timeout for
         
     | 
| 
      
 497 
     | 
    
         
            +
                        #   # list_operations to 20 seconds,
         
     | 
| 
      
 498 
     | 
    
         
            +
                        #   # and all remaining timeouts to 10 seconds.
         
     | 
| 
      
 499 
     | 
    
         
            +
                        #   ::Google::Longrunning::Operations::Client.configure do |config|
         
     | 
| 
      
 500 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 501 
     | 
    
         
            +
                        #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 502 
     | 
    
         
            +
                        #   end
         
     | 
| 
      
 503 
     | 
    
         
            +
                        #
         
     | 
| 
      
 504 
     | 
    
         
            +
                        #   # Apply the above configuration only to a new client.
         
     | 
| 
      
 505 
     | 
    
         
            +
                        #   client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 506 
     | 
    
         
            +
                        #     config.timeout = 10.0
         
     | 
| 
      
 507 
     | 
    
         
            +
                        #     config.rpcs.list_operations.timeout = 20.0
         
     | 
| 
      
 508 
     | 
    
         
            +
                        #   end
         
     | 
| 
       500 
509 
     | 
    
         
             
                        #
         
     | 
| 
       501 
510 
     | 
    
         
             
                        # @!attribute [rw] endpoint
         
     | 
| 
       502 
511 
     | 
    
         
             
                        #   The hostname or hostname:port of the service endpoint.
         
     | 
| 
         @@ -54,7 +54,7 @@ module Google 
     | 
|
| 
       54 
54 
     | 
    
         
             
                        # clusters to be deleted.
         
     | 
| 
       55 
55 
     | 
    
         
             
                        #
         
     | 
| 
       56 
56 
     | 
    
         
             
                        # The [Operation.metadata][google.longrunning.Operation.metadata] will be
         
     | 
| 
       57 
     | 
    
         
            -
                        #  
     | 
| 
      
 57 
     | 
    
         
            +
                        # WorkflowMetadata.
         
     | 
| 
       58 
58 
     | 
    
         
             
                        # Also see [Using
         
     | 
| 
       59 
59 
     | 
    
         
             
                        # WorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).
         
     | 
| 
       60 
60 
     | 
    
         
             
                        #
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-dataproc-v1beta2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.6. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.6.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2021- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-08-11 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: gapic-common
         
     | 
| 
         @@ -16,7 +16,7 @@ dependencies: 
     | 
|
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
17 
     | 
    
         
             
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: '0.7'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - "<"
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
22 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -26,7 +26,7 @@ dependencies: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
27 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: '0.7'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: 2.a
         
     |