google-cloud-access_approval-v1 0.4.2 → 0.4.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6d16f7955018ed8762958c423b5dd6ef5b32d2ac3b8721521ab504752f0e549
|
4
|
+
data.tar.gz: e6256ae30a98af72f74307dbee5c71a8465c10e7c2931355632cc9e09d4c2444
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f714a6151e101cfff7cda2d670507b62bc996231deb8cb1c1e32f968a894042cbd56362ebc82c963c272a24cae58c6e454e35fe6025e723040ba805f323f933
|
7
|
+
data.tar.gz: ef4038cec13569d9d832c082e5e408dcb212db827a94e19c249dd1f5b5869bb562577a26b8c1f01319e22ebbddd448fb55c1b0f1ef40f547806c594a1c0a38ec
|
@@ -71,13 +71,12 @@ module Google
|
|
71
71
|
# See {::Google::Cloud::AccessApproval::V1::AccessApproval::Client::Configuration}
|
72
72
|
# for a description of the configuration fields.
|
73
73
|
#
|
74
|
-
#
|
74
|
+
# @example
|
75
75
|
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
# end
|
76
|
+
# # Modify the configuration for all AccessApproval clients
|
77
|
+
# ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
|
78
|
+
# config.timeout = 10.0
|
79
|
+
# end
|
81
80
|
#
|
82
81
|
# @yield [config] Configure the Client client.
|
83
82
|
# @yieldparam config [Client::Configuration]
|
@@ -147,19 +146,15 @@ module Google
|
|
147
146
|
##
|
148
147
|
# Create a new AccessApproval client object.
|
149
148
|
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
# To create a new AccessApproval client with the default
|
153
|
-
# configuration:
|
149
|
+
# @example
|
154
150
|
#
|
155
|
-
#
|
151
|
+
# # Create a client using the default configuration
|
152
|
+
# client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new
|
156
153
|
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
# config.timeout = 10.0
|
162
|
-
# end
|
154
|
+
# # Create a client using a custom configuration
|
155
|
+
# client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
|
156
|
+
# config.timeout = 10.0
|
157
|
+
# end
|
163
158
|
#
|
164
159
|
# @yield [config] Configure the AccessApproval client.
|
165
160
|
# @yieldparam config [Client::Configuration]
|
@@ -179,10 +174,9 @@ module Google
|
|
179
174
|
|
180
175
|
# Create credentials
|
181
176
|
credentials = @config.credentials
|
182
|
-
# Use self-signed JWT if the
|
177
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
183
178
|
# but only if the default endpoint does not have a region prefix.
|
184
|
-
enable_self_signed_jwt = @config.
|
185
|
-
@config.endpoint == Client.configure.endpoint &&
|
179
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
186
180
|
!@config.endpoint.split(".").first.include?("-")
|
187
181
|
credentials ||= Credentials.default scope: @config.scope,
|
188
182
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -274,7 +268,9 @@ module Google
|
|
274
268
|
options.apply_defaults timeout: @config.rpcs.list_approval_requests.timeout,
|
275
269
|
metadata: metadata,
|
276
270
|
retry_policy: @config.rpcs.list_approval_requests.retry_policy
|
277
|
-
|
271
|
+
|
272
|
+
options.apply_defaults timeout: @config.timeout,
|
273
|
+
metadata: @config.metadata,
|
278
274
|
retry_policy: @config.retry_policy
|
279
275
|
|
280
276
|
@access_approval_stub.call_rpc :list_approval_requests, request, options: options do |response, operation|
|
@@ -341,7 +337,9 @@ module Google
|
|
341
337
|
options.apply_defaults timeout: @config.rpcs.get_approval_request.timeout,
|
342
338
|
metadata: metadata,
|
343
339
|
retry_policy: @config.rpcs.get_approval_request.retry_policy
|
344
|
-
|
340
|
+
|
341
|
+
options.apply_defaults timeout: @config.timeout,
|
342
|
+
metadata: @config.metadata,
|
345
343
|
retry_policy: @config.retry_policy
|
346
344
|
|
347
345
|
@access_approval_stub.call_rpc :get_approval_request, request, options: options do |response, operation|
|
@@ -412,7 +410,9 @@ module Google
|
|
412
410
|
options.apply_defaults timeout: @config.rpcs.approve_approval_request.timeout,
|
413
411
|
metadata: metadata,
|
414
412
|
retry_policy: @config.rpcs.approve_approval_request.retry_policy
|
415
|
-
|
413
|
+
|
414
|
+
options.apply_defaults timeout: @config.timeout,
|
415
|
+
metadata: @config.metadata,
|
416
416
|
retry_policy: @config.retry_policy
|
417
417
|
|
418
418
|
@access_approval_stub.call_rpc :approve_approval_request, request, options: options do |response, operation|
|
@@ -487,7 +487,9 @@ module Google
|
|
487
487
|
options.apply_defaults timeout: @config.rpcs.dismiss_approval_request.timeout,
|
488
488
|
metadata: metadata,
|
489
489
|
retry_policy: @config.rpcs.dismiss_approval_request.retry_policy
|
490
|
-
|
490
|
+
|
491
|
+
options.apply_defaults timeout: @config.timeout,
|
492
|
+
metadata: @config.metadata,
|
491
493
|
retry_policy: @config.retry_policy
|
492
494
|
|
493
495
|
@access_approval_stub.call_rpc :dismiss_approval_request, request, options: options do |response, operation|
|
@@ -553,7 +555,9 @@ module Google
|
|
553
555
|
options.apply_defaults timeout: @config.rpcs.get_access_approval_settings.timeout,
|
554
556
|
metadata: metadata,
|
555
557
|
retry_policy: @config.rpcs.get_access_approval_settings.retry_policy
|
556
|
-
|
558
|
+
|
559
|
+
options.apply_defaults timeout: @config.timeout,
|
560
|
+
metadata: @config.metadata,
|
557
561
|
retry_policy: @config.retry_policy
|
558
562
|
|
559
563
|
@access_approval_stub.call_rpc :get_access_approval_settings, request, options: options do |response, operation|
|
@@ -631,7 +635,9 @@ module Google
|
|
631
635
|
options.apply_defaults timeout: @config.rpcs.update_access_approval_settings.timeout,
|
632
636
|
metadata: metadata,
|
633
637
|
retry_policy: @config.rpcs.update_access_approval_settings.retry_policy
|
634
|
-
|
638
|
+
|
639
|
+
options.apply_defaults timeout: @config.timeout,
|
640
|
+
metadata: @config.metadata,
|
635
641
|
retry_policy: @config.retry_policy
|
636
642
|
|
637
643
|
@access_approval_stub.call_rpc :update_access_approval_settings, request, options: options do |response, operation|
|
@@ -702,7 +708,9 @@ module Google
|
|
702
708
|
options.apply_defaults timeout: @config.rpcs.delete_access_approval_settings.timeout,
|
703
709
|
metadata: metadata,
|
704
710
|
retry_policy: @config.rpcs.delete_access_approval_settings.retry_policy
|
705
|
-
|
711
|
+
|
712
|
+
options.apply_defaults timeout: @config.timeout,
|
713
|
+
metadata: @config.metadata,
|
706
714
|
retry_policy: @config.retry_policy
|
707
715
|
|
708
716
|
@access_approval_stub.call_rpc :delete_access_approval_settings, request, options: options do |response, operation|
|
@@ -726,22 +734,21 @@ module Google
|
|
726
734
|
# Configuration can be applied globally to all clients, or to a single client
|
727
735
|
# on construction.
|
728
736
|
#
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
# to 20 seconds,
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
# end
|
737
|
+
# @example
|
738
|
+
#
|
739
|
+
# # Modify the global config, setting the timeout for
|
740
|
+
# # list_approval_requests to 20 seconds,
|
741
|
+
# # and all remaining timeouts to 10 seconds.
|
742
|
+
# ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.configure do |config|
|
743
|
+
# config.timeout = 10.0
|
744
|
+
# config.rpcs.list_approval_requests.timeout = 20.0
|
745
|
+
# end
|
746
|
+
#
|
747
|
+
# # Apply the above configuration only to a new client.
|
748
|
+
# client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
|
749
|
+
# config.timeout = 10.0
|
750
|
+
# config.rpcs.list_approval_requests.timeout = 20.0
|
751
|
+
# end
|
745
752
|
#
|
746
753
|
# @!attribute [rw] endpoint
|
747
754
|
# 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-access_approval-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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
|