google-cloud-iap-v1 0.1.1 → 0.1.2
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 +100 -15
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/client.rb +166 -24
- data/lib/google/cloud/iap/v1/service_pb.rb +2 -2
- data/lib/google/cloud/iap/v1/service_services_pb.rb +2 -2
- data/lib/google/cloud/iap/v1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10730453daa40c5ab47cdbcea2f97b6c9ab7844215aba6a42eedee4bb7d75435
|
4
|
+
data.tar.gz: 45037db6b7a9d5ab4f384611c9cf8cc709f38f74aaa63d567cc08beac30fc7ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52eae47b41afdb9d1e942ba3991c01b9c91953fc27b5f7021f0644b3806064c87f75195550273bdd333493692ce38bd176f4477be090049dd96d3db412bd70b6
|
7
|
+
data.tar.gz: ab8e2b430ff04624c589c2bd2b62beccdbca8db007123346a985a55b6f2cede4404b17bda0e23c94d9fcbffcd30af7dc1aee28486e9fc041ceb21bce4af2e621
|
@@ -182,6 +182,21 @@ module Google
|
|
182
182
|
#
|
183
183
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
184
184
|
#
|
185
|
+
# @example Basic example
|
186
|
+
# require "google/cloud/iap/v1"
|
187
|
+
#
|
188
|
+
# # Create a client object. The client can be reused for multiple calls.
|
189
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
190
|
+
#
|
191
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
192
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
193
|
+
#
|
194
|
+
# # Call the set_iam_policy method.
|
195
|
+
# result = client.set_iam_policy request
|
196
|
+
#
|
197
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
198
|
+
# p result
|
199
|
+
#
|
185
200
|
def set_iam_policy request, options = nil
|
186
201
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
187
202
|
|
@@ -199,9 +214,11 @@ module Google
|
|
199
214
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
200
215
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
201
216
|
|
202
|
-
header_params = {
|
203
|
-
|
204
|
-
|
217
|
+
header_params = {}
|
218
|
+
if request.resource
|
219
|
+
header_params["resource"] = request.resource
|
220
|
+
end
|
221
|
+
|
205
222
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
206
223
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
207
224
|
|
@@ -257,6 +274,21 @@ module Google
|
|
257
274
|
#
|
258
275
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
259
276
|
#
|
277
|
+
# @example Basic example
|
278
|
+
# require "google/cloud/iap/v1"
|
279
|
+
#
|
280
|
+
# # Create a client object. The client can be reused for multiple calls.
|
281
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
282
|
+
#
|
283
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
284
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
285
|
+
#
|
286
|
+
# # Call the get_iam_policy method.
|
287
|
+
# result = client.get_iam_policy request
|
288
|
+
#
|
289
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
290
|
+
# p result
|
291
|
+
#
|
260
292
|
def get_iam_policy request, options = nil
|
261
293
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
262
294
|
|
@@ -274,9 +306,11 @@ module Google
|
|
274
306
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
275
307
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
276
308
|
|
277
|
-
header_params = {
|
278
|
-
|
279
|
-
|
309
|
+
header_params = {}
|
310
|
+
if request.resource
|
311
|
+
header_params["resource"] = request.resource
|
312
|
+
end
|
313
|
+
|
280
314
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
281
315
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
282
316
|
|
@@ -334,6 +368,21 @@ module Google
|
|
334
368
|
#
|
335
369
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
336
370
|
#
|
371
|
+
# @example Basic example
|
372
|
+
# require "google/cloud/iap/v1"
|
373
|
+
#
|
374
|
+
# # Create a client object. The client can be reused for multiple calls.
|
375
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
376
|
+
#
|
377
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
378
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
379
|
+
#
|
380
|
+
# # Call the test_iam_permissions method.
|
381
|
+
# result = client.test_iam_permissions request
|
382
|
+
#
|
383
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
384
|
+
# p result
|
385
|
+
#
|
337
386
|
def test_iam_permissions request, options = nil
|
338
387
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
339
388
|
|
@@ -351,9 +400,11 @@ module Google
|
|
351
400
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
352
401
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
353
402
|
|
354
|
-
header_params = {
|
355
|
-
|
356
|
-
|
403
|
+
header_params = {}
|
404
|
+
if request.resource
|
405
|
+
header_params["resource"] = request.resource
|
406
|
+
end
|
407
|
+
|
357
408
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
358
409
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
359
410
|
|
@@ -404,6 +455,21 @@ module Google
|
|
404
455
|
#
|
405
456
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
406
457
|
#
|
458
|
+
# @example Basic example
|
459
|
+
# require "google/cloud/iap/v1"
|
460
|
+
#
|
461
|
+
# # Create a client object. The client can be reused for multiple calls.
|
462
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
463
|
+
#
|
464
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
465
|
+
# request = Google::Cloud::Iap::V1::GetIapSettingsRequest.new
|
466
|
+
#
|
467
|
+
# # Call the get_iap_settings method.
|
468
|
+
# result = client.get_iap_settings request
|
469
|
+
#
|
470
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IapSettings.
|
471
|
+
# p result
|
472
|
+
#
|
407
473
|
def get_iap_settings request, options = nil
|
408
474
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
409
475
|
|
@@ -421,9 +487,11 @@ module Google
|
|
421
487
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
422
488
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
423
489
|
|
424
|
-
header_params = {
|
425
|
-
|
426
|
-
|
490
|
+
header_params = {}
|
491
|
+
if request.name
|
492
|
+
header_params["name"] = request.name
|
493
|
+
end
|
494
|
+
|
427
495
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
428
496
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
429
497
|
|
@@ -479,6 +547,21 @@ module Google
|
|
479
547
|
#
|
480
548
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
481
549
|
#
|
550
|
+
# @example Basic example
|
551
|
+
# require "google/cloud/iap/v1"
|
552
|
+
#
|
553
|
+
# # Create a client object. The client can be reused for multiple calls.
|
554
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
555
|
+
#
|
556
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
557
|
+
# request = Google::Cloud::Iap::V1::UpdateIapSettingsRequest.new
|
558
|
+
#
|
559
|
+
# # Call the update_iap_settings method.
|
560
|
+
# result = client.update_iap_settings request
|
561
|
+
#
|
562
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IapSettings.
|
563
|
+
# p result
|
564
|
+
#
|
482
565
|
def update_iap_settings request, options = nil
|
483
566
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
484
567
|
|
@@ -496,9 +579,11 @@ module Google
|
|
496
579
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
497
580
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
498
581
|
|
499
|
-
header_params = {
|
500
|
-
|
501
|
-
|
582
|
+
header_params = {}
|
583
|
+
if request.iap_settings&.name
|
584
|
+
header_params["iap_settings.name"] = request.iap_settings.name
|
585
|
+
end
|
586
|
+
|
502
587
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
503
588
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
504
589
|
|
@@ -176,6 +176,21 @@ module Google
|
|
176
176
|
#
|
177
177
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
178
178
|
#
|
179
|
+
# @example Basic example
|
180
|
+
# require "google/cloud/iap/v1"
|
181
|
+
#
|
182
|
+
# # Create a client object. The client can be reused for multiple calls.
|
183
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
184
|
+
#
|
185
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
186
|
+
# request = Google::Cloud::Iap::V1::ListBrandsRequest.new
|
187
|
+
#
|
188
|
+
# # Call the list_brands method.
|
189
|
+
# result = client.list_brands request
|
190
|
+
#
|
191
|
+
# # The returned object is of type Google::Cloud::Iap::V1::ListBrandsResponse.
|
192
|
+
# p result
|
193
|
+
#
|
179
194
|
def list_brands request, options = nil
|
180
195
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
181
196
|
|
@@ -193,9 +208,11 @@ module Google
|
|
193
208
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
194
209
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
195
210
|
|
196
|
-
header_params = {
|
197
|
-
|
198
|
-
|
211
|
+
header_params = {}
|
212
|
+
if request.parent
|
213
|
+
header_params["parent"] = request.parent
|
214
|
+
end
|
215
|
+
|
199
216
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
200
217
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
201
218
|
|
@@ -253,6 +270,21 @@ module Google
|
|
253
270
|
#
|
254
271
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
255
272
|
#
|
273
|
+
# @example Basic example
|
274
|
+
# require "google/cloud/iap/v1"
|
275
|
+
#
|
276
|
+
# # Create a client object. The client can be reused for multiple calls.
|
277
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
278
|
+
#
|
279
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
280
|
+
# request = Google::Cloud::Iap::V1::CreateBrandRequest.new
|
281
|
+
#
|
282
|
+
# # Call the create_brand method.
|
283
|
+
# result = client.create_brand request
|
284
|
+
#
|
285
|
+
# # The returned object is of type Google::Cloud::Iap::V1::Brand.
|
286
|
+
# p result
|
287
|
+
#
|
256
288
|
def create_brand request, options = nil
|
257
289
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
258
290
|
|
@@ -270,9 +302,11 @@ module Google
|
|
270
302
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
271
303
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
272
304
|
|
273
|
-
header_params = {
|
274
|
-
|
275
|
-
|
305
|
+
header_params = {}
|
306
|
+
if request.parent
|
307
|
+
header_params["parent"] = request.parent
|
308
|
+
end
|
309
|
+
|
276
310
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
277
311
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
278
312
|
|
@@ -322,6 +356,21 @@ module Google
|
|
322
356
|
#
|
323
357
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
324
358
|
#
|
359
|
+
# @example Basic example
|
360
|
+
# require "google/cloud/iap/v1"
|
361
|
+
#
|
362
|
+
# # Create a client object. The client can be reused for multiple calls.
|
363
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
364
|
+
#
|
365
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
366
|
+
# request = Google::Cloud::Iap::V1::GetBrandRequest.new
|
367
|
+
#
|
368
|
+
# # Call the get_brand method.
|
369
|
+
# result = client.get_brand request
|
370
|
+
#
|
371
|
+
# # The returned object is of type Google::Cloud::Iap::V1::Brand.
|
372
|
+
# p result
|
373
|
+
#
|
325
374
|
def get_brand request, options = nil
|
326
375
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
327
376
|
|
@@ -339,9 +388,11 @@ module Google
|
|
339
388
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
340
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
341
390
|
|
342
|
-
header_params = {
|
343
|
-
|
344
|
-
|
391
|
+
header_params = {}
|
392
|
+
if request.name
|
393
|
+
header_params["name"] = request.name
|
394
|
+
end
|
395
|
+
|
345
396
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
346
397
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
347
398
|
|
@@ -397,6 +448,21 @@ module Google
|
|
397
448
|
#
|
398
449
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
399
450
|
#
|
451
|
+
# @example Basic example
|
452
|
+
# require "google/cloud/iap/v1"
|
453
|
+
#
|
454
|
+
# # Create a client object. The client can be reused for multiple calls.
|
455
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
456
|
+
#
|
457
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
458
|
+
# request = Google::Cloud::Iap::V1::CreateIdentityAwareProxyClientRequest.new
|
459
|
+
#
|
460
|
+
# # Call the create_identity_aware_proxy_client method.
|
461
|
+
# result = client.create_identity_aware_proxy_client request
|
462
|
+
#
|
463
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
464
|
+
# p result
|
465
|
+
#
|
400
466
|
def create_identity_aware_proxy_client request, options = nil
|
401
467
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
402
468
|
|
@@ -414,9 +480,11 @@ module Google
|
|
414
480
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
415
481
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
416
482
|
|
417
|
-
header_params = {
|
418
|
-
|
419
|
-
|
483
|
+
header_params = {}
|
484
|
+
if request.parent
|
485
|
+
header_params["parent"] = request.parent
|
486
|
+
end
|
487
|
+
|
420
488
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
421
489
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
422
490
|
|
@@ -478,6 +546,27 @@ module Google
|
|
478
546
|
#
|
479
547
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
480
548
|
#
|
549
|
+
# @example Basic example
|
550
|
+
# require "google/cloud/iap/v1"
|
551
|
+
#
|
552
|
+
# # Create a client object. The client can be reused for multiple calls.
|
553
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
554
|
+
#
|
555
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
556
|
+
# request = Google::Cloud::Iap::V1::ListIdentityAwareProxyClientsRequest.new
|
557
|
+
#
|
558
|
+
# # Call the list_identity_aware_proxy_clients method.
|
559
|
+
# result = client.list_identity_aware_proxy_clients request
|
560
|
+
#
|
561
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
562
|
+
# # iterate over all elements by calling #each, and the enumerable
|
563
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
564
|
+
# # methods are also available for managing paging directly.
|
565
|
+
# result.each do |response|
|
566
|
+
# # Each element is of type ::Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
567
|
+
# p response
|
568
|
+
# end
|
569
|
+
#
|
481
570
|
def list_identity_aware_proxy_clients request, options = nil
|
482
571
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
483
572
|
|
@@ -495,9 +584,11 @@ module Google
|
|
495
584
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
496
585
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
497
586
|
|
498
|
-
header_params = {
|
499
|
-
|
500
|
-
|
587
|
+
header_params = {}
|
588
|
+
if request.parent
|
589
|
+
header_params["parent"] = request.parent
|
590
|
+
end
|
591
|
+
|
501
592
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
502
593
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
503
594
|
|
@@ -550,6 +641,21 @@ module Google
|
|
550
641
|
#
|
551
642
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
552
643
|
#
|
644
|
+
# @example Basic example
|
645
|
+
# require "google/cloud/iap/v1"
|
646
|
+
#
|
647
|
+
# # Create a client object. The client can be reused for multiple calls.
|
648
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
649
|
+
#
|
650
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
651
|
+
# request = Google::Cloud::Iap::V1::GetIdentityAwareProxyClientRequest.new
|
652
|
+
#
|
653
|
+
# # Call the get_identity_aware_proxy_client method.
|
654
|
+
# result = client.get_identity_aware_proxy_client request
|
655
|
+
#
|
656
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
657
|
+
# p result
|
658
|
+
#
|
553
659
|
def get_identity_aware_proxy_client request, options = nil
|
554
660
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
555
661
|
|
@@ -567,9 +673,11 @@ module Google
|
|
567
673
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
568
674
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
569
675
|
|
570
|
-
header_params = {
|
571
|
-
|
572
|
-
|
676
|
+
header_params = {}
|
677
|
+
if request.name
|
678
|
+
header_params["name"] = request.name
|
679
|
+
end
|
680
|
+
|
573
681
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
574
682
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
575
683
|
|
@@ -621,6 +729,21 @@ module Google
|
|
621
729
|
#
|
622
730
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
623
731
|
#
|
732
|
+
# @example Basic example
|
733
|
+
# require "google/cloud/iap/v1"
|
734
|
+
#
|
735
|
+
# # Create a client object. The client can be reused for multiple calls.
|
736
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
737
|
+
#
|
738
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
739
|
+
# request = Google::Cloud::Iap::V1::ResetIdentityAwareProxyClientSecretRequest.new
|
740
|
+
#
|
741
|
+
# # Call the reset_identity_aware_proxy_client_secret method.
|
742
|
+
# result = client.reset_identity_aware_proxy_client_secret request
|
743
|
+
#
|
744
|
+
# # The returned object is of type Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
745
|
+
# p result
|
746
|
+
#
|
624
747
|
def reset_identity_aware_proxy_client_secret request, options = nil
|
625
748
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
626
749
|
|
@@ -638,9 +761,11 @@ module Google
|
|
638
761
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
639
762
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
640
763
|
|
641
|
-
header_params = {
|
642
|
-
|
643
|
-
|
764
|
+
header_params = {}
|
765
|
+
if request.name
|
766
|
+
header_params["name"] = request.name
|
767
|
+
end
|
768
|
+
|
644
769
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
645
770
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
646
771
|
|
@@ -693,6 +818,21 @@ module Google
|
|
693
818
|
#
|
694
819
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
695
820
|
#
|
821
|
+
# @example Basic example
|
822
|
+
# require "google/cloud/iap/v1"
|
823
|
+
#
|
824
|
+
# # Create a client object. The client can be reused for multiple calls.
|
825
|
+
# client = Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Client.new
|
826
|
+
#
|
827
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
828
|
+
# request = Google::Cloud::Iap::V1::DeleteIdentityAwareProxyClientRequest.new
|
829
|
+
#
|
830
|
+
# # Call the delete_identity_aware_proxy_client method.
|
831
|
+
# result = client.delete_identity_aware_proxy_client request
|
832
|
+
#
|
833
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
834
|
+
# p result
|
835
|
+
#
|
696
836
|
def delete_identity_aware_proxy_client request, options = nil
|
697
837
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
698
838
|
|
@@ -710,9 +850,11 @@ module Google
|
|
710
850
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
711
851
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
712
852
|
|
713
|
-
header_params = {
|
714
|
-
|
715
|
-
|
853
|
+
header_params = {}
|
854
|
+
if request.name
|
855
|
+
header_params["name"] = request.name
|
856
|
+
end
|
857
|
+
|
716
858
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
717
859
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
718
860
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/iap/v1/service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/field_behavior_pb'
|
8
6
|
require 'google/iam/v1/iam_policy_pb'
|
@@ -11,6 +9,8 @@ require 'google/protobuf/empty_pb'
|
|
11
9
|
require 'google/protobuf/field_mask_pb'
|
12
10
|
require 'google/protobuf/wrappers_pb'
|
13
11
|
require 'google/api/client_pb'
|
12
|
+
require 'google/protobuf'
|
13
|
+
|
14
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
15
|
add_file("google/cloud/iap/v1/service.proto", :syntax => :proto3) do
|
16
16
|
add_message "google.cloud.iap.v1.GetIapSettingsRequest" do
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# APIs for Identity-Aware Proxy Admin configurations.
|
28
28
|
class Service
|
29
29
|
|
30
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
31
31
|
|
32
32
|
self.marshal_class_method = :encode
|
33
33
|
self.unmarshal_class_method = :decode
|
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
# clients.
|
64
64
|
class Service
|
65
65
|
|
66
|
-
include GRPC::GenericService
|
66
|
+
include ::GRPC::GenericService
|
67
67
|
|
68
68
|
self.marshal_class_method = :encode
|
69
69
|
self.unmarshal_class_method = :decode
|
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.2
|
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-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|