google-cloud-security-private_ca-v1 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 781dd88ad0aacd7a9c86ecaf9de751f396153c3689e26b63ef644cafffb94ca7
4
- data.tar.gz: 1cedd8927f289079de58159c0a79fc45ce1130c90f4bc083d840dba0f7f5daf3
3
+ metadata.gz: a9d4fb4edd3b3e5867f6b65f5ba481ed9ec753c273469f7d0d1c1644ca0f5687
4
+ data.tar.gz: a18683b33110e02c488c98a3e2c24c06af21c6133ea02aa69da0c809d774a4b9
5
5
  SHA512:
6
- metadata.gz: 8e1e540287faaef6d002197575d8310fbf5666f44ad2d3f1d5062e6c1d06c643b4a8ef793eab4313fa43379eb56409ffbcf469d927c3b94443d465dcbf88eff4
7
- data.tar.gz: eb14354e8f6b1ab68696606b2513fc9f9d97e3382ad44f95619344e70c30af79c2534abf60a04a0238fe72afe20f5e881909be9cf95d4275705df6ea31edfa74
6
+ metadata.gz: 88233ff20a4d76bb34703793ba535a8aeaeb7f370e1d52d0c028011e5d3e5d78ed57dcabb7067480736f3eb557e23dee8ac5fb45a8221b443071441d2c74b065
7
+ data.tar.gz: 21486d8e537108fccd9098334b5a301ac71dba8747c5693a3ac9785de1397008d90d6fe2465661d8ab174e003b99070f984c217d1e7fa0e193b28b203589c52c
@@ -43,13 +43,12 @@ module Google
43
43
  # See {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client::Configuration}
44
44
  # for a description of the configuration fields.
45
45
  #
46
- # ## Example
46
+ # @example
47
47
  #
48
- # To modify the configuration for all CertificateAuthorityService clients:
49
- #
50
- # ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.configure do |config|
51
- # config.timeout = 10.0
52
- # end
48
+ # # Modify the configuration for all CertificateAuthorityService clients
49
+ # ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.configure do |config|
50
+ # config.timeout = 10.0
51
+ # end
53
52
  #
54
53
  # @yield [config] Configure the Client client.
55
54
  # @yieldparam config [Client::Configuration]
@@ -101,19 +100,15 @@ module Google
101
100
  ##
102
101
  # Create a new CertificateAuthorityService client object.
103
102
  #
104
- # ## Examples
105
- #
106
- # To create a new CertificateAuthorityService client with the default
107
- # configuration:
108
- #
109
- # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new
103
+ # @example
110
104
  #
111
- # To create a new CertificateAuthorityService client with a custom
112
- # configuration:
105
+ # # Create a client using the default configuration
106
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new
113
107
  #
114
- # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new do |config|
115
- # config.timeout = 10.0
116
- # end
108
+ # # Create a client using a custom configuration
109
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new do |config|
110
+ # config.timeout = 10.0
111
+ # end
117
112
  #
118
113
  # @yield [config] Configure the CertificateAuthorityService client.
119
114
  # @yieldparam config [Client::Configuration]
@@ -133,10 +128,9 @@ module Google
133
128
 
134
129
  # Create credentials
135
130
  credentials = @config.credentials
136
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
131
+ # Use self-signed JWT if the endpoint is unchanged from default,
137
132
  # but only if the default endpoint does not have a region prefix.
138
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
139
- @config.endpoint == Client.configure.endpoint &&
133
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
140
134
  !@config.endpoint.split(".").first.include?("-")
141
135
  credentials ||= Credentials.default scope: @config.scope,
142
136
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -263,7 +257,9 @@ module Google
263
257
  options.apply_defaults timeout: @config.rpcs.create_certificate.timeout,
264
258
  metadata: metadata,
265
259
  retry_policy: @config.rpcs.create_certificate.retry_policy
266
- options.apply_defaults metadata: @config.metadata,
260
+
261
+ options.apply_defaults timeout: @config.timeout,
262
+ metadata: @config.metadata,
267
263
  retry_policy: @config.retry_policy
268
264
 
269
265
  @certificate_authority_service_stub.call_rpc :create_certificate, request, options: options do |response, operation|
@@ -329,7 +325,9 @@ module Google
329
325
  options.apply_defaults timeout: @config.rpcs.get_certificate.timeout,
330
326
  metadata: metadata,
331
327
  retry_policy: @config.rpcs.get_certificate.retry_policy
332
- options.apply_defaults metadata: @config.metadata,
328
+
329
+ options.apply_defaults timeout: @config.timeout,
330
+ metadata: @config.metadata,
333
331
  retry_policy: @config.retry_policy
334
332
 
335
333
  @certificate_authority_service_stub.call_rpc :get_certificate, request, options: options do |response, operation|
@@ -415,7 +413,9 @@ module Google
415
413
  options.apply_defaults timeout: @config.rpcs.list_certificates.timeout,
416
414
  metadata: metadata,
417
415
  retry_policy: @config.rpcs.list_certificates.retry_policy
418
- options.apply_defaults metadata: @config.metadata,
416
+
417
+ options.apply_defaults timeout: @config.timeout,
418
+ metadata: @config.metadata,
419
419
  retry_policy: @config.retry_policy
420
420
 
421
421
  @certificate_authority_service_stub.call_rpc :list_certificates, request, options: options do |response, operation|
@@ -500,7 +500,9 @@ module Google
500
500
  options.apply_defaults timeout: @config.rpcs.revoke_certificate.timeout,
501
501
  metadata: metadata,
502
502
  retry_policy: @config.rpcs.revoke_certificate.retry_policy
503
- options.apply_defaults metadata: @config.metadata,
503
+
504
+ options.apply_defaults timeout: @config.timeout,
505
+ metadata: @config.metadata,
504
506
  retry_policy: @config.retry_policy
505
507
 
506
508
  @certificate_authority_service_stub.call_rpc :revoke_certificate, request, options: options do |response, operation|
@@ -583,7 +585,9 @@ module Google
583
585
  options.apply_defaults timeout: @config.rpcs.update_certificate.timeout,
584
586
  metadata: metadata,
585
587
  retry_policy: @config.rpcs.update_certificate.retry_policy
586
- options.apply_defaults metadata: @config.metadata,
588
+
589
+ options.apply_defaults timeout: @config.timeout,
590
+ metadata: @config.metadata,
587
591
  retry_policy: @config.retry_policy
588
592
 
589
593
  @certificate_authority_service_stub.call_rpc :update_certificate, request, options: options do |response, operation|
@@ -675,7 +679,9 @@ module Google
675
679
  options.apply_defaults timeout: @config.rpcs.activate_certificate_authority.timeout,
676
680
  metadata: metadata,
677
681
  retry_policy: @config.rpcs.activate_certificate_authority.retry_policy
678
- options.apply_defaults metadata: @config.metadata,
682
+
683
+ options.apply_defaults timeout: @config.timeout,
684
+ metadata: @config.metadata,
679
685
  retry_policy: @config.retry_policy
680
686
 
681
687
  @certificate_authority_service_stub.call_rpc :activate_certificate_authority, request, options: options do |response, operation|
@@ -763,7 +769,9 @@ module Google
763
769
  options.apply_defaults timeout: @config.rpcs.create_certificate_authority.timeout,
764
770
  metadata: metadata,
765
771
  retry_policy: @config.rpcs.create_certificate_authority.retry_policy
766
- options.apply_defaults metadata: @config.metadata,
772
+
773
+ options.apply_defaults timeout: @config.timeout,
774
+ metadata: @config.metadata,
767
775
  retry_policy: @config.retry_policy
768
776
 
769
777
  @certificate_authority_service_stub.call_rpc :create_certificate_authority, request, options: options do |response, operation|
@@ -845,7 +853,9 @@ module Google
845
853
  options.apply_defaults timeout: @config.rpcs.disable_certificate_authority.timeout,
846
854
  metadata: metadata,
847
855
  retry_policy: @config.rpcs.disable_certificate_authority.retry_policy
848
- options.apply_defaults metadata: @config.metadata,
856
+
857
+ options.apply_defaults timeout: @config.timeout,
858
+ metadata: @config.metadata,
849
859
  retry_policy: @config.retry_policy
850
860
 
851
861
  @certificate_authority_service_stub.call_rpc :disable_certificate_authority, request, options: options do |response, operation|
@@ -927,7 +937,9 @@ module Google
927
937
  options.apply_defaults timeout: @config.rpcs.enable_certificate_authority.timeout,
928
938
  metadata: metadata,
929
939
  retry_policy: @config.rpcs.enable_certificate_authority.retry_policy
930
- options.apply_defaults metadata: @config.metadata,
940
+
941
+ options.apply_defaults timeout: @config.timeout,
942
+ metadata: @config.metadata,
931
943
  retry_policy: @config.retry_policy
932
944
 
933
945
  @certificate_authority_service_stub.call_rpc :enable_certificate_authority, request, options: options do |response, operation|
@@ -1001,7 +1013,9 @@ module Google
1001
1013
  options.apply_defaults timeout: @config.rpcs.fetch_certificate_authority_csr.timeout,
1002
1014
  metadata: metadata,
1003
1015
  retry_policy: @config.rpcs.fetch_certificate_authority_csr.retry_policy
1004
- options.apply_defaults metadata: @config.metadata,
1016
+
1017
+ options.apply_defaults timeout: @config.timeout,
1018
+ metadata: @config.metadata,
1005
1019
  retry_policy: @config.retry_policy
1006
1020
 
1007
1021
  @certificate_authority_service_stub.call_rpc :fetch_certificate_authority_csr, request, options: options do |response, operation|
@@ -1068,7 +1082,9 @@ module Google
1068
1082
  options.apply_defaults timeout: @config.rpcs.get_certificate_authority.timeout,
1069
1083
  metadata: metadata,
1070
1084
  retry_policy: @config.rpcs.get_certificate_authority.retry_policy
1071
- options.apply_defaults metadata: @config.metadata,
1085
+
1086
+ options.apply_defaults timeout: @config.timeout,
1087
+ metadata: @config.metadata,
1072
1088
  retry_policy: @config.retry_policy
1073
1089
 
1074
1090
  @certificate_authority_service_stub.call_rpc :get_certificate_authority, request, options: options do |response, operation|
@@ -1150,7 +1166,9 @@ module Google
1150
1166
  options.apply_defaults timeout: @config.rpcs.list_certificate_authorities.timeout,
1151
1167
  metadata: metadata,
1152
1168
  retry_policy: @config.rpcs.list_certificate_authorities.retry_policy
1153
- options.apply_defaults metadata: @config.metadata,
1169
+
1170
+ options.apply_defaults timeout: @config.timeout,
1171
+ metadata: @config.metadata,
1154
1172
  retry_policy: @config.retry_policy
1155
1173
 
1156
1174
  @certificate_authority_service_stub.call_rpc :list_certificate_authorities, request, options: options do |response, operation|
@@ -1232,7 +1250,9 @@ module Google
1232
1250
  options.apply_defaults timeout: @config.rpcs.undelete_certificate_authority.timeout,
1233
1251
  metadata: metadata,
1234
1252
  retry_policy: @config.rpcs.undelete_certificate_authority.retry_policy
1235
- options.apply_defaults metadata: @config.metadata,
1253
+
1254
+ options.apply_defaults timeout: @config.timeout,
1255
+ metadata: @config.metadata,
1236
1256
  retry_policy: @config.retry_policy
1237
1257
 
1238
1258
  @certificate_authority_service_stub.call_rpc :undelete_certificate_authority, request, options: options do |response, operation|
@@ -1317,7 +1337,9 @@ module Google
1317
1337
  options.apply_defaults timeout: @config.rpcs.delete_certificate_authority.timeout,
1318
1338
  metadata: metadata,
1319
1339
  retry_policy: @config.rpcs.delete_certificate_authority.retry_policy
1320
- options.apply_defaults metadata: @config.metadata,
1340
+
1341
+ options.apply_defaults timeout: @config.timeout,
1342
+ metadata: @config.metadata,
1321
1343
  retry_policy: @config.retry_policy
1322
1344
 
1323
1345
  @certificate_authority_service_stub.call_rpc :delete_certificate_authority, request, options: options do |response, operation|
@@ -1400,7 +1422,9 @@ module Google
1400
1422
  options.apply_defaults timeout: @config.rpcs.update_certificate_authority.timeout,
1401
1423
  metadata: metadata,
1402
1424
  retry_policy: @config.rpcs.update_certificate_authority.retry_policy
1403
- options.apply_defaults metadata: @config.metadata,
1425
+
1426
+ options.apply_defaults timeout: @config.timeout,
1427
+ metadata: @config.metadata,
1404
1428
  retry_policy: @config.retry_policy
1405
1429
 
1406
1430
  @certificate_authority_service_stub.call_rpc :update_certificate_authority, request, options: options do |response, operation|
@@ -1487,7 +1511,9 @@ module Google
1487
1511
  options.apply_defaults timeout: @config.rpcs.create_ca_pool.timeout,
1488
1512
  metadata: metadata,
1489
1513
  retry_policy: @config.rpcs.create_ca_pool.retry_policy
1490
- options.apply_defaults metadata: @config.metadata,
1514
+
1515
+ options.apply_defaults timeout: @config.timeout,
1516
+ metadata: @config.metadata,
1491
1517
  retry_policy: @config.retry_policy
1492
1518
 
1493
1519
  @certificate_authority_service_stub.call_rpc :create_ca_pool, request, options: options do |response, operation|
@@ -1570,7 +1596,9 @@ module Google
1570
1596
  options.apply_defaults timeout: @config.rpcs.update_ca_pool.timeout,
1571
1597
  metadata: metadata,
1572
1598
  retry_policy: @config.rpcs.update_ca_pool.retry_policy
1573
- options.apply_defaults metadata: @config.metadata,
1599
+
1600
+ options.apply_defaults timeout: @config.timeout,
1601
+ metadata: @config.metadata,
1574
1602
  retry_policy: @config.retry_policy
1575
1603
 
1576
1604
  @certificate_authority_service_stub.call_rpc :update_ca_pool, request, options: options do |response, operation|
@@ -1637,7 +1665,9 @@ module Google
1637
1665
  options.apply_defaults timeout: @config.rpcs.get_ca_pool.timeout,
1638
1666
  metadata: metadata,
1639
1667
  retry_policy: @config.rpcs.get_ca_pool.retry_policy
1640
- options.apply_defaults metadata: @config.metadata,
1668
+
1669
+ options.apply_defaults timeout: @config.timeout,
1670
+ metadata: @config.metadata,
1641
1671
  retry_policy: @config.retry_policy
1642
1672
 
1643
1673
  @certificate_authority_service_stub.call_rpc :get_ca_pool, request, options: options do |response, operation|
@@ -1719,7 +1749,9 @@ module Google
1719
1749
  options.apply_defaults timeout: @config.rpcs.list_ca_pools.timeout,
1720
1750
  metadata: metadata,
1721
1751
  retry_policy: @config.rpcs.list_ca_pools.retry_policy
1722
- options.apply_defaults metadata: @config.metadata,
1752
+
1753
+ options.apply_defaults timeout: @config.timeout,
1754
+ metadata: @config.metadata,
1723
1755
  retry_policy: @config.retry_policy
1724
1756
 
1725
1757
  @certificate_authority_service_stub.call_rpc :list_ca_pools, request, options: options do |response, operation|
@@ -1801,7 +1833,9 @@ module Google
1801
1833
  options.apply_defaults timeout: @config.rpcs.delete_ca_pool.timeout,
1802
1834
  metadata: metadata,
1803
1835
  retry_policy: @config.rpcs.delete_ca_pool.retry_policy
1804
- options.apply_defaults metadata: @config.metadata,
1836
+
1837
+ options.apply_defaults timeout: @config.timeout,
1838
+ metadata: @config.metadata,
1805
1839
  retry_policy: @config.retry_policy
1806
1840
 
1807
1841
  @certificate_authority_service_stub.call_rpc :delete_ca_pool, request, options: options do |response, operation|
@@ -1885,7 +1919,9 @@ module Google
1885
1919
  options.apply_defaults timeout: @config.rpcs.fetch_ca_certs.timeout,
1886
1920
  metadata: metadata,
1887
1921
  retry_policy: @config.rpcs.fetch_ca_certs.retry_policy
1888
- options.apply_defaults metadata: @config.metadata,
1922
+
1923
+ options.apply_defaults timeout: @config.timeout,
1924
+ metadata: @config.metadata,
1889
1925
  retry_policy: @config.retry_policy
1890
1926
 
1891
1927
  @certificate_authority_service_stub.call_rpc :fetch_ca_certs, request, options: options do |response, operation|
@@ -1952,7 +1988,9 @@ module Google
1952
1988
  options.apply_defaults timeout: @config.rpcs.get_certificate_revocation_list.timeout,
1953
1989
  metadata: metadata,
1954
1990
  retry_policy: @config.rpcs.get_certificate_revocation_list.retry_policy
1955
- options.apply_defaults metadata: @config.metadata,
1991
+
1992
+ options.apply_defaults timeout: @config.timeout,
1993
+ metadata: @config.metadata,
1956
1994
  retry_policy: @config.retry_policy
1957
1995
 
1958
1996
  @certificate_authority_service_stub.call_rpc :get_certificate_revocation_list, request, options: options do |response, operation|
@@ -2034,7 +2072,9 @@ module Google
2034
2072
  options.apply_defaults timeout: @config.rpcs.list_certificate_revocation_lists.timeout,
2035
2073
  metadata: metadata,
2036
2074
  retry_policy: @config.rpcs.list_certificate_revocation_lists.retry_policy
2037
- options.apply_defaults metadata: @config.metadata,
2075
+
2076
+ options.apply_defaults timeout: @config.timeout,
2077
+ metadata: @config.metadata,
2038
2078
  retry_policy: @config.retry_policy
2039
2079
 
2040
2080
  @certificate_authority_service_stub.call_rpc :list_certificate_revocation_lists, request, options: options do |response, operation|
@@ -2117,7 +2157,9 @@ module Google
2117
2157
  options.apply_defaults timeout: @config.rpcs.update_certificate_revocation_list.timeout,
2118
2158
  metadata: metadata,
2119
2159
  retry_policy: @config.rpcs.update_certificate_revocation_list.retry_policy
2120
- options.apply_defaults metadata: @config.metadata,
2160
+
2161
+ options.apply_defaults timeout: @config.timeout,
2162
+ metadata: @config.metadata,
2121
2163
  retry_policy: @config.retry_policy
2122
2164
 
2123
2165
  @certificate_authority_service_stub.call_rpc :update_certificate_revocation_list, request, options: options do |response, operation|
@@ -2205,7 +2247,9 @@ module Google
2205
2247
  options.apply_defaults timeout: @config.rpcs.create_certificate_template.timeout,
2206
2248
  metadata: metadata,
2207
2249
  retry_policy: @config.rpcs.create_certificate_template.retry_policy
2208
- options.apply_defaults metadata: @config.metadata,
2250
+
2251
+ options.apply_defaults timeout: @config.timeout,
2252
+ metadata: @config.metadata,
2209
2253
  retry_policy: @config.retry_policy
2210
2254
 
2211
2255
  @certificate_authority_service_stub.call_rpc :create_certificate_template, request, options: options do |response, operation|
@@ -2287,7 +2331,9 @@ module Google
2287
2331
  options.apply_defaults timeout: @config.rpcs.delete_certificate_template.timeout,
2288
2332
  metadata: metadata,
2289
2333
  retry_policy: @config.rpcs.delete_certificate_template.retry_policy
2290
- options.apply_defaults metadata: @config.metadata,
2334
+
2335
+ options.apply_defaults timeout: @config.timeout,
2336
+ metadata: @config.metadata,
2291
2337
  retry_policy: @config.retry_policy
2292
2338
 
2293
2339
  @certificate_authority_service_stub.call_rpc :delete_certificate_template, request, options: options do |response, operation|
@@ -2355,7 +2401,9 @@ module Google
2355
2401
  options.apply_defaults timeout: @config.rpcs.get_certificate_template.timeout,
2356
2402
  metadata: metadata,
2357
2403
  retry_policy: @config.rpcs.get_certificate_template.retry_policy
2358
- options.apply_defaults metadata: @config.metadata,
2404
+
2405
+ options.apply_defaults timeout: @config.timeout,
2406
+ metadata: @config.metadata,
2359
2407
  retry_policy: @config.retry_policy
2360
2408
 
2361
2409
  @certificate_authority_service_stub.call_rpc :get_certificate_template, request, options: options do |response, operation|
@@ -2437,7 +2485,9 @@ module Google
2437
2485
  options.apply_defaults timeout: @config.rpcs.list_certificate_templates.timeout,
2438
2486
  metadata: metadata,
2439
2487
  retry_policy: @config.rpcs.list_certificate_templates.retry_policy
2440
- options.apply_defaults metadata: @config.metadata,
2488
+
2489
+ options.apply_defaults timeout: @config.timeout,
2490
+ metadata: @config.metadata,
2441
2491
  retry_policy: @config.retry_policy
2442
2492
 
2443
2493
  @certificate_authority_service_stub.call_rpc :list_certificate_templates, request, options: options do |response, operation|
@@ -2520,7 +2570,9 @@ module Google
2520
2570
  options.apply_defaults timeout: @config.rpcs.update_certificate_template.timeout,
2521
2571
  metadata: metadata,
2522
2572
  retry_policy: @config.rpcs.update_certificate_template.retry_policy
2523
- options.apply_defaults metadata: @config.metadata,
2573
+
2574
+ options.apply_defaults timeout: @config.timeout,
2575
+ metadata: @config.metadata,
2524
2576
  retry_policy: @config.retry_policy
2525
2577
 
2526
2578
  @certificate_authority_service_stub.call_rpc :update_certificate_template, request, options: options do |response, operation|
@@ -2545,22 +2597,21 @@ module Google
2545
2597
  # Configuration can be applied globally to all clients, or to a single client
2546
2598
  # on construction.
2547
2599
  #
2548
- # # Examples
2549
- #
2550
- # To modify the global config, setting the timeout for create_certificate
2551
- # to 20 seconds, and all remaining timeouts to 10 seconds:
2552
- #
2553
- # ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.configure do |config|
2554
- # config.timeout = 10.0
2555
- # config.rpcs.create_certificate.timeout = 20.0
2556
- # end
2557
- #
2558
- # To apply the above configuration only to a new client:
2559
- #
2560
- # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new do |config|
2561
- # config.timeout = 10.0
2562
- # config.rpcs.create_certificate.timeout = 20.0
2563
- # end
2600
+ # @example
2601
+ #
2602
+ # # Modify the global config, setting the timeout for
2603
+ # # create_certificate to 20 seconds,
2604
+ # # and all remaining timeouts to 10 seconds.
2605
+ # ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.configure do |config|
2606
+ # config.timeout = 10.0
2607
+ # config.rpcs.create_certificate.timeout = 20.0
2608
+ # end
2609
+ #
2610
+ # # Apply the above configuration only to a new client.
2611
+ # client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new do |config|
2612
+ # config.timeout = 10.0
2613
+ # config.rpcs.create_certificate.timeout = 20.0
2614
+ # end
2564
2615
  #
2565
2616
  # @!attribute [rw] endpoint
2566
2617
  # The hostname or hostname:port of the service endpoint.
@@ -170,7 +170,9 @@ module Google
170
170
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
171
171
  metadata: metadata,
172
172
  retry_policy: @config.rpcs.list_operations.retry_policy
173
- options.apply_defaults metadata: @config.metadata,
173
+
174
+ options.apply_defaults timeout: @config.timeout,
175
+ metadata: @config.metadata,
174
176
  retry_policy: @config.retry_policy
175
177
 
176
178
  @operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
@@ -240,7 +242,9 @@ module Google
240
242
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
241
243
  metadata: metadata,
242
244
  retry_policy: @config.rpcs.get_operation.retry_policy
243
- options.apply_defaults metadata: @config.metadata,
245
+
246
+ options.apply_defaults timeout: @config.timeout,
247
+ metadata: @config.metadata,
244
248
  retry_policy: @config.retry_policy
245
249
 
246
250
  @operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
@@ -310,7 +314,9 @@ module Google
310
314
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
311
315
  metadata: metadata,
312
316
  retry_policy: @config.rpcs.delete_operation.retry_policy
313
- options.apply_defaults metadata: @config.metadata,
317
+
318
+ options.apply_defaults timeout: @config.timeout,
319
+ metadata: @config.metadata,
314
320
  retry_policy: @config.retry_policy
315
321
 
316
322
  @operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
@@ -385,7 +391,9 @@ module Google
385
391
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
386
392
  metadata: metadata,
387
393
  retry_policy: @config.rpcs.cancel_operation.retry_policy
388
- options.apply_defaults metadata: @config.metadata,
394
+
395
+ options.apply_defaults timeout: @config.timeout,
396
+ metadata: @config.metadata,
389
397
  retry_policy: @config.retry_policy
390
398
 
391
399
  @operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
@@ -457,7 +465,9 @@ module Google
457
465
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
458
466
  metadata: metadata,
459
467
  retry_policy: @config.rpcs.wait_operation.retry_policy
460
- options.apply_defaults metadata: @config.metadata,
468
+
469
+ options.apply_defaults timeout: @config.timeout,
470
+ metadata: @config.metadata,
461
471
  retry_policy: @config.retry_policy
462
472
 
463
473
  @operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
@@ -482,22 +492,21 @@ module Google
482
492
  # Configuration can be applied globally to all clients, or to a single client
483
493
  # on construction.
484
494
  #
485
- # # Examples
486
- #
487
- # To modify the global config, setting the timeout for list_operations
488
- # to 20 seconds, and all remaining timeouts to 10 seconds:
489
- #
490
- # ::Google::Longrunning::Operations::Client.configure do |config|
491
- # config.timeout = 10.0
492
- # config.rpcs.list_operations.timeout = 20.0
493
- # end
494
- #
495
- # To apply the above configuration only to a new client:
496
- #
497
- # client = ::Google::Longrunning::Operations::Client.new do |config|
498
- # config.timeout = 10.0
499
- # config.rpcs.list_operations.timeout = 20.0
500
- # end
495
+ # @example
496
+ #
497
+ # # Modify the global config, setting the timeout for
498
+ # # list_operations to 20 seconds,
499
+ # # and all remaining timeouts to 10 seconds.
500
+ # ::Google::Longrunning::Operations::Client.configure do |config|
501
+ # config.timeout = 10.0
502
+ # config.rpcs.list_operations.timeout = 20.0
503
+ # end
504
+ #
505
+ # # Apply the above configuration only to a new client.
506
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
507
+ # config.timeout = 10.0
508
+ # config.rpcs.list_operations.timeout = 20.0
509
+ # end
501
510
  #
502
511
  # @!attribute [rw] endpoint
503
512
  # The hostname or hostname:port of the service endpoint.
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1
25
- VERSION = "0.1.2"
25
+ VERSION = "0.1.3"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-private_ca-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.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-07-21 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a