google-apis-networksecurity_v1 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +66 -0
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +32 -0
- data/lib/google/apis/networksecurity_v1/service.rb +0 -217
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9aef5dadff7530667fa2ffaa4030381c6d207e4f56c784f04409f152b7080482
|
|
4
|
+
data.tar.gz: 30648081221c637ee2cff2e630c18bf4e8ef679450ce4c70285d7deadbf0fab6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6243fcfce673e580583b74e20405ec873a07b7a316afea1cbc7203948ee49c51104fcf4778ebddb79b4d8a5e89a8b1ee622dce8e87ee8524c18731d76682b388
|
|
7
|
+
data.tar.gz: aab56301b794c5730e34ce1f71b7cf48eb2c2bccb8b1af35a256caa7cad964970ca066b9ed6685f9f4244ce328fd1db1b2017be32f025863931ad8fb0ff20211
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-networksecurity_v1
|
|
2
2
|
|
|
3
|
+
### v0.50.0 (2026-03-08)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260226
|
|
6
|
+
|
|
7
|
+
### v0.49.0 (2026-02-22)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260204
|
|
10
|
+
|
|
3
11
|
### v0.48.0 (2026-02-08)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260131
|
|
@@ -4222,6 +4222,11 @@ module Google
|
|
|
4222
4222
|
# @return [String]
|
|
4223
4223
|
attr_accessor :update_time
|
|
4224
4224
|
|
|
4225
|
+
# UrlFilteringProfile defines filters based on URL.
|
|
4226
|
+
# Corresponds to the JSON property `urlFilteringProfile`
|
|
4227
|
+
# @return [Google::Apis::NetworksecurityV1::UrlFilteringProfile]
|
|
4228
|
+
attr_accessor :url_filtering_profile
|
|
4229
|
+
|
|
4225
4230
|
def initialize(**args)
|
|
4226
4231
|
update!(**args)
|
|
4227
4232
|
end
|
|
@@ -4238,6 +4243,7 @@ module Google
|
|
|
4238
4243
|
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
|
4239
4244
|
@type = args[:type] if args.key?(:type)
|
|
4240
4245
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4246
|
+
@url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
|
|
4241
4247
|
end
|
|
4242
4248
|
end
|
|
4243
4249
|
|
|
@@ -4305,6 +4311,11 @@ module Google
|
|
|
4305
4311
|
# @return [String]
|
|
4306
4312
|
attr_accessor :update_time
|
|
4307
4313
|
|
|
4314
|
+
# Optional. Reference to a SecurityProfile with the UrlFiltering configuration.
|
|
4315
|
+
# Corresponds to the JSON property `urlFilteringProfile`
|
|
4316
|
+
# @return [String]
|
|
4317
|
+
attr_accessor :url_filtering_profile
|
|
4318
|
+
|
|
4308
4319
|
def initialize(**args)
|
|
4309
4320
|
update!(**args)
|
|
4310
4321
|
end
|
|
@@ -4321,6 +4332,7 @@ module Google
|
|
|
4321
4332
|
@name = args[:name] if args.key?(:name)
|
|
4322
4333
|
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
|
4323
4334
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4335
|
+
@url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
|
|
4324
4336
|
end
|
|
4325
4337
|
end
|
|
4326
4338
|
|
|
@@ -4673,6 +4685,60 @@ module Google
|
|
|
4673
4685
|
end
|
|
4674
4686
|
end
|
|
4675
4687
|
|
|
4688
|
+
# A URL filter defines an action to take for some URL match.
|
|
4689
|
+
class UrlFilter
|
|
4690
|
+
include Google::Apis::Core::Hashable
|
|
4691
|
+
|
|
4692
|
+
# Required. The action taken when this filter is applied.
|
|
4693
|
+
# Corresponds to the JSON property `filteringAction`
|
|
4694
|
+
# @return [String]
|
|
4695
|
+
attr_accessor :filtering_action
|
|
4696
|
+
|
|
4697
|
+
# Required. The priority of this filter within the URL Filtering Profile. Lower
|
|
4698
|
+
# integers indicate higher priorities. The priority of a filter must be unique
|
|
4699
|
+
# within a URL Filtering Profile.
|
|
4700
|
+
# Corresponds to the JSON property `priority`
|
|
4701
|
+
# @return [Fixnum]
|
|
4702
|
+
attr_accessor :priority
|
|
4703
|
+
|
|
4704
|
+
# Required. The list of strings that a URL must match with for this filter to be
|
|
4705
|
+
# applied.
|
|
4706
|
+
# Corresponds to the JSON property `urls`
|
|
4707
|
+
# @return [Array<String>]
|
|
4708
|
+
attr_accessor :urls
|
|
4709
|
+
|
|
4710
|
+
def initialize(**args)
|
|
4711
|
+
update!(**args)
|
|
4712
|
+
end
|
|
4713
|
+
|
|
4714
|
+
# Update properties of this object
|
|
4715
|
+
def update!(**args)
|
|
4716
|
+
@filtering_action = args[:filtering_action] if args.key?(:filtering_action)
|
|
4717
|
+
@priority = args[:priority] if args.key?(:priority)
|
|
4718
|
+
@urls = args[:urls] if args.key?(:urls)
|
|
4719
|
+
end
|
|
4720
|
+
end
|
|
4721
|
+
|
|
4722
|
+
# UrlFilteringProfile defines filters based on URL.
|
|
4723
|
+
class UrlFilteringProfile
|
|
4724
|
+
include Google::Apis::Core::Hashable
|
|
4725
|
+
|
|
4726
|
+
# Optional. The list of filtering configs in which each config defines an action
|
|
4727
|
+
# to take for some URL match.
|
|
4728
|
+
# Corresponds to the JSON property `urlFilters`
|
|
4729
|
+
# @return [Array<Google::Apis::NetworksecurityV1::UrlFilter>]
|
|
4730
|
+
attr_accessor :url_filters
|
|
4731
|
+
|
|
4732
|
+
def initialize(**args)
|
|
4733
|
+
update!(**args)
|
|
4734
|
+
end
|
|
4735
|
+
|
|
4736
|
+
# Update properties of this object
|
|
4737
|
+
def update!(**args)
|
|
4738
|
+
@url_filters = args[:url_filters] if args.key?(:url_filters)
|
|
4739
|
+
end
|
|
4740
|
+
end
|
|
4741
|
+
|
|
4676
4742
|
# UrlList proto helps users to set reusable, independently manageable lists of
|
|
4677
4743
|
# hosts, host patterns, URLs, URL patterns.
|
|
4678
4744
|
class UrlList
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworksecurityV1
|
|
18
18
|
# Version of the google-apis-networksecurity_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.50.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 = "
|
|
25
|
+
REVISION = "20260226"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -682,6 +682,18 @@ module Google
|
|
|
682
682
|
include Google::Apis::Core::JsonObjectSupport
|
|
683
683
|
end
|
|
684
684
|
|
|
685
|
+
class UrlFilter
|
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
|
+
|
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
class UrlFilteringProfile
|
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
693
|
+
|
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
695
|
+
end
|
|
696
|
+
|
|
685
697
|
class UrlList
|
|
686
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
699
|
|
|
@@ -1756,6 +1768,8 @@ module Google
|
|
|
1756
1768
|
|
|
1757
1769
|
property :type, as: 'type'
|
|
1758
1770
|
property :update_time, as: 'updateTime'
|
|
1771
|
+
property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1::UrlFilteringProfile::Representation
|
|
1772
|
+
|
|
1759
1773
|
end
|
|
1760
1774
|
end
|
|
1761
1775
|
|
|
@@ -1772,6 +1786,7 @@ module Google
|
|
|
1772
1786
|
property :name, as: 'name'
|
|
1773
1787
|
property :threat_prevention_profile, as: 'threatPreventionProfile'
|
|
1774
1788
|
property :update_time, as: 'updateTime'
|
|
1789
|
+
property :url_filtering_profile, as: 'urlFilteringProfile'
|
|
1775
1790
|
end
|
|
1776
1791
|
end
|
|
1777
1792
|
|
|
@@ -1853,6 +1868,23 @@ module Google
|
|
|
1853
1868
|
end
|
|
1854
1869
|
end
|
|
1855
1870
|
|
|
1871
|
+
class UrlFilter
|
|
1872
|
+
# @private
|
|
1873
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1874
|
+
property :filtering_action, as: 'filteringAction'
|
|
1875
|
+
property :priority, as: 'priority'
|
|
1876
|
+
collection :urls, as: 'urls'
|
|
1877
|
+
end
|
|
1878
|
+
end
|
|
1879
|
+
|
|
1880
|
+
class UrlFilteringProfile
|
|
1881
|
+
# @private
|
|
1882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1883
|
+
collection :url_filters, as: 'urlFilters', class: Google::Apis::NetworksecurityV1::UrlFilter, decorator: Google::Apis::NetworksecurityV1::UrlFilter::Representation
|
|
1884
|
+
|
|
1885
|
+
end
|
|
1886
|
+
end
|
|
1887
|
+
|
|
1856
1888
|
class UrlList
|
|
1857
1889
|
# @private
|
|
1858
1890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3254,223 +3254,6 @@ module Google
|
|
|
3254
3254
|
execute_or_queue_command(command, &block)
|
|
3255
3255
|
end
|
|
3256
3256
|
|
|
3257
|
-
# Creates a new FirewallEndpoint in a given project and location.
|
|
3258
|
-
# @param [String] parent
|
|
3259
|
-
# Required. Value for parent.
|
|
3260
|
-
# @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
|
|
3261
|
-
# @param [String] firewall_endpoint_id
|
|
3262
|
-
# Required. Id of the requesting object. If auto-generating Id server-side,
|
|
3263
|
-
# remove this field and firewall_endpoint_id from the method_signature of Create
|
|
3264
|
-
# RPC.
|
|
3265
|
-
# @param [String] request_id
|
|
3266
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
|
3267
|
-
# request ID so that if you must retry your request, the server will know to
|
|
3268
|
-
# ignore the request if it has already been completed. The server will guarantee
|
|
3269
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
|
3270
|
-
# situation where you make an initial request and the request times out. If you
|
|
3271
|
-
# make the request again with the same request ID, the server can check if
|
|
3272
|
-
# original operation with the same request ID was received, and if so, will
|
|
3273
|
-
# ignore the second request. This prevents clients from accidentally creating
|
|
3274
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
3275
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3276
|
-
# @param [String] fields
|
|
3277
|
-
# Selector specifying which fields to include in a partial response.
|
|
3278
|
-
# @param [String] quota_user
|
|
3279
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3280
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3281
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3282
|
-
# Request-specific options
|
|
3283
|
-
#
|
|
3284
|
-
# @yield [result, err] Result & error if block supplied
|
|
3285
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
3286
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3287
|
-
#
|
|
3288
|
-
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
3289
|
-
#
|
|
3290
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3291
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3292
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3293
|
-
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)
|
|
3294
|
-
command = make_simple_command(:post, 'v1/{+parent}/firewallEndpoints', options)
|
|
3295
|
-
command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
|
|
3296
|
-
command.request_object = firewall_endpoint_object
|
|
3297
|
-
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
3298
|
-
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
3299
|
-
command.params['parent'] = parent unless parent.nil?
|
|
3300
|
-
command.query['firewallEndpointId'] = firewall_endpoint_id unless firewall_endpoint_id.nil?
|
|
3301
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
3302
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3303
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3304
|
-
execute_or_queue_command(command, &block)
|
|
3305
|
-
end
|
|
3306
|
-
|
|
3307
|
-
# Deletes a single project Endpoint.
|
|
3308
|
-
# @param [String] name
|
|
3309
|
-
# Required. Name of the resource
|
|
3310
|
-
# @param [String] request_id
|
|
3311
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
|
3312
|
-
# request ID so that if you must retry your request, the server will know to
|
|
3313
|
-
# ignore the request if it has already been completed. The server will guarantee
|
|
3314
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
|
3315
|
-
# situation where you make an initial request and the request times out. If you
|
|
3316
|
-
# make the request again with the same request ID, the server can check if
|
|
3317
|
-
# original operation with the same request ID was received, and if so, will
|
|
3318
|
-
# ignore the second request. This prevents clients from accidentally creating
|
|
3319
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
3320
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3321
|
-
# @param [String] fields
|
|
3322
|
-
# Selector specifying which fields to include in a partial response.
|
|
3323
|
-
# @param [String] quota_user
|
|
3324
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3325
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3326
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3327
|
-
# Request-specific options
|
|
3328
|
-
#
|
|
3329
|
-
# @yield [result, err] Result & error if block supplied
|
|
3330
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
3331
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3332
|
-
#
|
|
3333
|
-
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
3334
|
-
#
|
|
3335
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3336
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3337
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3338
|
-
def delete_project_location_firewall_endpoint(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3339
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
3340
|
-
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
3341
|
-
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
3342
|
-
command.params['name'] = name unless name.nil?
|
|
3343
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
3344
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3345
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3346
|
-
execute_or_queue_command(command, &block)
|
|
3347
|
-
end
|
|
3348
|
-
|
|
3349
|
-
# Gets details of a single project Endpoint.
|
|
3350
|
-
# @param [String] name
|
|
3351
|
-
# Required. Name of the resource
|
|
3352
|
-
# @param [String] fields
|
|
3353
|
-
# Selector specifying which fields to include in a partial response.
|
|
3354
|
-
# @param [String] quota_user
|
|
3355
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3356
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3357
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3358
|
-
# Request-specific options
|
|
3359
|
-
#
|
|
3360
|
-
# @yield [result, err] Result & error if block supplied
|
|
3361
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1::FirewallEndpoint] parsed result object
|
|
3362
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3363
|
-
#
|
|
3364
|
-
# @return [Google::Apis::NetworksecurityV1::FirewallEndpoint]
|
|
3365
|
-
#
|
|
3366
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3367
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3368
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3369
|
-
def get_project_location_firewall_endpoint(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3370
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3371
|
-
command.response_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
|
|
3372
|
-
command.response_class = Google::Apis::NetworksecurityV1::FirewallEndpoint
|
|
3373
|
-
command.params['name'] = name unless name.nil?
|
|
3374
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3375
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3376
|
-
execute_or_queue_command(command, &block)
|
|
3377
|
-
end
|
|
3378
|
-
|
|
3379
|
-
# Lists FirewallEndpoints in a given project and location.
|
|
3380
|
-
# @param [String] parent
|
|
3381
|
-
# Required. Parent value for ListEndpointsRequest
|
|
3382
|
-
# @param [String] filter
|
|
3383
|
-
# Optional. Filtering results
|
|
3384
|
-
# @param [String] order_by
|
|
3385
|
-
# Hint for how to order the results
|
|
3386
|
-
# @param [Fixnum] page_size
|
|
3387
|
-
# Optional. Requested page size. Server may return fewer items than requested.
|
|
3388
|
-
# If unspecified, server will pick an appropriate default.
|
|
3389
|
-
# @param [String] page_token
|
|
3390
|
-
# A token identifying a page of results the server should return.
|
|
3391
|
-
# @param [String] fields
|
|
3392
|
-
# Selector specifying which fields to include in a partial response.
|
|
3393
|
-
# @param [String] quota_user
|
|
3394
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3395
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3396
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3397
|
-
# Request-specific options
|
|
3398
|
-
#
|
|
3399
|
-
# @yield [result, err] Result & error if block supplied
|
|
3400
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse] parsed result object
|
|
3401
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3402
|
-
#
|
|
3403
|
-
# @return [Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse]
|
|
3404
|
-
#
|
|
3405
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3406
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3407
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3408
|
-
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)
|
|
3409
|
-
command = make_simple_command(:get, 'v1/{+parent}/firewallEndpoints', options)
|
|
3410
|
-
command.response_representation = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse::Representation
|
|
3411
|
-
command.response_class = Google::Apis::NetworksecurityV1::ListFirewallEndpointsResponse
|
|
3412
|
-
command.params['parent'] = parent unless parent.nil?
|
|
3413
|
-
command.query['filter'] = filter unless filter.nil?
|
|
3414
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
3415
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3416
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3417
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3418
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3419
|
-
execute_or_queue_command(command, &block)
|
|
3420
|
-
end
|
|
3421
|
-
|
|
3422
|
-
# Update a single project Endpoint.
|
|
3423
|
-
# @param [String] name
|
|
3424
|
-
# Immutable. Identifier. Name of resource.
|
|
3425
|
-
# @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
|
|
3426
|
-
# @param [String] request_id
|
|
3427
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
|
3428
|
-
# request ID so that if you must retry your request, the server will know to
|
|
3429
|
-
# ignore the request if it has already been completed. The server will guarantee
|
|
3430
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
|
3431
|
-
# situation where you make an initial request and the request times out. If you
|
|
3432
|
-
# make the request again with the same request ID, the server can check if
|
|
3433
|
-
# original operation with the same request ID was received, and if so, will
|
|
3434
|
-
# ignore the second request. This prevents clients from accidentally creating
|
|
3435
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
3436
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
3437
|
-
# @param [String] update_mask
|
|
3438
|
-
# Required. Field mask is used to specify the fields to be overwritten in the
|
|
3439
|
-
# Endpoint resource by the update. The fields specified in the update_mask are
|
|
3440
|
-
# relative to the resource, not the full request. A field will be overwritten if
|
|
3441
|
-
# it is in the mask. If the user does not provide a mask then all fields will be
|
|
3442
|
-
# overwritten.
|
|
3443
|
-
# @param [String] fields
|
|
3444
|
-
# Selector specifying which fields to include in a partial response.
|
|
3445
|
-
# @param [String] quota_user
|
|
3446
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3447
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3448
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3449
|
-
# Request-specific options
|
|
3450
|
-
#
|
|
3451
|
-
# @yield [result, err] Result & error if block supplied
|
|
3452
|
-
# @yieldparam result [Google::Apis::NetworksecurityV1::Operation] parsed result object
|
|
3453
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3454
|
-
#
|
|
3455
|
-
# @return [Google::Apis::NetworksecurityV1::Operation]
|
|
3456
|
-
#
|
|
3457
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3458
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3459
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3460
|
-
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)
|
|
3461
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
3462
|
-
command.request_representation = Google::Apis::NetworksecurityV1::FirewallEndpoint::Representation
|
|
3463
|
-
command.request_object = firewall_endpoint_object
|
|
3464
|
-
command.response_representation = Google::Apis::NetworksecurityV1::Operation::Representation
|
|
3465
|
-
command.response_class = Google::Apis::NetworksecurityV1::Operation
|
|
3466
|
-
command.params['name'] = name unless name.nil?
|
|
3467
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
|
3468
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
3469
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3470
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3471
|
-
execute_or_queue_command(command, &block)
|
|
3472
|
-
end
|
|
3473
|
-
|
|
3474
3257
|
# Creates a new GatewaySecurityPolicy in a given project and location.
|
|
3475
3258
|
# @param [String] parent
|
|
3476
3259
|
# Required. The parent resource of the GatewaySecurityPolicy. Must be in the
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networksecurity_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.50.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networksecurity_v1/v0.50.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networksecurity_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|