google-cloud-iap-v1 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 853ed566c6c75c63e2501774563449d6ce0c21dbb60af8aa9552b1810b7a23f5
|
4
|
+
data.tar.gz: ca78d86b332f4c22415ca60b6760ed4e7f11a5e05bc381048bf1cf82097653e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b35c5f1fc7ce4531426b111fda91e1fe5d7a3521a938eb4e4ea35ef28cd08d339d210a29e577ab8d47e1b3f0340cbd71b080f13020e8ac40f13e04e314271c9
|
7
|
+
data.tar.gz: 4521edc75caddd02e0598856f0dab286dbbe91d99148ed260efc1f3de7c6722550e254712ab33ff450f09f66caa030ec0e5ec9a388c313c2cf96bd1918174c6f
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::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 IdentityAwareProxyAdminService clients
|
45
|
+
# ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::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]
|
@@ -94,19 +93,15 @@ module Google
|
|
94
93
|
##
|
95
94
|
# Create a new IdentityAwareProxyAdminService client object.
|
96
95
|
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# To create a new IdentityAwareProxyAdminService client with the default
|
100
|
-
# configuration:
|
101
|
-
#
|
102
|
-
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
96
|
+
# @example
|
103
97
|
#
|
104
|
-
#
|
105
|
-
#
|
98
|
+
# # Create a client using the default configuration
|
99
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
106
100
|
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
101
|
+
# # Create a client using a custom configuration
|
102
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new do |config|
|
103
|
+
# config.timeout = 10.0
|
104
|
+
# end
|
110
105
|
#
|
111
106
|
# @yield [config] Configure the IdentityAwareProxyAdminService 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
|
@@ -214,7 +208,9 @@ module Google
|
|
214
208
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
215
209
|
metadata: metadata,
|
216
210
|
retry_policy: @config.rpcs.set_iam_policy.retry_policy
|
217
|
-
|
211
|
+
|
212
|
+
options.apply_defaults timeout: @config.timeout,
|
213
|
+
metadata: @config.metadata,
|
218
214
|
retry_policy: @config.retry_policy
|
219
215
|
|
220
216
|
@identity_aware_proxy_admin_service_stub.call_rpc :set_iam_policy, request, options: options do |response, operation|
|
@@ -287,7 +283,9 @@ module Google
|
|
287
283
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
288
284
|
metadata: metadata,
|
289
285
|
retry_policy: @config.rpcs.get_iam_policy.retry_policy
|
290
|
-
|
286
|
+
|
287
|
+
options.apply_defaults timeout: @config.timeout,
|
288
|
+
metadata: @config.metadata,
|
291
289
|
retry_policy: @config.retry_policy
|
292
290
|
|
293
291
|
@identity_aware_proxy_admin_service_stub.call_rpc :get_iam_policy, request, options: options do |response, operation|
|
@@ -362,7 +360,9 @@ module Google
|
|
362
360
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
363
361
|
metadata: metadata,
|
364
362
|
retry_policy: @config.rpcs.test_iam_permissions.retry_policy
|
365
|
-
|
363
|
+
|
364
|
+
options.apply_defaults timeout: @config.timeout,
|
365
|
+
metadata: @config.metadata,
|
366
366
|
retry_policy: @config.retry_policy
|
367
367
|
|
368
368
|
@identity_aware_proxy_admin_service_stub.call_rpc :test_iam_permissions, request, options: options do |response, operation|
|
@@ -430,7 +430,9 @@ module Google
|
|
430
430
|
options.apply_defaults timeout: @config.rpcs.get_iap_settings.timeout,
|
431
431
|
metadata: metadata,
|
432
432
|
retry_policy: @config.rpcs.get_iap_settings.retry_policy
|
433
|
-
|
433
|
+
|
434
|
+
options.apply_defaults timeout: @config.timeout,
|
435
|
+
metadata: @config.metadata,
|
434
436
|
retry_policy: @config.retry_policy
|
435
437
|
|
436
438
|
@identity_aware_proxy_admin_service_stub.call_rpc :get_iap_settings, request, options: options do |response, operation|
|
@@ -503,7 +505,9 @@ module Google
|
|
503
505
|
options.apply_defaults timeout: @config.rpcs.update_iap_settings.timeout,
|
504
506
|
metadata: metadata,
|
505
507
|
retry_policy: @config.rpcs.update_iap_settings.retry_policy
|
506
|
-
|
508
|
+
|
509
|
+
options.apply_defaults timeout: @config.timeout,
|
510
|
+
metadata: @config.metadata,
|
507
511
|
retry_policy: @config.retry_policy
|
508
512
|
|
509
513
|
@identity_aware_proxy_admin_service_stub.call_rpc :update_iap_settings, request, options: options do |response, operation|
|
@@ -527,22 +531,21 @@ module Google
|
|
527
531
|
# Configuration can be applied globally to all clients, or to a single client
|
528
532
|
# on construction.
|
529
533
|
#
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
533
|
-
# to 20 seconds,
|
534
|
-
#
|
535
|
-
#
|
536
|
-
#
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
# end
|
534
|
+
# @example
|
535
|
+
#
|
536
|
+
# # Modify the global config, setting the timeout for
|
537
|
+
# # set_iam_policy to 20 seconds,
|
538
|
+
# # and all remaining timeouts to 10 seconds.
|
539
|
+
# ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.configure do |config|
|
540
|
+
# config.timeout = 10.0
|
541
|
+
# config.rpcs.set_iam_policy.timeout = 20.0
|
542
|
+
# end
|
543
|
+
#
|
544
|
+
# # Apply the above configuration only to a new client.
|
545
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new do |config|
|
546
|
+
# config.timeout = 10.0
|
547
|
+
# config.rpcs.set_iam_policy.timeout = 20.0
|
548
|
+
# end
|
546
549
|
#
|
547
550
|
# @!attribute [rw] endpoint
|
548
551
|
# The hostname or hostname:port of the service endpoint.
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::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 IdentityAwareProxyOAuthService clients
|
47
|
+
# ::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::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]
|
@@ -96,19 +95,15 @@ module Google
|
|
96
95
|
##
|
97
96
|
# Create a new IdentityAwareProxyOAuthService client object.
|
98
97
|
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
# To create a new IdentityAwareProxyOAuthService client with the default
|
102
|
-
# configuration:
|
98
|
+
# @example
|
103
99
|
#
|
104
|
-
#
|
100
|
+
# # Create a client using the default configuration
|
101
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
105
102
|
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# config.timeout = 10.0
|
111
|
-
# end
|
103
|
+
# # Create a client using a custom configuration
|
104
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new do |config|
|
105
|
+
# config.timeout = 10.0
|
106
|
+
# end
|
112
107
|
#
|
113
108
|
# @yield [config] Configure the IdentityAwareProxyOAuthService client.
|
114
109
|
# @yieldparam config [Client::Configuration]
|
@@ -128,10 +123,9 @@ module Google
|
|
128
123
|
|
129
124
|
# Create credentials
|
130
125
|
credentials = @config.credentials
|
131
|
-
# Use self-signed JWT if the
|
126
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
132
127
|
# but only if the default endpoint does not have a region prefix.
|
133
|
-
enable_self_signed_jwt = @config.
|
134
|
-
@config.endpoint == Client.configure.endpoint &&
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
135
129
|
!@config.endpoint.split(".").first.include?("-")
|
136
130
|
credentials ||= Credentials.default scope: @config.scope,
|
137
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -208,7 +202,9 @@ module Google
|
|
208
202
|
options.apply_defaults timeout: @config.rpcs.list_brands.timeout,
|
209
203
|
metadata: metadata,
|
210
204
|
retry_policy: @config.rpcs.list_brands.retry_policy
|
211
|
-
|
205
|
+
|
206
|
+
options.apply_defaults timeout: @config.timeout,
|
207
|
+
metadata: @config.metadata,
|
212
208
|
retry_policy: @config.retry_policy
|
213
209
|
|
214
210
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :list_brands, request, options: options do |response, operation|
|
@@ -283,7 +279,9 @@ module Google
|
|
283
279
|
options.apply_defaults timeout: @config.rpcs.create_brand.timeout,
|
284
280
|
metadata: metadata,
|
285
281
|
retry_policy: @config.rpcs.create_brand.retry_policy
|
286
|
-
|
282
|
+
|
283
|
+
options.apply_defaults timeout: @config.timeout,
|
284
|
+
metadata: @config.metadata,
|
287
285
|
retry_policy: @config.retry_policy
|
288
286
|
|
289
287
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :create_brand, request, options: options do |response, operation|
|
@@ -350,7 +348,9 @@ module Google
|
|
350
348
|
options.apply_defaults timeout: @config.rpcs.get_brand.timeout,
|
351
349
|
metadata: metadata,
|
352
350
|
retry_policy: @config.rpcs.get_brand.retry_policy
|
353
|
-
|
351
|
+
|
352
|
+
options.apply_defaults timeout: @config.timeout,
|
353
|
+
metadata: @config.metadata,
|
354
354
|
retry_policy: @config.retry_policy
|
355
355
|
|
356
356
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :get_brand, request, options: options do |response, operation|
|
@@ -423,7 +423,9 @@ module Google
|
|
423
423
|
options.apply_defaults timeout: @config.rpcs.create_identity_aware_proxy_client.timeout,
|
424
424
|
metadata: metadata,
|
425
425
|
retry_policy: @config.rpcs.create_identity_aware_proxy_client.retry_policy
|
426
|
-
|
426
|
+
|
427
|
+
options.apply_defaults timeout: @config.timeout,
|
428
|
+
metadata: @config.metadata,
|
427
429
|
retry_policy: @config.retry_policy
|
428
430
|
|
429
431
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :create_identity_aware_proxy_client, request, options: options do |response, operation|
|
@@ -502,7 +504,9 @@ module Google
|
|
502
504
|
options.apply_defaults timeout: @config.rpcs.list_identity_aware_proxy_clients.timeout,
|
503
505
|
metadata: metadata,
|
504
506
|
retry_policy: @config.rpcs.list_identity_aware_proxy_clients.retry_policy
|
505
|
-
|
507
|
+
|
508
|
+
options.apply_defaults timeout: @config.timeout,
|
509
|
+
metadata: @config.metadata,
|
506
510
|
retry_policy: @config.retry_policy
|
507
511
|
|
508
512
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :list_identity_aware_proxy_clients, request, options: options do |response, operation|
|
@@ -572,7 +576,9 @@ module Google
|
|
572
576
|
options.apply_defaults timeout: @config.rpcs.get_identity_aware_proxy_client.timeout,
|
573
577
|
metadata: metadata,
|
574
578
|
retry_policy: @config.rpcs.get_identity_aware_proxy_client.retry_policy
|
575
|
-
|
579
|
+
|
580
|
+
options.apply_defaults timeout: @config.timeout,
|
581
|
+
metadata: @config.metadata,
|
576
582
|
retry_policy: @config.retry_policy
|
577
583
|
|
578
584
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :get_identity_aware_proxy_client, request, options: options do |response, operation|
|
@@ -641,7 +647,9 @@ module Google
|
|
641
647
|
options.apply_defaults timeout: @config.rpcs.reset_identity_aware_proxy_client_secret.timeout,
|
642
648
|
metadata: metadata,
|
643
649
|
retry_policy: @config.rpcs.reset_identity_aware_proxy_client_secret.retry_policy
|
644
|
-
|
650
|
+
|
651
|
+
options.apply_defaults timeout: @config.timeout,
|
652
|
+
metadata: @config.metadata,
|
645
653
|
retry_policy: @config.retry_policy
|
646
654
|
|
647
655
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :reset_identity_aware_proxy_client_secret, request, options: options do |response, operation|
|
@@ -711,7 +719,9 @@ module Google
|
|
711
719
|
options.apply_defaults timeout: @config.rpcs.delete_identity_aware_proxy_client.timeout,
|
712
720
|
metadata: metadata,
|
713
721
|
retry_policy: @config.rpcs.delete_identity_aware_proxy_client.retry_policy
|
714
|
-
|
722
|
+
|
723
|
+
options.apply_defaults timeout: @config.timeout,
|
724
|
+
metadata: @config.metadata,
|
715
725
|
retry_policy: @config.retry_policy
|
716
726
|
|
717
727
|
@identity_aware_proxy_o_auth_service_stub.call_rpc :delete_identity_aware_proxy_client, request, options: options do |response, operation|
|
@@ -735,22 +745,21 @@ module Google
|
|
735
745
|
# Configuration can be applied globally to all clients, or to a single client
|
736
746
|
# on construction.
|
737
747
|
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
# to 20 seconds,
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
# end
|
748
|
+
# @example
|
749
|
+
#
|
750
|
+
# # Modify the global config, setting the timeout for
|
751
|
+
# # list_brands to 20 seconds,
|
752
|
+
# # and all remaining timeouts to 10 seconds.
|
753
|
+
# ::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.configure do |config|
|
754
|
+
# config.timeout = 10.0
|
755
|
+
# config.rpcs.list_brands.timeout = 20.0
|
756
|
+
# end
|
757
|
+
#
|
758
|
+
# # Apply the above configuration only to a new client.
|
759
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new do |config|
|
760
|
+
# config.timeout = 10.0
|
761
|
+
# config.rpcs.list_brands.timeout = 20.0
|
762
|
+
# end
|
754
763
|
#
|
755
764
|
# @!attribute [rw] endpoint
|
756
765
|
# 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-iap-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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
|