google-cloud-access_approval-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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16be9ba64727d4c25ef542c19c595b606f573b391edb55e7ff62ed3ddf0bd8a4
|
4
|
+
data.tar.gz: 24f1d91c975e13090fc184af15a063da2b1772bf479d54d37b1ff644e7c06860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc723751c525afc63b0f2e5eb685a9ea35f6687325e1646dbf5af61a1f2efa2beeb2a113c655d4d9ce010ee2c207398934be2ab61b301d4bb2cf83976d965b8f
|
7
|
+
data.tar.gz: 87a216241b55f760d6f8d839707cbb305c69893d9ef75ec3a3eab544539a28adf110436547f3807aac810d78f7407c2c7032129d81be28fe7ca86d69d679d5cf
|
@@ -62,6 +62,9 @@ module Google
|
|
62
62
|
# If a request is not approved or dismissed, we call it pending.
|
63
63
|
#
|
64
64
|
class Client
|
65
|
+
# @private
|
66
|
+
API_VERSION = ""
|
67
|
+
|
65
68
|
# @private
|
66
69
|
DEFAULT_ENDPOINT_TEMPLATE = "accessapproval.$UNIVERSE_DOMAIN$"
|
67
70
|
|
@@ -296,10 +299,11 @@ module Google
|
|
296
299
|
# Customize the options with defaults
|
297
300
|
metadata = @config.rpcs.list_approval_requests.metadata.to_h
|
298
301
|
|
299
|
-
# Set x-goog-api-client
|
302
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
300
303
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
301
304
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
302
305
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
306
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
303
307
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
304
308
|
|
305
309
|
header_params = {}
|
@@ -384,10 +388,11 @@ module Google
|
|
384
388
|
# Customize the options with defaults
|
385
389
|
metadata = @config.rpcs.get_approval_request.metadata.to_h
|
386
390
|
|
387
|
-
# Set x-goog-api-client
|
391
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
388
392
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
389
393
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
390
394
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
395
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
391
396
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
392
397
|
|
393
398
|
header_params = {}
|
@@ -474,10 +479,11 @@ module Google
|
|
474
479
|
# Customize the options with defaults
|
475
480
|
metadata = @config.rpcs.approve_approval_request.metadata.to_h
|
476
481
|
|
477
|
-
# Set x-goog-api-client
|
482
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
478
483
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
479
484
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
480
485
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
486
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
481
487
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
482
488
|
|
483
489
|
header_params = {}
|
@@ -568,10 +574,11 @@ module Google
|
|
568
574
|
# Customize the options with defaults
|
569
575
|
metadata = @config.rpcs.dismiss_approval_request.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
|
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::AccessApproval::V1::VERSION
|
581
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
575
582
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
576
583
|
|
577
584
|
header_params = {}
|
@@ -660,10 +667,11 @@ module Google
|
|
660
667
|
# Customize the options with defaults
|
661
668
|
metadata = @config.rpcs.invalidate_approval_request.metadata.to_h
|
662
669
|
|
663
|
-
# Set x-goog-api-client
|
670
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
664
671
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
665
672
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
666
673
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
674
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
667
675
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
668
676
|
|
669
677
|
header_params = {}
|
@@ -746,10 +754,11 @@ module Google
|
|
746
754
|
# Customize the options with defaults
|
747
755
|
metadata = @config.rpcs.get_access_approval_settings.metadata.to_h
|
748
756
|
|
749
|
-
# Set x-goog-api-client
|
757
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
750
758
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
751
759
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
752
760
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
761
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
753
762
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
754
763
|
|
755
764
|
header_params = {}
|
@@ -843,10 +852,11 @@ module Google
|
|
843
852
|
# Customize the options with defaults
|
844
853
|
metadata = @config.rpcs.update_access_approval_settings.metadata.to_h
|
845
854
|
|
846
|
-
# Set x-goog-api-client
|
855
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
847
856
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
848
857
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
849
858
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
859
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
850
860
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
851
861
|
|
852
862
|
header_params = {}
|
@@ -933,10 +943,11 @@ module Google
|
|
933
943
|
# Customize the options with defaults
|
934
944
|
metadata = @config.rpcs.delete_access_approval_settings.metadata.to_h
|
935
945
|
|
936
|
-
# Set x-goog-api-client
|
946
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
937
947
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
938
948
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
939
949
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
950
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
940
951
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
941
952
|
|
942
953
|
header_params = {}
|
@@ -1019,10 +1030,11 @@ module Google
|
|
1019
1030
|
# Customize the options with defaults
|
1020
1031
|
metadata = @config.rpcs.get_access_approval_service_account.metadata.to_h
|
1021
1032
|
|
1022
|
-
# Set x-goog-api-client
|
1033
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1023
1034
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1024
1035
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1025
1036
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION
|
1037
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1026
1038
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1027
1039
|
|
1028
1040
|
header_params = {}
|
@@ -64,6 +64,9 @@ module Google
|
|
64
64
|
# If a request is not approved or dismissed, we call it pending.
|
65
65
|
#
|
66
66
|
class Client
|
67
|
+
# @private
|
68
|
+
API_VERSION = ""
|
69
|
+
|
67
70
|
# @private
|
68
71
|
DEFAULT_ENDPOINT_TEMPLATE = "accessapproval.$UNIVERSE_DOMAIN$"
|
69
72
|
|
@@ -288,12 +291,13 @@ module Google
|
|
288
291
|
# Customize the options with defaults
|
289
292
|
call_metadata = @config.rpcs.list_approval_requests.metadata.to_h
|
290
293
|
|
291
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
295
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
297
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
295
298
|
transports_version_send: [:rest]
|
296
299
|
|
300
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
297
301
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
298
302
|
|
299
303
|
options.apply_defaults timeout: @config.rpcs.list_approval_requests.timeout,
|
@@ -369,12 +373,13 @@ module Google
|
|
369
373
|
# Customize the options with defaults
|
370
374
|
call_metadata = @config.rpcs.get_approval_request.metadata.to_h
|
371
375
|
|
372
|
-
# Set x-goog-api-client
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
373
377
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
374
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
375
379
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
376
380
|
transports_version_send: [:rest]
|
377
381
|
|
382
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
378
383
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
379
384
|
|
380
385
|
options.apply_defaults timeout: @config.rpcs.get_approval_request.timeout,
|
@@ -452,12 +457,13 @@ module Google
|
|
452
457
|
# Customize the options with defaults
|
453
458
|
call_metadata = @config.rpcs.approve_approval_request.metadata.to_h
|
454
459
|
|
455
|
-
# Set x-goog-api-client
|
460
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
456
461
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
457
462
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
458
463
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
459
464
|
transports_version_send: [:rest]
|
460
465
|
|
466
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
461
467
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
462
468
|
|
463
469
|
options.apply_defaults timeout: @config.rpcs.approve_approval_request.timeout,
|
@@ -539,12 +545,13 @@ module Google
|
|
539
545
|
# Customize the options with defaults
|
540
546
|
call_metadata = @config.rpcs.dismiss_approval_request.metadata.to_h
|
541
547
|
|
542
|
-
# Set x-goog-api-client
|
548
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
543
549
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
544
550
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
545
551
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
546
552
|
transports_version_send: [:rest]
|
547
553
|
|
554
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
548
555
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
549
556
|
|
550
557
|
options.apply_defaults timeout: @config.rpcs.dismiss_approval_request.timeout,
|
@@ -624,12 +631,13 @@ module Google
|
|
624
631
|
# Customize the options with defaults
|
625
632
|
call_metadata = @config.rpcs.invalidate_approval_request.metadata.to_h
|
626
633
|
|
627
|
-
# Set x-goog-api-client
|
634
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
628
635
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
629
636
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
630
637
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
631
638
|
transports_version_send: [:rest]
|
632
639
|
|
640
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
633
641
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
634
642
|
|
635
643
|
options.apply_defaults timeout: @config.rpcs.invalidate_approval_request.timeout,
|
@@ -703,12 +711,13 @@ module Google
|
|
703
711
|
# Customize the options with defaults
|
704
712
|
call_metadata = @config.rpcs.get_access_approval_settings.metadata.to_h
|
705
713
|
|
706
|
-
# Set x-goog-api-client
|
714
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
707
715
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
708
716
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
709
717
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
710
718
|
transports_version_send: [:rest]
|
711
719
|
|
720
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
712
721
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
713
722
|
|
714
723
|
options.apply_defaults timeout: @config.rpcs.get_access_approval_settings.timeout,
|
@@ -793,12 +802,13 @@ module Google
|
|
793
802
|
# Customize the options with defaults
|
794
803
|
call_metadata = @config.rpcs.update_access_approval_settings.metadata.to_h
|
795
804
|
|
796
|
-
# Set x-goog-api-client
|
805
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
797
806
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
798
807
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
799
808
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
800
809
|
transports_version_send: [:rest]
|
801
810
|
|
811
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
802
812
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
803
813
|
|
804
814
|
options.apply_defaults timeout: @config.rpcs.update_access_approval_settings.timeout,
|
@@ -876,12 +886,13 @@ module Google
|
|
876
886
|
# Customize the options with defaults
|
877
887
|
call_metadata = @config.rpcs.delete_access_approval_settings.metadata.to_h
|
878
888
|
|
879
|
-
# Set x-goog-api-client
|
889
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
880
890
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
881
891
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
882
892
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
883
893
|
transports_version_send: [:rest]
|
884
894
|
|
895
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
885
896
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
886
897
|
|
887
898
|
options.apply_defaults timeout: @config.rpcs.delete_access_approval_settings.timeout,
|
@@ -955,12 +966,13 @@ module Google
|
|
955
966
|
# Customize the options with defaults
|
956
967
|
call_metadata = @config.rpcs.get_access_approval_service_account.metadata.to_h
|
957
968
|
|
958
|
-
# Set x-goog-api-client
|
969
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
959
970
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
960
971
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
961
972
|
gapic_version: ::Google::Cloud::AccessApproval::V1::VERSION,
|
962
973
|
transports_version_send: [:rest]
|
963
974
|
|
975
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
964
976
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
965
977
|
|
966
978
|
options.apply_defaults timeout: @config.rpcs.get_access_approval_service_account.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-access_approval-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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|