google-cloud-binary_authorization-v1beta1 0.3.3 → 0.3.4
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: 0b2409e68ea2a91e67465a81c38b4f7d8da7cc0880180287e2e3f50f62a030c6
|
4
|
+
data.tar.gz: 8c0093f6dda1fee6797b5a0d5e62475abbcaebfb4193b25aff7c81421a20a2db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43b6ba3464e0b63b7ef496a35aee3406a00ea7aa9aa9d22037fae12434b51a8a4e218b7c6fef00f301109fd174ac3f0ae63e5f9239e0fdb9dbe03e5ae7206458
|
7
|
+
data.tar.gz: 9e0d97ec9a80a0818257f6dddc208b377bf44702795171027a6e98b511968f0b0c864aa1df74a31558ef8bd3c875b6f9777e82a197820ec05d64fa8fd1f09d18
|
@@ -47,13 +47,12 @@ module Google
|
|
47
47
|
# See {::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client::Configuration}
|
48
48
|
# for a description of the configuration fields.
|
49
49
|
#
|
50
|
-
#
|
50
|
+
# @example
|
51
51
|
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
# end
|
52
|
+
# # Modify the configuration for all BinauthzManagementService clients
|
53
|
+
# ::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client.configure do |config|
|
54
|
+
# config.timeout = 10.0
|
55
|
+
# end
|
57
56
|
#
|
58
57
|
# @yield [config] Configure the Client client.
|
59
58
|
# @yieldparam config [Client::Configuration]
|
@@ -132,19 +131,15 @@ module Google
|
|
132
131
|
##
|
133
132
|
# Create a new BinauthzManagementService client object.
|
134
133
|
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# To create a new BinauthzManagementService client with the default
|
138
|
-
# configuration:
|
134
|
+
# @example
|
139
135
|
#
|
140
|
-
#
|
136
|
+
# # Create a client using the default configuration
|
137
|
+
# client = ::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client.new
|
141
138
|
#
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# config.timeout = 10.0
|
147
|
-
# end
|
139
|
+
# # Create a client using a custom configuration
|
140
|
+
# client = ::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client.new do |config|
|
141
|
+
# config.timeout = 10.0
|
142
|
+
# end
|
148
143
|
#
|
149
144
|
# @yield [config] Configure the BinauthzManagementService client.
|
150
145
|
# @yieldparam config [Client::Configuration]
|
@@ -164,10 +159,9 @@ module Google
|
|
164
159
|
|
165
160
|
# Create credentials
|
166
161
|
credentials = @config.credentials
|
167
|
-
# Use self-signed JWT if the
|
162
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
168
163
|
# but only if the default endpoint does not have a region prefix.
|
169
|
-
enable_self_signed_jwt = @config.
|
170
|
-
@config.endpoint == Client.configure.endpoint &&
|
164
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
171
165
|
!@config.endpoint.split(".").first.include?("-")
|
172
166
|
credentials ||= Credentials.default scope: @config.scope,
|
173
167
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -254,7 +248,9 @@ module Google
|
|
254
248
|
options.apply_defaults timeout: @config.rpcs.get_policy.timeout,
|
255
249
|
metadata: metadata,
|
256
250
|
retry_policy: @config.rpcs.get_policy.retry_policy
|
257
|
-
|
251
|
+
|
252
|
+
options.apply_defaults timeout: @config.timeout,
|
253
|
+
metadata: @config.metadata,
|
258
254
|
retry_policy: @config.retry_policy
|
259
255
|
|
260
256
|
@binauthz_management_service_stub.call_rpc :get_policy, request, options: options do |response, operation|
|
@@ -330,7 +326,9 @@ module Google
|
|
330
326
|
options.apply_defaults timeout: @config.rpcs.update_policy.timeout,
|
331
327
|
metadata: metadata,
|
332
328
|
retry_policy: @config.rpcs.update_policy.retry_policy
|
333
|
-
|
329
|
+
|
330
|
+
options.apply_defaults timeout: @config.timeout,
|
331
|
+
metadata: @config.metadata,
|
334
332
|
retry_policy: @config.retry_policy
|
335
333
|
|
336
334
|
@binauthz_management_service_stub.call_rpc :update_policy, request, options: options do |response, operation|
|
@@ -412,7 +410,9 @@ module Google
|
|
412
410
|
options.apply_defaults timeout: @config.rpcs.create_attestor.timeout,
|
413
411
|
metadata: metadata,
|
414
412
|
retry_policy: @config.rpcs.create_attestor.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
|
@binauthz_management_service_stub.call_rpc :create_attestor, request, options: options do |response, operation|
|
@@ -483,7 +483,9 @@ module Google
|
|
483
483
|
options.apply_defaults timeout: @config.rpcs.get_attestor.timeout,
|
484
484
|
metadata: metadata,
|
485
485
|
retry_policy: @config.rpcs.get_attestor.retry_policy
|
486
|
-
|
486
|
+
|
487
|
+
options.apply_defaults timeout: @config.timeout,
|
488
|
+
metadata: @config.metadata,
|
487
489
|
retry_policy: @config.retry_policy
|
488
490
|
|
489
491
|
@binauthz_management_service_stub.call_rpc :get_attestor, request, options: options do |response, operation|
|
@@ -557,7 +559,9 @@ module Google
|
|
557
559
|
options.apply_defaults timeout: @config.rpcs.update_attestor.timeout,
|
558
560
|
metadata: metadata,
|
559
561
|
retry_policy: @config.rpcs.update_attestor.retry_policy
|
560
|
-
|
562
|
+
|
563
|
+
options.apply_defaults timeout: @config.timeout,
|
564
|
+
metadata: @config.metadata,
|
561
565
|
retry_policy: @config.retry_policy
|
562
566
|
|
563
567
|
@binauthz_management_service_stub.call_rpc :update_attestor, request, options: options do |response, operation|
|
@@ -634,7 +638,9 @@ module Google
|
|
634
638
|
options.apply_defaults timeout: @config.rpcs.list_attestors.timeout,
|
635
639
|
metadata: metadata,
|
636
640
|
retry_policy: @config.rpcs.list_attestors.retry_policy
|
637
|
-
|
641
|
+
|
642
|
+
options.apply_defaults timeout: @config.timeout,
|
643
|
+
metadata: @config.metadata,
|
638
644
|
retry_policy: @config.retry_policy
|
639
645
|
|
640
646
|
@binauthz_management_service_stub.call_rpc :list_attestors, request, options: options do |response, operation|
|
@@ -706,7 +712,9 @@ module Google
|
|
706
712
|
options.apply_defaults timeout: @config.rpcs.delete_attestor.timeout,
|
707
713
|
metadata: metadata,
|
708
714
|
retry_policy: @config.rpcs.delete_attestor.retry_policy
|
709
|
-
|
715
|
+
|
716
|
+
options.apply_defaults timeout: @config.timeout,
|
717
|
+
metadata: @config.metadata,
|
710
718
|
retry_policy: @config.retry_policy
|
711
719
|
|
712
720
|
@binauthz_management_service_stub.call_rpc :delete_attestor, request, options: options do |response, operation|
|
@@ -730,22 +738,21 @@ module Google
|
|
730
738
|
# Configuration can be applied globally to all clients, or to a single client
|
731
739
|
# on construction.
|
732
740
|
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
# to 20 seconds,
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
# end
|
741
|
+
# @example
|
742
|
+
#
|
743
|
+
# # Modify the global config, setting the timeout for
|
744
|
+
# # get_policy to 20 seconds,
|
745
|
+
# # and all remaining timeouts to 10 seconds.
|
746
|
+
# ::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client.configure do |config|
|
747
|
+
# config.timeout = 10.0
|
748
|
+
# config.rpcs.get_policy.timeout = 20.0
|
749
|
+
# end
|
750
|
+
#
|
751
|
+
# # Apply the above configuration only to a new client.
|
752
|
+
# client = ::Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Client.new do |config|
|
753
|
+
# config.timeout = 10.0
|
754
|
+
# config.rpcs.get_policy.timeout = 20.0
|
755
|
+
# end
|
749
756
|
#
|
750
757
|
# @!attribute [rw] endpoint
|
751
758
|
# 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-binary_authorization-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
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-08-
|
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
|