google-apis-networksecurity_v1 0.32.0 → 0.34.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +725 -17
- data/lib/google/apis/networksecurity_v1/gem_version.rb +3 -3
- data/lib/google/apis/networksecurity_v1/representations.rb +262 -0
- data/lib/google/apis/networksecurity_v1/service.rb +852 -3
- metadata +4 -7
@@ -254,6 +254,9 @@ module Google
|
|
254
254
|
# The value returned by the last `ListAddressGroupsResponse` Indicates that this
|
255
255
|
# is a continuation of a prior `ListAddressGroups` call, and that the system
|
256
256
|
# should return the next page of data.
|
257
|
+
# @param [Boolean] return_partial_success
|
258
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
259
|
+
# requests.
|
257
260
|
# @param [String] fields
|
258
261
|
# Selector specifying which fields to include in a partial response.
|
259
262
|
# @param [String] quota_user
|
@@ -271,13 +274,14 @@ module Google
|
|
271
274
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
272
275
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
276
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
|
-
def list_organization_location_address_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
277
|
+
def list_organization_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
278
|
command = make_simple_command(:get, 'v1/{+parent}/addressGroups', options)
|
276
279
|
command.response_representation = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse::Representation
|
277
280
|
command.response_class = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse
|
278
281
|
command.params['parent'] = parent unless parent.nil?
|
279
282
|
command.query['pageSize'] = page_size unless page_size.nil?
|
280
283
|
command.query['pageToken'] = page_token unless page_token.nil?
|
284
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
281
285
|
command.query['fields'] = fields unless fields.nil?
|
282
286
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
283
287
|
execute_or_queue_command(command, &block)
|
@@ -1469,6 +1473,9 @@ module Google
|
|
1469
1473
|
# The value returned by the last `ListAddressGroupsResponse` Indicates that this
|
1470
1474
|
# is a continuation of a prior `ListAddressGroups` call, and that the system
|
1471
1475
|
# should return the next page of data.
|
1476
|
+
# @param [Boolean] return_partial_success
|
1477
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
1478
|
+
# requests.
|
1472
1479
|
# @param [String] fields
|
1473
1480
|
# Selector specifying which fields to include in a partial response.
|
1474
1481
|
# @param [String] quota_user
|
@@ -1486,13 +1493,14 @@ module Google
|
|
1486
1493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1487
1494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1488
1495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1489
|
-
def list_project_location_address_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1496
|
+
def list_project_location_address_groups(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1490
1497
|
command = make_simple_command(:get, 'v1/{+parent}/addressGroups', options)
|
1491
1498
|
command.response_representation = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse::Representation
|
1492
1499
|
command.response_class = Google::Apis::NetworksecurityV1::ListAddressGroupsResponse
|
1493
1500
|
command.params['parent'] = parent unless parent.nil?
|
1494
1501
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1495
1502
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1503
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1496
1504
|
command.query['fields'] = fields unless fields.nil?
|
1497
1505
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1498
1506
|
execute_or_queue_command(command, &block)
|
@@ -3236,6 +3244,840 @@ module Google
|
|
3236
3244
|
execute_or_queue_command(command, &block)
|
3237
3245
|
end
|
3238
3246
|
|
3247
|
+
# Creates a deployment group in a given project and location. See https://google.
|
3248
|
+
# aip.dev/133.
|
3249
|
+
# @param [String] parent
|
3250
|
+
# Required. The parent resource where this deployment group will be created.
|
3251
|
+
# Format: projects/`project`/locations/`location`
|
3252
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] mirroring_deployment_group_object
|
3253
|
+
# @param [String] mirroring_deployment_group_id
|
3254
|
+
# Required. The ID to use for the new deployment group, which will become the
|
3255
|
+
# final component of the deployment group's resource name.
|
3256
|
+
# @param [String] request_id
|
3257
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3258
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3259
|
+
# 155 for more details.
|
3260
|
+
# @param [String] fields
|
3261
|
+
# Selector specifying which fields to include in a partial response.
|
3262
|
+
# @param [String] quota_user
|
3263
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3264
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3265
|
+
# @param [Google::Apis::RequestOptions] options
|
3266
|
+
# Request-specific options
|
3267
|
+
#
|
3268
|
+
# @yield [result, err] Result & error if block supplied
|
3269
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3270
|
+
# @yieldparam err [StandardError] error object if request failed
|
3271
|
+
#
|
3272
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3273
|
+
#
|
3274
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3275
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3276
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3277
|
+
def create_project_location_mirroring_deployment_group(parent, mirroring_deployment_group_object = nil, mirroring_deployment_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3278
|
+
command = make_simple_command(:post, 'v1/{+parent}/mirroringDeploymentGroups', options)
|
3279
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
|
3280
|
+
command.request_object = mirroring_deployment_group_object
|
3281
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3282
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3283
|
+
command.params['parent'] = parent unless parent.nil?
|
3284
|
+
command.query['mirroringDeploymentGroupId'] = mirroring_deployment_group_id unless mirroring_deployment_group_id.nil?
|
3285
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3286
|
+
command.query['fields'] = fields unless fields.nil?
|
3287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3288
|
+
execute_or_queue_command(command, &block)
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
# Deletes a deployment group. See https://google.aip.dev/135.
|
3292
|
+
# @param [String] name
|
3293
|
+
# Required. The deployment group to delete.
|
3294
|
+
# @param [String] request_id
|
3295
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3296
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3297
|
+
# 155 for more details.
|
3298
|
+
# @param [String] fields
|
3299
|
+
# Selector specifying which fields to include in a partial response.
|
3300
|
+
# @param [String] quota_user
|
3301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3303
|
+
# @param [Google::Apis::RequestOptions] options
|
3304
|
+
# Request-specific options
|
3305
|
+
#
|
3306
|
+
# @yield [result, err] Result & error if block supplied
|
3307
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3308
|
+
# @yieldparam err [StandardError] error object if request failed
|
3309
|
+
#
|
3310
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3311
|
+
#
|
3312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3315
|
+
def delete_project_location_mirroring_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3316
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3317
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3318
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3319
|
+
command.params['name'] = name unless name.nil?
|
3320
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3321
|
+
command.query['fields'] = fields unless fields.nil?
|
3322
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3323
|
+
execute_or_queue_command(command, &block)
|
3324
|
+
end
|
3325
|
+
|
3326
|
+
# Gets a specific deployment group. See https://google.aip.dev/131.
|
3327
|
+
# @param [String] name
|
3328
|
+
# Required. The name of the deployment group to retrieve. Format: projects/`
|
3329
|
+
# project`/locations/`location`/mirroringDeploymentGroups/`
|
3330
|
+
# mirroring_deployment_group`
|
3331
|
+
# @param [String] fields
|
3332
|
+
# Selector specifying which fields to include in a partial response.
|
3333
|
+
# @param [String] quota_user
|
3334
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3335
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3336
|
+
# @param [Google::Apis::RequestOptions] options
|
3337
|
+
# Request-specific options
|
3338
|
+
#
|
3339
|
+
# @yield [result, err] Result & error if block supplied
|
3340
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] parsed result object
|
3341
|
+
# @yieldparam err [StandardError] error object if request failed
|
3342
|
+
#
|
3343
|
+
# @return [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup]
|
3344
|
+
#
|
3345
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3346
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3347
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3348
|
+
def get_project_location_mirroring_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
3349
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3350
|
+
command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
|
3351
|
+
command.response_class = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup
|
3352
|
+
command.params['name'] = name unless name.nil?
|
3353
|
+
command.query['fields'] = fields unless fields.nil?
|
3354
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3355
|
+
execute_or_queue_command(command, &block)
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
# Lists deployment groups in a given project and location. See https://google.
|
3359
|
+
# aip.dev/132.
|
3360
|
+
# @param [String] parent
|
3361
|
+
# Required. The parent, which owns this collection of deployment groups. Example:
|
3362
|
+
# `projects/123456789/locations/global`. See https://google.aip.dev/132 for
|
3363
|
+
# more details.
|
3364
|
+
# @param [String] filter
|
3365
|
+
# Optional. Filter expression. See https://google.aip.dev/160#filtering for more
|
3366
|
+
# details.
|
3367
|
+
# @param [String] order_by
|
3368
|
+
# Optional. Sort expression. See https://google.aip.dev/132#ordering for more
|
3369
|
+
# details.
|
3370
|
+
# @param [Fixnum] page_size
|
3371
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3372
|
+
# If unspecified, server will pick an appropriate default. See https://google.
|
3373
|
+
# aip.dev/158 for more details.
|
3374
|
+
# @param [String] page_token
|
3375
|
+
# Optional. A page token, received from a previous `
|
3376
|
+
# ListMirroringDeploymentGroups` call. Provide this to retrieve the subsequent
|
3377
|
+
# page. When paginating, all other parameters provided to `
|
3378
|
+
# ListMirroringDeploymentGroups` must match the call that provided the page
|
3379
|
+
# token. See https://google.aip.dev/158 for more details.
|
3380
|
+
# @param [String] fields
|
3381
|
+
# Selector specifying which fields to include in a partial response.
|
3382
|
+
# @param [String] quota_user
|
3383
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3384
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3385
|
+
# @param [Google::Apis::RequestOptions] options
|
3386
|
+
# Request-specific options
|
3387
|
+
#
|
3388
|
+
# @yield [result, err] Result & error if block supplied
|
3389
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse] parsed result object
|
3390
|
+
# @yieldparam err [StandardError] error object if request failed
|
3391
|
+
#
|
3392
|
+
# @return [Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse]
|
3393
|
+
#
|
3394
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3395
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3396
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3397
|
+
def list_project_location_mirroring_deployment_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3398
|
+
command = make_simple_command(:get, 'v1/{+parent}/mirroringDeploymentGroups', options)
|
3399
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse::Representation
|
3400
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentGroupsResponse
|
3401
|
+
command.params['parent'] = parent unless parent.nil?
|
3402
|
+
command.query['filter'] = filter unless filter.nil?
|
3403
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3404
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3405
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3406
|
+
command.query['fields'] = fields unless fields.nil?
|
3407
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3408
|
+
execute_or_queue_command(command, &block)
|
3409
|
+
end
|
3410
|
+
|
3411
|
+
# Updates a deployment group. See https://google.aip.dev/134.
|
3412
|
+
# @param [String] name
|
3413
|
+
# Immutable. Identifier. The resource name of this deployment group, for example:
|
3414
|
+
# `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See
|
3415
|
+
# https://google.aip.dev/122 for more details.
|
3416
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringDeploymentGroup] mirroring_deployment_group_object
|
3417
|
+
# @param [String] request_id
|
3418
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3419
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3420
|
+
# 155 for more details.
|
3421
|
+
# @param [String] update_mask
|
3422
|
+
# Optional. The list of fields to update. Fields are specified relative to the
|
3423
|
+
# deployment group (e.g. `description`; *not* `mirroring_deployment_group.
|
3424
|
+
# description`). See https://google.aip.dev/161 for more details.
|
3425
|
+
# @param [String] fields
|
3426
|
+
# Selector specifying which fields to include in a partial response.
|
3427
|
+
# @param [String] quota_user
|
3428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3430
|
+
# @param [Google::Apis::RequestOptions] options
|
3431
|
+
# Request-specific options
|
3432
|
+
#
|
3433
|
+
# @yield [result, err] Result & error if block supplied
|
3434
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3435
|
+
# @yieldparam err [StandardError] error object if request failed
|
3436
|
+
#
|
3437
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3438
|
+
#
|
3439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3442
|
+
def patch_project_location_mirroring_deployment_group(name, mirroring_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3443
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3444
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeploymentGroup::Representation
|
3445
|
+
command.request_object = mirroring_deployment_group_object
|
3446
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3447
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3448
|
+
command.params['name'] = name unless name.nil?
|
3449
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3450
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3451
|
+
command.query['fields'] = fields unless fields.nil?
|
3452
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3453
|
+
execute_or_queue_command(command, &block)
|
3454
|
+
end
|
3455
|
+
|
3456
|
+
# Creates a deployment in a given project and location. See https://google.aip.
|
3457
|
+
# dev/133.
|
3458
|
+
# @param [String] parent
|
3459
|
+
# Required. The parent resource where this deployment will be created. Format:
|
3460
|
+
# projects/`project`/locations/`location`
|
3461
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringDeployment] mirroring_deployment_object
|
3462
|
+
# @param [String] mirroring_deployment_id
|
3463
|
+
# Required. The ID to use for the new deployment, which will become the final
|
3464
|
+
# component of the deployment's resource name.
|
3465
|
+
# @param [String] request_id
|
3466
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3467
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3468
|
+
# 155 for more details.
|
3469
|
+
# @param [String] fields
|
3470
|
+
# Selector specifying which fields to include in a partial response.
|
3471
|
+
# @param [String] quota_user
|
3472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3474
|
+
# @param [Google::Apis::RequestOptions] options
|
3475
|
+
# Request-specific options
|
3476
|
+
#
|
3477
|
+
# @yield [result, err] Result & error if block supplied
|
3478
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3479
|
+
# @yieldparam err [StandardError] error object if request failed
|
3480
|
+
#
|
3481
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3482
|
+
#
|
3483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3486
|
+
def create_project_location_mirroring_deployment(parent, mirroring_deployment_object = nil, mirroring_deployment_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3487
|
+
command = make_simple_command(:post, 'v1/{+parent}/mirroringDeployments', options)
|
3488
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
|
3489
|
+
command.request_object = mirroring_deployment_object
|
3490
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3491
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3492
|
+
command.params['parent'] = parent unless parent.nil?
|
3493
|
+
command.query['mirroringDeploymentId'] = mirroring_deployment_id unless mirroring_deployment_id.nil?
|
3494
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3495
|
+
command.query['fields'] = fields unless fields.nil?
|
3496
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3497
|
+
execute_or_queue_command(command, &block)
|
3498
|
+
end
|
3499
|
+
|
3500
|
+
# Deletes a deployment. See https://google.aip.dev/135.
|
3501
|
+
# @param [String] name
|
3502
|
+
# Required. Name of the resource
|
3503
|
+
# @param [String] request_id
|
3504
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3505
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3506
|
+
# 155 for more details.
|
3507
|
+
# @param [String] fields
|
3508
|
+
# Selector specifying which fields to include in a partial response.
|
3509
|
+
# @param [String] quota_user
|
3510
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3511
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3512
|
+
# @param [Google::Apis::RequestOptions] options
|
3513
|
+
# Request-specific options
|
3514
|
+
#
|
3515
|
+
# @yield [result, err] Result & error if block supplied
|
3516
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3517
|
+
# @yieldparam err [StandardError] error object if request failed
|
3518
|
+
#
|
3519
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3520
|
+
#
|
3521
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3522
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3523
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3524
|
+
def delete_project_location_mirroring_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3525
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3526
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3527
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3528
|
+
command.params['name'] = name unless name.nil?
|
3529
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3530
|
+
command.query['fields'] = fields unless fields.nil?
|
3531
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3532
|
+
execute_or_queue_command(command, &block)
|
3533
|
+
end
|
3534
|
+
|
3535
|
+
# Gets a specific deployment. See https://google.aip.dev/131.
|
3536
|
+
# @param [String] name
|
3537
|
+
# Required. The name of the deployment to retrieve. Format: projects/`project`/
|
3538
|
+
# locations/`location`/mirroringDeployments/`mirroring_deployment`
|
3539
|
+
# @param [String] fields
|
3540
|
+
# Selector specifying which fields to include in a partial response.
|
3541
|
+
# @param [String] quota_user
|
3542
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3543
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3544
|
+
# @param [Google::Apis::RequestOptions] options
|
3545
|
+
# Request-specific options
|
3546
|
+
#
|
3547
|
+
# @yield [result, err] Result & error if block supplied
|
3548
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::MirroringDeployment] parsed result object
|
3549
|
+
# @yieldparam err [StandardError] error object if request failed
|
3550
|
+
#
|
3551
|
+
# @return [Google::Apis::NetworksecurityV1::MirroringDeployment]
|
3552
|
+
#
|
3553
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3554
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3555
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3556
|
+
def get_project_location_mirroring_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
3557
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3558
|
+
command.response_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
|
3559
|
+
command.response_class = Google::Apis::NetworksecurityV1::MirroringDeployment
|
3560
|
+
command.params['name'] = name unless name.nil?
|
3561
|
+
command.query['fields'] = fields unless fields.nil?
|
3562
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3563
|
+
execute_or_queue_command(command, &block)
|
3564
|
+
end
|
3565
|
+
|
3566
|
+
# Lists deployments in a given project and location. See https://google.aip.dev/
|
3567
|
+
# 132.
|
3568
|
+
# @param [String] parent
|
3569
|
+
# Required. The parent, which owns this collection of deployments. Example: `
|
3570
|
+
# projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132
|
3571
|
+
# for more details.
|
3572
|
+
# @param [String] filter
|
3573
|
+
# Optional. Filter expression. See https://google.aip.dev/160#filtering for more
|
3574
|
+
# details.
|
3575
|
+
# @param [String] order_by
|
3576
|
+
# Optional. Sort expression. See https://google.aip.dev/132#ordering for more
|
3577
|
+
# details.
|
3578
|
+
# @param [Fixnum] page_size
|
3579
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3580
|
+
# If unspecified, server will pick an appropriate default. See https://google.
|
3581
|
+
# aip.dev/158 for more details.
|
3582
|
+
# @param [String] page_token
|
3583
|
+
# Optional. A page token, received from a previous `ListMirroringDeployments`
|
3584
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
3585
|
+
# parameters provided to `ListMirroringDeployments` must match the call that
|
3586
|
+
# provided the page token. See https://google.aip.dev/158 for more details.
|
3587
|
+
# @param [String] fields
|
3588
|
+
# Selector specifying which fields to include in a partial response.
|
3589
|
+
# @param [String] quota_user
|
3590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3592
|
+
# @param [Google::Apis::RequestOptions] options
|
3593
|
+
# Request-specific options
|
3594
|
+
#
|
3595
|
+
# @yield [result, err] Result & error if block supplied
|
3596
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse] parsed result object
|
3597
|
+
# @yieldparam err [StandardError] error object if request failed
|
3598
|
+
#
|
3599
|
+
# @return [Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse]
|
3600
|
+
#
|
3601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3604
|
+
def list_project_location_mirroring_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3605
|
+
command = make_simple_command(:get, 'v1/{+parent}/mirroringDeployments', options)
|
3606
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse::Representation
|
3607
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListMirroringDeploymentsResponse
|
3608
|
+
command.params['parent'] = parent unless parent.nil?
|
3609
|
+
command.query['filter'] = filter unless filter.nil?
|
3610
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3611
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3612
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3613
|
+
command.query['fields'] = fields unless fields.nil?
|
3614
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3615
|
+
execute_or_queue_command(command, &block)
|
3616
|
+
end
|
3617
|
+
|
3618
|
+
# Updates a deployment. See https://google.aip.dev/134.
|
3619
|
+
# @param [String] name
|
3620
|
+
# Immutable. Identifier. The resource name of this deployment, for example: `
|
3621
|
+
# projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See
|
3622
|
+
# https://google.aip.dev/122 for more details.
|
3623
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringDeployment] mirroring_deployment_object
|
3624
|
+
# @param [String] request_id
|
3625
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3626
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3627
|
+
# 155 for more details.
|
3628
|
+
# @param [String] update_mask
|
3629
|
+
# Optional. The list of fields to update. Fields are specified relative to the
|
3630
|
+
# deployment (e.g. `description`; *not* `mirroring_deployment.description`). See
|
3631
|
+
# https://google.aip.dev/161 for more details.
|
3632
|
+
# @param [String] fields
|
3633
|
+
# Selector specifying which fields to include in a partial response.
|
3634
|
+
# @param [String] quota_user
|
3635
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3636
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3637
|
+
# @param [Google::Apis::RequestOptions] options
|
3638
|
+
# Request-specific options
|
3639
|
+
#
|
3640
|
+
# @yield [result, err] Result & error if block supplied
|
3641
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3642
|
+
# @yieldparam err [StandardError] error object if request failed
|
3643
|
+
#
|
3644
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3645
|
+
#
|
3646
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3647
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3648
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3649
|
+
def patch_project_location_mirroring_deployment(name, mirroring_deployment_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3650
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3651
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringDeployment::Representation
|
3652
|
+
command.request_object = mirroring_deployment_object
|
3653
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3654
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3655
|
+
command.params['name'] = name unless name.nil?
|
3656
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3657
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3658
|
+
command.query['fields'] = fields unless fields.nil?
|
3659
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3660
|
+
execute_or_queue_command(command, &block)
|
3661
|
+
end
|
3662
|
+
|
3663
|
+
# Creates an association in a given project and location. See https://google.aip.
|
3664
|
+
# dev/133.
|
3665
|
+
# @param [String] parent
|
3666
|
+
# Required. The parent resource where this association will be created. Format:
|
3667
|
+
# projects/`project`/locations/`location`
|
3668
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
|
3669
|
+
# @param [String] mirroring_endpoint_group_association_id
|
3670
|
+
# Optional. The ID to use for the new association, which will become the final
|
3671
|
+
# component of the endpoint group's resource name. If not provided, the server
|
3672
|
+
# will generate a unique ID.
|
3673
|
+
# @param [String] request_id
|
3674
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3675
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3676
|
+
# 155 for more details.
|
3677
|
+
# @param [String] fields
|
3678
|
+
# Selector specifying which fields to include in a partial response.
|
3679
|
+
# @param [String] quota_user
|
3680
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3681
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3682
|
+
# @param [Google::Apis::RequestOptions] options
|
3683
|
+
# Request-specific options
|
3684
|
+
#
|
3685
|
+
# @yield [result, err] Result & error if block supplied
|
3686
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3687
|
+
# @yieldparam err [StandardError] error object if request failed
|
3688
|
+
#
|
3689
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3690
|
+
#
|
3691
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3692
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3693
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3694
|
+
def create_project_location_mirroring_endpoint_group_association(parent, mirroring_endpoint_group_association_object = nil, mirroring_endpoint_group_association_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3695
|
+
command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroupAssociations', options)
|
3696
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
|
3697
|
+
command.request_object = mirroring_endpoint_group_association_object
|
3698
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3699
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3700
|
+
command.params['parent'] = parent unless parent.nil?
|
3701
|
+
command.query['mirroringEndpointGroupAssociationId'] = mirroring_endpoint_group_association_id unless mirroring_endpoint_group_association_id.nil?
|
3702
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3703
|
+
command.query['fields'] = fields unless fields.nil?
|
3704
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3705
|
+
execute_or_queue_command(command, &block)
|
3706
|
+
end
|
3707
|
+
|
3708
|
+
# Deletes an association. See https://google.aip.dev/135.
|
3709
|
+
# @param [String] name
|
3710
|
+
# Required. The association to delete.
|
3711
|
+
# @param [String] request_id
|
3712
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3713
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3714
|
+
# 155 for more details.
|
3715
|
+
# @param [String] fields
|
3716
|
+
# Selector specifying which fields to include in a partial response.
|
3717
|
+
# @param [String] quota_user
|
3718
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3719
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3720
|
+
# @param [Google::Apis::RequestOptions] options
|
3721
|
+
# Request-specific options
|
3722
|
+
#
|
3723
|
+
# @yield [result, err] Result & error if block supplied
|
3724
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3725
|
+
# @yieldparam err [StandardError] error object if request failed
|
3726
|
+
#
|
3727
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3728
|
+
#
|
3729
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3730
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3731
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3732
|
+
def delete_project_location_mirroring_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3733
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3734
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3735
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3736
|
+
command.params['name'] = name unless name.nil?
|
3737
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3738
|
+
command.query['fields'] = fields unless fields.nil?
|
3739
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3740
|
+
execute_or_queue_command(command, &block)
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# Gets a specific association. See https://google.aip.dev/131.
|
3744
|
+
# @param [String] name
|
3745
|
+
# Required. The name of the association to retrieve. Format: projects/`project`/
|
3746
|
+
# locations/`location`/mirroringEndpointGroupAssociations/`
|
3747
|
+
# mirroring_endpoint_group_association`
|
3748
|
+
# @param [String] fields
|
3749
|
+
# Selector specifying which fields to include in a partial response.
|
3750
|
+
# @param [String] quota_user
|
3751
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3752
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3753
|
+
# @param [Google::Apis::RequestOptions] options
|
3754
|
+
# Request-specific options
|
3755
|
+
#
|
3756
|
+
# @yield [result, err] Result & error if block supplied
|
3757
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] parsed result object
|
3758
|
+
# @yieldparam err [StandardError] error object if request failed
|
3759
|
+
#
|
3760
|
+
# @return [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation]
|
3761
|
+
#
|
3762
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3763
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3764
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3765
|
+
def get_project_location_mirroring_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
3766
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3767
|
+
command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
|
3768
|
+
command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation
|
3769
|
+
command.params['name'] = name unless name.nil?
|
3770
|
+
command.query['fields'] = fields unless fields.nil?
|
3771
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3772
|
+
execute_or_queue_command(command, &block)
|
3773
|
+
end
|
3774
|
+
|
3775
|
+
# Lists associations in a given project and location. See https://google.aip.dev/
|
3776
|
+
# 132.
|
3777
|
+
# @param [String] parent
|
3778
|
+
# Required. The parent, which owns this collection of associations. Example: `
|
3779
|
+
# projects/123456789/locations/global`. See https://google.aip.dev/132 for more
|
3780
|
+
# details.
|
3781
|
+
# @param [String] filter
|
3782
|
+
# Optional. Filter expression. See https://google.aip.dev/160#filtering for more
|
3783
|
+
# details.
|
3784
|
+
# @param [String] order_by
|
3785
|
+
# Optional. Sort expression. See https://google.aip.dev/132#ordering for more
|
3786
|
+
# details.
|
3787
|
+
# @param [Fixnum] page_size
|
3788
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3789
|
+
# If unspecified, server will pick an appropriate default. See https://google.
|
3790
|
+
# aip.dev/158 for more details.
|
3791
|
+
# @param [String] page_token
|
3792
|
+
# Optional. A page token, received from a previous `ListMirroringEndpointGroups`
|
3793
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
3794
|
+
# parameters provided to `ListMirroringEndpointGroups` must match the call that
|
3795
|
+
# provided the page token. See https://google.aip.dev/158 for more details.
|
3796
|
+
# @param [String] fields
|
3797
|
+
# Selector specifying which fields to include in a partial response.
|
3798
|
+
# @param [String] quota_user
|
3799
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3800
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3801
|
+
# @param [Google::Apis::RequestOptions] options
|
3802
|
+
# Request-specific options
|
3803
|
+
#
|
3804
|
+
# @yield [result, err] Result & error if block supplied
|
3805
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse] parsed result object
|
3806
|
+
# @yieldparam err [StandardError] error object if request failed
|
3807
|
+
#
|
3808
|
+
# @return [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse]
|
3809
|
+
#
|
3810
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3811
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3812
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3813
|
+
def list_project_location_mirroring_endpoint_group_associations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3814
|
+
command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroupAssociations', options)
|
3815
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse::Representation
|
3816
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupAssociationsResponse
|
3817
|
+
command.params['parent'] = parent unless parent.nil?
|
3818
|
+
command.query['filter'] = filter unless filter.nil?
|
3819
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3820
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3821
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3822
|
+
command.query['fields'] = fields unless fields.nil?
|
3823
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3824
|
+
execute_or_queue_command(command, &block)
|
3825
|
+
end
|
3826
|
+
|
3827
|
+
# Updates an association. See https://google.aip.dev/134.
|
3828
|
+
# @param [String] name
|
3829
|
+
# Immutable. Identifier. The resource name of this endpoint group association,
|
3830
|
+
# for example: `projects/123456789/locations/global/
|
3831
|
+
# mirroringEndpointGroupAssociations/my-eg-association`. See https://google.aip.
|
3832
|
+
# dev/122 for more details.
|
3833
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation] mirroring_endpoint_group_association_object
|
3834
|
+
# @param [String] request_id
|
3835
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3836
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3837
|
+
# 155 for more details.
|
3838
|
+
# @param [String] update_mask
|
3839
|
+
# Optional. The list of fields to update. Fields are specified relative to the
|
3840
|
+
# association (e.g. `description`; *not* `mirroring_endpoint_group_association.
|
3841
|
+
# description`). See https://google.aip.dev/161 for more details.
|
3842
|
+
# @param [String] fields
|
3843
|
+
# Selector specifying which fields to include in a partial response.
|
3844
|
+
# @param [String] quota_user
|
3845
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3846
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3847
|
+
# @param [Google::Apis::RequestOptions] options
|
3848
|
+
# Request-specific options
|
3849
|
+
#
|
3850
|
+
# @yield [result, err] Result & error if block supplied
|
3851
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3852
|
+
# @yieldparam err [StandardError] error object if request failed
|
3853
|
+
#
|
3854
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3855
|
+
#
|
3856
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3857
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3858
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3859
|
+
def patch_project_location_mirroring_endpoint_group_association(name, mirroring_endpoint_group_association_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3860
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3861
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroupAssociation::Representation
|
3862
|
+
command.request_object = mirroring_endpoint_group_association_object
|
3863
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3864
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3865
|
+
command.params['name'] = name unless name.nil?
|
3866
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3867
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3868
|
+
command.query['fields'] = fields unless fields.nil?
|
3869
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3870
|
+
execute_or_queue_command(command, &block)
|
3871
|
+
end
|
3872
|
+
|
3873
|
+
# Creates an endpoint group in a given project and location. See https://google.
|
3874
|
+
# aip.dev/133.
|
3875
|
+
# @param [String] parent
|
3876
|
+
# Required. The parent resource where this endpoint group will be created.
|
3877
|
+
# Format: projects/`project`/locations/`location`
|
3878
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] mirroring_endpoint_group_object
|
3879
|
+
# @param [String] mirroring_endpoint_group_id
|
3880
|
+
# Required. The ID to use for the endpoint group, which will become the final
|
3881
|
+
# component of the endpoint group's resource name.
|
3882
|
+
# @param [String] request_id
|
3883
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3884
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3885
|
+
# 155 for more details.
|
3886
|
+
# @param [String] fields
|
3887
|
+
# Selector specifying which fields to include in a partial response.
|
3888
|
+
# @param [String] quota_user
|
3889
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3890
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3891
|
+
# @param [Google::Apis::RequestOptions] options
|
3892
|
+
# Request-specific options
|
3893
|
+
#
|
3894
|
+
# @yield [result, err] Result & error if block supplied
|
3895
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3896
|
+
# @yieldparam err [StandardError] error object if request failed
|
3897
|
+
#
|
3898
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3899
|
+
#
|
3900
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3901
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3902
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3903
|
+
def create_project_location_mirroring_endpoint_group(parent, mirroring_endpoint_group_object = nil, mirroring_endpoint_group_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3904
|
+
command = make_simple_command(:post, 'v1/{+parent}/mirroringEndpointGroups', options)
|
3905
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
|
3906
|
+
command.request_object = mirroring_endpoint_group_object
|
3907
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3908
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3909
|
+
command.params['parent'] = parent unless parent.nil?
|
3910
|
+
command.query['mirroringEndpointGroupId'] = mirroring_endpoint_group_id unless mirroring_endpoint_group_id.nil?
|
3911
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3912
|
+
command.query['fields'] = fields unless fields.nil?
|
3913
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3914
|
+
execute_or_queue_command(command, &block)
|
3915
|
+
end
|
3916
|
+
|
3917
|
+
# Deletes an endpoint group. See https://google.aip.dev/135.
|
3918
|
+
# @param [String] name
|
3919
|
+
# Required. The endpoint group to delete.
|
3920
|
+
# @param [String] request_id
|
3921
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
3922
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
3923
|
+
# 155 for more details.
|
3924
|
+
# @param [String] fields
|
3925
|
+
# Selector specifying which fields to include in a partial response.
|
3926
|
+
# @param [String] quota_user
|
3927
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3928
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3929
|
+
# @param [Google::Apis::RequestOptions] options
|
3930
|
+
# Request-specific options
|
3931
|
+
#
|
3932
|
+
# @yield [result, err] Result & error if block supplied
|
3933
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
3934
|
+
# @yieldparam err [StandardError] error object if request failed
|
3935
|
+
#
|
3936
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
3937
|
+
#
|
3938
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3939
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3940
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3941
|
+
def delete_project_location_mirroring_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3942
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3943
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
3944
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
3945
|
+
command.params['name'] = name unless name.nil?
|
3946
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3947
|
+
command.query['fields'] = fields unless fields.nil?
|
3948
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3949
|
+
execute_or_queue_command(command, &block)
|
3950
|
+
end
|
3951
|
+
|
3952
|
+
# Gets a specific endpoint group. See https://google.aip.dev/131.
|
3953
|
+
# @param [String] name
|
3954
|
+
# Required. The name of the endpoint group to retrieve. Format: projects/`
|
3955
|
+
# project`/locations/`location`/mirroringEndpointGroups/`
|
3956
|
+
# mirroring_endpoint_group`
|
3957
|
+
# @param [String] fields
|
3958
|
+
# Selector specifying which fields to include in a partial response.
|
3959
|
+
# @param [String] quota_user
|
3960
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3961
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3962
|
+
# @param [Google::Apis::RequestOptions] options
|
3963
|
+
# Request-specific options
|
3964
|
+
#
|
3965
|
+
# @yield [result, err] Result & error if block supplied
|
3966
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] parsed result object
|
3967
|
+
# @yieldparam err [StandardError] error object if request failed
|
3968
|
+
#
|
3969
|
+
# @return [Google::Apis::NetworksecurityV1::MirroringEndpointGroup]
|
3970
|
+
#
|
3971
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3972
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3973
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3974
|
+
def get_project_location_mirroring_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
3975
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3976
|
+
command.response_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
|
3977
|
+
command.response_class = Google::Apis::NetworksecurityV1::MirroringEndpointGroup
|
3978
|
+
command.params['name'] = name unless name.nil?
|
3979
|
+
command.query['fields'] = fields unless fields.nil?
|
3980
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3981
|
+
execute_or_queue_command(command, &block)
|
3982
|
+
end
|
3983
|
+
|
3984
|
+
# Lists endpoint groups in a given project and location. See https://google.aip.
|
3985
|
+
# dev/132.
|
3986
|
+
# @param [String] parent
|
3987
|
+
# Required. The parent, which owns this collection of endpoint groups. Example: `
|
3988
|
+
# projects/123456789/locations/global`. See https://google.aip.dev/132 for more
|
3989
|
+
# details.
|
3990
|
+
# @param [String] filter
|
3991
|
+
# Optional. Filter expression. See https://google.aip.dev/160#filtering for more
|
3992
|
+
# details.
|
3993
|
+
# @param [String] order_by
|
3994
|
+
# Optional. Sort expression. See https://google.aip.dev/132#ordering for more
|
3995
|
+
# details.
|
3996
|
+
# @param [Fixnum] page_size
|
3997
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3998
|
+
# If unspecified, server will pick an appropriate default. See https://google.
|
3999
|
+
# aip.dev/158 for more details.
|
4000
|
+
# @param [String] page_token
|
4001
|
+
# Optional. A page token, received from a previous `ListMirroringEndpointGroups`
|
4002
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
4003
|
+
# parameters provided to `ListMirroringEndpointGroups` must match the call that
|
4004
|
+
# provided the page token. See https://google.aip.dev/158 for more details.
|
4005
|
+
# @param [String] fields
|
4006
|
+
# Selector specifying which fields to include in a partial response.
|
4007
|
+
# @param [String] quota_user
|
4008
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4009
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4010
|
+
# @param [Google::Apis::RequestOptions] options
|
4011
|
+
# Request-specific options
|
4012
|
+
#
|
4013
|
+
# @yield [result, err] Result & error if block supplied
|
4014
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse] parsed result object
|
4015
|
+
# @yieldparam err [StandardError] error object if request failed
|
4016
|
+
#
|
4017
|
+
# @return [Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse]
|
4018
|
+
#
|
4019
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4020
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4021
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4022
|
+
def list_project_location_mirroring_endpoint_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4023
|
+
command = make_simple_command(:get, 'v1/{+parent}/mirroringEndpointGroups', options)
|
4024
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse::Representation
|
4025
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListMirroringEndpointGroupsResponse
|
4026
|
+
command.params['parent'] = parent unless parent.nil?
|
4027
|
+
command.query['filter'] = filter unless filter.nil?
|
4028
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4029
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4030
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4031
|
+
command.query['fields'] = fields unless fields.nil?
|
4032
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4033
|
+
execute_or_queue_command(command, &block)
|
4034
|
+
end
|
4035
|
+
|
4036
|
+
# Updates an endpoint group. See https://google.aip.dev/134.
|
4037
|
+
# @param [String] name
|
4038
|
+
# Immutable. Identifier. The resource name of this endpoint group, for example: `
|
4039
|
+
# projects/123456789/locations/global/mirroringEndpointGroups/my-eg`. See https:/
|
4040
|
+
# /google.aip.dev/122 for more details.
|
4041
|
+
# @param [Google::Apis::NetworksecurityV1::MirroringEndpointGroup] mirroring_endpoint_group_object
|
4042
|
+
# @param [String] request_id
|
4043
|
+
# Optional. A unique identifier for this request. Must be a UUID4. This request
|
4044
|
+
# is only idempotent if a `request_id` is provided. See https://google.aip.dev/
|
4045
|
+
# 155 for more details.
|
4046
|
+
# @param [String] update_mask
|
4047
|
+
# Optional. The list of fields to update. Fields are specified relative to the
|
4048
|
+
# endpoint group (e.g. `description`; *not* `mirroring_endpoint_group.
|
4049
|
+
# description`). See https://google.aip.dev/161 for more details.
|
4050
|
+
# @param [String] fields
|
4051
|
+
# Selector specifying which fields to include in a partial response.
|
4052
|
+
# @param [String] quota_user
|
4053
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4054
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4055
|
+
# @param [Google::Apis::RequestOptions] options
|
4056
|
+
# Request-specific options
|
4057
|
+
#
|
4058
|
+
# @yield [result, err] Result & error if block supplied
|
4059
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
4060
|
+
# @yieldparam err [StandardError] error object if request failed
|
4061
|
+
#
|
4062
|
+
# @return [Google::Apis::NetworksecurityV1::Operation]
|
4063
|
+
#
|
4064
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4065
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4066
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4067
|
+
def patch_project_location_mirroring_endpoint_group(name, mirroring_endpoint_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4068
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
4069
|
+
command.request_representation = Google::Apis::NetworksecurityV1::MirroringEndpointGroup::Representation
|
4070
|
+
command.request_object = mirroring_endpoint_group_object
|
4071
|
+
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
4072
|
+
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
4073
|
+
command.params['name'] = name unless name.nil?
|
4074
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4075
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4076
|
+
command.query['fields'] = fields unless fields.nil?
|
4077
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4078
|
+
execute_or_queue_command(command, &block)
|
4079
|
+
end
|
4080
|
+
|
3239
4081
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
3240
4082
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
3241
4083
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -3536,6 +4378,12 @@ module Google
|
|
3536
4378
|
# The value returned by the last `ListServerTlsPoliciesResponse` Indicates that
|
3537
4379
|
# this is a continuation of a prior `ListServerTlsPolicies` call, and that the
|
3538
4380
|
# system should return the next page of data.
|
4381
|
+
# @param [Boolean] return_partial_success
|
4382
|
+
# Optional. Setting this field to `true` will opt the request into returning the
|
4383
|
+
# resources that are reachable, and into including the names of those that were
|
4384
|
+
# unreachable in the [ListServerTlsPoliciesResponse.unreachable] field. This can
|
4385
|
+
# only be `true` when reading across collections e.g. when `parent` is set to `"
|
4386
|
+
# projects/example/locations/-"`.
|
3539
4387
|
# @param [String] fields
|
3540
4388
|
# Selector specifying which fields to include in a partial response.
|
3541
4389
|
# @param [String] quota_user
|
@@ -3553,13 +4401,14 @@ module Google
|
|
3553
4401
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3554
4402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3555
4403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3556
|
-
def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4404
|
+
def list_project_location_server_tls_policies(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3557
4405
|
command = make_simple_command(:get, 'v1/{+parent}/serverTlsPolicies', options)
|
3558
4406
|
command.response_representation = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse::Representation
|
3559
4407
|
command.response_class = Google::Apis::NetworksecurityV1::ListServerTlsPoliciesResponse
|
3560
4408
|
command.params['parent'] = parent unless parent.nil?
|
3561
4409
|
command.query['pageSize'] = page_size unless page_size.nil?
|
3562
4410
|
command.query['pageToken'] = page_token unless page_token.nil?
|
4411
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
3563
4412
|
command.query['fields'] = fields unless fields.nil?
|
3564
4413
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3565
4414
|
execute_or_queue_command(command, &block)
|