google-cloud-dataproc-v1 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/v1/autoscaling_policy_service/client.rb +44 -41
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +53 -44
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +30 -21
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +50 -43
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +30 -21
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +50 -43
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +30 -21
- 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: 9df93f6bd1d83e69b00a66aafaac208f41268c4e426556242014353c6acfcc80
|
4
|
+
data.tar.gz: 8034f237fcfff16df053a9c5dd26e8b52bacc26f23d8ee4a4ddafe639b716fa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2007015632c66ae71352f90689f23ca1ccee4f6c0aa45c7c20ce214f3a9cb6e896d3c57654737135de2d42d1a74969dbef4aa8f041e20a20b352e4792958eaec
|
7
|
+
data.tar.gz: 2d88207eb2471725760b0ef449f8f58fdca93432190a806486e05ffcf27d705ceeb6a069f147b65cbca68dae645aa451e512e7a36625c706f1e9a7912a85f8ba
|
@@ -42,13 +42,12 @@ module Google
|
|
42
42
|
# See {::Google::Cloud::Dataproc::V1::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::V1::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::V1::AutoscalingPolicyService::Client.new
|
116
|
+
# @example
|
123
117
|
#
|
124
|
-
#
|
125
|
-
#
|
118
|
+
# # Create a client using the default configuration
|
119
|
+
# client = ::Google::Cloud::Dataproc::V1::AutoscalingPolicyService::Client.new
|
126
120
|
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
121
|
+
# # Create a client using a custom configuration
|
122
|
+
# client = ::Google::Cloud::Dataproc::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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::V1::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
|
@@ -268,7 +262,9 @@ module Google
|
|
268
262
|
options.apply_defaults timeout: @config.rpcs.create_cluster.timeout,
|
269
263
|
metadata: metadata,
|
270
264
|
retry_policy: @config.rpcs.create_cluster.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
|
@cluster_controller_stub.call_rpc :create_cluster, request, options: options do |response, operation|
|
@@ -421,7 +417,9 @@ module Google
|
|
421
417
|
options.apply_defaults timeout: @config.rpcs.update_cluster.timeout,
|
422
418
|
metadata: metadata,
|
423
419
|
retry_policy: @config.rpcs.update_cluster.retry_policy
|
424
|
-
|
420
|
+
|
421
|
+
options.apply_defaults timeout: @config.timeout,
|
422
|
+
metadata: @config.metadata,
|
425
423
|
retry_policy: @config.retry_policy
|
426
424
|
|
427
425
|
@cluster_controller_stub.call_rpc :update_cluster, request, options: options do |response, operation|
|
@@ -511,7 +509,9 @@ module Google
|
|
511
509
|
options.apply_defaults timeout: @config.rpcs.stop_cluster.timeout,
|
512
510
|
metadata: metadata,
|
513
511
|
retry_policy: @config.rpcs.stop_cluster.retry_policy
|
514
|
-
|
512
|
+
|
513
|
+
options.apply_defaults timeout: @config.timeout,
|
514
|
+
metadata: @config.metadata,
|
515
515
|
retry_policy: @config.retry_policy
|
516
516
|
|
517
517
|
@cluster_controller_stub.call_rpc :stop_cluster, request, options: options do |response, operation|
|
@@ -601,7 +601,9 @@ module Google
|
|
601
601
|
options.apply_defaults timeout: @config.rpcs.start_cluster.timeout,
|
602
602
|
metadata: metadata,
|
603
603
|
retry_policy: @config.rpcs.start_cluster.retry_policy
|
604
|
-
|
604
|
+
|
605
|
+
options.apply_defaults timeout: @config.timeout,
|
606
|
+
metadata: @config.metadata,
|
605
607
|
retry_policy: @config.retry_policy
|
606
608
|
|
607
609
|
@cluster_controller_stub.call_rpc :start_cluster, request, options: options do |response, operation|
|
@@ -693,7 +695,9 @@ module Google
|
|
693
695
|
options.apply_defaults timeout: @config.rpcs.delete_cluster.timeout,
|
694
696
|
metadata: metadata,
|
695
697
|
retry_policy: @config.rpcs.delete_cluster.retry_policy
|
696
|
-
|
698
|
+
|
699
|
+
options.apply_defaults timeout: @config.timeout,
|
700
|
+
metadata: @config.metadata,
|
697
701
|
retry_policy: @config.retry_policy
|
698
702
|
|
699
703
|
@cluster_controller_stub.call_rpc :delete_cluster, request, options: options do |response, operation|
|
@@ -767,7 +771,9 @@ module Google
|
|
767
771
|
options.apply_defaults timeout: @config.rpcs.get_cluster.timeout,
|
768
772
|
metadata: metadata,
|
769
773
|
retry_policy: @config.rpcs.get_cluster.retry_policy
|
770
|
-
|
774
|
+
|
775
|
+
options.apply_defaults timeout: @config.timeout,
|
776
|
+
metadata: @config.metadata,
|
771
777
|
retry_policy: @config.retry_policy
|
772
778
|
|
773
779
|
@cluster_controller_stub.call_rpc :get_cluster, request, options: options do |response, operation|
|
@@ -861,7 +867,9 @@ module Google
|
|
861
867
|
options.apply_defaults timeout: @config.rpcs.list_clusters.timeout,
|
862
868
|
metadata: metadata,
|
863
869
|
retry_policy: @config.rpcs.list_clusters.retry_policy
|
864
|
-
|
870
|
+
|
871
|
+
options.apply_defaults timeout: @config.timeout,
|
872
|
+
metadata: @config.metadata,
|
865
873
|
retry_policy: @config.retry_policy
|
866
874
|
|
867
875
|
@cluster_controller_stub.call_rpc :list_clusters, request, options: options do |response, operation|
|
@@ -941,7 +949,9 @@ module Google
|
|
941
949
|
options.apply_defaults timeout: @config.rpcs.diagnose_cluster.timeout,
|
942
950
|
metadata: metadata,
|
943
951
|
retry_policy: @config.rpcs.diagnose_cluster.retry_policy
|
944
|
-
|
952
|
+
|
953
|
+
options.apply_defaults timeout: @config.timeout,
|
954
|
+
metadata: @config.metadata,
|
945
955
|
retry_policy: @config.retry_policy
|
946
956
|
|
947
957
|
@cluster_controller_stub.call_rpc :diagnose_cluster, request, options: options do |response, operation|
|
@@ -966,22 +976,21 @@ module Google
|
|
966
976
|
# Configuration can be applied globally to all clients, or to a single client
|
967
977
|
# on construction.
|
968
978
|
#
|
969
|
-
#
|
970
|
-
#
|
971
|
-
#
|
972
|
-
# to 20 seconds,
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
976
|
-
#
|
977
|
-
#
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
981
|
-
#
|
982
|
-
#
|
983
|
-
#
|
984
|
-
# end
|
979
|
+
# @example
|
980
|
+
#
|
981
|
+
# # Modify the global config, setting the timeout for
|
982
|
+
# # create_cluster to 20 seconds,
|
983
|
+
# # and all remaining timeouts to 10 seconds.
|
984
|
+
# ::Google::Cloud::Dataproc::V1::ClusterController::Client.configure do |config|
|
985
|
+
# config.timeout = 10.0
|
986
|
+
# config.rpcs.create_cluster.timeout = 20.0
|
987
|
+
# end
|
988
|
+
#
|
989
|
+
# # Apply the above configuration only to a new client.
|
990
|
+
# client = ::Google::Cloud::Dataproc::V1::ClusterController::Client.new do |config|
|
991
|
+
# config.timeout = 10.0
|
992
|
+
# config.rpcs.create_cluster.timeout = 20.0
|
993
|
+
# end
|
985
994
|
#
|
986
995
|
# @!attribute [rw] endpoint
|
987
996
|
# 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.
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::Dataproc::V1::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::V1::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::V1::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::V1::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
|
@@ -269,7 +263,9 @@ module Google
|
|
269
263
|
options.apply_defaults timeout: @config.rpcs.submit_job.timeout,
|
270
264
|
metadata: metadata,
|
271
265
|
retry_policy: @config.rpcs.submit_job.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
|
@job_controller_stub.call_rpc :submit_job, request, options: options do |response, operation|
|
@@ -354,7 +350,9 @@ module Google
|
|
354
350
|
options.apply_defaults timeout: @config.rpcs.submit_job_as_operation.timeout,
|
355
351
|
metadata: metadata,
|
356
352
|
retry_policy: @config.rpcs.submit_job_as_operation.retry_policy
|
357
|
-
|
353
|
+
|
354
|
+
options.apply_defaults timeout: @config.timeout,
|
355
|
+
metadata: @config.metadata,
|
358
356
|
retry_policy: @config.retry_policy
|
359
357
|
|
360
358
|
@job_controller_stub.call_rpc :submit_job_as_operation, request, options: options do |response, operation|
|
@@ -428,7 +426,9 @@ module Google
|
|
428
426
|
options.apply_defaults timeout: @config.rpcs.get_job.timeout,
|
429
427
|
metadata: metadata,
|
430
428
|
retry_policy: @config.rpcs.get_job.retry_policy
|
431
|
-
|
429
|
+
|
430
|
+
options.apply_defaults timeout: @config.timeout,
|
431
|
+
metadata: @config.metadata,
|
432
432
|
retry_policy: @config.retry_policy
|
433
433
|
|
434
434
|
@job_controller_stub.call_rpc :get_job, request, options: options do |response, operation|
|
@@ -526,7 +526,9 @@ module Google
|
|
526
526
|
options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
|
527
527
|
metadata: metadata,
|
528
528
|
retry_policy: @config.rpcs.list_jobs.retry_policy
|
529
|
-
|
529
|
+
|
530
|
+
options.apply_defaults timeout: @config.timeout,
|
531
|
+
metadata: @config.metadata,
|
530
532
|
retry_policy: @config.retry_policy
|
531
533
|
|
532
534
|
@job_controller_stub.call_rpc :list_jobs, request, options: options do |response, operation|
|
@@ -609,7 +611,9 @@ module Google
|
|
609
611
|
options.apply_defaults timeout: @config.rpcs.update_job.timeout,
|
610
612
|
metadata: metadata,
|
611
613
|
retry_policy: @config.rpcs.update_job.retry_policy
|
612
|
-
|
614
|
+
|
615
|
+
options.apply_defaults timeout: @config.timeout,
|
616
|
+
metadata: @config.metadata,
|
613
617
|
retry_policy: @config.retry_policy
|
614
618
|
|
615
619
|
@job_controller_stub.call_rpc :update_job, request, options: options do |response, operation|
|
@@ -686,7 +690,9 @@ module Google
|
|
686
690
|
options.apply_defaults timeout: @config.rpcs.cancel_job.timeout,
|
687
691
|
metadata: metadata,
|
688
692
|
retry_policy: @config.rpcs.cancel_job.retry_policy
|
689
|
-
|
693
|
+
|
694
|
+
options.apply_defaults timeout: @config.timeout,
|
695
|
+
metadata: @config.metadata,
|
690
696
|
retry_policy: @config.retry_policy
|
691
697
|
|
692
698
|
@job_controller_stub.call_rpc :cancel_job, request, options: options do |response, operation|
|
@@ -760,7 +766,9 @@ module Google
|
|
760
766
|
options.apply_defaults timeout: @config.rpcs.delete_job.timeout,
|
761
767
|
metadata: metadata,
|
762
768
|
retry_policy: @config.rpcs.delete_job.retry_policy
|
763
|
-
|
769
|
+
|
770
|
+
options.apply_defaults timeout: @config.timeout,
|
771
|
+
metadata: @config.metadata,
|
764
772
|
retry_policy: @config.retry_policy
|
765
773
|
|
766
774
|
@job_controller_stub.call_rpc :delete_job, request, options: options do |response, operation|
|
@@ -784,22 +792,21 @@ module Google
|
|
784
792
|
# Configuration can be applied globally to all clients, or to a single client
|
785
793
|
# on construction.
|
786
794
|
#
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
790
|
-
# to 20 seconds,
|
791
|
-
#
|
792
|
-
#
|
793
|
-
#
|
794
|
-
#
|
795
|
-
#
|
796
|
-
#
|
797
|
-
#
|
798
|
-
#
|
799
|
-
#
|
800
|
-
#
|
801
|
-
#
|
802
|
-
# end
|
795
|
+
# @example
|
796
|
+
#
|
797
|
+
# # Modify the global config, setting the timeout for
|
798
|
+
# # submit_job to 20 seconds,
|
799
|
+
# # and all remaining timeouts to 10 seconds.
|
800
|
+
# ::Google::Cloud::Dataproc::V1::JobController::Client.configure do |config|
|
801
|
+
# config.timeout = 10.0
|
802
|
+
# config.rpcs.submit_job.timeout = 20.0
|
803
|
+
# end
|
804
|
+
#
|
805
|
+
# # Apply the above configuration only to a new client.
|
806
|
+
# client = ::Google::Cloud::Dataproc::V1::JobController::Client.new do |config|
|
807
|
+
# config.timeout = 10.0
|
808
|
+
# config.rpcs.submit_job.timeout = 20.0
|
809
|
+
# end
|
803
810
|
#
|
804
811
|
# @!attribute [rw] endpoint
|
805
812
|
# 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.
|
@@ -42,13 +42,12 @@ module Google
|
|
42
42
|
# See {::Google::Cloud::Dataproc::V1::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::V1::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::V1::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::V1::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|
|
@@ -461,7 +459,9 @@ module Google
|
|
461
459
|
options.apply_defaults timeout: @config.rpcs.instantiate_workflow_template.timeout,
|
462
460
|
metadata: metadata,
|
463
461
|
retry_policy: @config.rpcs.instantiate_workflow_template.retry_policy
|
464
|
-
|
462
|
+
|
463
|
+
options.apply_defaults timeout: @config.timeout,
|
464
|
+
metadata: @config.metadata,
|
465
465
|
retry_policy: @config.retry_policy
|
466
466
|
|
467
467
|
@workflow_template_service_stub.call_rpc :instantiate_workflow_template, request, options: options do |response, operation|
|
@@ -573,7 +573,9 @@ module Google
|
|
573
573
|
options.apply_defaults timeout: @config.rpcs.instantiate_inline_workflow_template.timeout,
|
574
574
|
metadata: metadata,
|
575
575
|
retry_policy: @config.rpcs.instantiate_inline_workflow_template.retry_policy
|
576
|
-
|
576
|
+
|
577
|
+
options.apply_defaults timeout: @config.timeout,
|
578
|
+
metadata: @config.metadata,
|
577
579
|
retry_policy: @config.retry_policy
|
578
580
|
|
579
581
|
@workflow_template_service_stub.call_rpc :instantiate_inline_workflow_template, request, options: options do |response, operation|
|
@@ -643,7 +645,9 @@ module Google
|
|
643
645
|
options.apply_defaults timeout: @config.rpcs.update_workflow_template.timeout,
|
644
646
|
metadata: metadata,
|
645
647
|
retry_policy: @config.rpcs.update_workflow_template.retry_policy
|
646
|
-
|
648
|
+
|
649
|
+
options.apply_defaults timeout: @config.timeout,
|
650
|
+
metadata: @config.metadata,
|
647
651
|
retry_policy: @config.retry_policy
|
648
652
|
|
649
653
|
@workflow_template_service_stub.call_rpc :update_workflow_template, request, options: options do |response, operation|
|
@@ -723,7 +727,9 @@ module Google
|
|
723
727
|
options.apply_defaults timeout: @config.rpcs.list_workflow_templates.timeout,
|
724
728
|
metadata: metadata,
|
725
729
|
retry_policy: @config.rpcs.list_workflow_templates.retry_policy
|
726
|
-
|
730
|
+
|
731
|
+
options.apply_defaults timeout: @config.timeout,
|
732
|
+
metadata: @config.metadata,
|
727
733
|
retry_policy: @config.retry_policy
|
728
734
|
|
729
735
|
@workflow_template_service_stub.call_rpc :list_workflow_templates, request, options: options do |response, operation|
|
@@ -803,7 +809,9 @@ module Google
|
|
803
809
|
options.apply_defaults timeout: @config.rpcs.delete_workflow_template.timeout,
|
804
810
|
metadata: metadata,
|
805
811
|
retry_policy: @config.rpcs.delete_workflow_template.retry_policy
|
806
|
-
|
812
|
+
|
813
|
+
options.apply_defaults timeout: @config.timeout,
|
814
|
+
metadata: @config.metadata,
|
807
815
|
retry_policy: @config.retry_policy
|
808
816
|
|
809
817
|
@workflow_template_service_stub.call_rpc :delete_workflow_template, request, options: options do |response, operation|
|
@@ -827,22 +835,21 @@ module Google
|
|
827
835
|
# Configuration can be applied globally to all clients, or to a single client
|
828
836
|
# on construction.
|
829
837
|
#
|
830
|
-
#
|
831
|
-
#
|
832
|
-
#
|
833
|
-
# to 20 seconds,
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
840
|
-
#
|
841
|
-
#
|
842
|
-
#
|
843
|
-
#
|
844
|
-
#
|
845
|
-
# end
|
838
|
+
# @example
|
839
|
+
#
|
840
|
+
# # Modify the global config, setting the timeout for
|
841
|
+
# # create_workflow_template to 20 seconds,
|
842
|
+
# # and all remaining timeouts to 10 seconds.
|
843
|
+
# ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.configure do |config|
|
844
|
+
# config.timeout = 10.0
|
845
|
+
# config.rpcs.create_workflow_template.timeout = 20.0
|
846
|
+
# end
|
847
|
+
#
|
848
|
+
# # Apply the above configuration only to a new client.
|
849
|
+
# client = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new do |config|
|
850
|
+
# config.timeout = 10.0
|
851
|
+
# config.rpcs.create_workflow_template.timeout = 20.0
|
852
|
+
# end
|
846
853
|
#
|
847
854
|
# @!attribute [rw] endpoint
|
848
855
|
# 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.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataproc-v1
|
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
|