google-cloud-app_engine-v1 0.3.2 → 0.3.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/app_engine/v1/applications/client.rb +41 -40
- data/lib/google/cloud/app_engine/v1/applications/operations.rb +30 -21
- data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +44 -41
- data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +32 -37
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +44 -41
- data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +30 -21
- data/lib/google/cloud/app_engine/v1/firewall/client.rb +47 -42
- data/lib/google/cloud/app_engine/v1/instances/client.rb +41 -40
- data/lib/google/cloud/app_engine/v1/instances/operations.rb +30 -21
- data/lib/google/cloud/app_engine/v1/services/client.rb +41 -40
- data/lib/google/cloud/app_engine/v1/services/operations.rb +30 -21
- data/lib/google/cloud/app_engine/v1/version.rb +1 -1
- data/lib/google/cloud/app_engine/v1/versions/client.rb +44 -41
- data/lib/google/cloud/app_engine/v1/versions/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: 75db990aef798981b48a838937b7efadf8056d205100c13dcd090e9a2a240ed7
|
4
|
+
data.tar.gz: 8e506a925ce59b3c03c0fda5b0ea4025bf6f2bcf242c7ff74f36900131c25ed0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27a0e34749bdf4d5379d1a3565721a649f6e0378c0a4b185a68c93c539a00c8bb7678c77d9380309e0f3fa6810aa8618f0ed6bfc46de9f4d3368bb1bdfa3257d
|
7
|
+
data.tar.gz: 49510fcceee41312cedefaee9e298de35206fda344e960af6d031c0ea4898104bf2610b9e16914c1bc9d6f8c3af2cef254d62ea0ff58248859f9b8d0782ec381
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::AppEngine::V1::Applications::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 Applications clients
|
45
|
+
# ::Google::Cloud::AppEngine::V1::Applications::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]
|
@@ -92,19 +91,15 @@ module Google
|
|
92
91
|
##
|
93
92
|
# Create a new Applications client object.
|
94
93
|
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# To create a new Applications client with the default
|
98
|
-
# configuration:
|
99
|
-
#
|
100
|
-
# client = ::Google::Cloud::AppEngine::V1::Applications::Client.new
|
94
|
+
# @example
|
101
95
|
#
|
102
|
-
#
|
103
|
-
#
|
96
|
+
# # Create a client using the default configuration
|
97
|
+
# client = ::Google::Cloud::AppEngine::V1::Applications::Client.new
|
104
98
|
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
99
|
+
# # Create a client using a custom configuration
|
100
|
+
# client = ::Google::Cloud::AppEngine::V1::Applications::Client.new do |config|
|
101
|
+
# config.timeout = 10.0
|
102
|
+
# end
|
108
103
|
#
|
109
104
|
# @yield [config] Configure the Applications client.
|
110
105
|
# @yieldparam config [Client::Configuration]
|
@@ -124,10 +119,9 @@ module Google
|
|
124
119
|
|
125
120
|
# Create credentials
|
126
121
|
credentials = @config.credentials
|
127
|
-
# Use self-signed JWT if the
|
122
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
128
123
|
# but only if the default endpoint does not have a region prefix.
|
129
|
-
enable_self_signed_jwt = @config.
|
130
|
-
@config.endpoint == Client.configure.endpoint &&
|
124
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
131
125
|
!@config.endpoint.split(".").first.include?("-")
|
132
126
|
credentials ||= Credentials.default scope: @config.scope,
|
133
127
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -215,7 +209,9 @@ module Google
|
|
215
209
|
options.apply_defaults timeout: @config.rpcs.get_application.timeout,
|
216
210
|
metadata: metadata,
|
217
211
|
retry_policy: @config.rpcs.get_application.retry_policy
|
218
|
-
|
212
|
+
|
213
|
+
options.apply_defaults timeout: @config.timeout,
|
214
|
+
metadata: @config.metadata,
|
219
215
|
retry_policy: @config.retry_policy
|
220
216
|
|
221
217
|
@applications_stub.call_rpc :get_application, request, options: options do |response, operation|
|
@@ -281,7 +277,9 @@ module Google
|
|
281
277
|
options.apply_defaults timeout: @config.rpcs.create_application.timeout,
|
282
278
|
metadata: metadata,
|
283
279
|
retry_policy: @config.rpcs.create_application.retry_policy
|
284
|
-
|
280
|
+
|
281
|
+
options.apply_defaults timeout: @config.timeout,
|
282
|
+
metadata: @config.metadata,
|
285
283
|
retry_policy: @config.retry_policy
|
286
284
|
|
287
285
|
@applications_stub.call_rpc :create_application, request, options: options do |response, operation|
|
@@ -356,7 +354,9 @@ module Google
|
|
356
354
|
options.apply_defaults timeout: @config.rpcs.update_application.timeout,
|
357
355
|
metadata: metadata,
|
358
356
|
retry_policy: @config.rpcs.update_application.retry_policy
|
359
|
-
|
357
|
+
|
358
|
+
options.apply_defaults timeout: @config.timeout,
|
359
|
+
metadata: @config.metadata,
|
360
360
|
retry_policy: @config.retry_policy
|
361
361
|
|
362
362
|
@applications_stub.call_rpc :update_application, request, options: options do |response, operation|
|
@@ -432,7 +432,9 @@ module Google
|
|
432
432
|
options.apply_defaults timeout: @config.rpcs.repair_application.timeout,
|
433
433
|
metadata: metadata,
|
434
434
|
retry_policy: @config.rpcs.repair_application.retry_policy
|
435
|
-
|
435
|
+
|
436
|
+
options.apply_defaults timeout: @config.timeout,
|
437
|
+
metadata: @config.metadata,
|
436
438
|
retry_policy: @config.retry_policy
|
437
439
|
|
438
440
|
@applications_stub.call_rpc :repair_application, request, options: options do |response, operation|
|
@@ -457,22 +459,21 @@ module Google
|
|
457
459
|
# Configuration can be applied globally to all clients, or to a single client
|
458
460
|
# on construction.
|
459
461
|
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
# to 20 seconds,
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
# end
|
462
|
+
# @example
|
463
|
+
#
|
464
|
+
# # Modify the global config, setting the timeout for
|
465
|
+
# # get_application to 20 seconds,
|
466
|
+
# # and all remaining timeouts to 10 seconds.
|
467
|
+
# ::Google::Cloud::AppEngine::V1::Applications::Client.configure do |config|
|
468
|
+
# config.timeout = 10.0
|
469
|
+
# config.rpcs.get_application.timeout = 20.0
|
470
|
+
# end
|
471
|
+
#
|
472
|
+
# # Apply the above configuration only to a new client.
|
473
|
+
# client = ::Google::Cloud::AppEngine::V1::Applications::Client.new do |config|
|
474
|
+
# config.timeout = 10.0
|
475
|
+
# config.rpcs.get_application.timeout = 20.0
|
476
|
+
# end
|
476
477
|
#
|
477
478
|
# @!attribute [rw] endpoint
|
478
479
|
# 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.
|
@@ -40,13 +40,12 @@ module Google
|
|
40
40
|
# See {::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client::Configuration}
|
41
41
|
# for a description of the configuration fields.
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# @example
|
44
44
|
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# end
|
45
|
+
# # Modify the configuration for all AuthorizedCertificates clients
|
46
|
+
# ::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client.configure do |config|
|
47
|
+
# config.timeout = 10.0
|
48
|
+
# end
|
50
49
|
#
|
51
50
|
# @yield [config] Configure the Client client.
|
52
51
|
# @yieldparam config [Client::Configuration]
|
@@ -93,19 +92,15 @@ module Google
|
|
93
92
|
##
|
94
93
|
# Create a new AuthorizedCertificates client object.
|
95
94
|
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
# To create a new AuthorizedCertificates client with the default
|
99
|
-
# configuration:
|
100
|
-
#
|
101
|
-
# client = ::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client.new
|
95
|
+
# @example
|
102
96
|
#
|
103
|
-
#
|
104
|
-
#
|
97
|
+
# # Create a client using the default configuration
|
98
|
+
# client = ::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client.new
|
105
99
|
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
100
|
+
# # Create a client using a custom configuration
|
101
|
+
# client = ::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client.new do |config|
|
102
|
+
# config.timeout = 10.0
|
103
|
+
# end
|
109
104
|
#
|
110
105
|
# @yield [config] Configure the AuthorizedCertificates client.
|
111
106
|
# @yieldparam config [Client::Configuration]
|
@@ -125,10 +120,9 @@ module Google
|
|
125
120
|
|
126
121
|
# Create credentials
|
127
122
|
credentials = @config.credentials
|
128
|
-
# Use self-signed JWT if the
|
123
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
129
124
|
# but only if the default endpoint does not have a region prefix.
|
130
|
-
enable_self_signed_jwt = @config.
|
131
|
-
@config.endpoint == Client.configure.endpoint &&
|
125
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
132
126
|
!@config.endpoint.split(".").first.include?("-")
|
133
127
|
credentials ||= Credentials.default scope: @config.scope,
|
134
128
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -210,7 +204,9 @@ module Google
|
|
210
204
|
options.apply_defaults timeout: @config.rpcs.list_authorized_certificates.timeout,
|
211
205
|
metadata: metadata,
|
212
206
|
retry_policy: @config.rpcs.list_authorized_certificates.retry_policy
|
213
|
-
|
207
|
+
|
208
|
+
options.apply_defaults timeout: @config.timeout,
|
209
|
+
metadata: @config.metadata,
|
214
210
|
retry_policy: @config.retry_policy
|
215
211
|
|
216
212
|
@authorized_certificates_stub.call_rpc :list_authorized_certificates, request, options: options do |response, operation|
|
@@ -280,7 +276,9 @@ module Google
|
|
280
276
|
options.apply_defaults timeout: @config.rpcs.get_authorized_certificate.timeout,
|
281
277
|
metadata: metadata,
|
282
278
|
retry_policy: @config.rpcs.get_authorized_certificate.retry_policy
|
283
|
-
|
279
|
+
|
280
|
+
options.apply_defaults timeout: @config.timeout,
|
281
|
+
metadata: @config.metadata,
|
284
282
|
retry_policy: @config.retry_policy
|
285
283
|
|
286
284
|
@authorized_certificates_stub.call_rpc :get_authorized_certificate, request, options: options do |response, operation|
|
@@ -348,7 +346,9 @@ module Google
|
|
348
346
|
options.apply_defaults timeout: @config.rpcs.create_authorized_certificate.timeout,
|
349
347
|
metadata: metadata,
|
350
348
|
retry_policy: @config.rpcs.create_authorized_certificate.retry_policy
|
351
|
-
|
349
|
+
|
350
|
+
options.apply_defaults timeout: @config.timeout,
|
351
|
+
metadata: @config.metadata,
|
352
352
|
retry_policy: @config.retry_policy
|
353
353
|
|
354
354
|
@authorized_certificates_stub.call_rpc :create_authorized_certificate, request, options: options do |response, operation|
|
@@ -425,7 +425,9 @@ module Google
|
|
425
425
|
options.apply_defaults timeout: @config.rpcs.update_authorized_certificate.timeout,
|
426
426
|
metadata: metadata,
|
427
427
|
retry_policy: @config.rpcs.update_authorized_certificate.retry_policy
|
428
|
-
|
428
|
+
|
429
|
+
options.apply_defaults timeout: @config.timeout,
|
430
|
+
metadata: @config.metadata,
|
429
431
|
retry_policy: @config.retry_policy
|
430
432
|
|
431
433
|
@authorized_certificates_stub.call_rpc :update_authorized_certificate, request, options: options do |response, operation|
|
@@ -492,7 +494,9 @@ module Google
|
|
492
494
|
options.apply_defaults timeout: @config.rpcs.delete_authorized_certificate.timeout,
|
493
495
|
metadata: metadata,
|
494
496
|
retry_policy: @config.rpcs.delete_authorized_certificate.retry_policy
|
495
|
-
|
497
|
+
|
498
|
+
options.apply_defaults timeout: @config.timeout,
|
499
|
+
metadata: @config.metadata,
|
496
500
|
retry_policy: @config.retry_policy
|
497
501
|
|
498
502
|
@authorized_certificates_stub.call_rpc :delete_authorized_certificate, request, options: options do |response, operation|
|
@@ -516,22 +520,21 @@ module Google
|
|
516
520
|
# Configuration can be applied globally to all clients, or to a single client
|
517
521
|
# on construction.
|
518
522
|
#
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
# to 20 seconds,
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
533
|
-
#
|
534
|
-
# end
|
523
|
+
# @example
|
524
|
+
#
|
525
|
+
# # Modify the global config, setting the timeout for
|
526
|
+
# # list_authorized_certificates to 20 seconds,
|
527
|
+
# # and all remaining timeouts to 10 seconds.
|
528
|
+
# ::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client.configure do |config|
|
529
|
+
# config.timeout = 10.0
|
530
|
+
# config.rpcs.list_authorized_certificates.timeout = 20.0
|
531
|
+
# end
|
532
|
+
#
|
533
|
+
# # Apply the above configuration only to a new client.
|
534
|
+
# client = ::Google::Cloud::AppEngine::V1::AuthorizedCertificates::Client.new do |config|
|
535
|
+
# config.timeout = 10.0
|
536
|
+
# config.rpcs.list_authorized_certificates.timeout = 20.0
|
537
|
+
# end
|
535
538
|
#
|
536
539
|
# @!attribute [rw] endpoint
|
537
540
|
# The hostname or hostname:port of the service endpoint.
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::AppEngine::V1::AuthorizedDomains::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all AuthorizedDomains clients
|
47
|
+
# ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -94,19 +93,15 @@ module Google
|
|
94
93
|
##
|
95
94
|
# Create a new AuthorizedDomains client object.
|
96
95
|
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# To create a new AuthorizedDomains client with the default
|
100
|
-
# configuration:
|
96
|
+
# @example
|
101
97
|
#
|
102
|
-
#
|
98
|
+
# # Create a client using the default configuration
|
99
|
+
# client = ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Client.new
|
103
100
|
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# config.timeout = 10.0
|
109
|
-
# end
|
101
|
+
# # Create a client using a custom configuration
|
102
|
+
# client = ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Client.new do |config|
|
103
|
+
# config.timeout = 10.0
|
104
|
+
# end
|
110
105
|
#
|
111
106
|
# @yield [config] Configure the AuthorizedDomains client.
|
112
107
|
# @yieldparam config [Client::Configuration]
|
@@ -126,10 +121,9 @@ module Google
|
|
126
121
|
|
127
122
|
# Create credentials
|
128
123
|
credentials = @config.credentials
|
129
|
-
# Use self-signed JWT if the
|
124
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
130
125
|
# but only if the default endpoint does not have a region prefix.
|
131
|
-
enable_self_signed_jwt = @config.
|
132
|
-
@config.endpoint == Client.configure.endpoint &&
|
126
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
133
127
|
!@config.endpoint.split(".").first.include?("-")
|
134
128
|
credentials ||= Credentials.default scope: @config.scope,
|
135
129
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -209,7 +203,9 @@ module Google
|
|
209
203
|
options.apply_defaults timeout: @config.rpcs.list_authorized_domains.timeout,
|
210
204
|
metadata: metadata,
|
211
205
|
retry_policy: @config.rpcs.list_authorized_domains.retry_policy
|
212
|
-
|
206
|
+
|
207
|
+
options.apply_defaults timeout: @config.timeout,
|
208
|
+
metadata: @config.metadata,
|
213
209
|
retry_policy: @config.retry_policy
|
214
210
|
|
215
211
|
@authorized_domains_stub.call_rpc :list_authorized_domains, request, options: options do |response, operation|
|
@@ -234,22 +230,21 @@ module Google
|
|
234
230
|
# Configuration can be applied globally to all clients, or to a single client
|
235
231
|
# on construction.
|
236
232
|
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
# to 20 seconds,
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
# end
|
233
|
+
# @example
|
234
|
+
#
|
235
|
+
# # Modify the global config, setting the timeout for
|
236
|
+
# # list_authorized_domains to 20 seconds,
|
237
|
+
# # and all remaining timeouts to 10 seconds.
|
238
|
+
# ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Client.configure do |config|
|
239
|
+
# config.timeout = 10.0
|
240
|
+
# config.rpcs.list_authorized_domains.timeout = 20.0
|
241
|
+
# end
|
242
|
+
#
|
243
|
+
# # Apply the above configuration only to a new client.
|
244
|
+
# client = ::Google::Cloud::AppEngine::V1::AuthorizedDomains::Client.new do |config|
|
245
|
+
# config.timeout = 10.0
|
246
|
+
# config.rpcs.list_authorized_domains.timeout = 20.0
|
247
|
+
# end
|
253
248
|
#
|
254
249
|
# @!attribute [rw] endpoint
|
255
250
|
# The hostname or hostname:port of the service endpoint.
|