google-apis-beyondcorp_v1 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,248 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Gets the access control policy for a resource. Returns an empty policy if the
56
+ # resource exists and does not have a policy set.
57
+ # @param [String] resource
58
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
59
+ # names](https://cloud.google.com/apis/design/resource_names) for the
60
+ # appropriate value for this field.
61
+ # @param [Fixnum] options_requested_policy_version
62
+ # Optional. The maximum policy version that will be used to format the policy.
63
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
64
+ # rejected. Requests for policies with any conditional role bindings must
65
+ # specify version 3. Policies with no conditional role bindings may specify any
66
+ # valid value or leave the field unset. The policy in the response might use the
67
+ # policy version that you specified, or it might use a lower policy version. For
68
+ # example, if you specify version 3, but the policy has no conditional role
69
+ # bindings, the response uses version 1. To learn which resources support
70
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
71
+ # google.com/iam/help/conditions/resource-policies).
72
+ # @param [String] fields
73
+ # Selector specifying which fields to include in a partial response.
74
+ # @param [String] quota_user
75
+ # Available to use for quota purposes for server-side applications. Can be any
76
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
77
+ # @param [Google::Apis::RequestOptions] options
78
+ # Request-specific options
79
+ #
80
+ # @yield [result, err] Result & error if block supplied
81
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
82
+ # @yieldparam err [StandardError] error object if request failed
83
+ #
84
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
85
+ #
86
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
87
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
88
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
89
+ def get_organization_location_global_tenant_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
90
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
91
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
92
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
93
+ command.params['resource'] = resource unless resource.nil?
94
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
95
+ command.query['fields'] = fields unless fields.nil?
96
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
97
+ execute_or_queue_command(command, &block)
98
+ end
99
+
100
+ # Sets the access control policy on the specified resource. Replaces any
101
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
102
+ # PERMISSION_DENIED` errors.
103
+ # @param [String] resource
104
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
105
+ # names](https://cloud.google.com/apis/design/resource_names) for the
106
+ # appropriate value for this field.
107
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
108
+ # @param [String] fields
109
+ # Selector specifying which fields to include in a partial response.
110
+ # @param [String] quota_user
111
+ # Available to use for quota purposes for server-side applications. Can be any
112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
113
+ # @param [Google::Apis::RequestOptions] options
114
+ # Request-specific options
115
+ #
116
+ # @yield [result, err] Result & error if block supplied
117
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
118
+ # @yieldparam err [StandardError] error object if request failed
119
+ #
120
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
121
+ #
122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
125
+ def set_organization_location_global_tenant_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
126
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
127
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
128
+ command.request_object = google_iam_v1_set_iam_policy_request_object
129
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
130
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
131
+ command.params['resource'] = resource unless resource.nil?
132
+ command.query['fields'] = fields unless fields.nil?
133
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
134
+ execute_or_queue_command(command, &block)
135
+ end
136
+
137
+ # Returns permissions that a caller has on the specified resource. If the
138
+ # resource does not exist, this will return an empty set of permissions, not a `
139
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
140
+ # permission-aware UIs and command-line tools, not for authorization checking.
141
+ # This operation may "fail open" without warning.
142
+ # @param [String] resource
143
+ # REQUIRED: The resource for which the policy detail is being requested. See [
144
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
145
+ # appropriate value for this field.
146
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
147
+ # @param [String] fields
148
+ # Selector specifying which fields to include in a partial response.
149
+ # @param [String] quota_user
150
+ # Available to use for quota purposes for server-side applications. Can be any
151
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
152
+ # @param [Google::Apis::RequestOptions] options
153
+ # Request-specific options
154
+ #
155
+ # @yield [result, err] Result & error if block supplied
156
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
157
+ # @yieldparam err [StandardError] error object if request failed
158
+ #
159
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
160
+ #
161
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
162
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
164
+ def test_organization_location_global_tenant_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
165
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
166
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
167
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
168
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
169
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
170
+ command.params['resource'] = resource unless resource.nil?
171
+ command.query['fields'] = fields unless fields.nil?
172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
173
+ execute_or_queue_command(command, &block)
174
+ end
175
+
176
+ # Gets the access control policy for a resource. Returns an empty policy if the
177
+ # resource exists and does not have a policy set.
178
+ # @param [String] resource
179
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
180
+ # names](https://cloud.google.com/apis/design/resource_names) for the
181
+ # appropriate value for this field.
182
+ # @param [Fixnum] options_requested_policy_version
183
+ # Optional. The maximum policy version that will be used to format the policy.
184
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
185
+ # rejected. Requests for policies with any conditional role bindings must
186
+ # specify version 3. Policies with no conditional role bindings may specify any
187
+ # valid value or leave the field unset. The policy in the response might use the
188
+ # policy version that you specified, or it might use a lower policy version. For
189
+ # example, if you specify version 3, but the policy has no conditional role
190
+ # bindings, the response uses version 1. To learn which resources support
191
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
192
+ # google.com/iam/help/conditions/resource-policies).
193
+ # @param [String] fields
194
+ # Selector specifying which fields to include in a partial response.
195
+ # @param [String] quota_user
196
+ # Available to use for quota purposes for server-side applications. Can be any
197
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
198
+ # @param [Google::Apis::RequestOptions] options
199
+ # Request-specific options
200
+ #
201
+ # @yield [result, err] Result & error if block supplied
202
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
203
+ # @yieldparam err [StandardError] error object if request failed
204
+ #
205
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
206
+ #
207
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
208
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
209
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
210
+ def get_organization_location_global_tenant_proxy_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
211
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
212
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
213
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
214
+ command.params['resource'] = resource unless resource.nil?
215
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
216
+ command.query['fields'] = fields unless fields.nil?
217
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
218
+ execute_or_queue_command(command, &block)
219
+ end
220
+
221
+ # Sets the access control policy on the specified resource. Replaces any
222
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
223
+ # PERMISSION_DENIED` errors.
224
+ # @param [String] resource
225
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
226
+ # names](https://cloud.google.com/apis/design/resource_names) for the
227
+ # appropriate value for this field.
228
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
229
+ # @param [String] fields
230
+ # Selector specifying which fields to include in a partial response.
231
+ # @param [String] quota_user
232
+ # Available to use for quota purposes for server-side applications. Can be any
233
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
234
+ # @param [Google::Apis::RequestOptions] options
235
+ # Request-specific options
236
+ #
237
+ # @yield [result, err] Result & error if block supplied
238
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
239
+ # @yieldparam err [StandardError] error object if request failed
240
+ #
241
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
242
+ #
243
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
244
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
245
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
246
+ def set_organization_location_global_tenant_proxy_config_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
247
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
248
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
249
+ command.request_object = google_iam_v1_set_iam_policy_request_object
250
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
251
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
252
+ command.params['resource'] = resource unless resource.nil?
253
+ command.query['fields'] = fields unless fields.nil?
254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
255
+ execute_or_queue_command(command, &block)
256
+ end
257
+
258
+ # Returns permissions that a caller has on the specified resource. If the
259
+ # resource does not exist, this will return an empty set of permissions, not a `
260
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
261
+ # permission-aware UIs and command-line tools, not for authorization checking.
262
+ # This operation may "fail open" without warning.
263
+ # @param [String] resource
264
+ # REQUIRED: The resource for which the policy detail is being requested. See [
265
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
266
+ # appropriate value for this field.
267
+ # @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
268
+ # @param [String] fields
269
+ # Selector specifying which fields to include in a partial response.
270
+ # @param [String] quota_user
271
+ # Available to use for quota purposes for server-side applications. Can be any
272
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
273
+ # @param [Google::Apis::RequestOptions] options
274
+ # Request-specific options
275
+ #
276
+ # @yield [result, err] Result & error if block supplied
277
+ # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
278
+ # @yieldparam err [StandardError] error object if request failed
279
+ #
280
+ # @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
281
+ #
282
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
283
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
284
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
285
+ def test_organization_location_global_tenant_proxy_config_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
286
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
287
+ command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
288
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
289
+ command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
290
+ command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
291
+ command.params['resource'] = resource unless resource.nil?
292
+ command.query['fields'] = fields unless fields.nil?
293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
294
+ execute_or_queue_command(command, &block)
295
+ end
296
+
55
297
  # Gets information about a location.
56
298
  # @param [String] name
57
299
  # Resource name for the location.
@@ -1262,137 +1504,6 @@ module Google
1262
1504
  execute_or_queue_command(command, &block)
1263
1505
  end
1264
1506
 
1265
- # Creates a new ClientConnectorService in a given project and location.
1266
- # @param [String] parent
1267
- # Required. Value for parent.
1268
- # @param [Google::Apis::BeyondcorpV1::ClientConnectorService] client_connector_service_object
1269
- # @param [String] client_connector_service_id
1270
- # Optional. User-settable client connector service resource ID. * Must start
1271
- # with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must
1272
- # end with a number or a letter. A random system generated name will be assigned
1273
- # if not specified by the user.
1274
- # @param [String] request_id
1275
- # Optional. An optional request ID to identify requests. Specify a unique
1276
- # request ID so that if you must retry your request, the server will know to
1277
- # ignore the request if it has already been completed. The server will guarantee
1278
- # that for at least 60 minutes since the first request. For example, consider a
1279
- # situation where you make an initial request and the request times out. If you
1280
- # make the request again with the same request ID, the server can check if
1281
- # original operation with the same request ID was received, and if so, will
1282
- # ignore the second request. This prevents clients from accidentally creating
1283
- # duplicate commitments. The request ID must be a valid UUID with the exception
1284
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1285
- # @param [Boolean] validate_only
1286
- # Optional. If set, validates request by executing a dry-run which would not
1287
- # alter the resource in any way.
1288
- # @param [String] fields
1289
- # Selector specifying which fields to include in a partial response.
1290
- # @param [String] quota_user
1291
- # Available to use for quota purposes for server-side applications. Can be any
1292
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1293
- # @param [Google::Apis::RequestOptions] options
1294
- # Request-specific options
1295
- #
1296
- # @yield [result, err] Result & error if block supplied
1297
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
1298
- # @yieldparam err [StandardError] error object if request failed
1299
- #
1300
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
1301
- #
1302
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1303
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1304
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1305
- def create_project_location_client_connector_service(parent, client_connector_service_object = nil, client_connector_service_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1306
- command = make_simple_command(:post, 'v1/{+parent}/clientConnectorServices', options)
1307
- command.request_representation = Google::Apis::BeyondcorpV1::ClientConnectorService::Representation
1308
- command.request_object = client_connector_service_object
1309
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
1310
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
1311
- command.params['parent'] = parent unless parent.nil?
1312
- command.query['clientConnectorServiceId'] = client_connector_service_id unless client_connector_service_id.nil?
1313
- command.query['requestId'] = request_id unless request_id.nil?
1314
- command.query['validateOnly'] = validate_only unless validate_only.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
- # Deletes a single ClientConnectorService.
1321
- # @param [String] name
1322
- # Required. Name of the resource.
1323
- # @param [String] request_id
1324
- # Optional. An optional request ID to identify requests. Specify a unique
1325
- # request ID so that if you must retry your request, the server will know to
1326
- # ignore the request if it has already been completed. The server will guarantee
1327
- # that for at least 60 minutes after the first request. For example, consider a
1328
- # situation where you make an initial request and the request times out. If you
1329
- # make the request again with the same request ID, the server can check if
1330
- # original operation with the same request ID was received, and if so, will
1331
- # ignore the second request. This prevents clients from accidentally creating
1332
- # duplicate commitments. The request ID must be a valid UUID with the exception
1333
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1334
- # @param [Boolean] validate_only
1335
- # Optional. If set, validates request by executing a dry-run which would not
1336
- # alter the resource in any way.
1337
- # @param [String] fields
1338
- # Selector specifying which fields to include in a partial response.
1339
- # @param [String] quota_user
1340
- # Available to use for quota purposes for server-side applications. Can be any
1341
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1342
- # @param [Google::Apis::RequestOptions] options
1343
- # Request-specific options
1344
- #
1345
- # @yield [result, err] Result & error if block supplied
1346
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
1347
- # @yieldparam err [StandardError] error object if request failed
1348
- #
1349
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
1350
- #
1351
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1352
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1353
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1354
- def delete_project_location_client_connector_service(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1355
- command = make_simple_command(:delete, 'v1/{+name}', options)
1356
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
1357
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
1358
- command.params['name'] = name unless name.nil?
1359
- command.query['requestId'] = request_id unless request_id.nil?
1360
- command.query['validateOnly'] = validate_only unless validate_only.nil?
1361
- command.query['fields'] = fields unless fields.nil?
1362
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1363
- execute_or_queue_command(command, &block)
1364
- end
1365
-
1366
- # Gets details of a single ClientConnectorService.
1367
- # @param [String] name
1368
- # Required. Name of the resource.
1369
- # @param [String] fields
1370
- # Selector specifying which fields to include in a partial response.
1371
- # @param [String] quota_user
1372
- # Available to use for quota purposes for server-side applications. Can be any
1373
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1374
- # @param [Google::Apis::RequestOptions] options
1375
- # Request-specific options
1376
- #
1377
- # @yield [result, err] Result & error if block supplied
1378
- # @yieldparam result [Google::Apis::BeyondcorpV1::ClientConnectorService] parsed result object
1379
- # @yieldparam err [StandardError] error object if request failed
1380
- #
1381
- # @return [Google::Apis::BeyondcorpV1::ClientConnectorService]
1382
- #
1383
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1384
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1385
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1386
- def get_project_location_client_connector_service(name, fields: nil, quota_user: nil, options: nil, &block)
1387
- command = make_simple_command(:get, 'v1/{+name}', options)
1388
- command.response_representation = Google::Apis::BeyondcorpV1::ClientConnectorService::Representation
1389
- command.response_class = Google::Apis::BeyondcorpV1::ClientConnectorService
1390
- command.params['name'] = name unless name.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
-
1396
1507
  # Gets the access control policy for a resource. Returns an empty policy if the
1397
1508
  # resource exists and does not have a policy set.
1398
1509
  # @param [String] resource
@@ -1438,109 +1549,6 @@ module Google
1438
1549
  execute_or_queue_command(command, &block)
1439
1550
  end
1440
1551
 
1441
- # Lists ClientConnectorServices in a given project and location.
1442
- # @param [String] parent
1443
- # Required. Parent value for ListClientConnectorServicesRequest.
1444
- # @param [String] filter
1445
- # Optional. Filtering results.
1446
- # @param [String] order_by
1447
- # Optional. Hint for how to order the results.
1448
- # @param [Fixnum] page_size
1449
- # Optional. Requested page size. Server may return fewer items than requested.
1450
- # If unspecified, server will pick an appropriate default.
1451
- # @param [String] page_token
1452
- # Optional. A token identifying a page of results the server should return.
1453
- # @param [String] fields
1454
- # Selector specifying which fields to include in a partial response.
1455
- # @param [String] quota_user
1456
- # Available to use for quota purposes for server-side applications. Can be any
1457
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1458
- # @param [Google::Apis::RequestOptions] options
1459
- # Request-specific options
1460
- #
1461
- # @yield [result, err] Result & error if block supplied
1462
- # @yieldparam result [Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse] parsed result object
1463
- # @yieldparam err [StandardError] error object if request failed
1464
- #
1465
- # @return [Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse]
1466
- #
1467
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1468
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1469
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1470
- def list_project_location_client_connector_services(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1471
- command = make_simple_command(:get, 'v1/{+parent}/clientConnectorServices', options)
1472
- command.response_representation = Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse::Representation
1473
- command.response_class = Google::Apis::BeyondcorpV1::ListClientConnectorServicesResponse
1474
- command.params['parent'] = parent unless parent.nil?
1475
- command.query['filter'] = filter unless filter.nil?
1476
- command.query['orderBy'] = order_by unless order_by.nil?
1477
- command.query['pageSize'] = page_size unless page_size.nil?
1478
- command.query['pageToken'] = page_token unless page_token.nil?
1479
- command.query['fields'] = fields unless fields.nil?
1480
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1481
- execute_or_queue_command(command, &block)
1482
- end
1483
-
1484
- # Updates the parameters of a single ClientConnectorService.
1485
- # @param [String] name
1486
- # Required. Name of resource. The name is ignored during creation.
1487
- # @param [Google::Apis::BeyondcorpV1::ClientConnectorService] client_connector_service_object
1488
- # @param [Boolean] allow_missing
1489
- # Optional. If set as true, will create the resource if it is not found.
1490
- # @param [String] request_id
1491
- # Optional. An optional request ID to identify requests. Specify a unique
1492
- # request ID so that if you must retry your request, the server will know to
1493
- # ignore the request if it has already been completed. The server will guarantee
1494
- # that for at least 60 minutes since the first request. For example, consider a
1495
- # situation where you make an initial request and the request times out. If you
1496
- # make the request again with the same request ID, the server can check if
1497
- # original operation with the same request ID was received, and if so, will
1498
- # ignore the second request. This prevents clients from accidentally creating
1499
- # duplicate commitments. The request ID must be a valid UUID with the exception
1500
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1501
- # @param [String] update_mask
1502
- # Required. Field mask is used to specify the fields to be overwritten in the
1503
- # ClientConnectorService resource by the update. The fields specified in the
1504
- # update_mask are relative to the resource, not the full request. A field will
1505
- # be overwritten if it is in the mask. If the user does not provide a mask then
1506
- # all fields will be overwritten. Mutable fields: display_name, ingress.config.
1507
- # destination_routes.
1508
- # @param [Boolean] validate_only
1509
- # Optional. If set, validates request by executing a dry-run which would not
1510
- # alter the resource in any way.
1511
- # @param [String] fields
1512
- # Selector specifying which fields to include in a partial response.
1513
- # @param [String] quota_user
1514
- # Available to use for quota purposes for server-side applications. Can be any
1515
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1516
- # @param [Google::Apis::RequestOptions] options
1517
- # Request-specific options
1518
- #
1519
- # @yield [result, err] Result & error if block supplied
1520
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
1521
- # @yieldparam err [StandardError] error object if request failed
1522
- #
1523
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
1524
- #
1525
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1526
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1527
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1528
- def patch_project_location_client_connector_service(name, client_connector_service_object = nil, allow_missing: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1529
- command = make_simple_command(:patch, 'v1/{+name}', options)
1530
- command.request_representation = Google::Apis::BeyondcorpV1::ClientConnectorService::Representation
1531
- command.request_object = client_connector_service_object
1532
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
1533
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
1534
- command.params['name'] = name unless name.nil?
1535
- command.query['allowMissing'] = allow_missing unless allow_missing.nil?
1536
- command.query['requestId'] = request_id unless request_id.nil?
1537
- command.query['updateMask'] = update_mask unless update_mask.nil?
1538
- command.query['validateOnly'] = validate_only unless validate_only.nil?
1539
- command.query['fields'] = fields unless fields.nil?
1540
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1541
- execute_or_queue_command(command, &block)
1542
- end
1543
-
1544
1552
  # Sets the access control policy on the specified resource. Replaces any
1545
1553
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1546
1554
  # PERMISSION_DENIED` errors.
@@ -1617,136 +1625,6 @@ module Google
1617
1625
  execute_or_queue_command(command, &block)
1618
1626
  end
1619
1627
 
1620
- # Creates a new ClientGateway in a given project and location.
1621
- # @param [String] parent
1622
- # Required. Value for parent.
1623
- # @param [Google::Apis::BeyondcorpV1::ClientGateway] client_gateway_object
1624
- # @param [String] client_gateway_id
1625
- # Optional. User-settable client gateway resource ID. * Must start with a letter.
1626
- # * Must contain between 4-63 characters from `/a-z-/`. * Must end with a
1627
- # number or a letter.
1628
- # @param [String] request_id
1629
- # Optional. An optional request ID to identify requests. Specify a unique
1630
- # request ID so that if you must retry your request, the server will know to
1631
- # ignore the request if it has already been completed. The server will guarantee
1632
- # that for at least 60 minutes since the first request. For example, consider a
1633
- # situation where you make an initial request and the request times out. If you
1634
- # make the request again with the same request ID, the server can check if
1635
- # original operation with the same request ID was received, and if so, will
1636
- # ignore the second request. This prevents clients from accidentally creating
1637
- # duplicate commitments. The request ID must be a valid UUID with the exception
1638
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1639
- # @param [Boolean] validate_only
1640
- # Optional. If set, validates request by executing a dry-run which would not
1641
- # alter the resource in any way.
1642
- # @param [String] fields
1643
- # Selector specifying which fields to include in a partial response.
1644
- # @param [String] quota_user
1645
- # Available to use for quota purposes for server-side applications. Can be any
1646
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1647
- # @param [Google::Apis::RequestOptions] options
1648
- # Request-specific options
1649
- #
1650
- # @yield [result, err] Result & error if block supplied
1651
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
1652
- # @yieldparam err [StandardError] error object if request failed
1653
- #
1654
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
1655
- #
1656
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1657
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1658
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1659
- def create_project_location_client_gateway(parent, client_gateway_object = nil, client_gateway_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1660
- command = make_simple_command(:post, 'v1/{+parent}/clientGateways', options)
1661
- command.request_representation = Google::Apis::BeyondcorpV1::ClientGateway::Representation
1662
- command.request_object = client_gateway_object
1663
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
1664
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
1665
- command.params['parent'] = parent unless parent.nil?
1666
- command.query['clientGatewayId'] = client_gateway_id unless client_gateway_id.nil?
1667
- command.query['requestId'] = request_id unless request_id.nil?
1668
- command.query['validateOnly'] = validate_only unless validate_only.nil?
1669
- command.query['fields'] = fields unless fields.nil?
1670
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1671
- execute_or_queue_command(command, &block)
1672
- end
1673
-
1674
- # Deletes a single ClientGateway.
1675
- # @param [String] name
1676
- # Required. Name of the resource
1677
- # @param [String] request_id
1678
- # Optional. An optional request ID to identify requests. Specify a unique
1679
- # request ID so that if you must retry your request, the server will know to
1680
- # ignore the request if it has already been completed. The server will guarantee
1681
- # that for at least 60 minutes after the first request. For example, consider a
1682
- # situation where you make an initial request and the request times out. If you
1683
- # make the request again with the same request ID, the server can check if
1684
- # original operation with the same request ID was received, and if so, will
1685
- # ignore the second request. This prevents clients from accidentally creating
1686
- # duplicate commitments. The request ID must be a valid UUID with the exception
1687
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1688
- # @param [Boolean] validate_only
1689
- # Optional. If set, validates request by executing a dry-run which would not
1690
- # alter the resource in any way.
1691
- # @param [String] fields
1692
- # Selector specifying which fields to include in a partial response.
1693
- # @param [String] quota_user
1694
- # Available to use for quota purposes for server-side applications. Can be any
1695
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1696
- # @param [Google::Apis::RequestOptions] options
1697
- # Request-specific options
1698
- #
1699
- # @yield [result, err] Result & error if block supplied
1700
- # @yieldparam result [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation] parsed result object
1701
- # @yieldparam err [StandardError] error object if request failed
1702
- #
1703
- # @return [Google::Apis::BeyondcorpV1::GoogleLongrunningOperation]
1704
- #
1705
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1706
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1707
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1708
- def delete_project_location_client_gateway(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1709
- command = make_simple_command(:delete, 'v1/{+name}', options)
1710
- command.response_representation = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation::Representation
1711
- command.response_class = Google::Apis::BeyondcorpV1::GoogleLongrunningOperation
1712
- command.params['name'] = name unless name.nil?
1713
- command.query['requestId'] = request_id unless request_id.nil?
1714
- command.query['validateOnly'] = validate_only unless validate_only.nil?
1715
- command.query['fields'] = fields unless fields.nil?
1716
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1717
- execute_or_queue_command(command, &block)
1718
- end
1719
-
1720
- # Gets details of a single ClientGateway.
1721
- # @param [String] name
1722
- # Required. Name of the resource
1723
- # @param [String] fields
1724
- # Selector specifying which fields to include in a partial response.
1725
- # @param [String] quota_user
1726
- # Available to use for quota purposes for server-side applications. Can be any
1727
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1728
- # @param [Google::Apis::RequestOptions] options
1729
- # Request-specific options
1730
- #
1731
- # @yield [result, err] Result & error if block supplied
1732
- # @yieldparam result [Google::Apis::BeyondcorpV1::ClientGateway] parsed result object
1733
- # @yieldparam err [StandardError] error object if request failed
1734
- #
1735
- # @return [Google::Apis::BeyondcorpV1::ClientGateway]
1736
- #
1737
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1738
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1739
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1740
- def get_project_location_client_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
1741
- command = make_simple_command(:get, 'v1/{+name}', options)
1742
- command.response_representation = Google::Apis::BeyondcorpV1::ClientGateway::Representation
1743
- command.response_class = Google::Apis::BeyondcorpV1::ClientGateway
1744
- command.params['name'] = name unless name.nil?
1745
- command.query['fields'] = fields unless fields.nil?
1746
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1747
- execute_or_queue_command(command, &block)
1748
- end
1749
-
1750
1628
  # Gets the access control policy for a resource. Returns an empty policy if the
1751
1629
  # resource exists and does not have a policy set.
1752
1630
  # @param [String] resource
@@ -1792,49 +1670,6 @@ module Google
1792
1670
  execute_or_queue_command(command, &block)
1793
1671
  end
1794
1672
 
1795
- # Lists ClientGateways in a given project and location.
1796
- # @param [String] parent
1797
- # Required. Parent value for ListClientGatewaysRequest.
1798
- # @param [String] filter
1799
- # Optional. Filtering results.
1800
- # @param [String] order_by
1801
- # Optional. Hint for how to order the results.
1802
- # @param [Fixnum] page_size
1803
- # Optional. Requested page size. Server may return fewer items than requested.
1804
- # If unspecified, server will pick an appropriate default.
1805
- # @param [String] page_token
1806
- # Optional. A token identifying a page of results the server should return.
1807
- # @param [String] fields
1808
- # Selector specifying which fields to include in a partial response.
1809
- # @param [String] quota_user
1810
- # Available to use for quota purposes for server-side applications. Can be any
1811
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1812
- # @param [Google::Apis::RequestOptions] options
1813
- # Request-specific options
1814
- #
1815
- # @yield [result, err] Result & error if block supplied
1816
- # @yieldparam result [Google::Apis::BeyondcorpV1::ListClientGatewaysResponse] parsed result object
1817
- # @yieldparam err [StandardError] error object if request failed
1818
- #
1819
- # @return [Google::Apis::BeyondcorpV1::ListClientGatewaysResponse]
1820
- #
1821
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1822
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1823
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1824
- def list_project_location_client_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1825
- command = make_simple_command(:get, 'v1/{+parent}/clientGateways', options)
1826
- command.response_representation = Google::Apis::BeyondcorpV1::ListClientGatewaysResponse::Representation
1827
- command.response_class = Google::Apis::BeyondcorpV1::ListClientGatewaysResponse
1828
- command.params['parent'] = parent unless parent.nil?
1829
- command.query['filter'] = filter unless filter.nil?
1830
- command.query['orderBy'] = order_by unless order_by.nil?
1831
- command.query['pageSize'] = page_size unless page_size.nil?
1832
- command.query['pageToken'] = page_token unless page_token.nil?
1833
- command.query['fields'] = fields unless fields.nil?
1834
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1835
- execute_or_queue_command(command, &block)
1836
- end
1837
-
1838
1673
  # Sets the access control policy on the specified resource. Replaces any
1839
1674
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1840
1675
  # PERMISSION_DENIED` errors.