google-cloud-iap-v1 0.8.1 → 0.9.0
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 +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/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -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: 516a2bfa4fefbc588d7f875d63d8b4a67adfd21306fcdc9b0c626748bf15b3c0
|
4
|
+
data.tar.gz: 9b30599cc685d72e3bb0ef7850c3ad081073432edf8591c42eb32899b4103d1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e114dc8cc576351e7404c608bee2b19299e07bd2a7b4ab3efb31728c3e102ffba68eb9a0d1d3ae5f1ee0c5b82ca3e7c4bd9a1a4660e3fc4971a84babf3daf484
|
7
|
+
data.tar.gz: 4f340d85984b00178ae34b0bb4a4e83b2786bd539b3bfde9eec468f5228f042b81a216a2278936db61052ea5cb89798e75ec7aac5ae04179d19b34de2b6d1076
|
@@ -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
|
|
@@ -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
|
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.9.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-12 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.
|