google-cloud-iap-v1 0.8.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/client.rb +10 -1
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/client.rb +164 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/client.rb +10 -1
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/rest/client.rb +132 -0
- data/lib/google/cloud/iap/v1/service_pb.rb +1 -1
- data/lib/google/cloud/iap/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/iap/v1/service.rb +3 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed6c58ea6fc0b4777266b6410e0d924d9cf68d2d4b21729f0df2362cca52cb64
|
4
|
+
data.tar.gz: ad51a626f18c2b14ac2209be5ba5f3581b63db988b3570a5d29eb40b4abb30ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efeb5c924cc5565a154b656ddaa6666c6ed5f71aa9becbf45cd789605976857ad0b23ff5186fc4c7e1213c8c18319a1744b730bb770b860fd38be6eb69ca4250
|
7
|
+
data.tar.gz: e0c3727c47a794e3f52b542697566c7d5142030283a7ee411dc14b5a613ad1e87278fa10ca52ada273b8c69c3438365cc74723186de9b17bf6a540b5507fd8fd
|
@@ -140,7 +140,8 @@ module Google
|
|
140
140
|
credentials: credentials,
|
141
141
|
endpoint: @config.endpoint,
|
142
142
|
channel_args: @config.channel_args,
|
143
|
-
interceptors: @config.interceptors
|
143
|
+
interceptors: @config.interceptors,
|
144
|
+
channel_pool_config: @config.channel_pool
|
144
145
|
)
|
145
146
|
end
|
146
147
|
|
@@ -1198,6 +1199,14 @@ module Google
|
|
1198
1199
|
end
|
1199
1200
|
end
|
1200
1201
|
|
1202
|
+
##
|
1203
|
+
# Configuration for the channel pool
|
1204
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1205
|
+
#
|
1206
|
+
def channel_pool
|
1207
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1208
|
+
end
|
1209
|
+
|
1201
1210
|
##
|
1202
1211
|
# Configuration RPC class for the IdentityAwareProxyAdminService API.
|
1203
1212
|
#
|
@@ -179,6 +179,22 @@ module Google
|
|
179
179
|
# @return [::Google::Iam::V1::Policy]
|
180
180
|
#
|
181
181
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
182
|
+
#
|
183
|
+
# @example Basic example
|
184
|
+
# require "google/cloud/iap/v1"
|
185
|
+
#
|
186
|
+
# # Create a client object. The client can be reused for multiple calls.
|
187
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
188
|
+
#
|
189
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
190
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
191
|
+
#
|
192
|
+
# # Call the set_iam_policy method.
|
193
|
+
# result = client.set_iam_policy request
|
194
|
+
#
|
195
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
196
|
+
# p result
|
197
|
+
#
|
182
198
|
def set_iam_policy request, options = nil
|
183
199
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
184
200
|
|
@@ -248,6 +264,22 @@ module Google
|
|
248
264
|
# @return [::Google::Iam::V1::Policy]
|
249
265
|
#
|
250
266
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
267
|
+
#
|
268
|
+
# @example Basic example
|
269
|
+
# require "google/cloud/iap/v1"
|
270
|
+
#
|
271
|
+
# # Create a client object. The client can be reused for multiple calls.
|
272
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
273
|
+
#
|
274
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
275
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
276
|
+
#
|
277
|
+
# # Call the get_iam_policy method.
|
278
|
+
# result = client.get_iam_policy request
|
279
|
+
#
|
280
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
281
|
+
# p result
|
282
|
+
#
|
251
283
|
def get_iam_policy request, options = nil
|
252
284
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
253
285
|
|
@@ -319,6 +351,22 @@ module Google
|
|
319
351
|
# @return [::Google::Iam::V1::TestIamPermissionsResponse]
|
320
352
|
#
|
321
353
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
354
|
+
#
|
355
|
+
# @example Basic example
|
356
|
+
# require "google/cloud/iap/v1"
|
357
|
+
#
|
358
|
+
# # Create a client object. The client can be reused for multiple calls.
|
359
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
360
|
+
#
|
361
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
362
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
363
|
+
#
|
364
|
+
# # Call the test_iam_permissions method.
|
365
|
+
# result = client.test_iam_permissions request
|
366
|
+
#
|
367
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
368
|
+
# p result
|
369
|
+
#
|
322
370
|
def test_iam_permissions request, options = nil
|
323
371
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
324
372
|
|
@@ -383,6 +431,22 @@ module Google
|
|
383
431
|
# @return [::Google::Cloud::Iap::V1::IapSettings]
|
384
432
|
#
|
385
433
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
434
|
+
#
|
435
|
+
# @example Basic example
|
436
|
+
# require "google/cloud/iap/v1"
|
437
|
+
#
|
438
|
+
# # Create a client object. The client can be reused for multiple calls.
|
439
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
440
|
+
#
|
441
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
442
|
+
# request = Google::Cloud::Iap::V1::GetIapSettingsRequest.new
|
443
|
+
#
|
444
|
+
# # Call the get_iap_settings method.
|
445
|
+
# result = client.get_iap_settings request
|
446
|
+
#
|
447
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IapSettings.
|
448
|
+
# p result
|
449
|
+
#
|
386
450
|
def get_iap_settings request, options = nil
|
387
451
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
388
452
|
|
@@ -455,6 +519,22 @@ module Google
|
|
455
519
|
# @return [::Google::Cloud::Iap::V1::IapSettings]
|
456
520
|
#
|
457
521
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
522
|
+
#
|
523
|
+
# @example Basic example
|
524
|
+
# require "google/cloud/iap/v1"
|
525
|
+
#
|
526
|
+
# # Create a client object. The client can be reused for multiple calls.
|
527
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
528
|
+
#
|
529
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
530
|
+
# request = Google::Cloud::Iap::V1::UpdateIapSettingsRequest.new
|
531
|
+
#
|
532
|
+
# # Call the update_iap_settings method.
|
533
|
+
# result = client.update_iap_settings request
|
534
|
+
#
|
535
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IapSettings.
|
536
|
+
# p result
|
537
|
+
#
|
458
538
|
def update_iap_settings request, options = nil
|
459
539
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
460
540
|
|
@@ -534,6 +614,26 @@ module Google
|
|
534
614
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Iap::V1::TunnelDestGroup>]
|
535
615
|
#
|
536
616
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
617
|
+
#
|
618
|
+
# @example Basic example
|
619
|
+
# require "google/cloud/iap/v1"
|
620
|
+
#
|
621
|
+
# # Create a client object. The client can be reused for multiple calls.
|
622
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
623
|
+
#
|
624
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
625
|
+
# request = Google::Cloud::Iap::V1::ListTunnelDestGroupsRequest.new
|
626
|
+
#
|
627
|
+
# # Call the list_tunnel_dest_groups method.
|
628
|
+
# result = client.list_tunnel_dest_groups request
|
629
|
+
#
|
630
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
631
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
632
|
+
# result.each do |item|
|
633
|
+
# # Each element is of type ::Google::Cloud::Iap::V1::TunnelDestGroup.
|
634
|
+
# p item
|
635
|
+
# end
|
636
|
+
#
|
537
637
|
def list_tunnel_dest_groups request, options = nil
|
538
638
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
539
639
|
|
@@ -607,6 +707,22 @@ module Google
|
|
607
707
|
# @return [::Google::Cloud::Iap::V1::TunnelDestGroup]
|
608
708
|
#
|
609
709
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
710
|
+
#
|
711
|
+
# @example Basic example
|
712
|
+
# require "google/cloud/iap/v1"
|
713
|
+
#
|
714
|
+
# # Create a client object. The client can be reused for multiple calls.
|
715
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
716
|
+
#
|
717
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
718
|
+
# request = Google::Cloud::Iap::V1::CreateTunnelDestGroupRequest.new
|
719
|
+
#
|
720
|
+
# # Call the create_tunnel_dest_group method.
|
721
|
+
# result = client.create_tunnel_dest_group request
|
722
|
+
#
|
723
|
+
# # The returned object is of type Google::Cloud::Iap::V1::TunnelDestGroup.
|
724
|
+
# p result
|
725
|
+
#
|
610
726
|
def create_tunnel_dest_group request, options = nil
|
611
727
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
612
728
|
|
@@ -671,6 +787,22 @@ module Google
|
|
671
787
|
# @return [::Google::Cloud::Iap::V1::TunnelDestGroup]
|
672
788
|
#
|
673
789
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
790
|
+
#
|
791
|
+
# @example Basic example
|
792
|
+
# require "google/cloud/iap/v1"
|
793
|
+
#
|
794
|
+
# # Create a client object. The client can be reused for multiple calls.
|
795
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
796
|
+
#
|
797
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
798
|
+
# request = Google::Cloud::Iap::V1::GetTunnelDestGroupRequest.new
|
799
|
+
#
|
800
|
+
# # Call the get_tunnel_dest_group method.
|
801
|
+
# result = client.get_tunnel_dest_group request
|
802
|
+
#
|
803
|
+
# # The returned object is of type Google::Cloud::Iap::V1::TunnelDestGroup.
|
804
|
+
# p result
|
805
|
+
#
|
674
806
|
def get_tunnel_dest_group request, options = nil
|
675
807
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
676
808
|
|
@@ -735,6 +867,22 @@ module Google
|
|
735
867
|
# @return [::Google::Protobuf::Empty]
|
736
868
|
#
|
737
869
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
870
|
+
#
|
871
|
+
# @example Basic example
|
872
|
+
# require "google/cloud/iap/v1"
|
873
|
+
#
|
874
|
+
# # Create a client object. The client can be reused for multiple calls.
|
875
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
876
|
+
#
|
877
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
878
|
+
# request = Google::Cloud::Iap::V1::DeleteTunnelDestGroupRequest.new
|
879
|
+
#
|
880
|
+
# # Call the delete_tunnel_dest_group method.
|
881
|
+
# result = client.delete_tunnel_dest_group request
|
882
|
+
#
|
883
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
884
|
+
# p result
|
885
|
+
#
|
738
886
|
def delete_tunnel_dest_group request, options = nil
|
739
887
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
740
888
|
|
@@ -801,6 +949,22 @@ module Google
|
|
801
949
|
# @return [::Google::Cloud::Iap::V1::TunnelDestGroup]
|
802
950
|
#
|
803
951
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
952
|
+
#
|
953
|
+
# @example Basic example
|
954
|
+
# require "google/cloud/iap/v1"
|
955
|
+
#
|
956
|
+
# # Create a client object. The client can be reused for multiple calls.
|
957
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
958
|
+
#
|
959
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
960
|
+
# request = Google::Cloud::Iap::V1::UpdateTunnelDestGroupRequest.new
|
961
|
+
#
|
962
|
+
# # Call the update_tunnel_dest_group method.
|
963
|
+
# result = client.update_tunnel_dest_group request
|
964
|
+
#
|
965
|
+
# # The returned object is of type Google::Cloud::Iap::V1::TunnelDestGroup.
|
966
|
+
# p result
|
967
|
+
#
|
804
968
|
def update_tunnel_dest_group request, options = nil
|
805
969
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
806
970
|
|
@@ -140,7 +140,8 @@ module Google
|
|
140
140
|
credentials: credentials,
|
141
141
|
endpoint: @config.endpoint,
|
142
142
|
channel_args: @config.channel_args,
|
143
|
-
interceptors: @config.interceptors
|
143
|
+
interceptors: @config.interceptors,
|
144
|
+
channel_pool_config: @config.channel_pool
|
144
145
|
)
|
145
146
|
end
|
146
147
|
|
@@ -992,6 +993,14 @@ module Google
|
|
992
993
|
end
|
993
994
|
end
|
994
995
|
|
996
|
+
##
|
997
|
+
# Configuration for the channel pool
|
998
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
999
|
+
#
|
1000
|
+
def channel_pool
|
1001
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1002
|
+
end
|
1003
|
+
|
995
1004
|
##
|
996
1005
|
# Configuration RPC class for the IdentityAwareProxyOAuthService API.
|
997
1006
|
#
|
@@ -165,6 +165,22 @@ module Google
|
|
165
165
|
# @return [::Google::Cloud::Iap::V1::ListBrandsResponse]
|
166
166
|
#
|
167
167
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
168
|
+
#
|
169
|
+
# @example Basic example
|
170
|
+
# require "google/cloud/iap/v1"
|
171
|
+
#
|
172
|
+
# # Create a client object. The client can be reused for multiple calls.
|
173
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
174
|
+
#
|
175
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
176
|
+
# request = Google::Cloud::Iap::V1::ListBrandsRequest.new
|
177
|
+
#
|
178
|
+
# # Call the list_brands method.
|
179
|
+
# result = client.list_brands request
|
180
|
+
#
|
181
|
+
# # The returned object is of type Google::Cloud::Iap::V1::ListBrandsResponse.
|
182
|
+
# p result
|
183
|
+
#
|
168
184
|
def list_brands request, options = nil
|
169
185
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
170
186
|
|
@@ -237,6 +253,22 @@ module Google
|
|
237
253
|
# @return [::Google::Cloud::Iap::V1::Brand]
|
238
254
|
#
|
239
255
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
256
|
+
#
|
257
|
+
# @example Basic example
|
258
|
+
# require "google/cloud/iap/v1"
|
259
|
+
#
|
260
|
+
# # Create a client object. The client can be reused for multiple calls.
|
261
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
262
|
+
#
|
263
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
264
|
+
# request = Google::Cloud::Iap::V1::CreateBrandRequest.new
|
265
|
+
#
|
266
|
+
# # Call the create_brand method.
|
267
|
+
# result = client.create_brand request
|
268
|
+
#
|
269
|
+
# # The returned object is of type Google::Cloud::Iap::V1::Brand.
|
270
|
+
# p result
|
271
|
+
#
|
240
272
|
def create_brand request, options = nil
|
241
273
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
242
274
|
|
@@ -300,6 +332,22 @@ module Google
|
|
300
332
|
# @return [::Google::Cloud::Iap::V1::Brand]
|
301
333
|
#
|
302
334
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
335
|
+
#
|
336
|
+
# @example Basic example
|
337
|
+
# require "google/cloud/iap/v1"
|
338
|
+
#
|
339
|
+
# # Create a client object. The client can be reused for multiple calls.
|
340
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
341
|
+
#
|
342
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
343
|
+
# request = Google::Cloud::Iap::V1::GetBrandRequest.new
|
344
|
+
#
|
345
|
+
# # Call the get_brand method.
|
346
|
+
# result = client.get_brand request
|
347
|
+
#
|
348
|
+
# # The returned object is of type Google::Cloud::Iap::V1::Brand.
|
349
|
+
# p result
|
350
|
+
#
|
303
351
|
def get_brand request, options = nil
|
304
352
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
305
353
|
|
@@ -369,6 +417,22 @@ module Google
|
|
369
417
|
# @return [::Google::Cloud::Iap::V1::IdentityAwareProxyClient]
|
370
418
|
#
|
371
419
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
420
|
+
#
|
421
|
+
# @example Basic example
|
422
|
+
# require "google/cloud/iap/v1"
|
423
|
+
#
|
424
|
+
# # Create a client object. The client can be reused for multiple calls.
|
425
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
426
|
+
#
|
427
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
428
|
+
# request = Google::Cloud::Iap::V1::CreateIdentityAwareProxyClientRequest.new
|
429
|
+
#
|
430
|
+
# # Call the create_identity_aware_proxy_client method.
|
431
|
+
# result = client.create_identity_aware_proxy_client request
|
432
|
+
#
|
433
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
434
|
+
# p result
|
435
|
+
#
|
372
436
|
def create_identity_aware_proxy_client request, options = nil
|
373
437
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
374
438
|
|
@@ -444,6 +508,26 @@ module Google
|
|
444
508
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Iap::V1::IdentityAwareProxyClient>]
|
445
509
|
#
|
446
510
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
511
|
+
#
|
512
|
+
# @example Basic example
|
513
|
+
# require "google/cloud/iap/v1"
|
514
|
+
#
|
515
|
+
# # Create a client object. The client can be reused for multiple calls.
|
516
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
517
|
+
#
|
518
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
519
|
+
# request = Google::Cloud::Iap::V1::ListIdentityAwareProxyClientsRequest.new
|
520
|
+
#
|
521
|
+
# # Call the list_identity_aware_proxy_clients method.
|
522
|
+
# result = client.list_identity_aware_proxy_clients request
|
523
|
+
#
|
524
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
525
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
526
|
+
# result.each do |item|
|
527
|
+
# # Each element is of type ::Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
528
|
+
# p item
|
529
|
+
# end
|
530
|
+
#
|
447
531
|
def list_identity_aware_proxy_clients request, options = nil
|
448
532
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
449
533
|
|
@@ -510,6 +594,22 @@ module Google
|
|
510
594
|
# @return [::Google::Cloud::Iap::V1::IdentityAwareProxyClient]
|
511
595
|
#
|
512
596
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
597
|
+
#
|
598
|
+
# @example Basic example
|
599
|
+
# require "google/cloud/iap/v1"
|
600
|
+
#
|
601
|
+
# # Create a client object. The client can be reused for multiple calls.
|
602
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
603
|
+
#
|
604
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
605
|
+
# request = Google::Cloud::Iap::V1::GetIdentityAwareProxyClientRequest.new
|
606
|
+
#
|
607
|
+
# # Call the get_identity_aware_proxy_client method.
|
608
|
+
# result = client.get_identity_aware_proxy_client request
|
609
|
+
#
|
610
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
611
|
+
# p result
|
612
|
+
#
|
513
613
|
def get_identity_aware_proxy_client request, options = nil
|
514
614
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
515
615
|
|
@@ -575,6 +675,22 @@ module Google
|
|
575
675
|
# @return [::Google::Cloud::Iap::V1::IdentityAwareProxyClient]
|
576
676
|
#
|
577
677
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
678
|
+
#
|
679
|
+
# @example Basic example
|
680
|
+
# require "google/cloud/iap/v1"
|
681
|
+
#
|
682
|
+
# # Create a client object. The client can be reused for multiple calls.
|
683
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
684
|
+
#
|
685
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
686
|
+
# request = Google::Cloud::Iap::V1::ResetIdentityAwareProxyClientSecretRequest.new
|
687
|
+
#
|
688
|
+
# # Call the reset_identity_aware_proxy_client_secret method.
|
689
|
+
# result = client.reset_identity_aware_proxy_client_secret request
|
690
|
+
#
|
691
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
692
|
+
# p result
|
693
|
+
#
|
578
694
|
def reset_identity_aware_proxy_client_secret request, options = nil
|
579
695
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
580
696
|
|
@@ -641,6 +757,22 @@ module Google
|
|
641
757
|
# @return [::Google::Protobuf::Empty]
|
642
758
|
#
|
643
759
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
760
|
+
#
|
761
|
+
# @example Basic example
|
762
|
+
# require "google/cloud/iap/v1"
|
763
|
+
#
|
764
|
+
# # Create a client object. The client can be reused for multiple calls.
|
765
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::Client.new
|
766
|
+
#
|
767
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
768
|
+
# request = Google::Cloud::Iap::V1::DeleteIdentityAwareProxyClientRequest.new
|
769
|
+
#
|
770
|
+
# # Call the delete_identity_aware_proxy_client method.
|
771
|
+
# result = client.delete_identity_aware_proxy_client request
|
772
|
+
#
|
773
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
774
|
+
# p result
|
775
|
+
#
|
644
776
|
def delete_identity_aware_proxy_client request, options = nil
|
645
777
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
646
778
|
|
@@ -16,7 +16,7 @@ require 'google/protobuf/field_mask_pb'
|
|
16
16
|
require 'google/protobuf/wrappers_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n!google/cloud/iap/v1/service.proto\x12\x13google.cloud.iap.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x7f\n\x1bListTunnelDestGroupsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iap.googleapis.com/TunnelLocation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x1cListTunnelDestGroupsResponse\x12@\n\x12tunnel_dest_groups\x18\x01 \x03(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1c\x43reateTunnelDestGroupRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"iap.googleapis.com/TunnelDestGroup\x12\x44\n\x11tunnel_dest_group\x18\x02 \x01(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroupB\x03\xe0\x41\x02\x12!\n\x14tunnel_dest_group_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"U\n\x19GetTunnelDestGroupRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"iap.googleapis.com/TunnelDestGroup\"X\n\x1c\x44\x65leteTunnelDestGroupRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"iap.googleapis.com/TunnelDestGroup\"\x95\x01\n\x1cUpdateTunnelDestGroupRequest\x12\x44\n\x11tunnel_dest_group\x18\x01 \x01(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc4\x01\n\x0fTunnelDestGroup\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x12\n\x05\x63idrs\x18\x02 \x03(\tB\x03\xe0\x41\x06\x12\x12\n\x05\x66qdns\x18\x03 \x03(\tB\x03\xe0\x41\x06:s\xea\x41p\n\"iap.googleapis.com/TunnelDestGroup\x12Jprojects/{project}/iap_tunnel/locations/{location}/destGroups/{dest_group}\"*\n\x15GetIapSettingsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x88\x01\n\x18UpdateIapSettingsRequest\x12;\n\x0ciap_settings\x18\x01 \x01(\x0b\x32 .google.cloud.iap.v1.IapSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa6\x01\n\x0bIapSettings\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12<\n\x0f\x61\x63\x63\x65ss_settings\x18\x05 \x01(\x0b\x32#.google.cloud.iap.v1.AccessSettings\x12\x46\n\x14\x61pplication_settings\x18\x06 \x01(\x0b\x32(.google.cloud.iap.v1.ApplicationSettings\"\xcd\x02\n\x0e\x41\x63\x63\x65ssSettings\x12\x38\n\rgcip_settings\x18\x01 \x01(\x0b\x32!.google.cloud.iap.v1.GcipSettings\x12\x38\n\rcors_settings\x18\x02 \x01(\x0b\x32!.google.cloud.iap.v1.CorsSettings\x12:\n\x0eoauth_settings\x18\x03 \x01(\x0b\x32\".google.cloud.iap.v1.OAuthSettings\x12<\n\x0freauth_settings\x18\x06 \x01(\x0b\x32#.google.cloud.iap.v1.ReauthSettings\x12M\n\x18\x61llowed_domains_settings\x18\x07 \x01(\x0b\x32+.google.cloud.iap.v1.AllowedDomainsSettings\"X\n\x0cGcipSettings\x12\x12\n\ntenant_ids\x18\x01 \x03(\t\x12\x34\n\x0elogin_page_uri\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"F\n\x0c\x43orsSettings\x12\x36\n\x12\x61llow_http_options\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"A\n\rOAuthSettings\x12\x30\n\nlogin_hint\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xee\x02\n\x0eReauthSettings\x12:\n\x06method\x18\x01 \x01(\x0e\x32*.google.cloud.iap.v1.ReauthSettings.Method\x12*\n\x07max_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x0bpolicy_type\x18\x03 \x01(\x0e\x32..google.cloud.iap.v1.ReauthSettings.PolicyType\"j\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\t\n\x05LOGIN\x10\x01\x12\x10\n\x08PASSWORD\x10\x02\x1a\x02\x08\x01\x12\x0e\n\nSECURE_KEY\x10\x03\x12\x1b\n\x17\x45NROLLED_SECOND_FACTORS\x10\x04\"C\n\nPolicyType\x12\x1b\n\x17POLICY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MINIMUM\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\"I\n\x16\x41llowedDomainsSettings\x12\x13\n\x06\x65nable\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x0f\n\x07\x64omains\x18\x02 \x03(\tB\t\n\x07_enable\"\xb1\x02\n\x13\x41pplicationSettings\x12\x36\n\x0c\x63sm_settings\x18\x01 \x01(\x0b\x32 .google.cloud.iap.v1.CsmSettings\x12R\n\x1b\x61\x63\x63\x65ss_denied_page_settings\x18\x02 \x01(\x0b\x32-.google.cloud.iap.v1.AccessDeniedPageSettings\x12\x33\n\rcookie_domain\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Y\n\x1e\x61ttribute_propagation_settings\x18\x04 \x01(\x0b\x32\x31.google.cloud.iap.v1.AttributePropagationSettings\"@\n\x0b\x43smSettings\x12\x31\n\x0brctoken_aud\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x92\x02\n\x18\x41\x63\x63\x65ssDeniedPageSettings\x12<\n\x16\x61\x63\x63\x65ss_denied_page_uri\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12@\n\x1cgenerate_troubleshooting_uri\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12M\n$remediation_token_generation_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueH\x00\x88\x01\x01\x42\'\n%_remediation_token_generation_enabled\"\xa2\x02\n\x1c\x41ttributePropagationSettings\x12\x17\n\nexpression\x18\x01 \x01(\tH\x00\x88\x01\x01\x12_\n\x12output_credentials\x18\x02 \x03(\x0e\x32\x43.google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials\x12\x13\n\x06\x65nable\x18\x03 \x01(\x08H\x01\x88\x01\x01\"Y\n\x11OutputCredentials\x12\"\n\x1eOUTPUT_CREDENTIALS_UNSPECIFIED\x10\x00\x12\n\n\x06HEADER\x10\x01\x12\x07\n\x03JWT\x10\x02\x12\x0b\n\x07RCTOKEN\x10\x03\x42\r\n\x0b_expressionB\t\n\x07_enable\"(\n\x11ListBrandsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\"@\n\x12ListBrandsResponse\x12*\n\x06\x62rands\x18\x01 \x03(\x0b\x32\x1a.google.cloud.iap.v1.Brand\"Y\n\x12\x43reateBrandRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x05\x62rand\x18\x02 \x01(\x0b\x32\x1a.google.cloud.iap.v1.BrandB\x03\xe0\x41\x02\"$\n\x0fGetBrandRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"b\n$ListIdentityAwareProxyClientsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n%ListIdentityAwareProxyClientsResponse\x12S\n\x1cidentity_aware_proxy_clients\x18\x01 \x03(\x0b\x32-.google.cloud.iap.v1.IdentityAwareProxyClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x95\x01\n%CreateIdentityAwareProxyClientRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x1bidentity_aware_proxy_client\x18\x02 \x01(\x0b\x32-.google.cloud.iap.v1.IdentityAwareProxyClientB\x03\xe0\x41\x02\"7\n\"GetIdentityAwareProxyClientRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"?\n*ResetIdentityAwareProxyClientSecretRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\":\n%DeleteIdentityAwareProxyClientRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"l\n\x05\x42rand\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\rsupport_email\x18\x02 \x01(\t\x12\x19\n\x11\x61pplication_title\x18\x03 \x01(\t\x12\x1e\n\x11org_internal_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\"X\n\x18IdentityAwareProxyClient\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06secret\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t2\xc0\x0e\n\x1eIdentityAwareProxyAdminService\x12t\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:setIamPolicy:\x01*\x12t\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:getIamPolicy:\x01*\x12\x9a\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"/\x82\xd3\xe4\x93\x02)\"$/v1/{resource=**}:testIamPermissions:\x01*\x12\x81\x01\n\x0eGetIapSettings\x12*.google.cloud.iap.v1.GetIapSettingsRequest\x1a .google.cloud.iap.v1.IapSettings\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=**}:iapSettings\x12\xa2\x01\n\x11UpdateIapSettings\x12-.google.cloud.iap.v1.UpdateIapSettingsRequest\x1a .google.cloud.iap.v1.IapSettings\"<\x82\xd3\xe4\x93\x02\x36\x32&/v1/{iap_settings.name=**}:iapSettings:\x0ciap_settings\x12\xc7\x01\n\x14ListTunnelDestGroups\x12\x30.google.cloud.iap.v1.ListTunnelDestGroupsRequest\x1a\x31.google.cloud.iap.v1.ListTunnelDestGroupsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups\xda\x41\x06parent\x12\xf7\x01\n\x15\x43reateTunnelDestGroup\x12\x31.google.cloud.iap.v1.CreateTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"\x84\x01\x82\xd3\xe4\x93\x02N\"9/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups:\x11tunnel_dest_group\xda\x41-parent,tunnel_dest_group,tunnel_dest_group_id\x12\xb4\x01\n\x12GetTunnelDestGroup\x12..google.cloud.iap.v1.GetTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}\xda\x41\x04name\x12\xac\x01\n\x15\x44\x65leteTunnelDestGroup\x12\x31.google.cloud.iap.v1.DeleteTunnelDestGroupRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}\xda\x41\x04name\x12\xf9\x01\n\x15UpdateTunnelDestGroup\x12\x31.google.cloud.iap.v1.UpdateTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"\x86\x01\x82\xd3\xe4\x93\x02`2K/v1/{tunnel_dest_group.name=projects/*/iap_tunnel/locations/*/destGroups/*}:\x11tunnel_dest_group\xda\x41\x1dtunnel_dest_group,update_mask\x1a\x46\xca\x41\x12iap.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platform2\xa8\x0c\n\x1eIdentityAwareProxyOAuthService\x12\x85\x01\n\nListBrands\x12&.google.cloud.iap.v1.ListBrandsRequest\x1a\'.google.cloud.iap.v1.ListBrandsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=projects/*}/brands\x12\x81\x01\n\x0b\x43reateBrand\x12\'.google.cloud.iap.v1.CreateBrandRequest\x1a\x1a.google.cloud.iap.v1.Brand\"-\x82\xd3\xe4\x93\x02\'\"\x1e/v1/{parent=projects/*}/brands:\x05\x62rand\x12t\n\x08GetBrand\x12$.google.cloud.iap.v1.GetBrandRequest\x1a\x1a.google.cloud.iap.v1.Brand\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=projects/*/brands/*}\x12\xec\x01\n\x1e\x43reateIdentityAwareProxyClient\x12:.google.cloud.iap.v1.CreateIdentityAwareProxyClientRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"_\x82\xd3\xe4\x93\x02Y\":/v1/{parent=projects/*/brands/*}/identityAwareProxyClients:\x1bidentity_aware_proxy_client\x12\xda\x01\n\x1dListIdentityAwareProxyClients\x12\x39.google.cloud.iap.v1.ListIdentityAwareProxyClientsRequest\x1a:.google.cloud.iap.v1.ListIdentityAwareProxyClientsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/brands/*}/identityAwareProxyClients\x12\xc9\x01\n\x1bGetIdentityAwareProxyClient\x12\x37.google.cloud.iap.v1.GetIdentityAwareProxyClientRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}\x12\xe8\x01\n#ResetIdentityAwareProxyClientSecret\x12?.google.cloud.iap.v1.ResetIdentityAwareProxyClientSecretRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"Q\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret:\x01*\x12\xb8\x01\n\x1e\x44\x65leteIdentityAwareProxyClient\x12:.google.cloud.iap.v1.DeleteIdentityAwareProxyClientRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}\x1a\x46\xca\x41\x12iap.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe5\x01\n\x17\x63om.google.cloud.iap.v1P\x01Z)cloud.google.com/go/iap/apiv1/iappb;iappb\xaa\x02\x13Google.Cloud.Iap.V1\xca\x02\x13Google\\Cloud\\Iap\\V1\xea\x02\x16Google::Cloud::Iap::V1\xea\x41W\n!iap.googleapis.com/TunnelLocation\x12\x32projects/{project}/iap_tunnel/locations/{location}b\x06proto3"
|
19
|
+
descriptor_data = "\n!google/cloud/iap/v1/service.proto\x12\x13google.cloud.iap.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x7f\n\x1bListTunnelDestGroupsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!iap.googleapis.com/TunnelLocation\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x1cListTunnelDestGroupsResponse\x12@\n\x12tunnel_dest_groups\x18\x01 \x03(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc3\x01\n\x1c\x43reateTunnelDestGroupRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"iap.googleapis.com/TunnelDestGroup\x12\x44\n\x11tunnel_dest_group\x18\x02 \x01(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroupB\x03\xe0\x41\x02\x12!\n\x14tunnel_dest_group_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"U\n\x19GetTunnelDestGroupRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"iap.googleapis.com/TunnelDestGroup\"X\n\x1c\x44\x65leteTunnelDestGroupRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"iap.googleapis.com/TunnelDestGroup\"\x95\x01\n\x1cUpdateTunnelDestGroupRequest\x12\x44\n\x11tunnel_dest_group\x18\x01 \x01(\x0b\x32$.google.cloud.iap.v1.TunnelDestGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xc4\x01\n\x0fTunnelDestGroup\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x12\n\x05\x63idrs\x18\x02 \x03(\tB\x03\xe0\x41\x06\x12\x12\n\x05\x66qdns\x18\x03 \x03(\tB\x03\xe0\x41\x06:s\xea\x41p\n\"iap.googleapis.com/TunnelDestGroup\x12Jprojects/{project}/iap_tunnel/locations/{location}/destGroups/{dest_group}\"*\n\x15GetIapSettingsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x88\x01\n\x18UpdateIapSettingsRequest\x12;\n\x0ciap_settings\x18\x01 \x01(\x0b\x32 .google.cloud.iap.v1.IapSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa6\x01\n\x0bIapSettings\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12<\n\x0f\x61\x63\x63\x65ss_settings\x18\x05 \x01(\x0b\x32#.google.cloud.iap.v1.AccessSettings\x12\x46\n\x14\x61pplication_settings\x18\x06 \x01(\x0b\x32(.google.cloud.iap.v1.ApplicationSettings\"\xcd\x02\n\x0e\x41\x63\x63\x65ssSettings\x12\x38\n\rgcip_settings\x18\x01 \x01(\x0b\x32!.google.cloud.iap.v1.GcipSettings\x12\x38\n\rcors_settings\x18\x02 \x01(\x0b\x32!.google.cloud.iap.v1.CorsSettings\x12:\n\x0eoauth_settings\x18\x03 \x01(\x0b\x32\".google.cloud.iap.v1.OAuthSettings\x12<\n\x0freauth_settings\x18\x06 \x01(\x0b\x32#.google.cloud.iap.v1.ReauthSettings\x12M\n\x18\x61llowed_domains_settings\x18\x07 \x01(\x0b\x32+.google.cloud.iap.v1.AllowedDomainsSettings\"X\n\x0cGcipSettings\x12\x12\n\ntenant_ids\x18\x01 \x03(\t\x12\x34\n\x0elogin_page_uri\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"F\n\x0c\x43orsSettings\x12\x36\n\x12\x61llow_http_options\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"_\n\rOAuthSettings\x12\x30\n\nlogin_hint\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x1c\n\x14programmatic_clients\x18\x05 \x03(\t\"\xee\x02\n\x0eReauthSettings\x12:\n\x06method\x18\x01 \x01(\x0e\x32*.google.cloud.iap.v1.ReauthSettings.Method\x12*\n\x07max_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n\x0bpolicy_type\x18\x03 \x01(\x0e\x32..google.cloud.iap.v1.ReauthSettings.PolicyType\"j\n\x06Method\x12\x16\n\x12METHOD_UNSPECIFIED\x10\x00\x12\t\n\x05LOGIN\x10\x01\x12\x10\n\x08PASSWORD\x10\x02\x1a\x02\x08\x01\x12\x0e\n\nSECURE_KEY\x10\x03\x12\x1b\n\x17\x45NROLLED_SECOND_FACTORS\x10\x04\"C\n\nPolicyType\x12\x1b\n\x17POLICY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MINIMUM\x10\x01\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x02\"I\n\x16\x41llowedDomainsSettings\x12\x13\n\x06\x65nable\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x0f\n\x07\x64omains\x18\x02 \x03(\tB\t\n\x07_enable\"\xb1\x02\n\x13\x41pplicationSettings\x12\x36\n\x0c\x63sm_settings\x18\x01 \x01(\x0b\x32 .google.cloud.iap.v1.CsmSettings\x12R\n\x1b\x61\x63\x63\x65ss_denied_page_settings\x18\x02 \x01(\x0b\x32-.google.cloud.iap.v1.AccessDeniedPageSettings\x12\x33\n\rcookie_domain\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Y\n\x1e\x61ttribute_propagation_settings\x18\x04 \x01(\x0b\x32\x31.google.cloud.iap.v1.AttributePropagationSettings\"@\n\x0b\x43smSettings\x12\x31\n\x0brctoken_aud\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x92\x02\n\x18\x41\x63\x63\x65ssDeniedPageSettings\x12<\n\x16\x61\x63\x63\x65ss_denied_page_uri\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12@\n\x1cgenerate_troubleshooting_uri\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12M\n$remediation_token_generation_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueH\x00\x88\x01\x01\x42\'\n%_remediation_token_generation_enabled\"\xa2\x02\n\x1c\x41ttributePropagationSettings\x12\x17\n\nexpression\x18\x01 \x01(\tH\x00\x88\x01\x01\x12_\n\x12output_credentials\x18\x02 \x03(\x0e\x32\x43.google.cloud.iap.v1.AttributePropagationSettings.OutputCredentials\x12\x13\n\x06\x65nable\x18\x03 \x01(\x08H\x01\x88\x01\x01\"Y\n\x11OutputCredentials\x12\"\n\x1eOUTPUT_CREDENTIALS_UNSPECIFIED\x10\x00\x12\n\n\x06HEADER\x10\x01\x12\x07\n\x03JWT\x10\x02\x12\x0b\n\x07RCTOKEN\x10\x03\x42\r\n\x0b_expressionB\t\n\x07_enable\"(\n\x11ListBrandsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\"@\n\x12ListBrandsResponse\x12*\n\x06\x62rands\x18\x01 \x03(\x0b\x32\x1a.google.cloud.iap.v1.Brand\"Y\n\x12\x43reateBrandRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12.\n\x05\x62rand\x18\x02 \x01(\x0b\x32\x1a.google.cloud.iap.v1.BrandB\x03\xe0\x41\x02\"$\n\x0fGetBrandRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"b\n$ListIdentityAwareProxyClientsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x95\x01\n%ListIdentityAwareProxyClientsResponse\x12S\n\x1cidentity_aware_proxy_clients\x18\x01 \x03(\x0b\x32-.google.cloud.iap.v1.IdentityAwareProxyClient\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x95\x01\n%CreateIdentityAwareProxyClientRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x1bidentity_aware_proxy_client\x18\x02 \x01(\x0b\x32-.google.cloud.iap.v1.IdentityAwareProxyClientB\x03\xe0\x41\x02\"7\n\"GetIdentityAwareProxyClientRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"?\n*ResetIdentityAwareProxyClientSecretRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\":\n%DeleteIdentityAwareProxyClientRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"l\n\x05\x42rand\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\rsupport_email\x18\x02 \x01(\t\x12\x19\n\x11\x61pplication_title\x18\x03 \x01(\t\x12\x1e\n\x11org_internal_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\"X\n\x18IdentityAwareProxyClient\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06secret\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t2\xc0\x0e\n\x1eIdentityAwareProxyAdminService\x12t\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:setIamPolicy:\x01*\x12t\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:getIamPolicy:\x01*\x12\x9a\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"/\x82\xd3\xe4\x93\x02)\"$/v1/{resource=**}:testIamPermissions:\x01*\x12\x81\x01\n\x0eGetIapSettings\x12*.google.cloud.iap.v1.GetIapSettingsRequest\x1a .google.cloud.iap.v1.IapSettings\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=**}:iapSettings\x12\xa2\x01\n\x11UpdateIapSettings\x12-.google.cloud.iap.v1.UpdateIapSettingsRequest\x1a .google.cloud.iap.v1.IapSettings\"<\x82\xd3\xe4\x93\x02\x36\x32&/v1/{iap_settings.name=**}:iapSettings:\x0ciap_settings\x12\xc7\x01\n\x14ListTunnelDestGroups\x12\x30.google.cloud.iap.v1.ListTunnelDestGroupsRequest\x1a\x31.google.cloud.iap.v1.ListTunnelDestGroupsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups\xda\x41\x06parent\x12\xf7\x01\n\x15\x43reateTunnelDestGroup\x12\x31.google.cloud.iap.v1.CreateTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"\x84\x01\x82\xd3\xe4\x93\x02N\"9/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups:\x11tunnel_dest_group\xda\x41-parent,tunnel_dest_group,tunnel_dest_group_id\x12\xb4\x01\n\x12GetTunnelDestGroup\x12..google.cloud.iap.v1.GetTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}\xda\x41\x04name\x12\xac\x01\n\x15\x44\x65leteTunnelDestGroup\x12\x31.google.cloud.iap.v1.DeleteTunnelDestGroupRequest\x1a\x16.google.protobuf.Empty\"H\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}\xda\x41\x04name\x12\xf9\x01\n\x15UpdateTunnelDestGroup\x12\x31.google.cloud.iap.v1.UpdateTunnelDestGroupRequest\x1a$.google.cloud.iap.v1.TunnelDestGroup\"\x86\x01\x82\xd3\xe4\x93\x02`2K/v1/{tunnel_dest_group.name=projects/*/iap_tunnel/locations/*/destGroups/*}:\x11tunnel_dest_group\xda\x41\x1dtunnel_dest_group,update_mask\x1a\x46\xca\x41\x12iap.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platform2\xa8\x0c\n\x1eIdentityAwareProxyOAuthService\x12\x85\x01\n\nListBrands\x12&.google.cloud.iap.v1.ListBrandsRequest\x1a\'.google.cloud.iap.v1.ListBrandsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=projects/*}/brands\x12\x81\x01\n\x0b\x43reateBrand\x12\'.google.cloud.iap.v1.CreateBrandRequest\x1a\x1a.google.cloud.iap.v1.Brand\"-\x82\xd3\xe4\x93\x02\'\"\x1e/v1/{parent=projects/*}/brands:\x05\x62rand\x12t\n\x08GetBrand\x12$.google.cloud.iap.v1.GetBrandRequest\x1a\x1a.google.cloud.iap.v1.Brand\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=projects/*/brands/*}\x12\xec\x01\n\x1e\x43reateIdentityAwareProxyClient\x12:.google.cloud.iap.v1.CreateIdentityAwareProxyClientRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"_\x82\xd3\xe4\x93\x02Y\":/v1/{parent=projects/*/brands/*}/identityAwareProxyClients:\x1bidentity_aware_proxy_client\x12\xda\x01\n\x1dListIdentityAwareProxyClients\x12\x39.google.cloud.iap.v1.ListIdentityAwareProxyClientsRequest\x1a:.google.cloud.iap.v1.ListIdentityAwareProxyClientsResponse\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{parent=projects/*/brands/*}/identityAwareProxyClients\x12\xc9\x01\n\x1bGetIdentityAwareProxyClient\x12\x37.google.cloud.iap.v1.GetIdentityAwareProxyClientRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}\x12\xe8\x01\n#ResetIdentityAwareProxyClientSecret\x12?.google.cloud.iap.v1.ResetIdentityAwareProxyClientSecretRequest\x1a-.google.cloud.iap.v1.IdentityAwareProxyClient\"Q\x82\xd3\xe4\x93\x02K\"F/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret:\x01*\x12\xb8\x01\n\x1e\x44\x65leteIdentityAwareProxyClient\x12:.google.cloud.iap.v1.DeleteIdentityAwareProxyClientRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02<*:/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}\x1a\x46\xca\x41\x12iap.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe5\x01\n\x17\x63om.google.cloud.iap.v1P\x01Z)cloud.google.com/go/iap/apiv1/iappb;iappb\xaa\x02\x13Google.Cloud.Iap.V1\xca\x02\x13Google\\Cloud\\Iap\\V1\xea\x02\x16Google::Cloud::Iap::V1\xea\x41W\n!iap.googleapis.com/TunnelLocation\x12\x32projects/{project}/iap_tunnel/locations/{location}b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -239,6 +239,9 @@ module Google
|
|
239
239
|
# https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
|
240
240
|
# Note: IAP does not verify that the id token's hd claim matches this value
|
241
241
|
# since access behavior is managed by IAM policies.
|
242
|
+
# @!attribute [rw] programmatic_clients
|
243
|
+
# @return [::Array<::String>]
|
244
|
+
# List of Oauth client IDs allowed to programmatically authenticate with IAP.
|
242
245
|
class OAuthSettings
|
243
246
|
include ::Google::Protobuf::MessageExts
|
244
247
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-19 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.20.0
|
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.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
236
|
- !ruby/object:Gem::Version
|
237
237
|
version: '0'
|
238
238
|
requirements: []
|
239
|
-
rubygems_version: 3.4.
|
239
|
+
rubygems_version: 3.4.19
|
240
240
|
signing_key:
|
241
241
|
specification_version: 4
|
242
242
|
summary: Controls access to cloud applications running on Google Cloud Platform.
|