google-apis-beyondcorp_v1alpha 0.48.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74319a7147efa9e2ad6dea979976b4e265e97b0b448c515b634dc7a6acc9fa7c
4
- data.tar.gz: 236c63922a4f84ddb538a84da414b6824d99775cc635a9bae88a16d854d8692d
3
+ metadata.gz: cfbd4b23439dde094e9b0921cb6d49237c60dace207b6825b7a576ca50856da6
4
+ data.tar.gz: d30e1ee87fe9c7ada350542614228c2f5f2aa239338a7d890bdcd44ac85dc453
5
5
  SHA512:
6
- metadata.gz: 2dc06417e00d507ea9b98b40580e14f128679e47573ebc91645ed9b9ec0cd72e0fd80309685e816bd320fcc77e0afee1db00973c71d1f007344629dd945530d4
7
- data.tar.gz: a3b17d283fc83276683ef2d182ae5eae6a8787ec3afa8d6652de8b51ea53660cbe9b517d5e1c1605f66d97100747a3eb0f96802c5ed8d4d4c9d02d6b54514d49
6
+ metadata.gz: 6ef52e30b4be755541dbeb22d9b665cab0fb887faaf2fcf7f9c88f04c62ef0dfd939415f4f9aa8ebf3c04cad3f50df29e370524c4aa0dfa777e3339e76a2d1c6
7
+ data.tar.gz: 9cb4918571253fbf13946947f76480d5435b9c04c9aee9cf940b0d5a3ddaa15f5847d4a616df1120e65ac0f563e21853de3c55118f441a4a6826458d30103c8f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.50.0 (2025-06-29)
4
+
5
+ * Regenerated from discovery document revision 20250616
6
+
7
+ ### v0.49.0 (2025-06-15)
8
+
9
+ * Regenerated from discovery document revision 20250604
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.48.0 (2025-05-04)
4
13
 
5
14
  * Regenerated using generator version 0.17.0
@@ -2841,7 +2841,7 @@ module Google
2841
2841
  end
2842
2842
  end
2843
2843
 
2844
- # Information about a BeyoncCorp SecurityGateway resource.
2844
+ # Information about a BeyondCorp SecurityGateway resource.
2845
2845
  class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway
2846
2846
  include Google::Apis::Core::Hashable
2847
2847
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250409"
25
+ REVISION = "20250616"
26
26
  end
27
27
  end
28
28
  end
@@ -184,123 +184,6 @@ module Google
184
184
  execute_or_queue_command(command, &block)
185
185
  end
186
186
 
187
- # Returns permissions that a caller has on the specified resource. If the
188
- # resource does not exist, this will return an empty set of permissions, not a `
189
- # NOT_FOUND` error. Note: This operation is designed to be used for building
190
- # permission-aware UIs and command-line tools, not for authorization checking.
191
- # This operation may "fail open" without warning.
192
- # @param [String] resource
193
- # REQUIRED: The resource for which the policy detail is being requested. See [
194
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
195
- # appropriate value for this field.
196
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
197
- # @param [String] fields
198
- # Selector specifying which fields to include in a partial response.
199
- # @param [String] quota_user
200
- # Available to use for quota purposes for server-side applications. Can be any
201
- # arbitrary string assigned to a user, but should not exceed 40 characters.
202
- # @param [Google::Apis::RequestOptions] options
203
- # Request-specific options
204
- #
205
- # @yield [result, err] Result & error if block supplied
206
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
207
- # @yieldparam err [StandardError] error object if request failed
208
- #
209
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
210
- #
211
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
- # @raise [Google::Apis::AuthorizationError] Authorization is required
214
- def test_organization_location_global_partner_tenant_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
215
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
216
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
217
- command.request_object = google_iam_v1_test_iam_permissions_request_object
218
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
219
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
220
- command.params['resource'] = resource unless resource.nil?
221
- command.query['fields'] = fields unless fields.nil?
222
- command.query['quotaUser'] = quota_user unless quota_user.nil?
223
- execute_or_queue_command(command, &block)
224
- end
225
-
226
- # Returns permissions that a caller has on the specified resource. If the
227
- # resource does not exist, this will return an empty set of permissions, not a `
228
- # NOT_FOUND` error. Note: This operation is designed to be used for building
229
- # permission-aware UIs and command-line tools, not for authorization checking.
230
- # This operation may "fail open" without warning.
231
- # @param [String] resource
232
- # REQUIRED: The resource for which the policy detail is being requested. See [
233
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
234
- # appropriate value for this field.
235
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
236
- # @param [String] fields
237
- # Selector specifying which fields to include in a partial response.
238
- # @param [String] quota_user
239
- # Available to use for quota purposes for server-side applications. Can be any
240
- # arbitrary string assigned to a user, but should not exceed 40 characters.
241
- # @param [Google::Apis::RequestOptions] options
242
- # Request-specific options
243
- #
244
- # @yield [result, err] Result & error if block supplied
245
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
246
- # @yieldparam err [StandardError] error object if request failed
247
- #
248
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
249
- #
250
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
251
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
252
- # @raise [Google::Apis::AuthorizationError] Authorization is required
253
- def test_organization_location_global_partner_tenant_browser_dlp_rule_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
254
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
255
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
256
- command.request_object = google_iam_v1_test_iam_permissions_request_object
257
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
258
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
259
- command.params['resource'] = resource unless resource.nil?
260
- command.query['fields'] = fields unless fields.nil?
261
- command.query['quotaUser'] = quota_user unless quota_user.nil?
262
- execute_or_queue_command(command, &block)
263
- end
264
-
265
- # Returns permissions that a caller has on the specified resource. If the
266
- # resource does not exist, this will return an empty set of permissions, not a `
267
- # NOT_FOUND` error. Note: This operation is designed to be used for building
268
- # permission-aware UIs and command-line tools, not for authorization checking.
269
- # This operation may "fail open" without warning.
270
- # @param [String] resource
271
- # REQUIRED: The resource for which the policy detail is being requested. See [
272
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
273
- # appropriate value for this field.
274
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
275
- # @param [String] fields
276
- # Selector specifying which fields to include in a partial response.
277
- # @param [String] quota_user
278
- # Available to use for quota purposes for server-side applications. Can be any
279
- # arbitrary string assigned to a user, but should not exceed 40 characters.
280
- # @param [Google::Apis::RequestOptions] options
281
- # Request-specific options
282
- #
283
- # @yield [result, err] Result & error if block supplied
284
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
285
- # @yieldparam err [StandardError] error object if request failed
286
- #
287
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
288
- #
289
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
290
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
291
- # @raise [Google::Apis::AuthorizationError] Authorization is required
292
- def test_organization_location_global_partner_tenant_proxy_config_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
293
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
294
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
295
- command.request_object = google_iam_v1_test_iam_permissions_request_object
296
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
297
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
298
- command.params['resource'] = resource unless resource.nil?
299
- command.query['fields'] = fields unless fields.nil?
300
- command.query['quotaUser'] = quota_user unless quota_user.nil?
301
- execute_or_queue_command(command, &block)
302
- end
303
-
304
187
  # Gets the value for a selected particular insight based on the provided filters.
305
188
  # Use the organization level path for fetching at org level and project level
306
189
  # path for fetching the insight value specific to a particular project.
@@ -2347,23 +2230,29 @@ module Google
2347
2230
  execute_or_queue_command(command, &block)
2348
2231
  end
2349
2232
 
2350
- # Gets the access control policy for a resource. Returns an empty policy if the
2351
- # resource exists and does not have a policy set.
2352
- # @param [String] resource
2353
- # REQUIRED: The resource for which the policy is being requested. See [Resource
2354
- # names](https://cloud.google.com/apis/design/resource_names) for the
2355
- # appropriate value for this field.
2356
- # @param [Fixnum] options_requested_policy_version
2357
- # Optional. The maximum policy version that will be used to format the policy.
2358
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2359
- # rejected. Requests for policies with any conditional role bindings must
2360
- # specify version 3. Policies with no conditional role bindings may specify any
2361
- # valid value or leave the field unset. The policy in the response might use the
2362
- # policy version that you specified, or it might use a lower policy version. For
2363
- # example, if you specify version 3, but the policy has no conditional role
2364
- # bindings, the response uses version 1. To learn which resources support
2365
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2366
- # google.com/iam/help/conditions/resource-policies).
2233
+ # Creates a new Connection in a given project and location.
2234
+ # @param [String] parent
2235
+ # Required. The resource project name of the connection location using the form:
2236
+ # `projects/`project_id`/locations/`location_id``
2237
+ # @param [Google::Apis::BeyondcorpV1alpha::Connection] connection_object
2238
+ # @param [String] connection_id
2239
+ # Optional. User-settable connection resource ID. * Must start with a letter. *
2240
+ # Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
2241
+ # or a letter.
2242
+ # @param [String] request_id
2243
+ # Optional. An optional request ID to identify requests. Specify a unique
2244
+ # request ID so that if you must retry your request, the server will know to
2245
+ # ignore the request if it has already been completed. The server will guarantee
2246
+ # that for at least 60 minutes since the first request. For example, consider a
2247
+ # situation where you make an initial request and the request times out. If you
2248
+ # make the request again with the same request ID, the server can check if
2249
+ # original operation with the same request ID was received, and if so, will
2250
+ # ignore the second request. This prevents clients from accidentally creating
2251
+ # duplicate commitments. The request ID must be a valid UUID with the exception
2252
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2253
+ # @param [Boolean] validate_only
2254
+ # Optional. If set, validates request by executing a dry-run which would not
2255
+ # alter the resource in any way.
2367
2256
  # @param [String] fields
2368
2257
  # Selector specifying which fields to include in a partial response.
2369
2258
  # @param [String] quota_user
@@ -2373,33 +2262,47 @@ module Google
2373
2262
  # Request-specific options
2374
2263
  #
2375
2264
  # @yield [result, err] Result & error if block supplied
2376
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
2265
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
2377
2266
  # @yieldparam err [StandardError] error object if request failed
2378
2267
  #
2379
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
2268
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
2380
2269
  #
2381
2270
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2382
2271
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2383
2272
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2384
- def get_project_location_client_connector_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2385
- command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
2386
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
2387
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
2388
- command.params['resource'] = resource unless resource.nil?
2389
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2273
+ def create_project_location_connection(parent, connection_object = nil, connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2274
+ command = make_simple_command(:post, 'v1alpha/{+parent}/connections', options)
2275
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::Connection::Representation
2276
+ command.request_object = connection_object
2277
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
2278
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
2279
+ command.params['parent'] = parent unless parent.nil?
2280
+ command.query['connectionId'] = connection_id unless connection_id.nil?
2281
+ command.query['requestId'] = request_id unless request_id.nil?
2282
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
2390
2283
  command.query['fields'] = fields unless fields.nil?
2391
2284
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2392
2285
  execute_or_queue_command(command, &block)
2393
2286
  end
2394
2287
 
2395
- # Sets the access control policy on the specified resource. Replaces any
2396
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2397
- # PERMISSION_DENIED` errors.
2398
- # @param [String] resource
2399
- # REQUIRED: The resource for which the policy is being specified. See [Resource
2400
- # names](https://cloud.google.com/apis/design/resource_names) for the
2401
- # appropriate value for this field.
2402
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
2288
+ # Deletes a single Connection.
2289
+ # @param [String] name
2290
+ # Required. BeyondCorp Connector name using the form: `projects/`project_id`/
2291
+ # locations/`location_id`/connections/`connection_id``
2292
+ # @param [String] request_id
2293
+ # Optional. An optional request ID to identify requests. Specify a unique
2294
+ # request ID so that if you must retry your request, the server will know to
2295
+ # ignore the request if it has already been completed. The server will guarantee
2296
+ # that for at least 60 minutes after the first request. For example, consider a
2297
+ # situation where you make an initial request and the request times out. If you
2298
+ # make the request again with the same request ID, the server can check if
2299
+ # original operation with the same request ID was received, and if so, will
2300
+ # ignore the second request. This prevents clients from accidentally creating
2301
+ # duplicate commitments. The request ID must be a valid UUID with the exception
2302
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2303
+ # @param [Boolean] validate_only
2304
+ # Optional. If set, validates request by executing a dry-run which would not
2305
+ # alter the resource in any way.
2403
2306
  # @param [String] fields
2404
2307
  # Selector specifying which fields to include in a partial response.
2405
2308
  # @param [String] quota_user
@@ -2409,36 +2312,30 @@ module Google
2409
2312
  # Request-specific options
2410
2313
  #
2411
2314
  # @yield [result, err] Result & error if block supplied
2412
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
2315
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
2413
2316
  # @yieldparam err [StandardError] error object if request failed
2414
2317
  #
2415
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
2318
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
2416
2319
  #
2417
2320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2418
2321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2419
2322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2420
- def set_project_location_client_connector_service_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2421
- command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
2422
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
2423
- command.request_object = google_iam_v1_set_iam_policy_request_object
2424
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
2425
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
2426
- command.params['resource'] = resource unless resource.nil?
2323
+ def delete_project_location_connection(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2324
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2325
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
2326
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
2327
+ command.params['name'] = name unless name.nil?
2328
+ command.query['requestId'] = request_id unless request_id.nil?
2329
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
2427
2330
  command.query['fields'] = fields unless fields.nil?
2428
2331
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2429
2332
  execute_or_queue_command(command, &block)
2430
2333
  end
2431
2334
 
2432
- # Returns permissions that a caller has on the specified resource. If the
2433
- # resource does not exist, this will return an empty set of permissions, not a `
2434
- # NOT_FOUND` error. Note: This operation is designed to be used for building
2435
- # permission-aware UIs and command-line tools, not for authorization checking.
2436
- # This operation may "fail open" without warning.
2437
- # @param [String] resource
2438
- # REQUIRED: The resource for which the policy detail is being requested. See [
2439
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2440
- # appropriate value for this field.
2441
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
2335
+ # Gets details of a single Connection.
2336
+ # @param [String] name
2337
+ # Required. BeyondCorp Connection name using the form: `projects/`project_id`/
2338
+ # locations/`location_id`/connections/`connection_id``
2442
2339
  # @param [String] fields
2443
2340
  # Selector specifying which fields to include in a partial response.
2444
2341
  # @param [String] quota_user
@@ -2448,21 +2345,19 @@ module Google
2448
2345
  # Request-specific options
2449
2346
  #
2450
2347
  # @yield [result, err] Result & error if block supplied
2451
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
2348
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::Connection] parsed result object
2452
2349
  # @yieldparam err [StandardError] error object if request failed
2453
2350
  #
2454
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
2351
+ # @return [Google::Apis::BeyondcorpV1alpha::Connection]
2455
2352
  #
2456
2353
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2457
2354
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2458
2355
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2459
- def test_project_location_client_connector_service_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2460
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
2461
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
2462
- command.request_object = google_iam_v1_test_iam_permissions_request_object
2463
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
2464
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
2465
- command.params['resource'] = resource unless resource.nil?
2356
+ def get_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
2357
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2358
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::Connection::Representation
2359
+ command.response_class = Google::Apis::BeyondcorpV1alpha::Connection
2360
+ command.params['name'] = name unless name.nil?
2466
2361
  command.query['fields'] = fields unless fields.nil?
2467
2362
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2468
2363
  execute_or_queue_command(command, &block)
@@ -2502,224 +2397,7 @@ module Google
2502
2397
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2503
2398
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2504
2399
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2505
- def get_project_location_client_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2506
- command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
2507
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
2508
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
2509
- command.params['resource'] = resource unless resource.nil?
2510
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2511
- command.query['fields'] = fields unless fields.nil?
2512
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2513
- execute_or_queue_command(command, &block)
2514
- end
2515
-
2516
- # Returns permissions that a caller has on the specified resource. If the
2517
- # resource does not exist, this will return an empty set of permissions, not a `
2518
- # NOT_FOUND` error. Note: This operation is designed to be used for building
2519
- # permission-aware UIs and command-line tools, not for authorization checking.
2520
- # This operation may "fail open" without warning.
2521
- # @param [String] resource
2522
- # REQUIRED: The resource for which the policy detail is being requested. See [
2523
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2524
- # appropriate value for this field.
2525
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
2526
- # @param [String] fields
2527
- # Selector specifying which fields to include in a partial response.
2528
- # @param [String] quota_user
2529
- # Available to use for quota purposes for server-side applications. Can be any
2530
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2531
- # @param [Google::Apis::RequestOptions] options
2532
- # Request-specific options
2533
- #
2534
- # @yield [result, err] Result & error if block supplied
2535
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
2536
- # @yieldparam err [StandardError] error object if request failed
2537
- #
2538
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
2539
- #
2540
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2541
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2542
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2543
- def test_project_location_client_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2544
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
2545
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
2546
- command.request_object = google_iam_v1_test_iam_permissions_request_object
2547
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
2548
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
2549
- command.params['resource'] = resource unless resource.nil?
2550
- command.query['fields'] = fields unless fields.nil?
2551
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2552
- execute_or_queue_command(command, &block)
2553
- end
2554
-
2555
- # Creates a new Connection in a given project and location.
2556
- # @param [String] parent
2557
- # Required. The resource project name of the connection location using the form:
2558
- # `projects/`project_id`/locations/`location_id``
2559
- # @param [Google::Apis::BeyondcorpV1alpha::Connection] connection_object
2560
- # @param [String] connection_id
2561
- # Optional. User-settable connection resource ID. * Must start with a letter. *
2562
- # Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
2563
- # or a letter.
2564
- # @param [String] request_id
2565
- # Optional. An optional request ID to identify requests. Specify a unique
2566
- # request ID so that if you must retry your request, the server will know to
2567
- # ignore the request if it has already been completed. The server will guarantee
2568
- # that for at least 60 minutes since the first request. For example, consider a
2569
- # situation where you make an initial request and the request times out. If you
2570
- # make the request again with the same request ID, the server can check if
2571
- # original operation with the same request ID was received, and if so, will
2572
- # ignore the second request. This prevents clients from accidentally creating
2573
- # duplicate commitments. The request ID must be a valid UUID with the exception
2574
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2575
- # @param [Boolean] validate_only
2576
- # Optional. If set, validates request by executing a dry-run which would not
2577
- # alter the resource in any way.
2578
- # @param [String] fields
2579
- # Selector specifying which fields to include in a partial response.
2580
- # @param [String] quota_user
2581
- # Available to use for quota purposes for server-side applications. Can be any
2582
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2583
- # @param [Google::Apis::RequestOptions] options
2584
- # Request-specific options
2585
- #
2586
- # @yield [result, err] Result & error if block supplied
2587
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
2588
- # @yieldparam err [StandardError] error object if request failed
2589
- #
2590
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
2591
- #
2592
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2593
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2594
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2595
- def create_project_location_connection(parent, connection_object = nil, connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2596
- command = make_simple_command(:post, 'v1alpha/{+parent}/connections', options)
2597
- command.request_representation = Google::Apis::BeyondcorpV1alpha::Connection::Representation
2598
- command.request_object = connection_object
2599
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
2600
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
2601
- command.params['parent'] = parent unless parent.nil?
2602
- command.query['connectionId'] = connection_id unless connection_id.nil?
2603
- command.query['requestId'] = request_id unless request_id.nil?
2604
- command.query['validateOnly'] = validate_only unless validate_only.nil?
2605
- command.query['fields'] = fields unless fields.nil?
2606
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2607
- execute_or_queue_command(command, &block)
2608
- end
2609
-
2610
- # Deletes a single Connection.
2611
- # @param [String] name
2612
- # Required. BeyondCorp Connector name using the form: `projects/`project_id`/
2613
- # locations/`location_id`/connections/`connection_id``
2614
- # @param [String] request_id
2615
- # Optional. An optional request ID to identify requests. Specify a unique
2616
- # request ID so that if you must retry your request, the server will know to
2617
- # ignore the request if it has already been completed. The server will guarantee
2618
- # that for at least 60 minutes after the first request. For example, consider a
2619
- # situation where you make an initial request and the request times out. If you
2620
- # make the request again with the same request ID, the server can check if
2621
- # original operation with the same request ID was received, and if so, will
2622
- # ignore the second request. This prevents clients from accidentally creating
2623
- # duplicate commitments. The request ID must be a valid UUID with the exception
2624
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
2625
- # @param [Boolean] validate_only
2626
- # Optional. If set, validates request by executing a dry-run which would not
2627
- # alter the resource in any way.
2628
- # @param [String] fields
2629
- # Selector specifying which fields to include in a partial response.
2630
- # @param [String] quota_user
2631
- # Available to use for quota purposes for server-side applications. Can be any
2632
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2633
- # @param [Google::Apis::RequestOptions] options
2634
- # Request-specific options
2635
- #
2636
- # @yield [result, err] Result & error if block supplied
2637
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
2638
- # @yieldparam err [StandardError] error object if request failed
2639
- #
2640
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
2641
- #
2642
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2643
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2644
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2645
- def delete_project_location_connection(name, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
2646
- command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2647
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
2648
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
2649
- command.params['name'] = name unless name.nil?
2650
- command.query['requestId'] = request_id unless request_id.nil?
2651
- command.query['validateOnly'] = validate_only unless validate_only.nil?
2652
- command.query['fields'] = fields unless fields.nil?
2653
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2654
- execute_or_queue_command(command, &block)
2655
- end
2656
-
2657
- # Gets details of a single Connection.
2658
- # @param [String] name
2659
- # Required. BeyondCorp Connection name using the form: `projects/`project_id`/
2660
- # locations/`location_id`/connections/`connection_id``
2661
- # @param [String] fields
2662
- # Selector specifying which fields to include in a partial response.
2663
- # @param [String] quota_user
2664
- # Available to use for quota purposes for server-side applications. Can be any
2665
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2666
- # @param [Google::Apis::RequestOptions] options
2667
- # Request-specific options
2668
- #
2669
- # @yield [result, err] Result & error if block supplied
2670
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::Connection] parsed result object
2671
- # @yieldparam err [StandardError] error object if request failed
2672
- #
2673
- # @return [Google::Apis::BeyondcorpV1alpha::Connection]
2674
- #
2675
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2676
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2677
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2678
- def get_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
2679
- command = make_simple_command(:get, 'v1alpha/{+name}', options)
2680
- command.response_representation = Google::Apis::BeyondcorpV1alpha::Connection::Representation
2681
- command.response_class = Google::Apis::BeyondcorpV1alpha::Connection
2682
- command.params['name'] = name unless name.nil?
2683
- command.query['fields'] = fields unless fields.nil?
2684
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2685
- execute_or_queue_command(command, &block)
2686
- end
2687
-
2688
- # Gets the access control policy for a resource. Returns an empty policy if the
2689
- # resource exists and does not have a policy set.
2690
- # @param [String] resource
2691
- # REQUIRED: The resource for which the policy is being requested. See [Resource
2692
- # names](https://cloud.google.com/apis/design/resource_names) for the
2693
- # appropriate value for this field.
2694
- # @param [Fixnum] options_requested_policy_version
2695
- # Optional. The maximum policy version that will be used to format the policy.
2696
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2697
- # rejected. Requests for policies with any conditional role bindings must
2698
- # specify version 3. Policies with no conditional role bindings may specify any
2699
- # valid value or leave the field unset. The policy in the response might use the
2700
- # policy version that you specified, or it might use a lower policy version. For
2701
- # example, if you specify version 3, but the policy has no conditional role
2702
- # bindings, the response uses version 1. To learn which resources support
2703
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2704
- # google.com/iam/help/conditions/resource-policies).
2705
- # @param [String] fields
2706
- # Selector specifying which fields to include in a partial response.
2707
- # @param [String] quota_user
2708
- # Available to use for quota purposes for server-side applications. Can be any
2709
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2710
- # @param [Google::Apis::RequestOptions] options
2711
- # Request-specific options
2712
- #
2713
- # @yield [result, err] Result & error if block supplied
2714
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
2715
- # @yieldparam err [StandardError] error object if request failed
2716
- #
2717
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
2718
- #
2719
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2720
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2721
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2722
- def get_project_location_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2400
+ def get_project_location_connection_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2723
2401
  command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
2724
2402
  command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
2725
2403
  command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
@@ -3308,138 +2986,6 @@ module Google
3308
2986
  execute_or_queue_command(command, &block)
3309
2987
  end
3310
2988
 
3311
- # Creates a new Application in a given project and location.
3312
- # @param [String] parent
3313
- # Required. The resource name of the parent SecurityGateway using the form: `
3314
- # projects/`project_id`/locations/global/securityGateways/`security_gateway_id``
3315
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3316
- # @param [String] application_id
3317
- # Optional. User-settable Application resource ID. * Must start with a letter. *
3318
- # Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
3319
- # or letter.
3320
- # @param [String] request_id
3321
- # Optional. An optional request ID to identify requests. Specify a unique
3322
- # request ID so that if you must retry your request, the server will know to
3323
- # ignore request if it has already been completed. The server will guarantee
3324
- # that for at least 60 minutes since the first request.
3325
- # @param [String] fields
3326
- # Selector specifying which fields to include in a partial response.
3327
- # @param [String] quota_user
3328
- # Available to use for quota purposes for server-side applications. Can be any
3329
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3330
- # @param [Google::Apis::RequestOptions] options
3331
- # Request-specific options
3332
- #
3333
- # @yield [result, err] Result & error if block supplied
3334
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3335
- # @yieldparam err [StandardError] error object if request failed
3336
- #
3337
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3338
- #
3339
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3340
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3341
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3342
- def create_project_location_global_security_gateway_application(parent, google_cloud_beyondcorp_securitygateways_v1alpha_application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3343
- command = make_simple_command(:post, 'v1alpha/{+parent}/applications', options)
3344
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
3345
- command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3346
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3347
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3348
- command.params['parent'] = parent unless parent.nil?
3349
- command.query['applicationId'] = application_id unless application_id.nil?
3350
- command.query['requestId'] = request_id unless request_id.nil?
3351
- command.query['fields'] = fields unless fields.nil?
3352
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3353
- execute_or_queue_command(command, &block)
3354
- end
3355
-
3356
- # Updates the parameters of a single Application.
3357
- # @param [String] name
3358
- # Identifier. Name of the resource.
3359
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3360
- # @param [String] request_id
3361
- # Optional. An optional request ID to identify requests. Specify a unique
3362
- # request ID so that if you must retry your request, the server will know to
3363
- # ignore the request if it has already been completed. The server will guarantee
3364
- # that for at least 60 minutes after the first request. For example, consider a
3365
- # situation where you make an initial request and the request timed out. If you
3366
- # make the request again with the same request ID, the server can check if
3367
- # original operation with the same request ID was received, and if so, will
3368
- # ignore the second request. This prevents clients from accidentally creating
3369
- # duplicate commitments. The request ID must be a valid UUID with the exception
3370
- # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3371
- # @param [String] update_mask
3372
- # Optional. Mutable fields include: display_name.
3373
- # @param [String] fields
3374
- # Selector specifying which fields to include in a partial response.
3375
- # @param [String] quota_user
3376
- # Available to use for quota purposes for server-side applications. Can be any
3377
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3378
- # @param [Google::Apis::RequestOptions] options
3379
- # Request-specific options
3380
- #
3381
- # @yield [result, err] Result & error if block supplied
3382
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3383
- # @yieldparam err [StandardError] error object if request failed
3384
- #
3385
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3386
- #
3387
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3388
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3389
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3390
- def patch_project_location_global_security_gateway_application(name, google_cloud_beyondcorp_securitygateways_v1alpha_application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3391
- command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3392
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
3393
- command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3394
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3395
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3396
- command.params['name'] = name unless name.nil?
3397
- command.query['requestId'] = request_id unless request_id.nil?
3398
- command.query['updateMask'] = update_mask unless update_mask.nil?
3399
- command.query['fields'] = fields unless fields.nil?
3400
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3401
- execute_or_queue_command(command, &block)
3402
- end
3403
-
3404
- # Returns permissions that a caller has on the specified resource. If the
3405
- # resource does not exist, this will return an empty set of permissions, not a `
3406
- # NOT_FOUND` error. Note: This operation is designed to be used for building
3407
- # permission-aware UIs and command-line tools, not for authorization checking.
3408
- # This operation may "fail open" without warning.
3409
- # @param [String] resource
3410
- # REQUIRED: The resource for which the policy detail is being requested. See [
3411
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
3412
- # appropriate value for this field.
3413
- # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
3414
- # @param [String] fields
3415
- # Selector specifying which fields to include in a partial response.
3416
- # @param [String] quota_user
3417
- # Available to use for quota purposes for server-side applications. Can be any
3418
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3419
- # @param [Google::Apis::RequestOptions] options
3420
- # Request-specific options
3421
- #
3422
- # @yield [result, err] Result & error if block supplied
3423
- # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
3424
- # @yieldparam err [StandardError] error object if request failed
3425
- #
3426
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
3427
- #
3428
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3429
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3430
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3431
- def test_project_location_global_security_gateway_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3432
- command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
3433
- command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
3434
- command.request_object = google_iam_v1_test_iam_permissions_request_object
3435
- command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
3436
- command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
3437
- command.params['resource'] = resource unless resource.nil?
3438
- command.query['fields'] = fields unless fields.nil?
3439
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3440
- execute_or_queue_command(command, &block)
3441
- end
3442
-
3443
2989
  # Gets the value for a selected particular insight based on the provided filters.
3444
2990
  # Use the organization level path for fetching at org level and project level
3445
2991
  # path for fetching the insight value specific to a particular project.
@@ -4121,6 +3667,51 @@ module Google
4121
3667
  execute_or_queue_command(command, &block)
4122
3668
  end
4123
3669
 
3670
+ # Creates a new Application in a given project and location.
3671
+ # @param [String] parent
3672
+ # Required. The resource name of the parent SecurityGateway using the form: `
3673
+ # projects/`project_id`/locations/global/securityGateways/`security_gateway_id``
3674
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3675
+ # @param [String] application_id
3676
+ # Optional. User-settable Application resource ID. * Must start with a letter. *
3677
+ # Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
3678
+ # or letter.
3679
+ # @param [String] request_id
3680
+ # Optional. An optional request ID to identify requests. Specify a unique
3681
+ # request ID so that if you must retry your request, the server will know to
3682
+ # ignore request if it has already been completed. The server will guarantee
3683
+ # that for at least 60 minutes since the first request.
3684
+ # @param [String] fields
3685
+ # Selector specifying which fields to include in a partial response.
3686
+ # @param [String] quota_user
3687
+ # Available to use for quota purposes for server-side applications. Can be any
3688
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3689
+ # @param [Google::Apis::RequestOptions] options
3690
+ # Request-specific options
3691
+ #
3692
+ # @yield [result, err] Result & error if block supplied
3693
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3694
+ # @yieldparam err [StandardError] error object if request failed
3695
+ #
3696
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3697
+ #
3698
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3699
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3700
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3701
+ def create_project_location_security_gateway_application(parent, google_cloud_beyondcorp_securitygateways_v1alpha_application_object = nil, application_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3702
+ command = make_simple_command(:post, 'v1alpha/{+parent}/applications', options)
3703
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
3704
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3705
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3706
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3707
+ command.params['parent'] = parent unless parent.nil?
3708
+ command.query['applicationId'] = application_id unless application_id.nil?
3709
+ command.query['requestId'] = request_id unless request_id.nil?
3710
+ command.query['fields'] = fields unless fields.nil?
3711
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3712
+ execute_or_queue_command(command, &block)
3713
+ end
3714
+
4124
3715
  # Deletes a single Application.
4125
3716
  # @param [String] name
4126
3717
  # Required. Name of the resource.
@@ -4296,6 +3887,54 @@ module Google
4296
3887
  execute_or_queue_command(command, &block)
4297
3888
  end
4298
3889
 
3890
+ # Updates the parameters of a single Application.
3891
+ # @param [String] name
3892
+ # Identifier. Name of the resource.
3893
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication] google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3894
+ # @param [String] request_id
3895
+ # Optional. An optional request ID to identify requests. Specify a unique
3896
+ # request ID so that if you must retry your request, the server will know to
3897
+ # ignore the request if it has already been completed. The server will guarantee
3898
+ # that for at least 60 minutes after the first request. For example, consider a
3899
+ # situation where you make an initial request and the request timed out. If you
3900
+ # make the request again with the same request ID, the server can check if
3901
+ # original operation with the same request ID was received, and if so, will
3902
+ # ignore the second request. This prevents clients from accidentally creating
3903
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3904
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3905
+ # @param [String] update_mask
3906
+ # Optional. Mutable fields include: display_name.
3907
+ # @param [String] fields
3908
+ # Selector specifying which fields to include in a partial response.
3909
+ # @param [String] quota_user
3910
+ # Available to use for quota purposes for server-side applications. Can be any
3911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3912
+ # @param [Google::Apis::RequestOptions] options
3913
+ # Request-specific options
3914
+ #
3915
+ # @yield [result, err] Result & error if block supplied
3916
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
3917
+ # @yieldparam err [StandardError] error object if request failed
3918
+ #
3919
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
3920
+ #
3921
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3922
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3923
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3924
+ def patch_project_location_security_gateway_application(name, google_cloud_beyondcorp_securitygateways_v1alpha_application_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3925
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3926
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication::Representation
3927
+ command.request_object = google_cloud_beyondcorp_securitygateways_v1alpha_application_object
3928
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
3929
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
3930
+ command.params['name'] = name unless name.nil?
3931
+ command.query['requestId'] = request_id unless request_id.nil?
3932
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3933
+ command.query['fields'] = fields unless fields.nil?
3934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3935
+ execute_or_queue_command(command, &block)
3936
+ end
3937
+
4299
3938
  # Sets the access control policy on the specified resource. Replaces any
4300
3939
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
4301
3940
  # PERMISSION_DENIED` errors.
@@ -4332,6 +3971,45 @@ module Google
4332
3971
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4333
3972
  execute_or_queue_command(command, &block)
4334
3973
  end
3974
+
3975
+ # Returns permissions that a caller has on the specified resource. If the
3976
+ # resource does not exist, this will return an empty set of permissions, not a `
3977
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
3978
+ # permission-aware UIs and command-line tools, not for authorization checking.
3979
+ # This operation may "fail open" without warning.
3980
+ # @param [String] resource
3981
+ # REQUIRED: The resource for which the policy detail is being requested. See [
3982
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
3983
+ # appropriate value for this field.
3984
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
3985
+ # @param [String] fields
3986
+ # Selector specifying which fields to include in a partial response.
3987
+ # @param [String] quota_user
3988
+ # Available to use for quota purposes for server-side applications. Can be any
3989
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3990
+ # @param [Google::Apis::RequestOptions] options
3991
+ # Request-specific options
3992
+ #
3993
+ # @yield [result, err] Result & error if block supplied
3994
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
3995
+ # @yieldparam err [StandardError] error object if request failed
3996
+ #
3997
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
3998
+ #
3999
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4000
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4001
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4002
+ def test_project_location_security_gateway_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4003
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
4004
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
4005
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
4006
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
4007
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
4008
+ command.params['resource'] = resource unless resource.nil?
4009
+ command.query['fields'] = fields unless fields.nil?
4010
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4011
+ execute_or_queue_command(command, &block)
4012
+ end
4335
4013
 
4336
4014
  protected
4337
4015
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.50.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for BeyondCorp API V1alpha
79
79
  test_files: []