google-apis-eventarc_v1 0.53.0 → 0.54.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: c05c95e2389058ff1c158a16408dafd3f95060cd21fd506b92d3cdd67cd64d08
4
- data.tar.gz: a4b1ebf0e6b99a8362ccd86e24656e8c528687c5d4e04983d9cba3013e7ad6a0
3
+ metadata.gz: c364d78fcff1ab3b45152a9b5198d2095a9602c6407b02e511565e017f8fda00
4
+ data.tar.gz: 01a36bef6d4e61b1fe16fe09ea2ee20cd33c49716033632090e95eacc0f8ec42
5
5
  SHA512:
6
- metadata.gz: 5c432d4cb1711171dd69722bd130dca641d62af7204278a8872a009059679ba0bb0c0f1caedcfb62cd0257ce71a6b3118a694ab910fb029ffc60d1afd2e17970
7
- data.tar.gz: 124db459c94248ca990be3975c52babacaa254bd1b2b00e9fa8fa558b52dd31d6fe3b25ff0a7e12c03279aaac9abf689a19b992e56f0cccf1f854cd83cf5c0ef
6
+ metadata.gz: a1c6efd5dbbd29e4ca0a56e0527ec5d4777e41e4e1f7b15e81bccd1d6f8da876983d512ecf27dfdf67a914ad7ad07dcb60d12b0f762ec1843687aa711dc0823e
7
+ data.tar.gz: 031c11f8dc7b8adbee597ff65822c602a139b6af10e73c1efe14d74701feefa31da195d923154b4f1f9bc758bf4da9b0b0dd20c45b46555c04b09edc762d76aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.54.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240913
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.53.0 (2024-05-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20240510
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module EventarcV1
18
18
  # Version of the google-apis-eventarc_v1 gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240510"
25
+ REVISION = "20240913"
26
26
  end
27
27
  end
28
28
  end
@@ -765,6 +765,369 @@ module Google
765
765
  execute_or_queue_command(command, &block)
766
766
  end
767
767
 
768
+ # Gets the access control policy for a resource. Returns an empty policy if the
769
+ # resource exists and does not have a policy set.
770
+ # @param [String] resource
771
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
772
+ # names](https://cloud.google.com/apis/design/resource_names) for the
773
+ # appropriate value for this field.
774
+ # @param [Fixnum] options_requested_policy_version
775
+ # Optional. The maximum policy version that will be used to format the policy.
776
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
777
+ # rejected. Requests for policies with any conditional role bindings must
778
+ # specify version 3. Policies with no conditional role bindings may specify any
779
+ # valid value or leave the field unset. The policy in the response might use the
780
+ # policy version that you specified, or it might use a lower policy version. For
781
+ # example, if you specify version 3, but the policy has no conditional role
782
+ # bindings, the response uses version 1. To learn which resources support
783
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
784
+ # google.com/iam/help/conditions/resource-policies).
785
+ # @param [String] fields
786
+ # Selector specifying which fields to include in a partial response.
787
+ # @param [String] quota_user
788
+ # Available to use for quota purposes for server-side applications. Can be any
789
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
790
+ # @param [Google::Apis::RequestOptions] options
791
+ # Request-specific options
792
+ #
793
+ # @yield [result, err] Result & error if block supplied
794
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
795
+ # @yieldparam err [StandardError] error object if request failed
796
+ #
797
+ # @return [Google::Apis::EventarcV1::Policy]
798
+ #
799
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
800
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
801
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
802
+ def get_project_location_enrollment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
803
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
804
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
805
+ command.response_class = Google::Apis::EventarcV1::Policy
806
+ command.params['resource'] = resource unless resource.nil?
807
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
808
+ command.query['fields'] = fields unless fields.nil?
809
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
810
+ execute_or_queue_command(command, &block)
811
+ end
812
+
813
+ # Sets the access control policy on the specified resource. Replaces any
814
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
815
+ # PERMISSION_DENIED` errors.
816
+ # @param [String] resource
817
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
818
+ # names](https://cloud.google.com/apis/design/resource_names) for the
819
+ # appropriate value for this field.
820
+ # @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
821
+ # @param [String] fields
822
+ # Selector specifying which fields to include in a partial response.
823
+ # @param [String] quota_user
824
+ # Available to use for quota purposes for server-side applications. Can be any
825
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
826
+ # @param [Google::Apis::RequestOptions] options
827
+ # Request-specific options
828
+ #
829
+ # @yield [result, err] Result & error if block supplied
830
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
831
+ # @yieldparam err [StandardError] error object if request failed
832
+ #
833
+ # @return [Google::Apis::EventarcV1::Policy]
834
+ #
835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
838
+ def set_enrollment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
839
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
840
+ command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
841
+ command.request_object = set_iam_policy_request_object
842
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
843
+ command.response_class = Google::Apis::EventarcV1::Policy
844
+ command.params['resource'] = resource unless resource.nil?
845
+ command.query['fields'] = fields unless fields.nil?
846
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
847
+ execute_or_queue_command(command, &block)
848
+ end
849
+
850
+ # Returns permissions that a caller has on the specified resource. If the
851
+ # resource does not exist, this will return an empty set of permissions, not a `
852
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
853
+ # permission-aware UIs and command-line tools, not for authorization checking.
854
+ # This operation may "fail open" without warning.
855
+ # @param [String] resource
856
+ # REQUIRED: The resource for which the policy detail is being requested. See [
857
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
858
+ # appropriate value for this field.
859
+ # @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
860
+ # @param [String] fields
861
+ # Selector specifying which fields to include in a partial response.
862
+ # @param [String] quota_user
863
+ # Available to use for quota purposes for server-side applications. Can be any
864
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
865
+ # @param [Google::Apis::RequestOptions] options
866
+ # Request-specific options
867
+ #
868
+ # @yield [result, err] Result & error if block supplied
869
+ # @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
870
+ # @yieldparam err [StandardError] error object if request failed
871
+ #
872
+ # @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
873
+ #
874
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
875
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
876
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
877
+ def test_enrollment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
878
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
879
+ command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
880
+ command.request_object = test_iam_permissions_request_object
881
+ command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
882
+ command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
883
+ command.params['resource'] = resource unless resource.nil?
884
+ command.query['fields'] = fields unless fields.nil?
885
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
886
+ execute_or_queue_command(command, &block)
887
+ end
888
+
889
+ # Gets the access control policy for a resource. Returns an empty policy if the
890
+ # resource exists and does not have a policy set.
891
+ # @param [String] resource
892
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
893
+ # names](https://cloud.google.com/apis/design/resource_names) for the
894
+ # appropriate value for this field.
895
+ # @param [Fixnum] options_requested_policy_version
896
+ # Optional. The maximum policy version that will be used to format the policy.
897
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
898
+ # rejected. Requests for policies with any conditional role bindings must
899
+ # specify version 3. Policies with no conditional role bindings may specify any
900
+ # valid value or leave the field unset. The policy in the response might use the
901
+ # policy version that you specified, or it might use a lower policy version. For
902
+ # example, if you specify version 3, but the policy has no conditional role
903
+ # bindings, the response uses version 1. To learn which resources support
904
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
905
+ # google.com/iam/help/conditions/resource-policies).
906
+ # @param [String] fields
907
+ # Selector specifying which fields to include in a partial response.
908
+ # @param [String] quota_user
909
+ # Available to use for quota purposes for server-side applications. Can be any
910
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
911
+ # @param [Google::Apis::RequestOptions] options
912
+ # Request-specific options
913
+ #
914
+ # @yield [result, err] Result & error if block supplied
915
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
916
+ # @yieldparam err [StandardError] error object if request failed
917
+ #
918
+ # @return [Google::Apis::EventarcV1::Policy]
919
+ #
920
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
921
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
922
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
923
+ def get_project_location_google_api_source_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
924
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
925
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
926
+ command.response_class = Google::Apis::EventarcV1::Policy
927
+ command.params['resource'] = resource unless resource.nil?
928
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
929
+ command.query['fields'] = fields unless fields.nil?
930
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
931
+ execute_or_queue_command(command, &block)
932
+ end
933
+
934
+ # Sets the access control policy on the specified resource. Replaces any
935
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
936
+ # PERMISSION_DENIED` errors.
937
+ # @param [String] resource
938
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
939
+ # names](https://cloud.google.com/apis/design/resource_names) for the
940
+ # appropriate value for this field.
941
+ # @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
942
+ # @param [String] fields
943
+ # Selector specifying which fields to include in a partial response.
944
+ # @param [String] quota_user
945
+ # Available to use for quota purposes for server-side applications. Can be any
946
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
947
+ # @param [Google::Apis::RequestOptions] options
948
+ # Request-specific options
949
+ #
950
+ # @yield [result, err] Result & error if block supplied
951
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
952
+ # @yieldparam err [StandardError] error object if request failed
953
+ #
954
+ # @return [Google::Apis::EventarcV1::Policy]
955
+ #
956
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
957
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
958
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
959
+ def set_google_api_source_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
960
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
961
+ command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
962
+ command.request_object = set_iam_policy_request_object
963
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
964
+ command.response_class = Google::Apis::EventarcV1::Policy
965
+ command.params['resource'] = resource unless resource.nil?
966
+ command.query['fields'] = fields unless fields.nil?
967
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
968
+ execute_or_queue_command(command, &block)
969
+ end
970
+
971
+ # Returns permissions that a caller has on the specified resource. If the
972
+ # resource does not exist, this will return an empty set of permissions, not a `
973
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
974
+ # permission-aware UIs and command-line tools, not for authorization checking.
975
+ # This operation may "fail open" without warning.
976
+ # @param [String] resource
977
+ # REQUIRED: The resource for which the policy detail is being requested. See [
978
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
979
+ # appropriate value for this field.
980
+ # @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
981
+ # @param [String] fields
982
+ # Selector specifying which fields to include in a partial response.
983
+ # @param [String] quota_user
984
+ # Available to use for quota purposes for server-side applications. Can be any
985
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
986
+ # @param [Google::Apis::RequestOptions] options
987
+ # Request-specific options
988
+ #
989
+ # @yield [result, err] Result & error if block supplied
990
+ # @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
991
+ # @yieldparam err [StandardError] error object if request failed
992
+ #
993
+ # @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
994
+ #
995
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
996
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
997
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
998
+ def test_google_api_source_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
999
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1000
+ command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
1001
+ command.request_object = test_iam_permissions_request_object
1002
+ command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
1003
+ command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
1004
+ command.params['resource'] = resource unless resource.nil?
1005
+ command.query['fields'] = fields unless fields.nil?
1006
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1007
+ execute_or_queue_command(command, &block)
1008
+ end
1009
+
1010
+ # Gets the access control policy for a resource. Returns an empty policy if the
1011
+ # resource exists and does not have a policy set.
1012
+ # @param [String] resource
1013
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1014
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1015
+ # appropriate value for this field.
1016
+ # @param [Fixnum] options_requested_policy_version
1017
+ # Optional. The maximum policy version that will be used to format the policy.
1018
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1019
+ # rejected. Requests for policies with any conditional role bindings must
1020
+ # specify version 3. Policies with no conditional role bindings may specify any
1021
+ # valid value or leave the field unset. The policy in the response might use the
1022
+ # policy version that you specified, or it might use a lower policy version. For
1023
+ # example, if you specify version 3, but the policy has no conditional role
1024
+ # bindings, the response uses version 1. To learn which resources support
1025
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1026
+ # google.com/iam/help/conditions/resource-policies).
1027
+ # @param [String] fields
1028
+ # Selector specifying which fields to include in a partial response.
1029
+ # @param [String] quota_user
1030
+ # Available to use for quota purposes for server-side applications. Can be any
1031
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1032
+ # @param [Google::Apis::RequestOptions] options
1033
+ # Request-specific options
1034
+ #
1035
+ # @yield [result, err] Result & error if block supplied
1036
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
1037
+ # @yieldparam err [StandardError] error object if request failed
1038
+ #
1039
+ # @return [Google::Apis::EventarcV1::Policy]
1040
+ #
1041
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1042
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1043
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1044
+ def get_project_location_message_bus_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1045
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1046
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
1047
+ command.response_class = Google::Apis::EventarcV1::Policy
1048
+ command.params['resource'] = resource unless resource.nil?
1049
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1050
+ command.query['fields'] = fields unless fields.nil?
1051
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1052
+ execute_or_queue_command(command, &block)
1053
+ end
1054
+
1055
+ # Sets the access control policy on the specified resource. Replaces any
1056
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1057
+ # PERMISSION_DENIED` errors.
1058
+ # @param [String] resource
1059
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1060
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1061
+ # appropriate value for this field.
1062
+ # @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
1063
+ # @param [String] fields
1064
+ # Selector specifying which fields to include in a partial response.
1065
+ # @param [String] quota_user
1066
+ # Available to use for quota purposes for server-side applications. Can be any
1067
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1068
+ # @param [Google::Apis::RequestOptions] options
1069
+ # Request-specific options
1070
+ #
1071
+ # @yield [result, err] Result & error if block supplied
1072
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
1073
+ # @yieldparam err [StandardError] error object if request failed
1074
+ #
1075
+ # @return [Google::Apis::EventarcV1::Policy]
1076
+ #
1077
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1078
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1079
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1080
+ def set_message_bus_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1081
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1082
+ command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
1083
+ command.request_object = set_iam_policy_request_object
1084
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
1085
+ command.response_class = Google::Apis::EventarcV1::Policy
1086
+ command.params['resource'] = resource unless resource.nil?
1087
+ command.query['fields'] = fields unless fields.nil?
1088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1089
+ execute_or_queue_command(command, &block)
1090
+ end
1091
+
1092
+ # Returns permissions that a caller has on the specified resource. If the
1093
+ # resource does not exist, this will return an empty set of permissions, not a `
1094
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1095
+ # permission-aware UIs and command-line tools, not for authorization checking.
1096
+ # This operation may "fail open" without warning.
1097
+ # @param [String] resource
1098
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1099
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1100
+ # appropriate value for this field.
1101
+ # @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1102
+ # @param [String] fields
1103
+ # Selector specifying which fields to include in a partial response.
1104
+ # @param [String] quota_user
1105
+ # Available to use for quota purposes for server-side applications. Can be any
1106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1107
+ # @param [Google::Apis::RequestOptions] options
1108
+ # Request-specific options
1109
+ #
1110
+ # @yield [result, err] Result & error if block supplied
1111
+ # @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
1112
+ # @yieldparam err [StandardError] error object if request failed
1113
+ #
1114
+ # @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
1115
+ #
1116
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1117
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1118
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1119
+ def test_message_bus_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1120
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1121
+ command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
1122
+ command.request_object = test_iam_permissions_request_object
1123
+ command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
1124
+ command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
1125
+ command.params['resource'] = resource unless resource.nil?
1126
+ command.query['fields'] = fields unless fields.nil?
1127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1128
+ execute_or_queue_command(command, &block)
1129
+ end
1130
+
768
1131
  # Starts asynchronous cancellation on a long-running operation. The server makes
769
1132
  # a best effort to cancel the operation, but success is not guaranteed. If the
770
1133
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -909,6 +1272,127 @@ module Google
909
1272
  execute_or_queue_command(command, &block)
910
1273
  end
911
1274
 
1275
+ # Gets the access control policy for a resource. Returns an empty policy if the
1276
+ # resource exists and does not have a policy set.
1277
+ # @param [String] resource
1278
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1279
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1280
+ # appropriate value for this field.
1281
+ # @param [Fixnum] options_requested_policy_version
1282
+ # Optional. The maximum policy version that will be used to format the policy.
1283
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1284
+ # rejected. Requests for policies with any conditional role bindings must
1285
+ # specify version 3. Policies with no conditional role bindings may specify any
1286
+ # valid value or leave the field unset. The policy in the response might use the
1287
+ # policy version that you specified, or it might use a lower policy version. For
1288
+ # example, if you specify version 3, but the policy has no conditional role
1289
+ # bindings, the response uses version 1. To learn which resources support
1290
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1291
+ # google.com/iam/help/conditions/resource-policies).
1292
+ # @param [String] fields
1293
+ # Selector specifying which fields to include in a partial response.
1294
+ # @param [String] quota_user
1295
+ # Available to use for quota purposes for server-side applications. Can be any
1296
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1297
+ # @param [Google::Apis::RequestOptions] options
1298
+ # Request-specific options
1299
+ #
1300
+ # @yield [result, err] Result & error if block supplied
1301
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
1302
+ # @yieldparam err [StandardError] error object if request failed
1303
+ #
1304
+ # @return [Google::Apis::EventarcV1::Policy]
1305
+ #
1306
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1307
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1308
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1309
+ def get_project_location_pipeline_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1310
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1311
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
1312
+ command.response_class = Google::Apis::EventarcV1::Policy
1313
+ command.params['resource'] = resource unless resource.nil?
1314
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1315
+ command.query['fields'] = fields unless fields.nil?
1316
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1317
+ execute_or_queue_command(command, &block)
1318
+ end
1319
+
1320
+ # Sets the access control policy on the specified resource. Replaces any
1321
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1322
+ # PERMISSION_DENIED` errors.
1323
+ # @param [String] resource
1324
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1325
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1326
+ # appropriate value for this field.
1327
+ # @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
1328
+ # @param [String] fields
1329
+ # Selector specifying which fields to include in a partial response.
1330
+ # @param [String] quota_user
1331
+ # Available to use for quota purposes for server-side applications. Can be any
1332
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1333
+ # @param [Google::Apis::RequestOptions] options
1334
+ # Request-specific options
1335
+ #
1336
+ # @yield [result, err] Result & error if block supplied
1337
+ # @yieldparam result [Google::Apis::EventarcV1::Policy] parsed result object
1338
+ # @yieldparam err [StandardError] error object if request failed
1339
+ #
1340
+ # @return [Google::Apis::EventarcV1::Policy]
1341
+ #
1342
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1343
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1344
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1345
+ def set_pipeline_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1346
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1347
+ command.request_representation = Google::Apis::EventarcV1::SetIamPolicyRequest::Representation
1348
+ command.request_object = set_iam_policy_request_object
1349
+ command.response_representation = Google::Apis::EventarcV1::Policy::Representation
1350
+ command.response_class = Google::Apis::EventarcV1::Policy
1351
+ command.params['resource'] = resource unless resource.nil?
1352
+ command.query['fields'] = fields unless fields.nil?
1353
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1354
+ execute_or_queue_command(command, &block)
1355
+ end
1356
+
1357
+ # Returns permissions that a caller has on the specified resource. If the
1358
+ # resource does not exist, this will return an empty set of permissions, not a `
1359
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1360
+ # permission-aware UIs and command-line tools, not for authorization checking.
1361
+ # This operation may "fail open" without warning.
1362
+ # @param [String] resource
1363
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1364
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1365
+ # appropriate value for this field.
1366
+ # @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1367
+ # @param [String] fields
1368
+ # Selector specifying which fields to include in a partial response.
1369
+ # @param [String] quota_user
1370
+ # Available to use for quota purposes for server-side applications. Can be any
1371
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1372
+ # @param [Google::Apis::RequestOptions] options
1373
+ # Request-specific options
1374
+ #
1375
+ # @yield [result, err] Result & error if block supplied
1376
+ # @yieldparam result [Google::Apis::EventarcV1::TestIamPermissionsResponse] parsed result object
1377
+ # @yieldparam err [StandardError] error object if request failed
1378
+ #
1379
+ # @return [Google::Apis::EventarcV1::TestIamPermissionsResponse]
1380
+ #
1381
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1382
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1383
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1384
+ def test_pipeline_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1385
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1386
+ command.request_representation = Google::Apis::EventarcV1::TestIamPermissionsRequest::Representation
1387
+ command.request_object = test_iam_permissions_request_object
1388
+ command.response_representation = Google::Apis::EventarcV1::TestIamPermissionsResponse::Representation
1389
+ command.response_class = Google::Apis::EventarcV1::TestIamPermissionsResponse
1390
+ command.params['resource'] = resource unless resource.nil?
1391
+ command.query['fields'] = fields unless fields.nil?
1392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1393
+ execute_or_queue_command(command, &block)
1394
+ end
1395
+
912
1396
  # Get a single Provider.
913
1397
  # @param [String] name
914
1398
  # Required. The name of the provider to get.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-eventarc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.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-05-19 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.54.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []