google-cloud-org_policy-v2 0.10.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fa62d9e96ff243cfdc7815512d3460f3d33bf54c9a8a4fec2de7c034eb33469
|
4
|
+
data.tar.gz: 649bf2d4afa83b3093300c42399070d431052a694c125f66ec5f733e6141ef51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7c19d4ac07ffbf6c58d53bdc748bcc2b17c39257c43d782597f959de035575054bb8c5742f8de26ff550c538c9a23c91c2287b35b5394d0695097ebd0a39875
|
7
|
+
data.tar.gz: 1955039b5d71bc0e77fdddfd918231f003a76272d305a8054d16d66f162c7893f88353463ecc163fbd15ce28eba0167ad992fa27bb848601644a386a48ae2854
|
@@ -49,6 +49,9 @@ module Google
|
|
49
49
|
# particular resource and its child resources.
|
50
50
|
#
|
51
51
|
class Client
|
52
|
+
# @private
|
53
|
+
API_VERSION = ""
|
54
|
+
|
52
55
|
# @private
|
53
56
|
DEFAULT_ENDPOINT_TEMPLATE = "orgpolicy.$UNIVERSE_DOMAIN$"
|
54
57
|
|
@@ -311,10 +314,11 @@ module Google
|
|
311
314
|
# Customize the options with defaults
|
312
315
|
metadata = @config.rpcs.list_constraints.metadata.to_h
|
313
316
|
|
314
|
-
# Set x-goog-api-client
|
317
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
315
318
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
316
319
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
317
320
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
321
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
318
322
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
319
323
|
|
320
324
|
header_params = {}
|
@@ -415,10 +419,11 @@ module Google
|
|
415
419
|
# Customize the options with defaults
|
416
420
|
metadata = @config.rpcs.list_policies.metadata.to_h
|
417
421
|
|
418
|
-
# Set x-goog-api-client
|
422
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
419
423
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
420
424
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
421
425
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
426
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
422
427
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
423
428
|
|
424
429
|
header_params = {}
|
@@ -506,10 +511,11 @@ module Google
|
|
506
511
|
# Customize the options with defaults
|
507
512
|
metadata = @config.rpcs.get_policy.metadata.to_h
|
508
513
|
|
509
|
-
# Set x-goog-api-client
|
514
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
510
515
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
511
516
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
512
517
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
518
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
513
519
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
514
520
|
|
515
521
|
header_params = {}
|
@@ -597,10 +603,11 @@ module Google
|
|
597
603
|
# Customize the options with defaults
|
598
604
|
metadata = @config.rpcs.get_effective_policy.metadata.to_h
|
599
605
|
|
600
|
-
# Set x-goog-api-client
|
606
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
601
607
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
602
608
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
603
609
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
610
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
604
611
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
605
612
|
|
606
613
|
header_params = {}
|
@@ -695,10 +702,11 @@ module Google
|
|
695
702
|
# Customize the options with defaults
|
696
703
|
metadata = @config.rpcs.create_policy.metadata.to_h
|
697
704
|
|
698
|
-
# Set x-goog-api-client
|
705
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
699
706
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
700
707
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
701
708
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
709
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
702
710
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
703
711
|
|
704
712
|
header_params = {}
|
@@ -792,10 +800,11 @@ module Google
|
|
792
800
|
# Customize the options with defaults
|
793
801
|
metadata = @config.rpcs.update_policy.metadata.to_h
|
794
802
|
|
795
|
-
# Set x-goog-api-client
|
803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
796
804
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
797
805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
798
806
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
807
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
799
808
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
800
809
|
|
801
810
|
header_params = {}
|
@@ -885,10 +894,11 @@ module Google
|
|
885
894
|
# Customize the options with defaults
|
886
895
|
metadata = @config.rpcs.delete_policy.metadata.to_h
|
887
896
|
|
888
|
-
# Set x-goog-api-client
|
897
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
889
898
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
890
899
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
891
900
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
901
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
892
902
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
893
903
|
|
894
904
|
header_params = {}
|
@@ -979,10 +989,11 @@ module Google
|
|
979
989
|
# Customize the options with defaults
|
980
990
|
metadata = @config.rpcs.create_custom_constraint.metadata.to_h
|
981
991
|
|
982
|
-
# Set x-goog-api-client
|
992
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
983
993
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
984
994
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
985
995
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
996
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
986
997
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
987
998
|
|
988
999
|
header_params = {}
|
@@ -1070,10 +1081,11 @@ module Google
|
|
1070
1081
|
# Customize the options with defaults
|
1071
1082
|
metadata = @config.rpcs.update_custom_constraint.metadata.to_h
|
1072
1083
|
|
1073
|
-
# Set x-goog-api-client
|
1084
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1074
1085
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1075
1086
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1076
1087
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
1088
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1077
1089
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1078
1090
|
|
1079
1091
|
header_params = {}
|
@@ -1159,10 +1171,11 @@ module Google
|
|
1159
1171
|
# Customize the options with defaults
|
1160
1172
|
metadata = @config.rpcs.get_custom_constraint.metadata.to_h
|
1161
1173
|
|
1162
|
-
# Set x-goog-api-client
|
1174
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1163
1175
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1164
1176
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1165
1177
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
1178
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1166
1179
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1167
1180
|
|
1168
1181
|
header_params = {}
|
@@ -1260,10 +1273,11 @@ module Google
|
|
1260
1273
|
# Customize the options with defaults
|
1261
1274
|
metadata = @config.rpcs.list_custom_constraints.metadata.to_h
|
1262
1275
|
|
1263
|
-
# Set x-goog-api-client
|
1276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1264
1277
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1265
1278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1266
1279
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
1280
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1267
1281
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1268
1282
|
|
1269
1283
|
header_params = {}
|
@@ -1350,10 +1364,11 @@ module Google
|
|
1350
1364
|
# Customize the options with defaults
|
1351
1365
|
metadata = @config.rpcs.delete_custom_constraint.metadata.to_h
|
1352
1366
|
|
1353
|
-
# Set x-goog-api-client
|
1367
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1354
1368
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1355
1369
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1356
1370
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION
|
1371
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1357
1372
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1358
1373
|
|
1359
1374
|
header_params = {}
|
@@ -51,6 +51,9 @@ module Google
|
|
51
51
|
# particular resource and its child resources.
|
52
52
|
#
|
53
53
|
class Client
|
54
|
+
# @private
|
55
|
+
API_VERSION = ""
|
56
|
+
|
54
57
|
# @private
|
55
58
|
DEFAULT_ENDPOINT_TEMPLATE = "orgpolicy.$UNIVERSE_DOMAIN$"
|
56
59
|
|
@@ -303,12 +306,13 @@ module Google
|
|
303
306
|
# Customize the options with defaults
|
304
307
|
call_metadata = @config.rpcs.list_constraints.metadata.to_h
|
305
308
|
|
306
|
-
# Set x-goog-api-client
|
309
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
307
310
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
308
311
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
309
312
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
310
313
|
transports_version_send: [:rest]
|
311
314
|
|
315
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
312
316
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
313
317
|
|
314
318
|
options.apply_defaults timeout: @config.rpcs.list_constraints.timeout,
|
@@ -400,12 +404,13 @@ module Google
|
|
400
404
|
# Customize the options with defaults
|
401
405
|
call_metadata = @config.rpcs.list_policies.metadata.to_h
|
402
406
|
|
403
|
-
# Set x-goog-api-client
|
407
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
404
408
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
405
409
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
406
410
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
407
411
|
transports_version_send: [:rest]
|
408
412
|
|
413
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
409
414
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
410
415
|
|
411
416
|
options.apply_defaults timeout: @config.rpcs.list_policies.timeout,
|
@@ -484,12 +489,13 @@ module Google
|
|
484
489
|
# Customize the options with defaults
|
485
490
|
call_metadata = @config.rpcs.get_policy.metadata.to_h
|
486
491
|
|
487
|
-
# Set x-goog-api-client
|
492
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
488
493
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
489
494
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
490
495
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
491
496
|
transports_version_send: [:rest]
|
492
497
|
|
498
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
493
499
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
494
500
|
|
495
501
|
options.apply_defaults timeout: @config.rpcs.get_policy.timeout,
|
@@ -568,12 +574,13 @@ module Google
|
|
568
574
|
# Customize the options with defaults
|
569
575
|
call_metadata = @config.rpcs.get_effective_policy.metadata.to_h
|
570
576
|
|
571
|
-
# Set x-goog-api-client
|
577
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
572
578
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
573
579
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
574
580
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
575
581
|
transports_version_send: [:rest]
|
576
582
|
|
583
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
577
584
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
578
585
|
|
579
586
|
options.apply_defaults timeout: @config.rpcs.get_effective_policy.timeout,
|
@@ -659,12 +666,13 @@ module Google
|
|
659
666
|
# Customize the options with defaults
|
660
667
|
call_metadata = @config.rpcs.create_policy.metadata.to_h
|
661
668
|
|
662
|
-
# Set x-goog-api-client
|
669
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
663
670
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
664
671
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
665
672
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
666
673
|
transports_version_send: [:rest]
|
667
674
|
|
675
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
668
676
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
669
677
|
|
670
678
|
options.apply_defaults timeout: @config.rpcs.create_policy.timeout,
|
@@ -749,12 +757,13 @@ module Google
|
|
749
757
|
# Customize the options with defaults
|
750
758
|
call_metadata = @config.rpcs.update_policy.metadata.to_h
|
751
759
|
|
752
|
-
# Set x-goog-api-client
|
760
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
753
761
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
754
762
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
755
763
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
756
764
|
transports_version_send: [:rest]
|
757
765
|
|
766
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
758
767
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
759
768
|
|
760
769
|
options.apply_defaults timeout: @config.rpcs.update_policy.timeout,
|
@@ -835,12 +844,13 @@ module Google
|
|
835
844
|
# Customize the options with defaults
|
836
845
|
call_metadata = @config.rpcs.delete_policy.metadata.to_h
|
837
846
|
|
838
|
-
# Set x-goog-api-client
|
847
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
839
848
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
840
849
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
841
850
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
842
851
|
transports_version_send: [:rest]
|
843
852
|
|
853
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
844
854
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
845
855
|
|
846
856
|
options.apply_defaults timeout: @config.rpcs.delete_policy.timeout,
|
@@ -922,12 +932,13 @@ module Google
|
|
922
932
|
# Customize the options with defaults
|
923
933
|
call_metadata = @config.rpcs.create_custom_constraint.metadata.to_h
|
924
934
|
|
925
|
-
# Set x-goog-api-client
|
935
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
926
936
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
927
937
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
928
938
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
929
939
|
transports_version_send: [:rest]
|
930
940
|
|
941
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
931
942
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
932
943
|
|
933
944
|
options.apply_defaults timeout: @config.rpcs.create_custom_constraint.timeout,
|
@@ -1006,12 +1017,13 @@ module Google
|
|
1006
1017
|
# Customize the options with defaults
|
1007
1018
|
call_metadata = @config.rpcs.update_custom_constraint.metadata.to_h
|
1008
1019
|
|
1009
|
-
# Set x-goog-api-client
|
1020
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1010
1021
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1011
1022
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1012
1023
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
1013
1024
|
transports_version_send: [:rest]
|
1014
1025
|
|
1026
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1015
1027
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1016
1028
|
|
1017
1029
|
options.apply_defaults timeout: @config.rpcs.update_custom_constraint.timeout,
|
@@ -1088,12 +1100,13 @@ module Google
|
|
1088
1100
|
# Customize the options with defaults
|
1089
1101
|
call_metadata = @config.rpcs.get_custom_constraint.metadata.to_h
|
1090
1102
|
|
1091
|
-
# Set x-goog-api-client
|
1103
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1092
1104
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1093
1105
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1094
1106
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
1095
1107
|
transports_version_send: [:rest]
|
1096
1108
|
|
1109
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1097
1110
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1098
1111
|
|
1099
1112
|
options.apply_defaults timeout: @config.rpcs.get_custom_constraint.timeout,
|
@@ -1182,12 +1195,13 @@ module Google
|
|
1182
1195
|
# Customize the options with defaults
|
1183
1196
|
call_metadata = @config.rpcs.list_custom_constraints.metadata.to_h
|
1184
1197
|
|
1185
|
-
# Set x-goog-api-client
|
1198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1186
1199
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1187
1200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1188
1201
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
1189
1202
|
transports_version_send: [:rest]
|
1190
1203
|
|
1204
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1191
1205
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1192
1206
|
|
1193
1207
|
options.apply_defaults timeout: @config.rpcs.list_custom_constraints.timeout,
|
@@ -1265,12 +1279,13 @@ module Google
|
|
1265
1279
|
# Customize the options with defaults
|
1266
1280
|
call_metadata = @config.rpcs.delete_custom_constraint.metadata.to_h
|
1267
1281
|
|
1268
|
-
# Set x-goog-api-client
|
1282
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1269
1283
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1270
1284
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1271
1285
|
gapic_version: ::Google::Cloud::OrgPolicy::V2::VERSION,
|
1272
1286
|
transports_version_send: [:rest]
|
1273
1287
|
|
1288
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1274
1289
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1275
1290
|
|
1276
1291
|
options.apply_defaults timeout: @config.rpcs.delete_custom_constraint.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-org_policy-v2
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|