google-apis-networksecurity_v1beta1 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +502 -5
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +204 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +873 -4
- metadata +4 -4
@@ -633,8 +633,8 @@ module Google
|
|
633
633
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
634
634
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
635
635
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
636
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
637
|
-
# corresponding to `Code.CANCELLED`.
|
636
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
637
|
+
# , corresponding to `Code.CANCELLED`.
|
638
638
|
# @param [String] name
|
639
639
|
# The name of the operation resource to be cancelled.
|
640
640
|
# @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
|
@@ -3236,6 +3236,875 @@ module Google
|
|
3236
3236
|
execute_or_queue_command(command, &block)
|
3237
3237
|
end
|
3238
3238
|
|
3239
|
+
# Creates a new InterceptDeploymentGroup in a given project and location.
|
3240
|
+
# @param [String] parent
|
3241
|
+
# Required. Value for parent.
|
3242
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup] intercept_deployment_group_object
|
3243
|
+
# @param [String] intercept_deployment_group_id
|
3244
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3245
|
+
# remove this field and intercept_deployment_group_id from the method_signature
|
3246
|
+
# of Create RPC
|
3247
|
+
# @param [String] request_id
|
3248
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3249
|
+
# request ID so that if you must retry your request, the server will know to
|
3250
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3251
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3252
|
+
# situation where you make an initial request and the request times out. If you
|
3253
|
+
# make the request again with the same request ID, the server can check if
|
3254
|
+
# original operation with the same request ID was received, and if so, will
|
3255
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3256
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3257
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3258
|
+
# @param [String] fields
|
3259
|
+
# Selector specifying which fields to include in a partial response.
|
3260
|
+
# @param [String] quota_user
|
3261
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3262
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3263
|
+
# @param [Google::Apis::RequestOptions] options
|
3264
|
+
# Request-specific options
|
3265
|
+
#
|
3266
|
+
# @yield [result, err] Result & error if block supplied
|
3267
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3268
|
+
# @yieldparam err [StandardError] error object if request failed
|
3269
|
+
#
|
3270
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3271
|
+
#
|
3272
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3273
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3274
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3275
|
+
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)
|
3276
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptDeploymentGroups', options)
|
3277
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup::Representation
|
3278
|
+
command.request_object = intercept_deployment_group_object
|
3279
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3280
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3281
|
+
command.params['parent'] = parent unless parent.nil?
|
3282
|
+
command.query['interceptDeploymentGroupId'] = intercept_deployment_group_id unless intercept_deployment_group_id.nil?
|
3283
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3284
|
+
command.query['fields'] = fields unless fields.nil?
|
3285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3286
|
+
execute_or_queue_command(command, &block)
|
3287
|
+
end
|
3288
|
+
|
3289
|
+
# Deletes a single InterceptDeploymentGroup.
|
3290
|
+
# @param [String] name
|
3291
|
+
# Required. Name of the resource
|
3292
|
+
# @param [String] request_id
|
3293
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3294
|
+
# request ID so that if you must retry your request, the server will know to
|
3295
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3296
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3297
|
+
# situation where you make an initial request and the request times out. If you
|
3298
|
+
# make the request again with the same request ID, the server can check if
|
3299
|
+
# original operation with the same request ID was received, and if so, will
|
3300
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3301
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3302
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3303
|
+
# @param [String] fields
|
3304
|
+
# Selector specifying which fields to include in a partial response.
|
3305
|
+
# @param [String] quota_user
|
3306
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3307
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3308
|
+
# @param [Google::Apis::RequestOptions] options
|
3309
|
+
# Request-specific options
|
3310
|
+
#
|
3311
|
+
# @yield [result, err] Result & error if block supplied
|
3312
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3313
|
+
# @yieldparam err [StandardError] error object if request failed
|
3314
|
+
#
|
3315
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3316
|
+
#
|
3317
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3318
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3319
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3320
|
+
def delete_project_location_intercept_deployment_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3321
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3322
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3323
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3324
|
+
command.params['name'] = name unless name.nil?
|
3325
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3326
|
+
command.query['fields'] = fields unless fields.nil?
|
3327
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3328
|
+
execute_or_queue_command(command, &block)
|
3329
|
+
end
|
3330
|
+
|
3331
|
+
# Gets details of a single InterceptDeploymentGroup.
|
3332
|
+
# @param [String] name
|
3333
|
+
# Required. Name of the resource
|
3334
|
+
# @param [String] fields
|
3335
|
+
# Selector specifying which fields to include in a partial response.
|
3336
|
+
# @param [String] quota_user
|
3337
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3338
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3339
|
+
# @param [Google::Apis::RequestOptions] options
|
3340
|
+
# Request-specific options
|
3341
|
+
#
|
3342
|
+
# @yield [result, err] Result & error if block supplied
|
3343
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup] parsed result object
|
3344
|
+
# @yieldparam err [StandardError] error object if request failed
|
3345
|
+
#
|
3346
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup]
|
3347
|
+
#
|
3348
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3349
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3350
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3351
|
+
def get_project_location_intercept_deployment_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
3352
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3353
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup::Representation
|
3354
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup
|
3355
|
+
command.params['name'] = name unless name.nil?
|
3356
|
+
command.query['fields'] = fields unless fields.nil?
|
3357
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3358
|
+
execute_or_queue_command(command, &block)
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
# Lists InterceptDeploymentGroups in a given project and location.
|
3362
|
+
# @param [String] parent
|
3363
|
+
# Required. Parent value for ListInterceptDeploymentGroupsRequest
|
3364
|
+
# @param [String] filter
|
3365
|
+
# Optional. Filtering results
|
3366
|
+
# @param [String] order_by
|
3367
|
+
# Optional. Hint for how to order the results
|
3368
|
+
# @param [Fixnum] page_size
|
3369
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3370
|
+
# If unspecified, server will pick an appropriate default.
|
3371
|
+
# @param [String] page_token
|
3372
|
+
# Optional. A token identifying a page of results the server should return.
|
3373
|
+
# @param [String] fields
|
3374
|
+
# Selector specifying which fields to include in a partial response.
|
3375
|
+
# @param [String] quota_user
|
3376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3378
|
+
# @param [Google::Apis::RequestOptions] options
|
3379
|
+
# Request-specific options
|
3380
|
+
#
|
3381
|
+
# @yield [result, err] Result & error if block supplied
|
3382
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse] parsed result object
|
3383
|
+
# @yieldparam err [StandardError] error object if request failed
|
3384
|
+
#
|
3385
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse]
|
3386
|
+
#
|
3387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3390
|
+
def 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)
|
3391
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/interceptDeploymentGroups', options)
|
3392
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse::Representation
|
3393
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentGroupsResponse
|
3394
|
+
command.params['parent'] = parent unless parent.nil?
|
3395
|
+
command.query['filter'] = filter unless filter.nil?
|
3396
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3397
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3398
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3399
|
+
command.query['fields'] = fields unless fields.nil?
|
3400
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3401
|
+
execute_or_queue_command(command, &block)
|
3402
|
+
end
|
3403
|
+
|
3404
|
+
# Updates a single InterceptDeploymentGroup.
|
3405
|
+
# @param [String] name
|
3406
|
+
# Immutable. Identifier. Then name of the InterceptDeploymentGroup.
|
3407
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup] intercept_deployment_group_object
|
3408
|
+
# @param [String] request_id
|
3409
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3410
|
+
# request ID so that if you must retry your request, the server will know to
|
3411
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3412
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3413
|
+
# situation where you make an initial request and the request times out. If you
|
3414
|
+
# make the request again with the same request ID, the server can check if
|
3415
|
+
# original operation with the same request ID was received, and if so, will
|
3416
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3417
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3418
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3419
|
+
# @param [String] update_mask
|
3420
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3421
|
+
# InterceptDeploymentGroup resource by the update. The fields specified in the
|
3422
|
+
# update_mask are relative to the resource, not the full request. A field will
|
3423
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
3424
|
+
# all fields will be overwritten.
|
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::NetworksecurityV1beta1::Operation] parsed result object
|
3435
|
+
# @yieldparam err [StandardError] error object if request failed
|
3436
|
+
#
|
3437
|
+
# @return [Google::Apis::NetworksecurityV1beta1::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_intercept_deployment_group(name, intercept_deployment_group_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3443
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3444
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeploymentGroup::Representation
|
3445
|
+
command.request_object = intercept_deployment_group_object
|
3446
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3447
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::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 new InterceptDeployment in a given project and location.
|
3457
|
+
# @param [String] parent
|
3458
|
+
# Required. Value for parent.
|
3459
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeployment] intercept_deployment_object
|
3460
|
+
# @param [String] intercept_deployment_id
|
3461
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3462
|
+
# remove this field and intercept_deployment_id from the method_signature of
|
3463
|
+
# Create RPC
|
3464
|
+
# @param [String] request_id
|
3465
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3466
|
+
# request ID so that if you must retry your request, the server will know to
|
3467
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3468
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3469
|
+
# situation where you make an initial request and the request times out. If you
|
3470
|
+
# make the request again with the same request ID, the server can check if
|
3471
|
+
# original operation with the same request ID was received, and if so, will
|
3472
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3473
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3474
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3475
|
+
# @param [String] fields
|
3476
|
+
# Selector specifying which fields to include in a partial response.
|
3477
|
+
# @param [String] quota_user
|
3478
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3479
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3480
|
+
# @param [Google::Apis::RequestOptions] options
|
3481
|
+
# Request-specific options
|
3482
|
+
#
|
3483
|
+
# @yield [result, err] Result & error if block supplied
|
3484
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3485
|
+
# @yieldparam err [StandardError] error object if request failed
|
3486
|
+
#
|
3487
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3488
|
+
#
|
3489
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3490
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3491
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3492
|
+
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)
|
3493
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptDeployments', options)
|
3494
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeployment::Representation
|
3495
|
+
command.request_object = intercept_deployment_object
|
3496
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3497
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3498
|
+
command.params['parent'] = parent unless parent.nil?
|
3499
|
+
command.query['interceptDeploymentId'] = intercept_deployment_id unless intercept_deployment_id.nil?
|
3500
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3501
|
+
command.query['fields'] = fields unless fields.nil?
|
3502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3503
|
+
execute_or_queue_command(command, &block)
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
# Deletes a single InterceptDeployment.
|
3507
|
+
# @param [String] name
|
3508
|
+
# Required. Name of the resource
|
3509
|
+
# @param [String] request_id
|
3510
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3511
|
+
# request ID so that if you must retry your request, the server will know to
|
3512
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3513
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3514
|
+
# situation where you make an initial request and the request times out. If you
|
3515
|
+
# make the request again with the same request ID, the server can check if
|
3516
|
+
# original operation with the same request ID was received, and if so, will
|
3517
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3518
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3519
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3520
|
+
# @param [String] fields
|
3521
|
+
# Selector specifying which fields to include in a partial response.
|
3522
|
+
# @param [String] quota_user
|
3523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3525
|
+
# @param [Google::Apis::RequestOptions] options
|
3526
|
+
# Request-specific options
|
3527
|
+
#
|
3528
|
+
# @yield [result, err] Result & error if block supplied
|
3529
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3530
|
+
# @yieldparam err [StandardError] error object if request failed
|
3531
|
+
#
|
3532
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3533
|
+
#
|
3534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3537
|
+
def delete_project_location_intercept_deployment(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3538
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3539
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3540
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3541
|
+
command.params['name'] = name unless name.nil?
|
3542
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3543
|
+
command.query['fields'] = fields unless fields.nil?
|
3544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3545
|
+
execute_or_queue_command(command, &block)
|
3546
|
+
end
|
3547
|
+
|
3548
|
+
# Gets details of a single InterceptDeployment.
|
3549
|
+
# @param [String] name
|
3550
|
+
# Required. Name of the resource
|
3551
|
+
# @param [String] fields
|
3552
|
+
# Selector specifying which fields to include in a partial response.
|
3553
|
+
# @param [String] quota_user
|
3554
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3555
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3556
|
+
# @param [Google::Apis::RequestOptions] options
|
3557
|
+
# Request-specific options
|
3558
|
+
#
|
3559
|
+
# @yield [result, err] Result & error if block supplied
|
3560
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptDeployment] parsed result object
|
3561
|
+
# @yieldparam err [StandardError] error object if request failed
|
3562
|
+
#
|
3563
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptDeployment]
|
3564
|
+
#
|
3565
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3566
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3567
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3568
|
+
def get_project_location_intercept_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
|
3569
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3570
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeployment::Representation
|
3571
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptDeployment
|
3572
|
+
command.params['name'] = name unless name.nil?
|
3573
|
+
command.query['fields'] = fields unless fields.nil?
|
3574
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3575
|
+
execute_or_queue_command(command, &block)
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
# Lists InterceptDeployments in a given project and location.
|
3579
|
+
# @param [String] parent
|
3580
|
+
# Required. Parent value for ListInterceptDeploymentsRequest
|
3581
|
+
# @param [String] filter
|
3582
|
+
# Optional. Filtering results
|
3583
|
+
# @param [String] order_by
|
3584
|
+
# Optional. Hint for how to order the results
|
3585
|
+
# @param [Fixnum] page_size
|
3586
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3587
|
+
# If unspecified, server will pick an appropriate default.
|
3588
|
+
# @param [String] page_token
|
3589
|
+
# Optional. A token identifying a page of results the server should return.
|
3590
|
+
# @param [String] fields
|
3591
|
+
# Selector specifying which fields to include in a partial response.
|
3592
|
+
# @param [String] quota_user
|
3593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3595
|
+
# @param [Google::Apis::RequestOptions] options
|
3596
|
+
# Request-specific options
|
3597
|
+
#
|
3598
|
+
# @yield [result, err] Result & error if block supplied
|
3599
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse] parsed result object
|
3600
|
+
# @yieldparam err [StandardError] error object if request failed
|
3601
|
+
#
|
3602
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse]
|
3603
|
+
#
|
3604
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3605
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3606
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3607
|
+
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)
|
3608
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/interceptDeployments', options)
|
3609
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse::Representation
|
3610
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptDeploymentsResponse
|
3611
|
+
command.params['parent'] = parent unless parent.nil?
|
3612
|
+
command.query['filter'] = filter unless filter.nil?
|
3613
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3614
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3615
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3616
|
+
command.query['fields'] = fields unless fields.nil?
|
3617
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3618
|
+
execute_or_queue_command(command, &block)
|
3619
|
+
end
|
3620
|
+
|
3621
|
+
# Updates a single InterceptDeployment.
|
3622
|
+
# @param [String] name
|
3623
|
+
# Immutable. Identifier. The name of the InterceptDeployment.
|
3624
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptDeployment] intercept_deployment_object
|
3625
|
+
# @param [String] request_id
|
3626
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3627
|
+
# request ID so that if you must retry your request, the server will know to
|
3628
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3629
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3630
|
+
# situation where you make an initial request and the request times out. If you
|
3631
|
+
# make the request again with the same request ID, the server can check if
|
3632
|
+
# original operation with the same request ID was received, and if so, will
|
3633
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3634
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3635
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3636
|
+
# @param [String] update_mask
|
3637
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3638
|
+
# InterceptDeployment resource by the update. The fields specified in the
|
3639
|
+
# update_mask are relative to the resource, not the full request. A field will
|
3640
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
3641
|
+
# all fields will be overwritten.
|
3642
|
+
# @param [String] fields
|
3643
|
+
# Selector specifying which fields to include in a partial response.
|
3644
|
+
# @param [String] quota_user
|
3645
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3646
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3647
|
+
# @param [Google::Apis::RequestOptions] options
|
3648
|
+
# Request-specific options
|
3649
|
+
#
|
3650
|
+
# @yield [result, err] Result & error if block supplied
|
3651
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3652
|
+
# @yieldparam err [StandardError] error object if request failed
|
3653
|
+
#
|
3654
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3655
|
+
#
|
3656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3659
|
+
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)
|
3660
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3661
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptDeployment::Representation
|
3662
|
+
command.request_object = intercept_deployment_object
|
3663
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3664
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3665
|
+
command.params['name'] = name unless name.nil?
|
3666
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3667
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3668
|
+
command.query['fields'] = fields unless fields.nil?
|
3669
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3670
|
+
execute_or_queue_command(command, &block)
|
3671
|
+
end
|
3672
|
+
|
3673
|
+
# Creates a new InterceptEndpointGroupAssociation in a given project and
|
3674
|
+
# location.
|
3675
|
+
# @param [String] parent
|
3676
|
+
# Required. Value for parent.
|
3677
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
|
3678
|
+
# @param [String] intercept_endpoint_group_association_id
|
3679
|
+
# Optional. Id of the requesting object If auto-generating Id server-side,
|
3680
|
+
# remove this field and intercept_endpoint_group_association_id from the
|
3681
|
+
# method_signature of Create RPC
|
3682
|
+
# @param [String] request_id
|
3683
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3684
|
+
# request ID so that if you must retry your request, the server will know to
|
3685
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3686
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3687
|
+
# situation where you make an initial request and the request times out. If you
|
3688
|
+
# make the request again with the same request ID, the server can check if
|
3689
|
+
# original operation with the same request ID was received, and if so, will
|
3690
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3691
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3692
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3693
|
+
# @param [String] fields
|
3694
|
+
# Selector specifying which fields to include in a partial response.
|
3695
|
+
# @param [String] quota_user
|
3696
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3697
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3698
|
+
# @param [Google::Apis::RequestOptions] options
|
3699
|
+
# Request-specific options
|
3700
|
+
#
|
3701
|
+
# @yield [result, err] Result & error if block supplied
|
3702
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3703
|
+
# @yieldparam err [StandardError] error object if request failed
|
3704
|
+
#
|
3705
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3706
|
+
#
|
3707
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3708
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3709
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3710
|
+
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)
|
3711
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptEndpointGroupAssociations', options)
|
3712
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation::Representation
|
3713
|
+
command.request_object = intercept_endpoint_group_association_object
|
3714
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3715
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3716
|
+
command.params['parent'] = parent unless parent.nil?
|
3717
|
+
command.query['interceptEndpointGroupAssociationId'] = intercept_endpoint_group_association_id unless intercept_endpoint_group_association_id.nil?
|
3718
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3719
|
+
command.query['fields'] = fields unless fields.nil?
|
3720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3721
|
+
execute_or_queue_command(command, &block)
|
3722
|
+
end
|
3723
|
+
|
3724
|
+
# Deletes a single InterceptEndpointGroupAssociation.
|
3725
|
+
# @param [String] name
|
3726
|
+
# Required. Name of the resource
|
3727
|
+
# @param [String] request_id
|
3728
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3729
|
+
# request ID so that if you must retry your request, the server will know to
|
3730
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3731
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3732
|
+
# situation where you make an initial request and the request times out. If you
|
3733
|
+
# make the request again with the same request ID, the server can check if
|
3734
|
+
# original operation with the same request ID was received, and if so, will
|
3735
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3736
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3737
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3738
|
+
# @param [String] fields
|
3739
|
+
# Selector specifying which fields to include in a partial response.
|
3740
|
+
# @param [String] quota_user
|
3741
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3742
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3743
|
+
# @param [Google::Apis::RequestOptions] options
|
3744
|
+
# Request-specific options
|
3745
|
+
#
|
3746
|
+
# @yield [result, err] Result & error if block supplied
|
3747
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3748
|
+
# @yieldparam err [StandardError] error object if request failed
|
3749
|
+
#
|
3750
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3751
|
+
#
|
3752
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3753
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3754
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3755
|
+
def delete_project_location_intercept_endpoint_group_association(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3756
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3757
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3758
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3759
|
+
command.params['name'] = name unless name.nil?
|
3760
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3761
|
+
command.query['fields'] = fields unless fields.nil?
|
3762
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3763
|
+
execute_or_queue_command(command, &block)
|
3764
|
+
end
|
3765
|
+
|
3766
|
+
# Gets details of a single InterceptEndpointGroupAssociation.
|
3767
|
+
# @param [String] name
|
3768
|
+
# Required. Name of the resource
|
3769
|
+
# @param [String] fields
|
3770
|
+
# Selector specifying which fields to include in a partial response.
|
3771
|
+
# @param [String] quota_user
|
3772
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3773
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3774
|
+
# @param [Google::Apis::RequestOptions] options
|
3775
|
+
# Request-specific options
|
3776
|
+
#
|
3777
|
+
# @yield [result, err] Result & error if block supplied
|
3778
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation] parsed result object
|
3779
|
+
# @yieldparam err [StandardError] error object if request failed
|
3780
|
+
#
|
3781
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation]
|
3782
|
+
#
|
3783
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3784
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3785
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3786
|
+
def get_project_location_intercept_endpoint_group_association(name, fields: nil, quota_user: nil, options: nil, &block)
|
3787
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
3788
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation::Representation
|
3789
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation
|
3790
|
+
command.params['name'] = name unless name.nil?
|
3791
|
+
command.query['fields'] = fields unless fields.nil?
|
3792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3793
|
+
execute_or_queue_command(command, &block)
|
3794
|
+
end
|
3795
|
+
|
3796
|
+
# Lists InterceptEndpointGroupAssociations in a given project and location.
|
3797
|
+
# @param [String] parent
|
3798
|
+
# Required. Parent value for ListInterceptEndpointGroupAssociationsRequest
|
3799
|
+
# @param [String] filter
|
3800
|
+
# Optional. Filtering results
|
3801
|
+
# @param [String] order_by
|
3802
|
+
# Optional. Hint for how to order the results
|
3803
|
+
# @param [Fixnum] page_size
|
3804
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
3805
|
+
# If unspecified, server will pick an appropriate default.
|
3806
|
+
# @param [String] page_token
|
3807
|
+
# Optional. A token identifying a page of results the server should return.
|
3808
|
+
# @param [String] fields
|
3809
|
+
# Selector specifying which fields to include in a partial response.
|
3810
|
+
# @param [String] quota_user
|
3811
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3812
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3813
|
+
# @param [Google::Apis::RequestOptions] options
|
3814
|
+
# Request-specific options
|
3815
|
+
#
|
3816
|
+
# @yield [result, err] Result & error if block supplied
|
3817
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse] parsed result object
|
3818
|
+
# @yieldparam err [StandardError] error object if request failed
|
3819
|
+
#
|
3820
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse]
|
3821
|
+
#
|
3822
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3823
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3824
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3825
|
+
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)
|
3826
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/interceptEndpointGroupAssociations', options)
|
3827
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse::Representation
|
3828
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupAssociationsResponse
|
3829
|
+
command.params['parent'] = parent unless parent.nil?
|
3830
|
+
command.query['filter'] = filter unless filter.nil?
|
3831
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3832
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3833
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3834
|
+
command.query['fields'] = fields unless fields.nil?
|
3835
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3836
|
+
execute_or_queue_command(command, &block)
|
3837
|
+
end
|
3838
|
+
|
3839
|
+
# Updates a single InterceptEndpointGroupAssociation.
|
3840
|
+
# @param [String] name
|
3841
|
+
# Immutable. Identifier. The name of the InterceptEndpointGroupAssociation.
|
3842
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation] intercept_endpoint_group_association_object
|
3843
|
+
# @param [String] request_id
|
3844
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3845
|
+
# request ID so that if you must retry your request, the server will know to
|
3846
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3847
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3848
|
+
# situation where you make an initial request and the request times out. If you
|
3849
|
+
# make the request again with the same request ID, the server can check if
|
3850
|
+
# original operation with the same request ID was received, and if so, will
|
3851
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3852
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3853
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3854
|
+
# @param [String] update_mask
|
3855
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
3856
|
+
# InterceptEndpointGroupAssociation resource by the update. The fields specified
|
3857
|
+
# in the update_mask are relative to the resource, not the full request. A field
|
3858
|
+
# will be overwritten if it is in the mask. If the user does not provide a mask
|
3859
|
+
# then all fields will be overwritten.
|
3860
|
+
# @param [String] fields
|
3861
|
+
# Selector specifying which fields to include in a partial response.
|
3862
|
+
# @param [String] quota_user
|
3863
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3864
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3865
|
+
# @param [Google::Apis::RequestOptions] options
|
3866
|
+
# Request-specific options
|
3867
|
+
#
|
3868
|
+
# @yield [result, err] Result & error if block supplied
|
3869
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3870
|
+
# @yieldparam err [StandardError] error object if request failed
|
3871
|
+
#
|
3872
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3873
|
+
#
|
3874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3877
|
+
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)
|
3878
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
3879
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroupAssociation::Representation
|
3880
|
+
command.request_object = intercept_endpoint_group_association_object
|
3881
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3882
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3883
|
+
command.params['name'] = name unless name.nil?
|
3884
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3885
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3886
|
+
command.query['fields'] = fields unless fields.nil?
|
3887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3888
|
+
execute_or_queue_command(command, &block)
|
3889
|
+
end
|
3890
|
+
|
3891
|
+
# Creates a new InterceptEndpointGroup in a given project and location.
|
3892
|
+
# @param [String] parent
|
3893
|
+
# Required. Value for parent.
|
3894
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup] intercept_endpoint_group_object
|
3895
|
+
# @param [String] intercept_endpoint_group_id
|
3896
|
+
# Required. Id of the requesting object If auto-generating Id server-side,
|
3897
|
+
# remove this field and intercept_endpoint_group_id from the method_signature of
|
3898
|
+
# Create RPC
|
3899
|
+
# @param [String] request_id
|
3900
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3901
|
+
# request ID so that if you must retry your request, the server will know to
|
3902
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3903
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
3904
|
+
# situation where you make an initial request and the request times out. If you
|
3905
|
+
# make the request again with the same request ID, the server can check if
|
3906
|
+
# original operation with the same request ID was received, and if so, will
|
3907
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3908
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3909
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3910
|
+
# @param [String] fields
|
3911
|
+
# Selector specifying which fields to include in a partial response.
|
3912
|
+
# @param [String] quota_user
|
3913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3915
|
+
# @param [Google::Apis::RequestOptions] options
|
3916
|
+
# Request-specific options
|
3917
|
+
#
|
3918
|
+
# @yield [result, err] Result & error if block supplied
|
3919
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3920
|
+
# @yieldparam err [StandardError] error object if request failed
|
3921
|
+
#
|
3922
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3923
|
+
#
|
3924
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3925
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3926
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3927
|
+
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)
|
3928
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/interceptEndpointGroups', options)
|
3929
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup::Representation
|
3930
|
+
command.request_object = intercept_endpoint_group_object
|
3931
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3932
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3933
|
+
command.params['parent'] = parent unless parent.nil?
|
3934
|
+
command.query['interceptEndpointGroupId'] = intercept_endpoint_group_id unless intercept_endpoint_group_id.nil?
|
3935
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3936
|
+
command.query['fields'] = fields unless fields.nil?
|
3937
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3938
|
+
execute_or_queue_command(command, &block)
|
3939
|
+
end
|
3940
|
+
|
3941
|
+
# Deletes a single InterceptEndpointGroup.
|
3942
|
+
# @param [String] name
|
3943
|
+
# Required. Name of the resource
|
3944
|
+
# @param [String] request_id
|
3945
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
3946
|
+
# request ID so that if you must retry your request, the server will know to
|
3947
|
+
# ignore the request if it has already been completed. The server will guarantee
|
3948
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
3949
|
+
# situation where you make an initial request and the request times out. If you
|
3950
|
+
# make the request again with the same request ID, the server can check if
|
3951
|
+
# original operation with the same request ID was received, and if so, will
|
3952
|
+
# ignore the second request. This prevents clients from accidentally creating
|
3953
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
3954
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
3955
|
+
# @param [String] fields
|
3956
|
+
# Selector specifying which fields to include in a partial response.
|
3957
|
+
# @param [String] quota_user
|
3958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3960
|
+
# @param [Google::Apis::RequestOptions] options
|
3961
|
+
# Request-specific options
|
3962
|
+
#
|
3963
|
+
# @yield [result, err] Result & error if block supplied
|
3964
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
3965
|
+
# @yieldparam err [StandardError] error object if request failed
|
3966
|
+
#
|
3967
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
3968
|
+
#
|
3969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3972
|
+
def delete_project_location_intercept_endpoint_group(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3973
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
3974
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
3975
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
3976
|
+
command.params['name'] = name unless name.nil?
|
3977
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
3978
|
+
command.query['fields'] = fields unless fields.nil?
|
3979
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3980
|
+
execute_or_queue_command(command, &block)
|
3981
|
+
end
|
3982
|
+
|
3983
|
+
# Gets details of a single InterceptEndpointGroup.
|
3984
|
+
# @param [String] name
|
3985
|
+
# Required. Name of the resource
|
3986
|
+
# @param [String] fields
|
3987
|
+
# Selector specifying which fields to include in a partial response.
|
3988
|
+
# @param [String] quota_user
|
3989
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3990
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3991
|
+
# @param [Google::Apis::RequestOptions] options
|
3992
|
+
# Request-specific options
|
3993
|
+
#
|
3994
|
+
# @yield [result, err] Result & error if block supplied
|
3995
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup] parsed result object
|
3996
|
+
# @yieldparam err [StandardError] error object if request failed
|
3997
|
+
#
|
3998
|
+
# @return [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup]
|
3999
|
+
#
|
4000
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4001
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4002
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4003
|
+
def get_project_location_intercept_endpoint_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
4004
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
4005
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup::Representation
|
4006
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup
|
4007
|
+
command.params['name'] = name unless name.nil?
|
4008
|
+
command.query['fields'] = fields unless fields.nil?
|
4009
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4010
|
+
execute_or_queue_command(command, &block)
|
4011
|
+
end
|
4012
|
+
|
4013
|
+
# Lists InterceptEndpointGroups in a given project and location.
|
4014
|
+
# @param [String] parent
|
4015
|
+
# Required. Parent value for ListInterceptEndpointGroupsRequest
|
4016
|
+
# @param [String] filter
|
4017
|
+
# Optional. Filtering results
|
4018
|
+
# @param [String] order_by
|
4019
|
+
# Optional. Hint for how to order the results
|
4020
|
+
# @param [Fixnum] page_size
|
4021
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
4022
|
+
# If unspecified, server will pick an appropriate default.
|
4023
|
+
# @param [String] page_token
|
4024
|
+
# Optional. A token identifying a page of results the server should return.
|
4025
|
+
# @param [String] fields
|
4026
|
+
# Selector specifying which fields to include in a partial response.
|
4027
|
+
# @param [String] quota_user
|
4028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4030
|
+
# @param [Google::Apis::RequestOptions] options
|
4031
|
+
# Request-specific options
|
4032
|
+
#
|
4033
|
+
# @yield [result, err] Result & error if block supplied
|
4034
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse] parsed result object
|
4035
|
+
# @yieldparam err [StandardError] error object if request failed
|
4036
|
+
#
|
4037
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse]
|
4038
|
+
#
|
4039
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4040
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4041
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4042
|
+
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)
|
4043
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/interceptEndpointGroups', options)
|
4044
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse::Representation
|
4045
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::ListInterceptEndpointGroupsResponse
|
4046
|
+
command.params['parent'] = parent unless parent.nil?
|
4047
|
+
command.query['filter'] = filter unless filter.nil?
|
4048
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4049
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4050
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4051
|
+
command.query['fields'] = fields unless fields.nil?
|
4052
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4053
|
+
execute_or_queue_command(command, &block)
|
4054
|
+
end
|
4055
|
+
|
4056
|
+
# Updates a single InterceptEndpointGroup.
|
4057
|
+
# @param [String] name
|
4058
|
+
# Immutable. Identifier. The name of the InterceptEndpointGroup.
|
4059
|
+
# @param [Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup] intercept_endpoint_group_object
|
4060
|
+
# @param [String] request_id
|
4061
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
4062
|
+
# request ID so that if you must retry your request, the server will know to
|
4063
|
+
# ignore the request if it has already been completed. The server will guarantee
|
4064
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
4065
|
+
# situation where you make an initial request and the request times out. If you
|
4066
|
+
# make the request again with the same request ID, the server can check if
|
4067
|
+
# original operation with the same request ID was received, and if so, will
|
4068
|
+
# ignore the second request. This prevents clients from accidentally creating
|
4069
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
4070
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
4071
|
+
# @param [String] update_mask
|
4072
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
4073
|
+
# InterceptEndpointGroup resource by the update. The fields specified in the
|
4074
|
+
# update_mask are relative to the resource, not the full request. A field will
|
4075
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
4076
|
+
# all fields will be overwritten.
|
4077
|
+
# @param [String] fields
|
4078
|
+
# Selector specifying which fields to include in a partial response.
|
4079
|
+
# @param [String] quota_user
|
4080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4082
|
+
# @param [Google::Apis::RequestOptions] options
|
4083
|
+
# Request-specific options
|
4084
|
+
#
|
4085
|
+
# @yield [result, err] Result & error if block supplied
|
4086
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
|
4087
|
+
# @yieldparam err [StandardError] error object if request failed
|
4088
|
+
#
|
4089
|
+
# @return [Google::Apis::NetworksecurityV1beta1::Operation]
|
4090
|
+
#
|
4091
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4092
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4093
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4094
|
+
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)
|
4095
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
4096
|
+
command.request_representation = Google::Apis::NetworksecurityV1beta1::InterceptEndpointGroup::Representation
|
4097
|
+
command.request_object = intercept_endpoint_group_object
|
4098
|
+
command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
|
4099
|
+
command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
|
4100
|
+
command.params['name'] = name unless name.nil?
|
4101
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4102
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4103
|
+
command.query['fields'] = fields unless fields.nil?
|
4104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4105
|
+
execute_or_queue_command(command, &block)
|
4106
|
+
end
|
4107
|
+
|
3239
4108
|
# Creates a new MirroringDeploymentGroup in a given project and location.
|
3240
4109
|
# @param [String] parent
|
3241
4110
|
# Required. Value for parent.
|
@@ -4111,8 +4980,8 @@ module Google
|
|
4111
4980
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
4112
4981
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
4113
4982
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
4114
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
4115
|
-
# corresponding to `Code.CANCELLED`.
|
4983
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
4984
|
+
# , corresponding to `Code.CANCELLED`.
|
4116
4985
|
# @param [String] name
|
4117
4986
|
# The name of the operation resource to be cancelled.
|
4118
4987
|
# @param [Google::Apis::NetworksecurityV1beta1::CancelOperationRequest] cancel_operation_request_object
|