google-apis-networkconnectivity_v1alpha1 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a34c680bb7f97033f405e87effb136883c9e9a31e86a4523e9f501dc72b37ed4
4
- data.tar.gz: 9e5335094466d353d71da09444b6535d8c5a1b4cea94fef6d56501ae6b89f460
3
+ metadata.gz: cc20710595bcef40ac912a1bc4b5e48b0bdb43838e6251250df3095620660499
4
+ data.tar.gz: e8f7ebecbd93f1330fcfe7a5f9f9b09a94fafa63d9649e70f28d54e1f61aba43
5
5
  SHA512:
6
- metadata.gz: a5c17d758f3bf61824a8b2f89d5bc65a389ab27ae20059e853c777f81c74d300dfc29088f727d5739000569b83cd47075f0d609cf5a83054d88c24a74073b01c
7
- data.tar.gz: 63b5a7e42b6e49630a02d6dbfa48ed8444206ee3e70bf7db5ef1c7d800c2e8989e26dbbbc1360dc71f8ebdb05cdb79e75233da20417c080075cc5688485a85dc
6
+ metadata.gz: 5e5305a03a563588958b4bb0b53e887eadad73a730492746e135956168bc8f41b4849439ea0305b74392c4da8683ad2db8ca17c4549765385584bf3b337427ce
7
+ data.tar.gz: a2d00e9a747233e2a7a6090aec938e16ffa64fa3cf67a9bfe93b830121d722320d18876eca473dd1d7f0df623cf98feee56ba70942f23f7cd6b6d8f0cf46d409
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.26.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221031
6
+
7
+ ### v0.25.0 (2022-10-27)
8
+
9
+ * Regenerated using generator version 0.11.0
10
+
3
11
  ### v0.24.0 (2022-09-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20220919
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkconnectivityV1alpha1
18
18
  # Version of the google-apis-networkconnectivity_v1alpha1 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220919"
25
+ REVISION = "20221031"
26
26
  end
27
27
  end
28
28
  end
@@ -728,369 +728,6 @@ module Google
728
728
  execute_or_queue_command(command, &block)
729
729
  end
730
730
 
731
- # Gets the access control policy for a resource. Returns an empty policy if the
732
- # resource exists and does not have a policy set.
733
- # @param [String] resource
734
- # REQUIRED: The resource for which the policy is being requested. See [Resource
735
- # names](https://cloud.google.com/apis/design/resource_names) for the
736
- # appropriate value for this field.
737
- # @param [Fixnum] options_requested_policy_version
738
- # Optional. The maximum policy version that will be used to format the policy.
739
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
740
- # rejected. Requests for policies with any conditional role bindings must
741
- # specify version 3. Policies with no conditional role bindings may specify any
742
- # valid value or leave the field unset. The policy in the response might use the
743
- # policy version that you specified, or it might use a lower policy version. For
744
- # example, if you specify version 3, but the policy has no conditional role
745
- # bindings, the response uses version 1. To learn which resources support
746
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
747
- # google.com/iam/help/conditions/resource-policies).
748
- # @param [String] fields
749
- # Selector specifying which fields to include in a partial response.
750
- # @param [String] quota_user
751
- # Available to use for quota purposes for server-side applications. Can be any
752
- # arbitrary string assigned to a user, but should not exceed 40 characters.
753
- # @param [Google::Apis::RequestOptions] options
754
- # Request-specific options
755
- #
756
- # @yield [result, err] Result & error if block supplied
757
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
758
- # @yieldparam err [StandardError] error object if request failed
759
- #
760
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
761
- #
762
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
763
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
764
- # @raise [Google::Apis::AuthorizationError] Authorization is required
765
- def get_project_location_service_class_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
766
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
767
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
768
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
769
- command.params['resource'] = resource unless resource.nil?
770
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
771
- command.query['fields'] = fields unless fields.nil?
772
- command.query['quotaUser'] = quota_user unless quota_user.nil?
773
- execute_or_queue_command(command, &block)
774
- end
775
-
776
- # Sets the access control policy on the specified resource. Replaces any
777
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
778
- # PERMISSION_DENIED` errors.
779
- # @param [String] resource
780
- # REQUIRED: The resource for which the policy is being specified. See [Resource
781
- # names](https://cloud.google.com/apis/design/resource_names) for the
782
- # appropriate value for this field.
783
- # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
784
- # @param [String] fields
785
- # Selector specifying which fields to include in a partial response.
786
- # @param [String] quota_user
787
- # Available to use for quota purposes for server-side applications. Can be any
788
- # arbitrary string assigned to a user, but should not exceed 40 characters.
789
- # @param [Google::Apis::RequestOptions] options
790
- # Request-specific options
791
- #
792
- # @yield [result, err] Result & error if block supplied
793
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
794
- # @yieldparam err [StandardError] error object if request failed
795
- #
796
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
797
- #
798
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
- # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- def set_service_class_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
802
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
803
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
804
- command.request_object = set_iam_policy_request_object
805
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
806
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
807
- command.params['resource'] = resource unless resource.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
- # Returns permissions that a caller has on the specified resource. If the
814
- # resource does not exist, this will return an empty set of permissions, not a `
815
- # NOT_FOUND` error. Note: This operation is designed to be used for building
816
- # permission-aware UIs and command-line tools, not for authorization checking.
817
- # This operation may "fail open" without warning.
818
- # @param [String] resource
819
- # REQUIRED: The resource for which the policy detail is being requested. See [
820
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
821
- # appropriate value for this field.
822
- # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
823
- # @param [String] fields
824
- # Selector specifying which fields to include in a partial response.
825
- # @param [String] quota_user
826
- # Available to use for quota purposes for server-side applications. Can be any
827
- # arbitrary string assigned to a user, but should not exceed 40 characters.
828
- # @param [Google::Apis::RequestOptions] options
829
- # Request-specific options
830
- #
831
- # @yield [result, err] Result & error if block supplied
832
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
833
- # @yieldparam err [StandardError] error object if request failed
834
- #
835
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
836
- #
837
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
838
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
839
- # @raise [Google::Apis::AuthorizationError] Authorization is required
840
- def test_service_class_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
841
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
842
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
843
- command.request_object = test_iam_permissions_request_object
844
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
845
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
846
- command.params['resource'] = resource unless resource.nil?
847
- command.query['fields'] = fields unless fields.nil?
848
- command.query['quotaUser'] = quota_user unless quota_user.nil?
849
- execute_or_queue_command(command, &block)
850
- end
851
-
852
- # Gets the access control policy for a resource. Returns an empty policy if the
853
- # resource exists and does not have a policy set.
854
- # @param [String] resource
855
- # REQUIRED: The resource for which the policy is being requested. See [Resource
856
- # names](https://cloud.google.com/apis/design/resource_names) for the
857
- # appropriate value for this field.
858
- # @param [Fixnum] options_requested_policy_version
859
- # Optional. The maximum policy version that will be used to format the policy.
860
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
861
- # rejected. Requests for policies with any conditional role bindings must
862
- # specify version 3. Policies with no conditional role bindings may specify any
863
- # valid value or leave the field unset. The policy in the response might use the
864
- # policy version that you specified, or it might use a lower policy version. For
865
- # example, if you specify version 3, but the policy has no conditional role
866
- # bindings, the response uses version 1. To learn which resources support
867
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
868
- # google.com/iam/help/conditions/resource-policies).
869
- # @param [String] fields
870
- # Selector specifying which fields to include in a partial response.
871
- # @param [String] quota_user
872
- # Available to use for quota purposes for server-side applications. Can be any
873
- # arbitrary string assigned to a user, but should not exceed 40 characters.
874
- # @param [Google::Apis::RequestOptions] options
875
- # Request-specific options
876
- #
877
- # @yield [result, err] Result & error if block supplied
878
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
879
- # @yieldparam err [StandardError] error object if request failed
880
- #
881
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
882
- #
883
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
884
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
885
- # @raise [Google::Apis::AuthorizationError] Authorization is required
886
- def get_project_location_service_connection_map_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
887
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
888
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
889
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
890
- command.params['resource'] = resource unless resource.nil?
891
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
892
- command.query['fields'] = fields unless fields.nil?
893
- command.query['quotaUser'] = quota_user unless quota_user.nil?
894
- execute_or_queue_command(command, &block)
895
- end
896
-
897
- # Sets the access control policy on the specified resource. Replaces any
898
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
899
- # PERMISSION_DENIED` errors.
900
- # @param [String] resource
901
- # REQUIRED: The resource for which the policy is being specified. See [Resource
902
- # names](https://cloud.google.com/apis/design/resource_names) for the
903
- # appropriate value for this field.
904
- # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
905
- # @param [String] fields
906
- # Selector specifying which fields to include in a partial response.
907
- # @param [String] quota_user
908
- # Available to use for quota purposes for server-side applications. Can be any
909
- # arbitrary string assigned to a user, but should not exceed 40 characters.
910
- # @param [Google::Apis::RequestOptions] options
911
- # Request-specific options
912
- #
913
- # @yield [result, err] Result & error if block supplied
914
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
915
- # @yieldparam err [StandardError] error object if request failed
916
- #
917
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
918
- #
919
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
920
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
921
- # @raise [Google::Apis::AuthorizationError] Authorization is required
922
- def set_service_connection_map_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
923
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
924
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
925
- command.request_object = set_iam_policy_request_object
926
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
927
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
928
- command.params['resource'] = resource unless resource.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
- # Returns permissions that a caller has on the specified resource. If the
935
- # resource does not exist, this will return an empty set of permissions, not a `
936
- # NOT_FOUND` error. Note: This operation is designed to be used for building
937
- # permission-aware UIs and command-line tools, not for authorization checking.
938
- # This operation may "fail open" without warning.
939
- # @param [String] resource
940
- # REQUIRED: The resource for which the policy detail is being requested. See [
941
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
942
- # appropriate value for this field.
943
- # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
944
- # @param [String] fields
945
- # Selector specifying which fields to include in a partial response.
946
- # @param [String] quota_user
947
- # Available to use for quota purposes for server-side applications. Can be any
948
- # arbitrary string assigned to a user, but should not exceed 40 characters.
949
- # @param [Google::Apis::RequestOptions] options
950
- # Request-specific options
951
- #
952
- # @yield [result, err] Result & error if block supplied
953
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
954
- # @yieldparam err [StandardError] error object if request failed
955
- #
956
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
957
- #
958
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
959
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
960
- # @raise [Google::Apis::AuthorizationError] Authorization is required
961
- def test_service_connection_map_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
962
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
963
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
964
- command.request_object = test_iam_permissions_request_object
965
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
966
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
967
- command.params['resource'] = resource unless resource.nil?
968
- command.query['fields'] = fields unless fields.nil?
969
- command.query['quotaUser'] = quota_user unless quota_user.nil?
970
- execute_or_queue_command(command, &block)
971
- end
972
-
973
- # Gets the access control policy for a resource. Returns an empty policy if the
974
- # resource exists and does not have a policy set.
975
- # @param [String] resource
976
- # REQUIRED: The resource for which the policy is being requested. See [Resource
977
- # names](https://cloud.google.com/apis/design/resource_names) for the
978
- # appropriate value for this field.
979
- # @param [Fixnum] options_requested_policy_version
980
- # Optional. The maximum policy version that will be used to format the policy.
981
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
982
- # rejected. Requests for policies with any conditional role bindings must
983
- # specify version 3. Policies with no conditional role bindings may specify any
984
- # valid value or leave the field unset. The policy in the response might use the
985
- # policy version that you specified, or it might use a lower policy version. For
986
- # example, if you specify version 3, but the policy has no conditional role
987
- # bindings, the response uses version 1. To learn which resources support
988
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
989
- # google.com/iam/help/conditions/resource-policies).
990
- # @param [String] fields
991
- # Selector specifying which fields to include in a partial response.
992
- # @param [String] quota_user
993
- # Available to use for quota purposes for server-side applications. Can be any
994
- # arbitrary string assigned to a user, but should not exceed 40 characters.
995
- # @param [Google::Apis::RequestOptions] options
996
- # Request-specific options
997
- #
998
- # @yield [result, err] Result & error if block supplied
999
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
1000
- # @yieldparam err [StandardError] error object if request failed
1001
- #
1002
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
1003
- #
1004
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1005
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1006
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1007
- def get_project_location_service_connection_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1008
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
1009
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
1010
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
1011
- command.params['resource'] = resource unless resource.nil?
1012
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1013
- command.query['fields'] = fields unless fields.nil?
1014
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1015
- execute_or_queue_command(command, &block)
1016
- end
1017
-
1018
- # Sets the access control policy on the specified resource. Replaces any
1019
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1020
- # PERMISSION_DENIED` errors.
1021
- # @param [String] resource
1022
- # REQUIRED: The resource for which the policy is being specified. See [Resource
1023
- # names](https://cloud.google.com/apis/design/resource_names) for the
1024
- # appropriate value for this field.
1025
- # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
1026
- # @param [String] fields
1027
- # Selector specifying which fields to include in a partial response.
1028
- # @param [String] quota_user
1029
- # Available to use for quota purposes for server-side applications. Can be any
1030
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1031
- # @param [Google::Apis::RequestOptions] options
1032
- # Request-specific options
1033
- #
1034
- # @yield [result, err] Result & error if block supplied
1035
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
1036
- # @yieldparam err [StandardError] error object if request failed
1037
- #
1038
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
1039
- #
1040
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1041
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1042
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1043
- def set_service_connection_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1044
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
1045
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
1046
- command.request_object = set_iam_policy_request_object
1047
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
1048
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
1049
- command.params['resource'] = resource unless resource.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
- # Returns permissions that a caller has on the specified resource. If the
1056
- # resource does not exist, this will return an empty set of permissions, not a `
1057
- # NOT_FOUND` error. Note: This operation is designed to be used for building
1058
- # permission-aware UIs and command-line tools, not for authorization checking.
1059
- # This operation may "fail open" without warning.
1060
- # @param [String] resource
1061
- # REQUIRED: The resource for which the policy detail is being requested. See [
1062
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1063
- # appropriate value for this field.
1064
- # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
1065
- # @param [String] fields
1066
- # Selector specifying which fields to include in a partial response.
1067
- # @param [String] quota_user
1068
- # Available to use for quota purposes for server-side applications. Can be any
1069
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1070
- # @param [Google::Apis::RequestOptions] options
1071
- # Request-specific options
1072
- #
1073
- # @yield [result, err] Result & error if block supplied
1074
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
1075
- # @yieldparam err [StandardError] error object if request failed
1076
- #
1077
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
1078
- #
1079
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1080
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
- def test_service_connection_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1083
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
1084
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
1085
- command.request_object = test_iam_permissions_request_object
1086
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
1087
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
1088
- command.params['resource'] = resource unless resource.nil?
1089
- command.query['fields'] = fields unless fields.nil?
1090
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1091
- execute_or_queue_command(command, &block)
1092
- end
1093
-
1094
731
  # Creates a Network Connectivity Center spoke.
1095
732
  # @param [String] parent
1096
733
  # Required. The parent's resource name of the Spoke.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-networkconnectivity_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []