google-apis-networksecurity_v1beta1 0.63.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cf80b10e799181bba954fa08e45192046682dd508c7c002f283f74a0b84fe48
4
- data.tar.gz: 401a54847f5f6f19eb2cac11d4446dc4cb1578246ccb9b6a852ca2d38deb03c6
3
+ metadata.gz: d1b4016ed20c1d6439ec6d113bd77b4624c8a134d26ddd5168e4e9d534e45069
4
+ data.tar.gz: f26f474511517e81daf8d2aafcf278be7b475f819bb2e21d6a6c4faf154866d4
5
5
  SHA512:
6
- metadata.gz: 96de2e64053a687900fd06b62698518d1cd920c2660e5348aad28cd7985ca66d0afa74c245d74df4447f54ba1e5a8c171261435249be585bf9e645e889b71954
7
- data.tar.gz: 215225f3f2112eb5f6e4ea8710e8276f6017896e58a690a85137b90ee7e9098b4ad3f738a4e8d9b029348debdbe27743f2a184dc75c63d142722f649f7eb6e19
6
+ metadata.gz: 9ab245974b7333ea8f78c2f8189f6bd7f6fbb52e36de279e45ab5a42a69601c8b630e0a71d6479e937f3af9afeb15ae18e8be32e10b70f5a992ef721b348a9c1
7
+ data.tar.gz: a61a34df993fa4374a40e20b2ff486b317ca3de9288734db39732460aed4c99a75b5ace6678d0c4b368aeb03f7b756b5b2fec5a5d7a124884361a8e8d6e49e1a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networksecurity_v1beta1
2
2
 
3
+ ### v0.64.0 (2026-05-03)
4
+
5
+ * Regenerated from discovery document revision 20260426
6
+
3
7
  ### v0.63.0 (2026-04-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20260407
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworksecurityV1beta1
18
18
  # Version of the google-apis-networksecurity_v1beta1 gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260407"
25
+ REVISION = "20260426"
26
26
  end
27
27
  end
28
28
  end
@@ -1192,8 +1192,8 @@ module Google
1192
1192
  end
1193
1193
 
1194
1194
  # Lists information about the supported locations for this service. This method
1195
- # lists locations based on the resource scope provided in the [
1196
- # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
1195
+ # lists locations based on the resource scope provided in the
1196
+ # ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
1197
1197
  # the method lists the public locations available to all projects. * **Project-
1198
1198
  # specific locations**: If `name` follows the format `projects/`project``, the
1199
1199
  # method lists locations visible to that specific project. This includes public,
@@ -1204,8 +1204,8 @@ module Google
1204
1204
  # @param [String] name
1205
1205
  # The resource that owns the locations collection, if applicable.
1206
1206
  # @param [Array<String>, String] extra_location_types
1207
- # Optional. Do not use this field. It is unsupported and is ignored unless
1208
- # explicitly documented otherwise. This is primarily for internal usage.
1207
+ # Optional. Do not use this field unless explicitly documented otherwise. This
1208
+ # is primarily for internal usage.
1209
1209
  # @param [String] filter
1210
1210
  # A filter to narrow down results to a preferred subset. The filtering language
1211
1211
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -3259,6 +3259,223 @@ module Google
3259
3259
  execute_or_queue_command(command, &block)
3260
3260
  end
3261
3261
 
3262
+ # Creates a new FirewallEndpoint in a given project and location.
3263
+ # @param [String] parent
3264
+ # Required. Value for parent.
3265
+ # @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] firewall_endpoint_object
3266
+ # @param [String] firewall_endpoint_id
3267
+ # Required. Id of the requesting object. If auto-generating Id server-side,
3268
+ # remove this field and firewall_endpoint_id from the method_signature of Create
3269
+ # RPC.
3270
+ # @param [String] request_id
3271
+ # Optional. An optional request ID to identify requests. Specify a unique
3272
+ # request ID so that if you must retry your request, the server will know to
3273
+ # ignore the request if it has already been completed. The server will guarantee
3274
+ # that for at least 60 minutes since the first request. For example, consider a
3275
+ # situation where you make an initial request and the request times out. If you
3276
+ # make the request again with the same request ID, the server can check if
3277
+ # original operation with the same request ID was received, and if so, will
3278
+ # ignore the second request. This prevents clients from accidentally creating
3279
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3280
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3281
+ # @param [String] fields
3282
+ # Selector specifying which fields to include in a partial response.
3283
+ # @param [String] quota_user
3284
+ # Available to use for quota purposes for server-side applications. Can be any
3285
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3286
+ # @param [Google::Apis::RequestOptions] options
3287
+ # Request-specific options
3288
+ #
3289
+ # @yield [result, err] Result & error if block supplied
3290
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
3291
+ # @yieldparam err [StandardError] error object if request failed
3292
+ #
3293
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
3294
+ #
3295
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3296
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3297
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3298
+ def create_project_location_firewall_endpoint(parent, firewall_endpoint_object = nil, firewall_endpoint_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3299
+ command = make_simple_command(:post, 'v1beta1/{+parent}/firewallEndpoints', options)
3300
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
3301
+ command.request_object = firewall_endpoint_object
3302
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
3303
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
3304
+ command.params['parent'] = parent unless parent.nil?
3305
+ command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil?
3306
+ command.query['requestId'] = request_id unless request_id.nil?
3307
+ command.query['fields'] = fields unless fields.nil?
3308
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3309
+ execute_or_queue_command(command, &block)
3310
+ end
3311
+
3312
+ # Deletes a single project Endpoint.
3313
+ # @param [String] name
3314
+ # Required. Name of the resource
3315
+ # @param [String] request_id
3316
+ # Optional. An optional request ID to identify requests. Specify a unique
3317
+ # request ID so that if you must retry your request, the server will know to
3318
+ # ignore the request if it has already been completed. The server will guarantee
3319
+ # that for at least 60 minutes after the first request. For example, consider a
3320
+ # situation where you make an initial request and the request times out. If you
3321
+ # make the request again with the same request ID, the server can check if
3322
+ # original operation with the same request ID was received, and if so, will
3323
+ # ignore the second request. This prevents clients from accidentally creating
3324
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3325
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3326
+ # @param [String] fields
3327
+ # Selector specifying which fields to include in a partial response.
3328
+ # @param [String] quota_user
3329
+ # Available to use for quota purposes for server-side applications. Can be any
3330
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3331
+ # @param [Google::Apis::RequestOptions] options
3332
+ # Request-specific options
3333
+ #
3334
+ # @yield [result, err] Result & error if block supplied
3335
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
3336
+ # @yieldparam err [StandardError] error object if request failed
3337
+ #
3338
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
3339
+ #
3340
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3341
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3342
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3343
+ def delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3344
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
3345
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
3346
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
3347
+ command.params['name'] = name unless name.nil?
3348
+ command.query['requestId'] = request_id unless request_id.nil?
3349
+ command.query['fields'] = fields unless fields.nil?
3350
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3351
+ execute_or_queue_command(command, &block)
3352
+ end
3353
+
3354
+ # Gets details of a single project Endpoint.
3355
+ # @param [String] name
3356
+ # Required. Name of the resource
3357
+ # @param [String] fields
3358
+ # Selector specifying which fields to include in a partial response.
3359
+ # @param [String] quota_user
3360
+ # Available to use for quota purposes for server-side applications. Can be any
3361
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3362
+ # @param [Google::Apis::RequestOptions] options
3363
+ # Request-specific options
3364
+ #
3365
+ # @yield [result, err] Result & error if block supplied
3366
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] parsed result object
3367
+ # @yieldparam err [StandardError] error object if request failed
3368
+ #
3369
+ # @return [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint]
3370
+ #
3371
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3372
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3373
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3374
+ def get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
3375
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
3376
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
3377
+ command.response_class = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint
3378
+ command.params['name'] = name unless name.nil?
3379
+ command.query['fields'] = fields unless fields.nil?
3380
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3381
+ execute_or_queue_command(command, &block)
3382
+ end
3383
+
3384
+ # Lists FirewallEndpoints in a given project and location.
3385
+ # @param [String] parent
3386
+ # Required. Parent value for ListEndpointsRequest
3387
+ # @param [String] filter
3388
+ # Optional. Filtering results
3389
+ # @param [String] order_by
3390
+ # Hint for how to order the results
3391
+ # @param [Fixnum] page_size
3392
+ # Optional. Requested page size. Server may return fewer items than requested.
3393
+ # If unspecified, server will pick an appropriate default.
3394
+ # @param [String] page_token
3395
+ # A token identifying a page of results the server should return.
3396
+ # @param [String] fields
3397
+ # Selector specifying which fields to include in a partial response.
3398
+ # @param [String] quota_user
3399
+ # Available to use for quota purposes for server-side applications. Can be any
3400
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3401
+ # @param [Google::Apis::RequestOptions] options
3402
+ # Request-specific options
3403
+ #
3404
+ # @yield [result, err] Result & error if block supplied
3405
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse] parsed result object
3406
+ # @yieldparam err [StandardError] error object if request failed
3407
+ #
3408
+ # @return [Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse]
3409
+ #
3410
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3411
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3412
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3413
+ def list_project_location_firewall_endpoints(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3414
+ command = make_simple_command(:get, 'v1beta1/{+parent}/firewallEndpoints', options)
3415
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse::Representation
3416
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListFirewallEndpointsResponse
3417
+ command.params['parent'] = parent unless parent.nil?
3418
+ command.query['filter'] = filter unless filter.nil?
3419
+ command.query['orderBy'] = order_by unless order_by.nil?
3420
+ command.query['pageSize'] = page_size unless page_size.nil?
3421
+ command.query['pageToken'] = page_token unless page_token.nil?
3422
+ command.query['fields'] = fields unless fields.nil?
3423
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3424
+ execute_or_queue_command(command, &block)
3425
+ end
3426
+
3427
+ # Update a single project Endpoint.
3428
+ # @param [String] name
3429
+ # Immutable. Identifier. Name of resource.
3430
+ # @param [Google::Apis::NetworksecurityV1beta1::FirewallEndpoint] firewall_endpoint_object
3431
+ # @param [String] request_id
3432
+ # Optional. An optional request ID to identify requests. Specify a unique
3433
+ # request ID so that if you must retry your request, the server will know to
3434
+ # ignore the request if it has already been completed. The server will guarantee
3435
+ # that for at least 60 minutes since the first request. For example, consider a
3436
+ # situation where you make an initial request and the request times out. If you
3437
+ # make the request again with the same request ID, the server can check if
3438
+ # original operation with the same request ID was received, and if so, will
3439
+ # ignore the second request. This prevents clients from accidentally creating
3440
+ # duplicate commitments. The request ID must be a valid UUID with the exception
3441
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
3442
+ # @param [String] update_mask
3443
+ # Required. Field mask is used to specify the fields to be overwritten in the
3444
+ # Endpoint resource by the update. The fields specified in the update_mask are
3445
+ # relative to the resource, not the full request. A field will be overwritten if
3446
+ # it is in the mask. If the user does not provide a mask then all fields will be
3447
+ # overwritten.
3448
+ # @param [String] fields
3449
+ # Selector specifying which fields to include in a partial response.
3450
+ # @param [String] quota_user
3451
+ # Available to use for quota purposes for server-side applications. Can be any
3452
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3453
+ # @param [Google::Apis::RequestOptions] options
3454
+ # Request-specific options
3455
+ #
3456
+ # @yield [result, err] Result & error if block supplied
3457
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
3458
+ # @yieldparam err [StandardError] error object if request failed
3459
+ #
3460
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
3461
+ #
3462
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3463
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3464
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3465
+ def patch_project_location_firewall_endpoint(name, firewall_endpoint_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3466
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
3467
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::FirewallEndpoint::Representation
3468
+ command.request_object = firewall_endpoint_object
3469
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
3470
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
3471
+ command.params['name'] = name unless name.nil?
3472
+ command.query['requestId'] = request_id unless request_id.nil?
3473
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3474
+ command.query['fields'] = fields unless fields.nil?
3475
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3476
+ execute_or_queue_command(command, &block)
3477
+ end
3478
+
3262
3479
  # Creates a new GatewaySecurityPolicy in a given project and location.
3263
3480
  # @param [String] parent
3264
3481
  # Required. The parent resource of the GatewaySecurityPolicy. Must be in the
@@ -5792,6 +6009,383 @@ module Google
5792
6009
  execute_or_queue_command(command, &block)
5793
6010
  end
5794
6011
 
6012
+ # Creates a new SecurityProfileGroup in a given project and location.
6013
+ # @param [String] parent
6014
+ # Required. The parent resource of the SecurityProfileGroup. Must be in the
6015
+ # format `projects|organizations/*/locations/`location``.
6016
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup] security_profile_group_object
6017
+ # @param [String] security_profile_group_id
6018
+ # Required. Short name of the SecurityProfileGroup resource to be created. This
6019
+ # value should be 1-63 characters long, containing only letters, numbers,
6020
+ # hyphens, and underscores, and should not start with a number. E.g. "
6021
+ # security_profile_group1".
6022
+ # @param [String] fields
6023
+ # Selector specifying which fields to include in a partial response.
6024
+ # @param [String] quota_user
6025
+ # Available to use for quota purposes for server-side applications. Can be any
6026
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6027
+ # @param [Google::Apis::RequestOptions] options
6028
+ # Request-specific options
6029
+ #
6030
+ # @yield [result, err] Result & error if block supplied
6031
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
6032
+ # @yieldparam err [StandardError] error object if request failed
6033
+ #
6034
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
6035
+ #
6036
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6037
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6038
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6039
+ def create_project_location_security_profile_group(parent, security_profile_group_object = nil, security_profile_group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6040
+ command = make_simple_command(:post, 'v1beta1/{+parent}/securityProfileGroups', options)
6041
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
6042
+ command.request_object = security_profile_group_object
6043
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
6044
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
6045
+ command.params['parent'] = parent unless parent.nil?
6046
+ command.query['securityProfileGroupId'] = security_profile_group_id unless security_profile_group_id.nil?
6047
+ command.query['fields'] = fields unless fields.nil?
6048
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6049
+ execute_or_queue_command(command, &block)
6050
+ end
6051
+
6052
+ # Deletes a single SecurityProfileGroup.
6053
+ # @param [String] name
6054
+ # Required. A name of the SecurityProfileGroup to delete. Must be in the format `
6055
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
6056
+ # security_profile_group``.
6057
+ # @param [String] etag
6058
+ # Optional. If client provided etag is out of date, delete will return
6059
+ # FAILED_PRECONDITION error.
6060
+ # @param [String] fields
6061
+ # Selector specifying which fields to include in a partial response.
6062
+ # @param [String] quota_user
6063
+ # Available to use for quota purposes for server-side applications. Can be any
6064
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6065
+ # @param [Google::Apis::RequestOptions] options
6066
+ # Request-specific options
6067
+ #
6068
+ # @yield [result, err] Result & error if block supplied
6069
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
6070
+ # @yieldparam err [StandardError] error object if request failed
6071
+ #
6072
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
6073
+ #
6074
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6075
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6076
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6077
+ def delete_project_location_security_profile_group(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
6078
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6079
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
6080
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
6081
+ command.params['name'] = name unless name.nil?
6082
+ command.query['etag'] = etag unless etag.nil?
6083
+ command.query['fields'] = fields unless fields.nil?
6084
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6085
+ execute_or_queue_command(command, &block)
6086
+ end
6087
+
6088
+ # Gets details of a single SecurityProfileGroup.
6089
+ # @param [String] name
6090
+ # Required. A name of the SecurityProfileGroup to get. Must be in the format `
6091
+ # projects|organizations/*/locations/`location`/securityProfileGroups/`
6092
+ # security_profile_group``.
6093
+ # @param [String] fields
6094
+ # Selector specifying which fields to include in a partial response.
6095
+ # @param [String] quota_user
6096
+ # Available to use for quota purposes for server-side applications. Can be any
6097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6098
+ # @param [Google::Apis::RequestOptions] options
6099
+ # Request-specific options
6100
+ #
6101
+ # @yield [result, err] Result & error if block supplied
6102
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup] parsed result object
6103
+ # @yieldparam err [StandardError] error object if request failed
6104
+ #
6105
+ # @return [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup]
6106
+ #
6107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6110
+ def get_project_location_security_profile_group(name, fields: nil, quota_user: nil, options: nil, &block)
6111
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
6112
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
6113
+ command.response_class = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup
6114
+ command.params['name'] = name unless name.nil?
6115
+ command.query['fields'] = fields unless fields.nil?
6116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6117
+ execute_or_queue_command(command, &block)
6118
+ end
6119
+
6120
+ # Lists SecurityProfileGroups in a given project and location.
6121
+ # @param [String] parent
6122
+ # Required. The project or organization and location from which the
6123
+ # SecurityProfileGroups should be listed, specified in the format `projects|
6124
+ # organizations/*/locations/`location``.
6125
+ # @param [Fixnum] page_size
6126
+ # Optional. Maximum number of SecurityProfileGroups to return per call.
6127
+ # @param [String] page_token
6128
+ # Optional. The value returned by the last `ListSecurityProfileGroupsResponse`
6129
+ # Indicates that this is a continuation of a prior `ListSecurityProfileGroups`
6130
+ # call, and that the system should return the next page of data.
6131
+ # @param [String] fields
6132
+ # Selector specifying which fields to include in a partial response.
6133
+ # @param [String] quota_user
6134
+ # Available to use for quota purposes for server-side applications. Can be any
6135
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6136
+ # @param [Google::Apis::RequestOptions] options
6137
+ # Request-specific options
6138
+ #
6139
+ # @yield [result, err] Result & error if block supplied
6140
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse] parsed result object
6141
+ # @yieldparam err [StandardError] error object if request failed
6142
+ #
6143
+ # @return [Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse]
6144
+ #
6145
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6146
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6147
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6148
+ def list_project_location_security_profile_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6149
+ command = make_simple_command(:get, 'v1beta1/{+parent}/securityProfileGroups', options)
6150
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse::Representation
6151
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListSecurityProfileGroupsResponse
6152
+ command.params['parent'] = parent unless parent.nil?
6153
+ command.query['pageSize'] = page_size unless page_size.nil?
6154
+ command.query['pageToken'] = page_token unless page_token.nil?
6155
+ command.query['fields'] = fields unless fields.nil?
6156
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6157
+ execute_or_queue_command(command, &block)
6158
+ end
6159
+
6160
+ # Updates the parameters of a single SecurityProfileGroup.
6161
+ # @param [String] name
6162
+ # Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches
6163
+ # pattern `projects|organizations/*/locations/`location`/securityProfileGroups/`
6164
+ # security_profile_group``.
6165
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup] security_profile_group_object
6166
+ # @param [String] update_mask
6167
+ # Required. Field mask is used to specify the fields to be overwritten in the
6168
+ # SecurityProfileGroup resource by the update. The fields specified in the
6169
+ # update_mask are relative to the resource, not the full request. A field will
6170
+ # be overwritten if it is in the mask.
6171
+ # @param [String] fields
6172
+ # Selector specifying which fields to include in a partial response.
6173
+ # @param [String] quota_user
6174
+ # Available to use for quota purposes for server-side applications. Can be any
6175
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6176
+ # @param [Google::Apis::RequestOptions] options
6177
+ # Request-specific options
6178
+ #
6179
+ # @yield [result, err] Result & error if block supplied
6180
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
6181
+ # @yieldparam err [StandardError] error object if request failed
6182
+ #
6183
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
6184
+ #
6185
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6186
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6187
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6188
+ def patch_project_location_security_profile_group(name, security_profile_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
6189
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
6190
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup::Representation
6191
+ command.request_object = security_profile_group_object
6192
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
6193
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
6194
+ command.params['name'] = name unless name.nil?
6195
+ command.query['updateMask'] = update_mask unless update_mask.nil?
6196
+ command.query['fields'] = fields unless fields.nil?
6197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6198
+ execute_or_queue_command(command, &block)
6199
+ end
6200
+
6201
+ # Creates a new SecurityProfile in a given project and location.
6202
+ # @param [String] parent
6203
+ # Required. The parent resource of the SecurityProfile. Must be in the format `
6204
+ # projects|organizations/*/locations/`location``.
6205
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfile] security_profile_object
6206
+ # @param [String] security_profile_id
6207
+ # Required. Short name of the SecurityProfile resource to be created. This value
6208
+ # should be 1-63 characters long, containing only letters, numbers, hyphens, and
6209
+ # underscores, and should not start with a number. E.g. "security_profile1".
6210
+ # @param [String] fields
6211
+ # Selector specifying which fields to include in a partial response.
6212
+ # @param [String] quota_user
6213
+ # Available to use for quota purposes for server-side applications. Can be any
6214
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6215
+ # @param [Google::Apis::RequestOptions] options
6216
+ # Request-specific options
6217
+ #
6218
+ # @yield [result, err] Result & error if block supplied
6219
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
6220
+ # @yieldparam err [StandardError] error object if request failed
6221
+ #
6222
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
6223
+ #
6224
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6225
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6226
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6227
+ def create_project_location_security_profile(parent, security_profile_object = nil, security_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block)
6228
+ command = make_simple_command(:post, 'v1beta1/{+parent}/securityProfiles', options)
6229
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
6230
+ command.request_object = security_profile_object
6231
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
6232
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
6233
+ command.params['parent'] = parent unless parent.nil?
6234
+ command.query['securityProfileId'] = security_profile_id unless security_profile_id.nil?
6235
+ command.query['fields'] = fields unless fields.nil?
6236
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6237
+ execute_or_queue_command(command, &block)
6238
+ end
6239
+
6240
+ # Deletes a single SecurityProfile.
6241
+ # @param [String] name
6242
+ # Required. A name of the SecurityProfile to delete. Must be in the format `
6243
+ # projects|organizations/*/locations/`location`/securityProfiles/`
6244
+ # security_profile_id``.
6245
+ # @param [String] etag
6246
+ # Optional. If client provided etag is out of date, delete will return
6247
+ # FAILED_PRECONDITION error.
6248
+ # @param [String] fields
6249
+ # Selector specifying which fields to include in a partial response.
6250
+ # @param [String] quota_user
6251
+ # Available to use for quota purposes for server-side applications. Can be any
6252
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6253
+ # @param [Google::Apis::RequestOptions] options
6254
+ # Request-specific options
6255
+ #
6256
+ # @yield [result, err] Result & error if block supplied
6257
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
6258
+ # @yieldparam err [StandardError] error object if request failed
6259
+ #
6260
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
6261
+ #
6262
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6263
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6264
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6265
+ def delete_project_location_security_profile(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
6266
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6267
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
6268
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
6269
+ command.params['name'] = name unless name.nil?
6270
+ command.query['etag'] = etag unless etag.nil?
6271
+ command.query['fields'] = fields unless fields.nil?
6272
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6273
+ execute_or_queue_command(command, &block)
6274
+ end
6275
+
6276
+ # Gets details of a single SecurityProfile.
6277
+ # @param [String] name
6278
+ # Required. A name of the SecurityProfile to get. Must be in the format `
6279
+ # projects|organizations/*/locations/`location`/securityProfiles/`
6280
+ # security_profile_id``.
6281
+ # @param [String] fields
6282
+ # Selector specifying which fields to include in a partial response.
6283
+ # @param [String] quota_user
6284
+ # Available to use for quota purposes for server-side applications. Can be any
6285
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6286
+ # @param [Google::Apis::RequestOptions] options
6287
+ # Request-specific options
6288
+ #
6289
+ # @yield [result, err] Result & error if block supplied
6290
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::SecurityProfile] parsed result object
6291
+ # @yieldparam err [StandardError] error object if request failed
6292
+ #
6293
+ # @return [Google::Apis::NetworksecurityV1beta1::SecurityProfile]
6294
+ #
6295
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6296
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6297
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6298
+ def get_project_location_security_profile(name, fields: nil, quota_user: nil, options: nil, &block)
6299
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
6300
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
6301
+ command.response_class = Google::Apis::NetworksecurityV1beta1::SecurityProfile
6302
+ command.params['name'] = name unless name.nil?
6303
+ command.query['fields'] = fields unless fields.nil?
6304
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6305
+ execute_or_queue_command(command, &block)
6306
+ end
6307
+
6308
+ # Lists SecurityProfiles in a given project and location.
6309
+ # @param [String] parent
6310
+ # Required. The project or organization and location from which the
6311
+ # SecurityProfiles should be listed, specified in the format `projects|
6312
+ # organizations/*/locations/`location``.
6313
+ # @param [Fixnum] page_size
6314
+ # Optional. Maximum number of SecurityProfiles to return per call.
6315
+ # @param [String] page_token
6316
+ # Optional. The value returned by the last `ListSecurityProfilesResponse`
6317
+ # Indicates that this is a continuation of a prior `ListSecurityProfiles` call,
6318
+ # and that the system should return the next page of data.
6319
+ # @param [String] fields
6320
+ # Selector specifying which fields to include in a partial response.
6321
+ # @param [String] quota_user
6322
+ # Available to use for quota purposes for server-side applications. Can be any
6323
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6324
+ # @param [Google::Apis::RequestOptions] options
6325
+ # Request-specific options
6326
+ #
6327
+ # @yield [result, err] Result & error if block supplied
6328
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse] parsed result object
6329
+ # @yieldparam err [StandardError] error object if request failed
6330
+ #
6331
+ # @return [Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse]
6332
+ #
6333
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6334
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6335
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6336
+ def list_project_location_security_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6337
+ command = make_simple_command(:get, 'v1beta1/{+parent}/securityProfiles', options)
6338
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse::Representation
6339
+ command.response_class = Google::Apis::NetworksecurityV1beta1::ListSecurityProfilesResponse
6340
+ command.params['parent'] = parent unless parent.nil?
6341
+ command.query['pageSize'] = page_size unless page_size.nil?
6342
+ command.query['pageToken'] = page_token unless page_token.nil?
6343
+ command.query['fields'] = fields unless fields.nil?
6344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6345
+ execute_or_queue_command(command, &block)
6346
+ end
6347
+
6348
+ # Updates the parameters of a single SecurityProfile.
6349
+ # @param [String] name
6350
+ # Immutable. Identifier. Name of the SecurityProfile resource. It matches
6351
+ # pattern `projects|organizations/*/locations/`location`/securityProfiles/`
6352
+ # security_profile``.
6353
+ # @param [Google::Apis::NetworksecurityV1beta1::SecurityProfile] security_profile_object
6354
+ # @param [String] update_mask
6355
+ # Required. Field mask is used to specify the fields to be overwritten in the
6356
+ # SecurityProfile resource by the update. The fields specified in the
6357
+ # update_mask are relative to the resource, not the full request. A field will
6358
+ # be overwritten if it is in the mask.
6359
+ # @param [String] fields
6360
+ # Selector specifying which fields to include in a partial response.
6361
+ # @param [String] quota_user
6362
+ # Available to use for quota purposes for server-side applications. Can be any
6363
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6364
+ # @param [Google::Apis::RequestOptions] options
6365
+ # Request-specific options
6366
+ #
6367
+ # @yield [result, err] Result & error if block supplied
6368
+ # @yieldparam result [Google::Apis::NetworksecurityV1beta1::Operation] parsed result object
6369
+ # @yieldparam err [StandardError] error object if request failed
6370
+ #
6371
+ # @return [Google::Apis::NetworksecurityV1beta1::Operation]
6372
+ #
6373
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6374
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6375
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6376
+ def patch_project_location_security_profile(name, security_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
6377
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
6378
+ command.request_representation = Google::Apis::NetworksecurityV1beta1::SecurityProfile::Representation
6379
+ command.request_object = security_profile_object
6380
+ command.response_representation = Google::Apis::NetworksecurityV1beta1::Operation::Representation
6381
+ command.response_class = Google::Apis::NetworksecurityV1beta1::Operation
6382
+ command.params['name'] = name unless name.nil?
6383
+ command.query['updateMask'] = update_mask unless update_mask.nil?
6384
+ command.query['fields'] = fields unless fields.nil?
6385
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6386
+ execute_or_queue_command(command, &block)
6387
+ end
6388
+
5795
6389
  # Creates a new ServerTlsPolicy in a given project and location.
5796
6390
  # @param [String] parent
5797
6391
  # Required. The parent resource of the ServerTlsPolicy. Must be in the format `
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networksecurity_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.64.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.63.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1beta1/v0.64.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: