google-apis-networkconnectivity_v1alpha1 0.14.0 → 0.15.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: 79ac4536c22e75f1d4527400e7062bed9356a5f894531f23f9295effda5b2045
4
- data.tar.gz: fd4a6808c24b3cc15245d7e3a8a164f02b523c9b8a588c2210506369c989aa31
3
+ metadata.gz: 2aea8eebe96e1e37fac21884a9007f74ab63bc558dd487c6fa31d19cce42cbf0
4
+ data.tar.gz: edaeaef2233d2f6d79a9364884c84b61380325c7ed56ec50c8853efa500245d5
5
5
  SHA512:
6
- metadata.gz: 52103ea49894fb37f8b9d05cbe15d84b337910bb96af82fbab8c6f01a7be32bc5dde6a3c6165b97ad07d8e2b2c59c366c7accd9e41ec98fa02eb3475322a40bd
7
- data.tar.gz: 7c4f90bb5841aae362483041034cd51424d0918081a5bb00a530cef932641600554f00f4a82d0344eb0d41a656c5e5701779921667ae7e9d245b3f5421bdeac5
6
+ metadata.gz: 30e75b6ae5bc6eb67089bdfd63fcecadc439b8bdd6db11d04b1a3f8fead1ed3d52a66e572dab69f7bfe85feb4748278dd8bc09d93cfea6494e1fe5a85bb8c1af
7
+ data.tar.gz: 2f6785d3210340c61911cb035c5779e48f0ec4c9a4979c26ecd196a64df6d8f9b90511956c209492d4b6e26ce35c95d5a325d8db445f055a0cd987e896ed5c37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.15.0 (2022-04-12)
4
+
5
+ * Regenerated from discovery document revision 20220404
6
+
3
7
  ### v0.14.0 (2022-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20220321
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::NetworkconnectivityV1alpha1::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the principals requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Google Cloud resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -904,7 +904,7 @@ module Google
904
904
  include Google::Apis::Core::Hashable
905
905
 
906
906
  # The set of permissions to check for the `resource`. Permissions with wildcards
907
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
907
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
908
908
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
909
909
  # Corresponds to the JSON property `permissions`
910
910
  # @return [Array<String>]
@@ -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.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220321"
25
+ REVISION = "20220404"
26
26
  end
27
27
  end
28
28
  end
@@ -84,8 +84,8 @@ module Google
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
86
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
87
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
88
+ # in [AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
90
  # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
@@ -722,6 +722,242 @@ module Google
722
722
  execute_or_queue_command(command, &block)
723
723
  end
724
724
 
725
+ # Gets the access control policy for a resource. Returns an empty policy if the
726
+ # resource exists and does not have a policy set.
727
+ # @param [String] resource
728
+ # REQUIRED: The resource for which the policy is being requested. See the
729
+ # operation documentation for the appropriate value for this field.
730
+ # @param [Fixnum] options_requested_policy_version
731
+ # Optional. The maximum policy version that will be used to format the policy.
732
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
733
+ # rejected. Requests for policies with any conditional role bindings must
734
+ # specify version 3. Policies with no conditional role bindings may specify any
735
+ # valid value or leave the field unset. The policy in the response might use the
736
+ # policy version that you specified, or it might use a lower policy version. For
737
+ # example, if you specify version 3, but the policy has no conditional role
738
+ # bindings, the response uses version 1. To learn which resources support
739
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
740
+ # google.com/iam/help/conditions/resource-policies).
741
+ # @param [String] fields
742
+ # Selector specifying which fields to include in a partial response.
743
+ # @param [String] quota_user
744
+ # Available to use for quota purposes for server-side applications. Can be any
745
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
746
+ # @param [Google::Apis::RequestOptions] options
747
+ # Request-specific options
748
+ #
749
+ # @yield [result, err] Result & error if block supplied
750
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
751
+ # @yieldparam err [StandardError] error object if request failed
752
+ #
753
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
754
+ #
755
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
756
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
757
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
758
+ def get_project_location_service_connect_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
759
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
760
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
761
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
762
+ command.params['resource'] = resource unless resource.nil?
763
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
764
+ command.query['fields'] = fields unless fields.nil?
765
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
766
+ execute_or_queue_command(command, &block)
767
+ end
768
+
769
+ # Sets the access control policy on the specified resource. Replaces any
770
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
771
+ # PERMISSION_DENIED` errors.
772
+ # @param [String] resource
773
+ # REQUIRED: The resource for which the policy is being specified. See the
774
+ # operation documentation for the appropriate value for this field.
775
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
776
+ # @param [String] fields
777
+ # Selector specifying which fields to include in a partial response.
778
+ # @param [String] quota_user
779
+ # Available to use for quota purposes for server-side applications. Can be any
780
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
781
+ # @param [Google::Apis::RequestOptions] options
782
+ # Request-specific options
783
+ #
784
+ # @yield [result, err] Result & error if block supplied
785
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
786
+ # @yieldparam err [StandardError] error object if request failed
787
+ #
788
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
789
+ #
790
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
791
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
792
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
793
+ def set_service_connect_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
794
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
795
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
796
+ command.request_object = set_iam_policy_request_object
797
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
798
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
799
+ command.params['resource'] = resource unless resource.nil?
800
+ command.query['fields'] = fields unless fields.nil?
801
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
802
+ execute_or_queue_command(command, &block)
803
+ end
804
+
805
+ # Returns permissions that a caller has on the specified resource. If the
806
+ # resource does not exist, this will return an empty set of permissions, not a `
807
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
808
+ # permission-aware UIs and command-line tools, not for authorization checking.
809
+ # This operation may "fail open" without warning.
810
+ # @param [String] resource
811
+ # REQUIRED: The resource for which the policy detail is being requested. See the
812
+ # operation documentation for the appropriate value for this field.
813
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
814
+ # @param [String] fields
815
+ # Selector specifying which fields to include in a partial response.
816
+ # @param [String] quota_user
817
+ # Available to use for quota purposes for server-side applications. Can be any
818
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
819
+ # @param [Google::Apis::RequestOptions] options
820
+ # Request-specific options
821
+ #
822
+ # @yield [result, err] Result & error if block supplied
823
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
824
+ # @yieldparam err [StandardError] error object if request failed
825
+ #
826
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
827
+ #
828
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
829
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
830
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
831
+ def test_service_connect_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
832
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
833
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
834
+ command.request_object = test_iam_permissions_request_object
835
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
836
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
837
+ command.params['resource'] = resource unless resource.nil?
838
+ command.query['fields'] = fields unless fields.nil?
839
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
840
+ execute_or_queue_command(command, &block)
841
+ end
842
+
843
+ # Gets the access control policy for a resource. Returns an empty policy if the
844
+ # resource exists and does not have a policy set.
845
+ # @param [String] resource
846
+ # REQUIRED: The resource for which the policy is being requested. See the
847
+ # operation documentation for the appropriate value for this field.
848
+ # @param [Fixnum] options_requested_policy_version
849
+ # Optional. The maximum policy version that will be used to format the policy.
850
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
851
+ # rejected. Requests for policies with any conditional role bindings must
852
+ # specify version 3. Policies with no conditional role bindings may specify any
853
+ # valid value or leave the field unset. The policy in the response might use the
854
+ # policy version that you specified, or it might use a lower policy version. For
855
+ # example, if you specify version 3, but the policy has no conditional role
856
+ # bindings, the response uses version 1. To learn which resources support
857
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
858
+ # google.com/iam/help/conditions/resource-policies).
859
+ # @param [String] fields
860
+ # Selector specifying which fields to include in a partial response.
861
+ # @param [String] quota_user
862
+ # Available to use for quota purposes for server-side applications. Can be any
863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
864
+ # @param [Google::Apis::RequestOptions] options
865
+ # Request-specific options
866
+ #
867
+ # @yield [result, err] Result & error if block supplied
868
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
869
+ # @yieldparam err [StandardError] error object if request failed
870
+ #
871
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
872
+ #
873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
876
+ def get_project_location_service_instance_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
877
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
878
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
879
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
880
+ command.params['resource'] = resource unless resource.nil?
881
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
882
+ command.query['fields'] = fields unless fields.nil?
883
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
884
+ execute_or_queue_command(command, &block)
885
+ end
886
+
887
+ # Sets the access control policy on the specified resource. Replaces any
888
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
889
+ # PERMISSION_DENIED` errors.
890
+ # @param [String] resource
891
+ # REQUIRED: The resource for which the policy is being specified. See the
892
+ # operation documentation for the appropriate value for this field.
893
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
894
+ # @param [String] fields
895
+ # Selector specifying which fields to include in a partial response.
896
+ # @param [String] quota_user
897
+ # Available to use for quota purposes for server-side applications. Can be any
898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
899
+ # @param [Google::Apis::RequestOptions] options
900
+ # Request-specific options
901
+ #
902
+ # @yield [result, err] Result & error if block supplied
903
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
904
+ # @yieldparam err [StandardError] error object if request failed
905
+ #
906
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
907
+ #
908
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
909
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
910
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
911
+ def set_service_instance_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
912
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
913
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
914
+ command.request_object = set_iam_policy_request_object
915
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
916
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
917
+ command.params['resource'] = resource unless resource.nil?
918
+ command.query['fields'] = fields unless fields.nil?
919
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
920
+ execute_or_queue_command(command, &block)
921
+ end
922
+
923
+ # Returns permissions that a caller has on the specified resource. If the
924
+ # resource does not exist, this will return an empty set of permissions, not a `
925
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
926
+ # permission-aware UIs and command-line tools, not for authorization checking.
927
+ # This operation may "fail open" without warning.
928
+ # @param [String] resource
929
+ # REQUIRED: The resource for which the policy detail is being requested. See the
930
+ # operation documentation for the appropriate value for this field.
931
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
932
+ # @param [String] fields
933
+ # Selector specifying which fields to include in a partial response.
934
+ # @param [String] quota_user
935
+ # Available to use for quota purposes for server-side applications. Can be any
936
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
937
+ # @param [Google::Apis::RequestOptions] options
938
+ # Request-specific options
939
+ #
940
+ # @yield [result, err] Result & error if block supplied
941
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
942
+ # @yieldparam err [StandardError] error object if request failed
943
+ #
944
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
945
+ #
946
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
947
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
948
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
949
+ def test_service_instance_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
950
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
951
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
952
+ command.request_object = test_iam_permissions_request_object
953
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
954
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
955
+ command.params['resource'] = resource unless resource.nil?
956
+ command.query['fields'] = fields unless fields.nil?
957
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
958
+ execute_or_queue_command(command, &block)
959
+ end
960
+
725
961
  # Creates a new Spoke in a given project and location.
726
962
  # @param [String] parent
727
963
  # 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.14.0
4
+ version: 0.15.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-04-18 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-networkconnectivity_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.15.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: []