google-apis-networkconnectivity_v1alpha1 0.15.0 → 0.18.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: d4c2fe0ab59f13d67776b73f45756b8ef09999c54ab444047517f1e9cb7f14bc
|
4
|
+
data.tar.gz: 449ead55b307afde792901bcb94cbfbd85787b19a979b0b6b5f4da66974a2c21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d2f2848357258c2a23bd976338278c6213d2a3b0ab1385d5e24a9bd0697d1032328626020404e4c4b42f4f33bdf50ece11b23b164a8455ca8b0f33f4bcb7860
|
7
|
+
data.tar.gz: 61eabb58513e1eccab8ebbcada0d8b4bc122cc8fc67fa432b0394e962fa1b3c88dd68bfa966cadc3d345352810e9777de8454bdbe5cbf8d0066ed3dde7d4b326
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.18.0 (2022-06-02)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.17.0 (2022-05-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220505
|
10
|
+
|
11
|
+
### v0.16.0 (2022-04-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220426
|
14
|
+
|
3
15
|
### v0.15.0 (2022-04-12)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220404
|
@@ -35,8 +35,8 @@ module Google
|
|
35
35
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
36
36
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
37
37
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
38
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
39
|
-
# DATA_WRITE logging.
|
38
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
39
|
+
# from DATA_WRITE logging.
|
40
40
|
class AuditConfig
|
41
41
|
include Google::Apis::Core::Hashable
|
42
42
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.18.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 = "
|
25
|
+
REVISION = "20220505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -122,6 +122,127 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
126
|
+
# resource exists and does not have a policy set.
|
127
|
+
# @param [String] resource
|
128
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
129
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
130
|
+
# appropriate value for this field.
|
131
|
+
# @param [Fixnum] options_requested_policy_version
|
132
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
133
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
134
|
+
# rejected. Requests for policies with any conditional role bindings must
|
135
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
136
|
+
# valid value or leave the field unset. The policy in the response might use the
|
137
|
+
# policy version that you specified, or it might use a lower policy version. For
|
138
|
+
# example, if you specify version 3, but the policy has no conditional role
|
139
|
+
# bindings, the response uses version 1. To learn which resources support
|
140
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
141
|
+
# google.com/iam/help/conditions/resource-policies).
|
142
|
+
# @param [String] fields
|
143
|
+
# Selector specifying which fields to include in a partial response.
|
144
|
+
# @param [String] quota_user
|
145
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
146
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
147
|
+
# @param [Google::Apis::RequestOptions] options
|
148
|
+
# Request-specific options
|
149
|
+
#
|
150
|
+
# @yield [result, err] Result & error if block supplied
|
151
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
152
|
+
# @yieldparam err [StandardError] error object if request failed
|
153
|
+
#
|
154
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
155
|
+
#
|
156
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
157
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
158
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
159
|
+
def get_project_location_connection_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
160
|
+
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
161
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
162
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
163
|
+
command.params['resource'] = resource unless resource.nil?
|
164
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
165
|
+
command.query['fields'] = fields unless fields.nil?
|
166
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
167
|
+
execute_or_queue_command(command, &block)
|
168
|
+
end
|
169
|
+
|
170
|
+
# Sets the access control policy on the specified resource. Replaces any
|
171
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
172
|
+
# PERMISSION_DENIED` errors.
|
173
|
+
# @param [String] resource
|
174
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
175
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
176
|
+
# appropriate value for this field.
|
177
|
+
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
178
|
+
# @param [String] fields
|
179
|
+
# Selector specifying which fields to include in a partial response.
|
180
|
+
# @param [String] quota_user
|
181
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
182
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
183
|
+
# @param [Google::Apis::RequestOptions] options
|
184
|
+
# Request-specific options
|
185
|
+
#
|
186
|
+
# @yield [result, err] Result & error if block supplied
|
187
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
188
|
+
# @yieldparam err [StandardError] error object if request failed
|
189
|
+
#
|
190
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
191
|
+
#
|
192
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
193
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
194
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
195
|
+
def set_connection_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
196
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
197
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
|
198
|
+
command.request_object = set_iam_policy_request_object
|
199
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
200
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
201
|
+
command.params['resource'] = resource unless resource.nil?
|
202
|
+
command.query['fields'] = fields unless fields.nil?
|
203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
204
|
+
execute_or_queue_command(command, &block)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Returns permissions that a caller has on the specified resource. If the
|
208
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
209
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
210
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
211
|
+
# This operation may "fail open" without warning.
|
212
|
+
# @param [String] resource
|
213
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
214
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
215
|
+
# appropriate value for this field.
|
216
|
+
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
217
|
+
# @param [String] fields
|
218
|
+
# Selector specifying which fields to include in a partial response.
|
219
|
+
# @param [String] quota_user
|
220
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
221
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
222
|
+
# @param [Google::Apis::RequestOptions] options
|
223
|
+
# Request-specific options
|
224
|
+
#
|
225
|
+
# @yield [result, err] Result & error if block supplied
|
226
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
227
|
+
# @yieldparam err [StandardError] error object if request failed
|
228
|
+
#
|
229
|
+
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
230
|
+
#
|
231
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
232
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
233
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
234
|
+
def test_connection_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
235
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
236
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
|
237
|
+
command.request_object = test_iam_permissions_request_object
|
238
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
|
239
|
+
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
|
240
|
+
command.params['resource'] = resource unless resource.nil?
|
241
|
+
command.query['fields'] = fields unless fields.nil?
|
242
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
243
|
+
execute_or_queue_command(command, &block)
|
244
|
+
end
|
245
|
+
|
125
246
|
# Creates a new Hub in a given project and location.
|
126
247
|
# @param [String] parent
|
127
248
|
# Required. The parent resource's name of the Hub.
|
@@ -245,8 +366,9 @@ module Google
|
|
245
366
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
246
367
|
# resource exists and does not have a policy set.
|
247
368
|
# @param [String] resource
|
248
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
249
|
-
#
|
369
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
370
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
371
|
+
# appropriate value for this field.
|
250
372
|
# @param [Fixnum] options_requested_policy_version
|
251
373
|
# Optional. The maximum policy version that will be used to format the policy.
|
252
374
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -384,8 +506,9 @@ module Google
|
|
384
506
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
385
507
|
# PERMISSION_DENIED` errors.
|
386
508
|
# @param [String] resource
|
387
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
388
|
-
#
|
509
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
510
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
511
|
+
# appropriate value for this field.
|
389
512
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
390
513
|
# @param [String] fields
|
391
514
|
# Selector specifying which fields to include in a partial response.
|
@@ -422,8 +545,9 @@ module Google
|
|
422
545
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
423
546
|
# This operation may "fail open" without warning.
|
424
547
|
# @param [String] resource
|
425
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
426
|
-
#
|
548
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
549
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
550
|
+
# appropriate value for this field.
|
427
551
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
428
552
|
# @param [String] fields
|
429
553
|
# Selector specifying which fields to include in a partial response.
|
@@ -457,8 +581,9 @@ module Google
|
|
457
581
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
458
582
|
# resource exists and does not have a policy set.
|
459
583
|
# @param [String] resource
|
460
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
461
|
-
#
|
584
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
585
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
586
|
+
# appropriate value for this field.
|
462
587
|
# @param [Fixnum] options_requested_policy_version
|
463
588
|
# Optional. The maximum policy version that will be used to format the policy.
|
464
589
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -502,8 +627,9 @@ module Google
|
|
502
627
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
503
628
|
# PERMISSION_DENIED` errors.
|
504
629
|
# @param [String] resource
|
505
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
506
|
-
#
|
630
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
631
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
632
|
+
# appropriate value for this field.
|
507
633
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
508
634
|
# @param [String] fields
|
509
635
|
# Selector specifying which fields to include in a partial response.
|
@@ -540,8 +666,9 @@ module Google
|
|
540
666
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
541
667
|
# This operation may "fail open" without warning.
|
542
668
|
# @param [String] resource
|
543
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
544
|
-
#
|
669
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
670
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
671
|
+
# appropriate value for this field.
|
545
672
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
546
673
|
# @param [String] fields
|
547
674
|
# Selector specifying which fields to include in a partial response.
|
@@ -725,126 +852,9 @@ module Google
|
|
725
852
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
726
853
|
# resource exists and does not have a policy set.
|
727
854
|
# @param [String] resource
|
728
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
729
|
-
#
|
730
|
-
#
|
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.
|
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.
|
848
858
|
# @param [Fixnum] options_requested_policy_version
|
849
859
|
# Optional. The maximum policy version that will be used to format the policy.
|
850
860
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -888,8 +898,9 @@ module Google
|
|
888
898
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
889
899
|
# PERMISSION_DENIED` errors.
|
890
900
|
# @param [String] resource
|
891
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
892
|
-
#
|
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.
|
893
904
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
894
905
|
# @param [String] fields
|
895
906
|
# Selector specifying which fields to include in a partial response.
|
@@ -926,8 +937,9 @@ module Google
|
|
926
937
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
927
938
|
# This operation may "fail open" without warning.
|
928
939
|
# @param [String] resource
|
929
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
930
|
-
#
|
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.
|
931
943
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
932
944
|
# @param [String] fields
|
933
945
|
# Selector specifying which fields to include in a partial response.
|
@@ -1081,8 +1093,9 @@ module Google
|
|
1081
1093
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
1082
1094
|
# resource exists and does not have a policy set.
|
1083
1095
|
# @param [String] resource
|
1084
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
1085
|
-
#
|
1096
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1097
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1098
|
+
# appropriate value for this field.
|
1086
1099
|
# @param [Fixnum] options_requested_policy_version
|
1087
1100
|
# Optional. The maximum policy version that will be used to format the policy.
|
1088
1101
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1220,8 +1233,9 @@ module Google
|
|
1220
1233
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1221
1234
|
# PERMISSION_DENIED` errors.
|
1222
1235
|
# @param [String] resource
|
1223
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1224
|
-
#
|
1236
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1237
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1238
|
+
# appropriate value for this field.
|
1225
1239
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
1226
1240
|
# @param [String] fields
|
1227
1241
|
# Selector specifying which fields to include in a partial response.
|
@@ -1258,8 +1272,9 @@ module Google
|
|
1258
1272
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1259
1273
|
# This operation may "fail open" without warning.
|
1260
1274
|
# @param [String] resource
|
1261
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1262
|
-
#
|
1275
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1276
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1277
|
+
# appropriate value for this field.
|
1263
1278
|
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1264
1279
|
# @param [String] fields
|
1265
1280
|
# Selector specifying which fields to include in a partial response.
|
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.
|
4
|
+
version: 0.18.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-
|
11
|
+
date: 2022-06-13 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.
|
19
|
+
version: '0.5'
|
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.
|
29
|
+
version: '0.5'
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.18.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Network Connectivity API V1alpha1
|