google-apis-networksecurity_v1 0.35.0 → 0.36.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.
@@ -3248,6 +3248,840 @@ module Google
3248
3248
  execute_or_queue_command(command, &block)
3249
3249
  end
3250
3250
 
3251
+ # Creates a deployment group in a given project and location. See https://google.
3252
+ # aip.dev/133.
3253
+ # @param [String] parent
3254
+ # Required. The parent resource where this deployment group will be created.
3255
+ # Format: projects/`project`/locations/`location`
3256
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup] intercept_deployment_group_object
3257
+ # @param [String] intercept_deployment_group_id
3258
+ # Required. The ID to use for the new deployment group, which will become the
3259
+ # final component of the deployment group's resource name.
3260
+ # @param [String] request_id
3261
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3262
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3263
+ # 155 for more details.
3264
+ # @param [String] fields
3265
+ # Selector specifying which fields to include in a partial response.
3266
+ # @param [String] quota_user
3267
+ # Available to use for quota purposes for server-side applications. Can be any
3268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3269
+ # @param [Google::Apis::RequestOptions] options
3270
+ # Request-specific options
3271
+ #
3272
+ # @yield [result, err] Result & error if block supplied
3273
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3274
+ # @yieldparam err [StandardError] error object if request failed
3275
+ #
3276
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3277
+ #
3278
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3279
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3280
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3281
+ def create_project_location_intercept_deployment_group(parent, intercept_deployment_group_object = nil, intercept_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3282
+ command = make_simple_command(:post, 'v1/{+parent}/interceptDeploymentGroups', options)
3283
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation
3284
+ command.request_object = intercept_deployment_group_object
3285
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3286
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3287
+ command.params['parent'] = parent unless parent.nil?
3288
+ command.query['interceptDeploymentGroupId'] = intercept_deployment_group_id unless intercept_deployment_group_id.nil?
3289
+ command.query['requestId'] = request_id unless request_id.nil?
3290
+ command.query['fields'] = fields unless fields.nil?
3291
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3292
+ execute_or_queue_command(command, &block)
3293
+ end
3294
+
3295
+ # Deletes a deployment group. See https://google.aip.dev/135.
3296
+ # @param [String] name
3297
+ # Required. The deployment group to delete.
3298
+ # @param [String] request_id
3299
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3300
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3301
+ # 155 for more details.
3302
+ # @param [String] fields
3303
+ # Selector specifying which fields to include in a partial response.
3304
+ # @param [String] quota_user
3305
+ # Available to use for quota purposes for server-side applications. Can be any
3306
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3307
+ # @param [Google::Apis::RequestOptions] options
3308
+ # Request-specific options
3309
+ #
3310
+ # @yield [result, err] Result & error if block supplied
3311
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3312
+ # @yieldparam err [StandardError] error object if request failed
3313
+ #
3314
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3315
+ #
3316
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3317
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3318
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3319
+ def delete_project_location_intercept_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3320
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3321
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3322
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3323
+ command.params['name'] = name unless name.nil?
3324
+ command.query['requestId'] = request_id unless request_id.nil?
3325
+ command.query['fields'] = fields unless fields.nil?
3326
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3327
+ execute_or_queue_command(command, &block)
3328
+ end
3329
+
3330
+ # Gets a specific deployment group. See https://google.aip.dev/131.
3331
+ # @param [String] name
3332
+ # Required. The name of the deployment group to retrieve. Format: projects/`
3333
+ # project`/locations/`location`/interceptDeploymentGroups/`
3334
+ # intercept_deployment_group`
3335
+ # @param [String] fields
3336
+ # Selector specifying which fields to include in a partial response.
3337
+ # @param [String] quota_user
3338
+ # Available to use for quota purposes for server-side applications. Can be any
3339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3340
+ # @param [Google::Apis::RequestOptions] options
3341
+ # Request-specific options
3342
+ #
3343
+ # @yield [result, err] Result & error if block supplied
3344
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup] parsed result object
3345
+ # @yieldparam err [StandardError] error object if request failed
3346
+ #
3347
+ # @return [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup]
3348
+ #
3349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3352
+ def get_project_location_intercept_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
3353
+ command = make_simple_command(:get, 'v1/{+name}', options)
3354
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation
3355
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup
3356
+ command.params['name'] = name unless name.nil?
3357
+ command.query['fields'] = fields unless fields.nil?
3358
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3359
+ execute_or_queue_command(command, &block)
3360
+ end
3361
+
3362
+ # Lists deployment groups in a given project and location. See https://google.
3363
+ # aip.dev/132.
3364
+ # @param [String] parent
3365
+ # Required. The parent, which owns this collection of deployment groups. Example:
3366
+ # `projects/123456789/locations/global`. See https://google.aip.dev/132 for
3367
+ # more details.
3368
+ # @param [String] filter
3369
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
3370
+ # details.
3371
+ # @param [String] order_by
3372
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
3373
+ # details.
3374
+ # @param [Fixnum] page_size
3375
+ # Optional. Requested page size. Server may return fewer items than requested.
3376
+ # If unspecified, server will pick an appropriate default. See https://google.
3377
+ # aip.dev/158 for more details.
3378
+ # @param [String] page_token
3379
+ # Optional. A page token, received from a previous `
3380
+ # ListInterceptDeploymentGroups` call. Provide this to retrieve the subsequent
3381
+ # page. When paginating, all other parameters provided to `
3382
+ # ListInterceptDeploymentGroups` must match the call that provided the page
3383
+ # token. See https://google.aip.dev/158 for more details.
3384
+ # @param [String] fields
3385
+ # Selector specifying which fields to include in a partial response.
3386
+ # @param [String] quota_user
3387
+ # Available to use for quota purposes for server-side applications. Can be any
3388
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3389
+ # @param [Google::Apis::RequestOptions] options
3390
+ # Request-specific options
3391
+ #
3392
+ # @yield [result, err] Result & error if block supplied
3393
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse] parsed result object
3394
+ # @yieldparam err [StandardError] error object if request failed
3395
+ #
3396
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse]
3397
+ #
3398
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3399
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3400
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3401
+ def list_project_location_intercept_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3402
+ command = make_simple_command(:get, 'v1/{+parent}/interceptDeploymentGroups', options)
3403
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse::Representation
3404
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptDeploymentGroupsResponse
3405
+ command.params['parent'] = parent unless parent.nil?
3406
+ command.query['filter'] = filter unless filter.nil?
3407
+ command.query['orderBy'] = order_by unless order_by.nil?
3408
+ command.query['pageSize'] = page_size unless page_size.nil?
3409
+ command.query['pageToken'] = page_token unless page_token.nil?
3410
+ command.query['fields'] = fields unless fields.nil?
3411
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3412
+ execute_or_queue_command(command, &block)
3413
+ end
3414
+
3415
+ # Updates a deployment group. See https://google.aip.dev/134.
3416
+ # @param [String] name
3417
+ # Immutable. Identifier. The resource name of this deployment group, for example:
3418
+ # `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See
3419
+ # https://google.aip.dev/122 for more details.
3420
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeploymentGroup] intercept_deployment_group_object
3421
+ # @param [String] request_id
3422
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3423
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3424
+ # 155 for more details.
3425
+ # @param [String] update_mask
3426
+ # Optional. The list of fields to update. Fields are specified relative to the
3427
+ # deployment group (e.g. `description`; *not* `intercept_deployment_group.
3428
+ # description`). See https://google.aip.dev/161 for more details.
3429
+ # @param [String] fields
3430
+ # Selector specifying which fields to include in a partial response.
3431
+ # @param [String] quota_user
3432
+ # Available to use for quota purposes for server-side applications. Can be any
3433
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3434
+ # @param [Google::Apis::RequestOptions] options
3435
+ # Request-specific options
3436
+ #
3437
+ # @yield [result, err] Result & error if block supplied
3438
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3439
+ # @yieldparam err [StandardError] error object if request failed
3440
+ #
3441
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3442
+ #
3443
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3444
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3445
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3446
+ def patch_project_location_intercept_deployment_group(name, intercept_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3447
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3448
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeploymentGroup::Representation
3449
+ command.request_object = intercept_deployment_group_object
3450
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3451
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3452
+ command.params['name'] = name unless name.nil?
3453
+ command.query['requestId'] = request_id unless request_id.nil?
3454
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3455
+ command.query['fields'] = fields unless fields.nil?
3456
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3457
+ execute_or_queue_command(command, &block)
3458
+ end
3459
+
3460
+ # Creates a deployment in a given project and location. See https://google.aip.
3461
+ # dev/133.
3462
+ # @param [String] parent
3463
+ # Required. The parent resource where this deployment will be created. Format:
3464
+ # projects/`project`/locations/`location`
3465
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeployment] intercept_deployment_object
3466
+ # @param [String] intercept_deployment_id
3467
+ # Required. The ID to use for the new deployment, which will become the final
3468
+ # component of the deployment's resource name.
3469
+ # @param [String] request_id
3470
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3471
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3472
+ # 155 for more details.
3473
+ # @param [String] fields
3474
+ # Selector specifying which fields to include in a partial response.
3475
+ # @param [String] quota_user
3476
+ # Available to use for quota purposes for server-side applications. Can be any
3477
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3478
+ # @param [Google::Apis::RequestOptions] options
3479
+ # Request-specific options
3480
+ #
3481
+ # @yield [result, err] Result & error if block supplied
3482
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3483
+ # @yieldparam err [StandardError] error object if request failed
3484
+ #
3485
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3486
+ #
3487
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3488
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3489
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3490
+ def create_project_location_intercept_deployment(parent, intercept_deployment_object = nil, intercept_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3491
+ command = make_simple_command(:post, 'v1/{+parent}/interceptDeployments', options)
3492
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation
3493
+ command.request_object = intercept_deployment_object
3494
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3495
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3496
+ command.params['parent'] = parent unless parent.nil?
3497
+ command.query['interceptDeploymentId'] = intercept_deployment_id unless intercept_deployment_id.nil?
3498
+ command.query['requestId'] = request_id unless request_id.nil?
3499
+ command.query['fields'] = fields unless fields.nil?
3500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3501
+ execute_or_queue_command(command, &block)
3502
+ end
3503
+
3504
+ # Deletes a deployment. See https://google.aip.dev/135.
3505
+ # @param [String] name
3506
+ # Required. Name of the resource
3507
+ # @param [String] request_id
3508
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3509
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3510
+ # 155 for more details.
3511
+ # @param [String] fields
3512
+ # Selector specifying which fields to include in a partial response.
3513
+ # @param [String] quota_user
3514
+ # Available to use for quota purposes for server-side applications. Can be any
3515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3516
+ # @param [Google::Apis::RequestOptions] options
3517
+ # Request-specific options
3518
+ #
3519
+ # @yield [result, err] Result & error if block supplied
3520
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3521
+ # @yieldparam err [StandardError] error object if request failed
3522
+ #
3523
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3524
+ #
3525
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3526
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3527
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3528
+ def delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3529
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3530
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3531
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3532
+ command.params['name'] = name unless name.nil?
3533
+ command.query['requestId'] = request_id unless request_id.nil?
3534
+ command.query['fields'] = fields unless fields.nil?
3535
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3536
+ execute_or_queue_command(command, &block)
3537
+ end
3538
+
3539
+ # Gets a specific deployment. See https://google.aip.dev/131.
3540
+ # @param [String] name
3541
+ # Required. The name of the deployment to retrieve. Format: projects/`project`/
3542
+ # locations/`location`/interceptDeployments/`intercept_deployment`
3543
+ # @param [String] fields
3544
+ # Selector specifying which fields to include in a partial response.
3545
+ # @param [String] quota_user
3546
+ # Available to use for quota purposes for server-side applications. Can be any
3547
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3548
+ # @param [Google::Apis::RequestOptions] options
3549
+ # Request-specific options
3550
+ #
3551
+ # @yield [result, err] Result & error if block supplied
3552
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptDeployment] parsed result object
3553
+ # @yieldparam err [StandardError] error object if request failed
3554
+ #
3555
+ # @return [Google::Apis::NetworksecurityV1::InterceptDeployment]
3556
+ #
3557
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3558
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3559
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3560
+ def get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
3561
+ command = make_simple_command(:get, 'v1/{+name}', options)
3562
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation
3563
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptDeployment
3564
+ command.params['name'] = name unless name.nil?
3565
+ command.query['fields'] = fields unless fields.nil?
3566
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3567
+ execute_or_queue_command(command, &block)
3568
+ end
3569
+
3570
+ # Lists deployments in a given project and location. See https://google.aip.dev/
3571
+ # 132.
3572
+ # @param [String] parent
3573
+ # Required. The parent, which owns this collection of deployments. Example: `
3574
+ # projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132
3575
+ # for more details.
3576
+ # @param [String] filter
3577
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
3578
+ # details.
3579
+ # @param [String] order_by
3580
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
3581
+ # details.
3582
+ # @param [Fixnum] page_size
3583
+ # Optional. Requested page size. Server may return fewer items than requested.
3584
+ # If unspecified, server will pick an appropriate default. See https://google.
3585
+ # aip.dev/158 for more details.
3586
+ # @param [String] page_token
3587
+ # Optional. A page token, received from a previous `ListInterceptDeployments`
3588
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
3589
+ # parameters provided to `ListInterceptDeployments` must match the call that
3590
+ # provided the page token. See https://google.aip.dev/158 for more details.
3591
+ # @param [String] fields
3592
+ # Selector specifying which fields to include in a partial response.
3593
+ # @param [String] quota_user
3594
+ # Available to use for quota purposes for server-side applications. Can be any
3595
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3596
+ # @param [Google::Apis::RequestOptions] options
3597
+ # Request-specific options
3598
+ #
3599
+ # @yield [result, err] Result & error if block supplied
3600
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse] parsed result object
3601
+ # @yieldparam err [StandardError] error object if request failed
3602
+ #
3603
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse]
3604
+ #
3605
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3606
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3607
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3608
+ def list_project_location_intercept_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3609
+ command = make_simple_command(:get, 'v1/{+parent}/interceptDeployments', options)
3610
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse::Representation
3611
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptDeploymentsResponse
3612
+ command.params['parent'] = parent unless parent.nil?
3613
+ command.query['filter'] = filter unless filter.nil?
3614
+ command.query['orderBy'] = order_by unless order_by.nil?
3615
+ command.query['pageSize'] = page_size unless page_size.nil?
3616
+ command.query['pageToken'] = page_token unless page_token.nil?
3617
+ command.query['fields'] = fields unless fields.nil?
3618
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3619
+ execute_or_queue_command(command, &block)
3620
+ end
3621
+
3622
+ # Updates a deployment. See https://google.aip.dev/134.
3623
+ # @param [String] name
3624
+ # Immutable. Identifier. The resource name of this deployment, for example: `
3625
+ # projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See
3626
+ # https://google.aip.dev/122 for more details.
3627
+ # @param [Google::Apis::NetworksecurityV1::InterceptDeployment] intercept_deployment_object
3628
+ # @param [String] request_id
3629
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3630
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3631
+ # 155 for more details.
3632
+ # @param [String] update_mask
3633
+ # Optional. The list of fields to update. Fields are specified relative to the
3634
+ # deployment (e.g. `description`; *not* `intercept_deployment.description`). See
3635
+ # https://google.aip.dev/161 for more details.
3636
+ # @param [String] fields
3637
+ # Selector specifying which fields to include in a partial response.
3638
+ # @param [String] quota_user
3639
+ # Available to use for quota purposes for server-side applications. Can be any
3640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3641
+ # @param [Google::Apis::RequestOptions] options
3642
+ # Request-specific options
3643
+ #
3644
+ # @yield [result, err] Result & error if block supplied
3645
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3646
+ # @yieldparam err [StandardError] error object if request failed
3647
+ #
3648
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3649
+ #
3650
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3651
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3652
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3653
+ def patch_project_location_intercept_deployment(name, intercept_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3654
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3655
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptDeployment::Representation
3656
+ command.request_object = intercept_deployment_object
3657
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3658
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3659
+ command.params['name'] = name unless name.nil?
3660
+ command.query['requestId'] = request_id unless request_id.nil?
3661
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3662
+ command.query['fields'] = fields unless fields.nil?
3663
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3664
+ execute_or_queue_command(command, &block)
3665
+ end
3666
+
3667
+ # Creates an association in a given project and location. See https://google.aip.
3668
+ # dev/133.
3669
+ # @param [String] parent
3670
+ # Required. The parent resource where this association will be created. Format:
3671
+ # projects/`project`/locations/`location`
3672
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
3673
+ # @param [String] intercept_endpoint_group_association_id
3674
+ # Optional. The ID to use for the new association, which will become the final
3675
+ # component of the endpoint group's resource name. If not provided, the server
3676
+ # will generate a unique ID.
3677
+ # @param [String] request_id
3678
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3679
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3680
+ # 155 for more details.
3681
+ # @param [String] fields
3682
+ # Selector specifying which fields to include in a partial response.
3683
+ # @param [String] quota_user
3684
+ # Available to use for quota purposes for server-side applications. Can be any
3685
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3686
+ # @param [Google::Apis::RequestOptions] options
3687
+ # Request-specific options
3688
+ #
3689
+ # @yield [result, err] Result & error if block supplied
3690
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3691
+ # @yieldparam err [StandardError] error object if request failed
3692
+ #
3693
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3694
+ #
3695
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3696
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3697
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3698
+ def create_project_location_intercept_endpoint_group_association(parent, intercept_endpoint_group_association_object = nil, intercept_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3699
+ command = make_simple_command(:post, 'v1/{+parent}/interceptEndpointGroupAssociations', options)
3700
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation
3701
+ command.request_object = intercept_endpoint_group_association_object
3702
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3703
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3704
+ command.params['parent'] = parent unless parent.nil?
3705
+ command.query['interceptEndpointGroupAssociationId'] = intercept_endpoint_group_association_id unless intercept_endpoint_group_association_id.nil?
3706
+ command.query['requestId'] = request_id unless request_id.nil?
3707
+ command.query['fields'] = fields unless fields.nil?
3708
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3709
+ execute_or_queue_command(command, &block)
3710
+ end
3711
+
3712
+ # Deletes an association. See https://google.aip.dev/135.
3713
+ # @param [String] name
3714
+ # Required. The association to delete.
3715
+ # @param [String] request_id
3716
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3717
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3718
+ # 155 for more details.
3719
+ # @param [String] fields
3720
+ # Selector specifying which fields to include in a partial response.
3721
+ # @param [String] quota_user
3722
+ # Available to use for quota purposes for server-side applications. Can be any
3723
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3724
+ # @param [Google::Apis::RequestOptions] options
3725
+ # Request-specific options
3726
+ #
3727
+ # @yield [result, err] Result & error if block supplied
3728
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3729
+ # @yieldparam err [StandardError] error object if request failed
3730
+ #
3731
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3732
+ #
3733
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3734
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3735
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3736
+ def delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3737
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3738
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3739
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3740
+ command.params['name'] = name unless name.nil?
3741
+ command.query['requestId'] = request_id unless request_id.nil?
3742
+ command.query['fields'] = fields unless fields.nil?
3743
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3744
+ execute_or_queue_command(command, &block)
3745
+ end
3746
+
3747
+ # Gets a specific association. See https://google.aip.dev/131.
3748
+ # @param [String] name
3749
+ # Required. The name of the association to retrieve. Format: projects/`project`/
3750
+ # locations/`location`/interceptEndpointGroupAssociations/`
3751
+ # intercept_endpoint_group_association`
3752
+ # @param [String] fields
3753
+ # Selector specifying which fields to include in a partial response.
3754
+ # @param [String] quota_user
3755
+ # Available to use for quota purposes for server-side applications. Can be any
3756
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3757
+ # @param [Google::Apis::RequestOptions] options
3758
+ # Request-specific options
3759
+ #
3760
+ # @yield [result, err] Result & error if block supplied
3761
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation] parsed result object
3762
+ # @yieldparam err [StandardError] error object if request failed
3763
+ #
3764
+ # @return [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation]
3765
+ #
3766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3769
+ def get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
3770
+ command = make_simple_command(:get, 'v1/{+name}', options)
3771
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation
3772
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation
3773
+ command.params['name'] = name unless name.nil?
3774
+ command.query['fields'] = fields unless fields.nil?
3775
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3776
+ execute_or_queue_command(command, &block)
3777
+ end
3778
+
3779
+ # Lists associations in a given project and location. See https://google.aip.dev/
3780
+ # 132.
3781
+ # @param [String] parent
3782
+ # Required. The parent, which owns this collection of associations. Example: `
3783
+ # projects/123456789/locations/global`. See https://google.aip.dev/132 for more
3784
+ # details.
3785
+ # @param [String] filter
3786
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
3787
+ # details.
3788
+ # @param [String] order_by
3789
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
3790
+ # details.
3791
+ # @param [Fixnum] page_size
3792
+ # Optional. Requested page size. Server may return fewer items than requested.
3793
+ # If unspecified, server will pick an appropriate default. See https://google.
3794
+ # aip.dev/158 for more details.
3795
+ # @param [String] page_token
3796
+ # Optional. A page token, received from a previous `ListInterceptEndpointGroups`
3797
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
3798
+ # parameters provided to `ListInterceptEndpointGroups` must match the call that
3799
+ # provided the page token. See https://google.aip.dev/158 for more details.
3800
+ # @param [String] fields
3801
+ # Selector specifying which fields to include in a partial response.
3802
+ # @param [String] quota_user
3803
+ # Available to use for quota purposes for server-side applications. Can be any
3804
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3805
+ # @param [Google::Apis::RequestOptions] options
3806
+ # Request-specific options
3807
+ #
3808
+ # @yield [result, err] Result & error if block supplied
3809
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse] parsed result object
3810
+ # @yieldparam err [StandardError] error object if request failed
3811
+ #
3812
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse]
3813
+ #
3814
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3815
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3816
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3817
+ def list_project_location_intercept_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3818
+ command = make_simple_command(:get, 'v1/{+parent}/interceptEndpointGroupAssociations', options)
3819
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse::Representation
3820
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupAssociationsResponse
3821
+ command.params['parent'] = parent unless parent.nil?
3822
+ command.query['filter'] = filter unless filter.nil?
3823
+ command.query['orderBy'] = order_by unless order_by.nil?
3824
+ command.query['pageSize'] = page_size unless page_size.nil?
3825
+ command.query['pageToken'] = page_token unless page_token.nil?
3826
+ command.query['fields'] = fields unless fields.nil?
3827
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3828
+ execute_or_queue_command(command, &block)
3829
+ end
3830
+
3831
+ # Updates an association. See https://google.aip.dev/134.
3832
+ # @param [String] name
3833
+ # Immutable. Identifier. The resource name of this endpoint group association,
3834
+ # for example: `projects/123456789/locations/global/
3835
+ # interceptEndpointGroupAssociations/my-eg-association`. See https://google.aip.
3836
+ # dev/122 for more details.
3837
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
3838
+ # @param [String] request_id
3839
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3840
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3841
+ # 155 for more details.
3842
+ # @param [String] update_mask
3843
+ # Optional. The list of fields to update. Fields are specified relative to the
3844
+ # association (e.g. `description`; *not* `intercept_endpoint_group_association.
3845
+ # description`). See https://google.aip.dev/161 for more details.
3846
+ # @param [String] fields
3847
+ # Selector specifying which fields to include in a partial response.
3848
+ # @param [String] quota_user
3849
+ # Available to use for quota purposes for server-side applications. Can be any
3850
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3851
+ # @param [Google::Apis::RequestOptions] options
3852
+ # Request-specific options
3853
+ #
3854
+ # @yield [result, err] Result & error if block supplied
3855
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3856
+ # @yieldparam err [StandardError] error object if request failed
3857
+ #
3858
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3859
+ #
3860
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3861
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3862
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3863
+ def patch_project_location_intercept_endpoint_group_association(name, intercept_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3864
+ command = make_simple_command(:patch, 'v1/{+name}', options)
3865
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroupAssociation::Representation
3866
+ command.request_object = intercept_endpoint_group_association_object
3867
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3868
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3869
+ command.params['name'] = name unless name.nil?
3870
+ command.query['requestId'] = request_id unless request_id.nil?
3871
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3872
+ command.query['fields'] = fields unless fields.nil?
3873
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3874
+ execute_or_queue_command(command, &block)
3875
+ end
3876
+
3877
+ # Creates an endpoint group in a given project and location. See https://google.
3878
+ # aip.dev/133.
3879
+ # @param [String] parent
3880
+ # Required. The parent resource where this endpoint group will be created.
3881
+ # Format: projects/`project`/locations/`location`
3882
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroup] intercept_endpoint_group_object
3883
+ # @param [String] intercept_endpoint_group_id
3884
+ # Required. The ID to use for the endpoint group, which will become the final
3885
+ # component of the endpoint group's resource name.
3886
+ # @param [String] request_id
3887
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3888
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3889
+ # 155 for more details.
3890
+ # @param [String] fields
3891
+ # Selector specifying which fields to include in a partial response.
3892
+ # @param [String] quota_user
3893
+ # Available to use for quota purposes for server-side applications. Can be any
3894
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3895
+ # @param [Google::Apis::RequestOptions] options
3896
+ # Request-specific options
3897
+ #
3898
+ # @yield [result, err] Result & error if block supplied
3899
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3900
+ # @yieldparam err [StandardError] error object if request failed
3901
+ #
3902
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3903
+ #
3904
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3905
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3906
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3907
+ def create_project_location_intercept_endpoint_group(parent, intercept_endpoint_group_object = nil, intercept_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3908
+ command = make_simple_command(:post, 'v1/{+parent}/interceptEndpointGroups', options)
3909
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation
3910
+ command.request_object = intercept_endpoint_group_object
3911
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3912
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3913
+ command.params['parent'] = parent unless parent.nil?
3914
+ command.query['interceptEndpointGroupId'] = intercept_endpoint_group_id unless intercept_endpoint_group_id.nil?
3915
+ command.query['requestId'] = request_id unless request_id.nil?
3916
+ command.query['fields'] = fields unless fields.nil?
3917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3918
+ execute_or_queue_command(command, &block)
3919
+ end
3920
+
3921
+ # Deletes an endpoint group. See https://google.aip.dev/135.
3922
+ # @param [String] name
3923
+ # Required. The endpoint group to delete.
3924
+ # @param [String] request_id
3925
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
3926
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
3927
+ # 155 for more details.
3928
+ # @param [String] fields
3929
+ # Selector specifying which fields to include in a partial response.
3930
+ # @param [String] quota_user
3931
+ # Available to use for quota purposes for server-side applications. Can be any
3932
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3933
+ # @param [Google::Apis::RequestOptions] options
3934
+ # Request-specific options
3935
+ #
3936
+ # @yield [result, err] Result & error if block supplied
3937
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
3938
+ # @yieldparam err [StandardError] error object if request failed
3939
+ #
3940
+ # @return [Google::Apis::NetworksecurityV1::Operation]
3941
+ #
3942
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3943
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3944
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3945
+ def delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3946
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3947
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
3948
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
3949
+ command.params['name'] = name unless name.nil?
3950
+ command.query['requestId'] = request_id unless request_id.nil?
3951
+ command.query['fields'] = fields unless fields.nil?
3952
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3953
+ execute_or_queue_command(command, &block)
3954
+ end
3955
+
3956
+ # Gets a specific endpoint group. See https://google.aip.dev/131.
3957
+ # @param [String] name
3958
+ # Required. The name of the endpoint group to retrieve. Format: projects/`
3959
+ # project`/locations/`location`/interceptEndpointGroups/`
3960
+ # intercept_endpoint_group`
3961
+ # @param [String] fields
3962
+ # Selector specifying which fields to include in a partial response.
3963
+ # @param [String] quota_user
3964
+ # Available to use for quota purposes for server-side applications. Can be any
3965
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3966
+ # @param [Google::Apis::RequestOptions] options
3967
+ # Request-specific options
3968
+ #
3969
+ # @yield [result, err] Result & error if block supplied
3970
+ # @yieldparam result [Google::Apis::NetworksecurityV1::InterceptEndpointGroup] parsed result object
3971
+ # @yieldparam err [StandardError] error object if request failed
3972
+ #
3973
+ # @return [Google::Apis::NetworksecurityV1::InterceptEndpointGroup]
3974
+ #
3975
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3976
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3977
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3978
+ def get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
3979
+ command = make_simple_command(:get, 'v1/{+name}', options)
3980
+ command.response_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation
3981
+ command.response_class = Google::Apis::NetworksecurityV1::InterceptEndpointGroup
3982
+ command.params['name'] = name unless name.nil?
3983
+ command.query['fields'] = fields unless fields.nil?
3984
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3985
+ execute_or_queue_command(command, &block)
3986
+ end
3987
+
3988
+ # Lists endpoint groups in a given project and location. See https://google.aip.
3989
+ # dev/132.
3990
+ # @param [String] parent
3991
+ # Required. The parent, which owns this collection of endpoint groups. Example: `
3992
+ # projects/123456789/locations/global`. See https://google.aip.dev/132 for more
3993
+ # details.
3994
+ # @param [String] filter
3995
+ # Optional. Filter expression. See https://google.aip.dev/160#filtering for more
3996
+ # details.
3997
+ # @param [String] order_by
3998
+ # Optional. Sort expression. See https://google.aip.dev/132#ordering for more
3999
+ # details.
4000
+ # @param [Fixnum] page_size
4001
+ # Optional. Requested page size. Server may return fewer items than requested.
4002
+ # If unspecified, server will pick an appropriate default. See https://google.
4003
+ # aip.dev/158 for more details.
4004
+ # @param [String] page_token
4005
+ # Optional. A page token, received from a previous `ListInterceptEndpointGroups`
4006
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
4007
+ # parameters provided to `ListInterceptEndpointGroups` must match the call that
4008
+ # provided the page token. See https://google.aip.dev/158 for more details.
4009
+ # @param [String] fields
4010
+ # Selector specifying which fields to include in a partial response.
4011
+ # @param [String] quota_user
4012
+ # Available to use for quota purposes for server-side applications. Can be any
4013
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4014
+ # @param [Google::Apis::RequestOptions] options
4015
+ # Request-specific options
4016
+ #
4017
+ # @yield [result, err] Result & error if block supplied
4018
+ # @yieldparam result [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse] parsed result object
4019
+ # @yieldparam err [StandardError] error object if request failed
4020
+ #
4021
+ # @return [Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse]
4022
+ #
4023
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4024
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4025
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4026
+ def list_project_location_intercept_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4027
+ command = make_simple_command(:get, 'v1/{+parent}/interceptEndpointGroups', options)
4028
+ command.response_representation = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse::Representation
4029
+ command.response_class = Google::Apis::NetworksecurityV1::ListInterceptEndpointGroupsResponse
4030
+ command.params['parent'] = parent unless parent.nil?
4031
+ command.query['filter'] = filter unless filter.nil?
4032
+ command.query['orderBy'] = order_by unless order_by.nil?
4033
+ command.query['pageSize'] = page_size unless page_size.nil?
4034
+ command.query['pageToken'] = page_token unless page_token.nil?
4035
+ command.query['fields'] = fields unless fields.nil?
4036
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4037
+ execute_or_queue_command(command, &block)
4038
+ end
4039
+
4040
+ # Updates an endpoint group. See https://google.aip.dev/134.
4041
+ # @param [String] name
4042
+ # Immutable. Identifier. The resource name of this endpoint group, for example: `
4043
+ # projects/123456789/locations/global/interceptEndpointGroups/my-eg`. See https:/
4044
+ # /google.aip.dev/122 for more details.
4045
+ # @param [Google::Apis::NetworksecurityV1::InterceptEndpointGroup] intercept_endpoint_group_object
4046
+ # @param [String] request_id
4047
+ # Optional. A unique identifier for this request. Must be a UUID4. This request
4048
+ # is only idempotent if a `request_id` is provided. See https://google.aip.dev/
4049
+ # 155 for more details.
4050
+ # @param [String] update_mask
4051
+ # Optional. The list of fields to update. Fields are specified relative to the
4052
+ # endpoint group (e.g. `description`; *not* `intercept_endpoint_group.
4053
+ # description`). See https://google.aip.dev/161 for more details.
4054
+ # @param [String] fields
4055
+ # Selector specifying which fields to include in a partial response.
4056
+ # @param [String] quota_user
4057
+ # Available to use for quota purposes for server-side applications. Can be any
4058
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4059
+ # @param [Google::Apis::RequestOptions] options
4060
+ # Request-specific options
4061
+ #
4062
+ # @yield [result, err] Result & error if block supplied
4063
+ # @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
4064
+ # @yieldparam err [StandardError] error object if request failed
4065
+ #
4066
+ # @return [Google::Apis::NetworksecurityV1::Operation]
4067
+ #
4068
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4069
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4070
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4071
+ def patch_project_location_intercept_endpoint_group(name, intercept_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4072
+ command = make_simple_command(:patch, 'v1/{+name}', options)
4073
+ command.request_representation = Google::Apis::NetworksecurityV1::InterceptEndpointGroup::Representation
4074
+ command.request_object = intercept_endpoint_group_object
4075
+ command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
4076
+ command.response_class = Google::Apis::NetworksecurityV1::Operation
4077
+ command.params['name'] = name unless name.nil?
4078
+ command.query['requestId'] = request_id unless request_id.nil?
4079
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4080
+ command.query['fields'] = fields unless fields.nil?
4081
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4082
+ execute_or_queue_command(command, &block)
4083
+ end
4084
+
3251
4085
  # Creates a deployment group in a given project and location. See https://google.
3252
4086
  # aip.dev/133.
3253
4087
  # @param [String] parent