google-cloud-iap-v1 0.12.0 → 1.0.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 +23 -10
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/client.rb +23 -10
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/client.rb +19 -8
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/rest/client.rb +19 -8
- data/lib/google/cloud/iap/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- 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: f2078c93fcda0e1704d34ca4597c4b60a9bc05a604eca63886297b21404b744d
|
4
|
+
data.tar.gz: dcc419d609f233ef2c7ba2aab49af936c91ff4396581219c3435ad723644f856
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f61e88da18d730b3b0eb3420d831bc34be032c65c5d29f1be4cc5479531c36a4472df239ad1d5114990daec9b2cf41df3f371b5f4b7cd6fea6dfee4c49289a07
|
7
|
+
data.tar.gz: b310043ef1980a8ab6253c9b976b0e1a692e2b62d13ea2aea9f6557167c62016554707b566dfb93a9841ca20d75cc85b6bd6b1351e47173ddadcf53a131e4ba8
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# APIs for Identity-Aware Proxy Admin configurations.
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "iap.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -232,10 +235,11 @@ module Google
|
|
232
235
|
# Customize the options with defaults
|
233
236
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
234
237
|
|
235
|
-
# Set x-goog-api-client
|
238
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
236
239
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
237
240
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
238
241
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
242
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
239
243
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
240
244
|
|
241
245
|
header_params = {}
|
@@ -324,10 +328,11 @@ module Google
|
|
324
328
|
# Customize the options with defaults
|
325
329
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
326
330
|
|
327
|
-
# Set x-goog-api-client
|
331
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
328
332
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
329
333
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
330
334
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
335
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
331
336
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
332
337
|
|
333
338
|
header_params = {}
|
@@ -418,10 +423,11 @@ module Google
|
|
418
423
|
# Customize the options with defaults
|
419
424
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
420
425
|
|
421
|
-
# Set x-goog-api-client
|
426
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
422
427
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
423
428
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
424
429
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
430
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
425
431
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
426
432
|
|
427
433
|
header_params = {}
|
@@ -505,10 +511,11 @@ module Google
|
|
505
511
|
# Customize the options with defaults
|
506
512
|
metadata = @config.rpcs.get_iap_settings.metadata.to_h
|
507
513
|
|
508
|
-
# Set x-goog-api-client
|
514
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
509
515
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
510
516
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
511
517
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
518
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
512
519
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
513
520
|
|
514
521
|
header_params = {}
|
@@ -600,10 +607,11 @@ module Google
|
|
600
607
|
# Customize the options with defaults
|
601
608
|
metadata = @config.rpcs.update_iap_settings.metadata.to_h
|
602
609
|
|
603
|
-
# Set x-goog-api-client
|
610
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
604
611
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
605
612
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
606
613
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
614
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
607
615
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
608
616
|
|
609
617
|
header_params = {}
|
@@ -706,10 +714,11 @@ module Google
|
|
706
714
|
# Customize the options with defaults
|
707
715
|
metadata = @config.rpcs.list_tunnel_dest_groups.metadata.to_h
|
708
716
|
|
709
|
-
# Set x-goog-api-client
|
717
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
710
718
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
711
719
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
712
720
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
721
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
713
722
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
714
723
|
|
715
724
|
header_params = {}
|
@@ -802,10 +811,11 @@ module Google
|
|
802
811
|
# Customize the options with defaults
|
803
812
|
metadata = @config.rpcs.create_tunnel_dest_group.metadata.to_h
|
804
813
|
|
805
|
-
# Set x-goog-api-client
|
814
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
806
815
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
807
816
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
808
817
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
818
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
809
819
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
810
820
|
|
811
821
|
header_params = {}
|
@@ -889,10 +899,11 @@ module Google
|
|
889
899
|
# Customize the options with defaults
|
890
900
|
metadata = @config.rpcs.get_tunnel_dest_group.metadata.to_h
|
891
901
|
|
892
|
-
# Set x-goog-api-client
|
902
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
893
903
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
894
904
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
895
905
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
906
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
896
907
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
897
908
|
|
898
909
|
header_params = {}
|
@@ -976,10 +987,11 @@ module Google
|
|
976
987
|
# Customize the options with defaults
|
977
988
|
metadata = @config.rpcs.delete_tunnel_dest_group.metadata.to_h
|
978
989
|
|
979
|
-
# Set x-goog-api-client
|
990
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
980
991
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
981
992
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
982
993
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
994
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
983
995
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
984
996
|
|
985
997
|
header_params = {}
|
@@ -1065,10 +1077,11 @@ module Google
|
|
1065
1077
|
# Customize the options with defaults
|
1066
1078
|
metadata = @config.rpcs.update_tunnel_dest_group.metadata.to_h
|
1067
1079
|
|
1068
|
-
# Set x-goog-api-client
|
1080
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1069
1081
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1070
1082
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1071
1083
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
1084
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1072
1085
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1073
1086
|
|
1074
1087
|
header_params = {}
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# APIs for Identity-Aware Proxy Admin configurations.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "iap.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -224,12 +227,13 @@ module Google
|
|
224
227
|
# Customize the options with defaults
|
225
228
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
226
229
|
|
227
|
-
# Set x-goog-api-client
|
230
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
228
231
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
229
232
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
230
233
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
231
234
|
transports_version_send: [:rest]
|
232
235
|
|
236
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
233
237
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
234
238
|
|
235
239
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -309,12 +313,13 @@ module Google
|
|
309
313
|
# Customize the options with defaults
|
310
314
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
311
315
|
|
312
|
-
# Set x-goog-api-client
|
316
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
313
317
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
314
318
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
315
319
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
316
320
|
transports_version_send: [:rest]
|
317
321
|
|
322
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
318
323
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
319
324
|
|
320
325
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -396,12 +401,13 @@ module Google
|
|
396
401
|
# Customize the options with defaults
|
397
402
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
398
403
|
|
399
|
-
# Set x-goog-api-client
|
404
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
400
405
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
401
406
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
402
407
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
403
408
|
transports_version_send: [:rest]
|
404
409
|
|
410
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
405
411
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
406
412
|
|
407
413
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -476,12 +482,13 @@ module Google
|
|
476
482
|
# Customize the options with defaults
|
477
483
|
call_metadata = @config.rpcs.get_iap_settings.metadata.to_h
|
478
484
|
|
479
|
-
# Set x-goog-api-client
|
485
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
480
486
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
481
487
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
482
488
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
483
489
|
transports_version_send: [:rest]
|
484
490
|
|
491
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
485
492
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
486
493
|
|
487
494
|
options.apply_defaults timeout: @config.rpcs.get_iap_settings.timeout,
|
@@ -564,12 +571,13 @@ module Google
|
|
564
571
|
# Customize the options with defaults
|
565
572
|
call_metadata = @config.rpcs.update_iap_settings.metadata.to_h
|
566
573
|
|
567
|
-
# Set x-goog-api-client
|
574
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
568
575
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
569
576
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
570
577
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
571
578
|
transports_version_send: [:rest]
|
572
579
|
|
580
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
573
581
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
574
582
|
|
575
583
|
options.apply_defaults timeout: @config.rpcs.update_iap_settings.timeout,
|
@@ -663,12 +671,13 @@ module Google
|
|
663
671
|
# Customize the options with defaults
|
664
672
|
call_metadata = @config.rpcs.list_tunnel_dest_groups.metadata.to_h
|
665
673
|
|
666
|
-
# Set x-goog-api-client
|
674
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
667
675
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
668
676
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
669
677
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
670
678
|
transports_version_send: [:rest]
|
671
679
|
|
680
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
672
681
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
673
682
|
|
674
683
|
options.apply_defaults timeout: @config.rpcs.list_tunnel_dest_groups.timeout,
|
@@ -752,12 +761,13 @@ module Google
|
|
752
761
|
# Customize the options with defaults
|
753
762
|
call_metadata = @config.rpcs.create_tunnel_dest_group.metadata.to_h
|
754
763
|
|
755
|
-
# Set x-goog-api-client
|
764
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
756
765
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
757
766
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
758
767
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
759
768
|
transports_version_send: [:rest]
|
760
769
|
|
770
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
761
771
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
762
772
|
|
763
773
|
options.apply_defaults timeout: @config.rpcs.create_tunnel_dest_group.timeout,
|
@@ -832,12 +842,13 @@ module Google
|
|
832
842
|
# Customize the options with defaults
|
833
843
|
call_metadata = @config.rpcs.get_tunnel_dest_group.metadata.to_h
|
834
844
|
|
835
|
-
# Set x-goog-api-client
|
845
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
836
846
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
837
847
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
838
848
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
839
849
|
transports_version_send: [:rest]
|
840
850
|
|
851
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
841
852
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
842
853
|
|
843
854
|
options.apply_defaults timeout: @config.rpcs.get_tunnel_dest_group.timeout,
|
@@ -912,12 +923,13 @@ module Google
|
|
912
923
|
# Customize the options with defaults
|
913
924
|
call_metadata = @config.rpcs.delete_tunnel_dest_group.metadata.to_h
|
914
925
|
|
915
|
-
# Set x-goog-api-client
|
926
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
916
927
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
917
928
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
918
929
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
919
930
|
transports_version_send: [:rest]
|
920
931
|
|
932
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
921
933
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
922
934
|
|
923
935
|
options.apply_defaults timeout: @config.rpcs.delete_tunnel_dest_group.timeout,
|
@@ -994,12 +1006,13 @@ module Google
|
|
994
1006
|
# Customize the options with defaults
|
995
1007
|
call_metadata = @config.rpcs.update_tunnel_dest_group.metadata.to_h
|
996
1008
|
|
997
|
-
# Set x-goog-api-client
|
1009
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
998
1010
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
999
1011
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1000
1012
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
1001
1013
|
transports_version_send: [:rest]
|
1002
1014
|
|
1015
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1003
1016
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1004
1017
|
|
1005
1018
|
options.apply_defaults timeout: @config.rpcs.update_tunnel_dest_group.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# clients.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "iap.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -218,10 +221,11 @@ module Google
|
|
218
221
|
# Customize the options with defaults
|
219
222
|
metadata = @config.rpcs.list_brands.metadata.to_h
|
220
223
|
|
221
|
-
# Set x-goog-api-client
|
224
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
222
225
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
223
226
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
224
227
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
228
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
225
229
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
226
230
|
|
227
231
|
header_params = {}
|
@@ -313,10 +317,11 @@ module Google
|
|
313
317
|
# Customize the options with defaults
|
314
318
|
metadata = @config.rpcs.create_brand.metadata.to_h
|
315
319
|
|
316
|
-
# Set x-goog-api-client
|
320
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
317
321
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
318
322
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
319
323
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
324
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
320
325
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
321
326
|
|
322
327
|
header_params = {}
|
@@ -399,10 +404,11 @@ module Google
|
|
399
404
|
# Customize the options with defaults
|
400
405
|
metadata = @config.rpcs.get_brand.metadata.to_h
|
401
406
|
|
402
|
-
# Set x-goog-api-client
|
407
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
403
408
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
404
409
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
405
410
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
411
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
406
412
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
407
413
|
|
408
414
|
header_params = {}
|
@@ -491,10 +497,11 @@ module Google
|
|
491
497
|
# Customize the options with defaults
|
492
498
|
metadata = @config.rpcs.create_identity_aware_proxy_client.metadata.to_h
|
493
499
|
|
494
|
-
# Set x-goog-api-client
|
500
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
495
501
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
496
502
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
497
503
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
504
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
498
505
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
499
506
|
|
500
507
|
header_params = {}
|
@@ -593,10 +600,11 @@ module Google
|
|
593
600
|
# Customize the options with defaults
|
594
601
|
metadata = @config.rpcs.list_identity_aware_proxy_clients.metadata.to_h
|
595
602
|
|
596
|
-
# Set x-goog-api-client
|
603
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
597
604
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
598
605
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
599
606
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
607
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
600
608
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
601
609
|
|
602
610
|
header_params = {}
|
@@ -682,10 +690,11 @@ module Google
|
|
682
690
|
# Customize the options with defaults
|
683
691
|
metadata = @config.rpcs.get_identity_aware_proxy_client.metadata.to_h
|
684
692
|
|
685
|
-
# Set x-goog-api-client
|
693
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
686
694
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
687
695
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
688
696
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
697
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
689
698
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
690
699
|
|
691
700
|
header_params = {}
|
@@ -770,10 +779,11 @@ module Google
|
|
770
779
|
# Customize the options with defaults
|
771
780
|
metadata = @config.rpcs.reset_identity_aware_proxy_client_secret.metadata.to_h
|
772
781
|
|
773
|
-
# Set x-goog-api-client
|
782
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
774
783
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
775
784
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
776
785
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
786
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
777
787
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
778
788
|
|
779
789
|
header_params = {}
|
@@ -859,10 +869,11 @@ module Google
|
|
859
869
|
# Customize the options with defaults
|
860
870
|
metadata = @config.rpcs.delete_identity_aware_proxy_client.metadata.to_h
|
861
871
|
|
862
|
-
# Set x-goog-api-client
|
872
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
863
873
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
864
874
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
865
875
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION
|
876
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
866
877
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
867
878
|
|
868
879
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# clients.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "iap.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -210,12 +213,13 @@ module Google
|
|
210
213
|
# Customize the options with defaults
|
211
214
|
call_metadata = @config.rpcs.list_brands.metadata.to_h
|
212
215
|
|
213
|
-
# Set x-goog-api-client
|
216
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
214
217
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
215
218
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
216
219
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
217
220
|
transports_version_send: [:rest]
|
218
221
|
|
222
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
219
223
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
220
224
|
|
221
225
|
options.apply_defaults timeout: @config.rpcs.list_brands.timeout,
|
@@ -298,12 +302,13 @@ module Google
|
|
298
302
|
# Customize the options with defaults
|
299
303
|
call_metadata = @config.rpcs.create_brand.metadata.to_h
|
300
304
|
|
301
|
-
# Set x-goog-api-client
|
305
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
302
306
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
303
307
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
304
308
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
305
309
|
transports_version_send: [:rest]
|
306
310
|
|
311
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
307
312
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
308
313
|
|
309
314
|
options.apply_defaults timeout: @config.rpcs.create_brand.timeout,
|
@@ -377,12 +382,13 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
call_metadata = @config.rpcs.get_brand.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
384
389
|
transports_version_send: [:rest]
|
385
390
|
|
391
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
386
392
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
387
393
|
|
388
394
|
options.apply_defaults timeout: @config.rpcs.get_brand.timeout,
|
@@ -462,12 +468,13 @@ module Google
|
|
462
468
|
# Customize the options with defaults
|
463
469
|
call_metadata = @config.rpcs.create_identity_aware_proxy_client.metadata.to_h
|
464
470
|
|
465
|
-
# Set x-goog-api-client
|
471
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
466
472
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
467
473
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
468
474
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
469
475
|
transports_version_send: [:rest]
|
470
476
|
|
477
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
471
478
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
472
479
|
|
473
480
|
options.apply_defaults timeout: @config.rpcs.create_identity_aware_proxy_client.timeout,
|
@@ -557,12 +564,13 @@ module Google
|
|
557
564
|
# Customize the options with defaults
|
558
565
|
call_metadata = @config.rpcs.list_identity_aware_proxy_clients.metadata.to_h
|
559
566
|
|
560
|
-
# Set x-goog-api-client
|
567
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
561
568
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
562
569
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
563
570
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
564
571
|
transports_version_send: [:rest]
|
565
572
|
|
573
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
566
574
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
567
575
|
|
568
576
|
options.apply_defaults timeout: @config.rpcs.list_identity_aware_proxy_clients.timeout,
|
@@ -639,12 +647,13 @@ module Google
|
|
639
647
|
# Customize the options with defaults
|
640
648
|
call_metadata = @config.rpcs.get_identity_aware_proxy_client.metadata.to_h
|
641
649
|
|
642
|
-
# Set x-goog-api-client
|
650
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
643
651
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
644
652
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
645
653
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
646
654
|
transports_version_send: [:rest]
|
647
655
|
|
656
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
648
657
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
649
658
|
|
650
659
|
options.apply_defaults timeout: @config.rpcs.get_identity_aware_proxy_client.timeout,
|
@@ -720,12 +729,13 @@ module Google
|
|
720
729
|
# Customize the options with defaults
|
721
730
|
call_metadata = @config.rpcs.reset_identity_aware_proxy_client_secret.metadata.to_h
|
722
731
|
|
723
|
-
# Set x-goog-api-client
|
732
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
724
733
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
725
734
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
726
735
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
727
736
|
transports_version_send: [:rest]
|
728
737
|
|
738
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
729
739
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
730
740
|
|
731
741
|
options.apply_defaults timeout: @config.rpcs.reset_identity_aware_proxy_client_secret.timeout,
|
@@ -802,12 +812,13 @@ module Google
|
|
802
812
|
# Customize the options with defaults
|
803
813
|
call_metadata = @config.rpcs.delete_identity_aware_proxy_client.metadata.to_h
|
804
814
|
|
805
|
-
# Set x-goog-api-client
|
815
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
806
816
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
807
817
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
808
818
|
gapic_version: ::Google::Cloud::Iap::V1::VERSION,
|
809
819
|
transports_version_send: [:rest]
|
810
820
|
|
821
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
811
822
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
812
823
|
|
813
824
|
options.apply_defaults timeout: @config.rpcs.delete_identity_aware_proxy_client.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
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: 1.0.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: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|