google-apis-networksecurity_v1 0.41.0 → 0.43.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 +46 -17
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +14 -0
- data/lib/google/apis/networksecurity_v1/service.rb +3 -3
- 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: '085e897bcf8fa9917fa207527dabdc6e457430a9a1902fd9c60e242453815c82'
|
4
|
+
data.tar.gz: c6c6fc2a0f8fbbf6693fe737af377fe91489341234b340b474143064338bae21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d2be0ad0aa1e91c31bfc329b57c5d8ca117e7eadee2267834fff645872fd8c80d80e11f4daa75d4eecb80837d5b8239f2eb99c4d1238f126b2a38707844ce2
|
7
|
+
data.tar.gz: 9fa9df45bab37b9c6340d8ca7ece9af1959527e55a91c54eda6d3cf7b451a1ae1f6a454c139d5617d8f269ef4c89a634371433493eb033c54896577c0b68a6c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1
|
2
2
|
|
3
|
+
### v0.43.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250822
|
6
|
+
|
7
|
+
### v0.42.0 (2025-08-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250806
|
10
|
+
|
3
11
|
### v0.41.0 (2025-07-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250714
|
@@ -376,7 +376,8 @@ module Google
|
|
376
376
|
include Google::Apis::Core::Hashable
|
377
377
|
|
378
378
|
# Optional. A list of IP addresses or IP address ranges to match against the
|
379
|
-
# source IP address of the request. Limited to
|
379
|
+
# source IP address of the request. Limited to 10 ip_blocks per Authorization
|
380
|
+
# Policy
|
380
381
|
# Corresponds to the JSON property `ipBlocks`
|
381
382
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleIpBlock>]
|
382
383
|
attr_accessor :ip_blocks
|
@@ -387,13 +388,17 @@ module Google
|
|
387
388
|
# successfully validated by mTLS. Each identity is a string whose value is
|
388
389
|
# matched against a list of URI SANs, DNS Name SANs, or the common name in the
|
389
390
|
# client's certificate. A match happens when any principal matches with the rule.
|
390
|
-
# Limited to
|
391
|
+
# Limited to 50 principals per Authorization Policy for Regional Internal
|
392
|
+
# Application Load Balancer, Regional External Application Load Balancer, Cross-
|
393
|
+
# region Internal Application Load Balancer, and Cloud Service Mesh. Limited to
|
394
|
+
# 25 principals per Authorization Policy for Global External Application Load
|
395
|
+
# Balancer.
|
391
396
|
# Corresponds to the JSON property `principals`
|
392
397
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRulePrincipal>]
|
393
398
|
attr_accessor :principals
|
394
399
|
|
395
400
|
# Optional. A list of resources to match against the resource of the source VM
|
396
|
-
# of a request. Limited to
|
401
|
+
# of a request. Limited to 10 resources per Authorization Policy.
|
397
402
|
# Corresponds to the JSON property `resources`
|
398
403
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleRequestResource>]
|
399
404
|
attr_accessor :resources
|
@@ -521,7 +526,7 @@ module Google
|
|
521
526
|
# Required. A list of resource tag value permanent IDs to match against the
|
522
527
|
# resource manager tags value associated with the source VM of a request. The
|
523
528
|
# match follows AND semantics which means all the ids must match. Limited to 5
|
524
|
-
#
|
529
|
+
# ids in the Tag value id set.
|
525
530
|
# Corresponds to the JSON property `ids`
|
526
531
|
# @return [Array<Fixnum>]
|
527
532
|
attr_accessor :ids
|
@@ -632,23 +637,26 @@ module Google
|
|
632
637
|
|
633
638
|
# Optional. A list of HTTP Hosts to match against. The match can be one of exact,
|
634
639
|
# prefix, suffix, or contains (substring match). Matches are always case
|
635
|
-
# sensitive unless the ignoreCase is set. Limited to
|
640
|
+
# sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization
|
641
|
+
# Policy.
|
636
642
|
# Corresponds to the JSON property `hosts`
|
637
643
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
|
638
644
|
attr_accessor :hosts
|
639
645
|
|
640
646
|
# Optional. A list of HTTP methods to match against. Each entry must be a valid
|
641
647
|
# HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only
|
642
|
-
# allows exact match and is always case sensitive.
|
648
|
+
# allows exact match and is always case sensitive. Limited to 10 methods per
|
649
|
+
# Authorization Policy.
|
643
650
|
# Corresponds to the JSON property `methods`
|
644
651
|
# @return [Array<String>]
|
645
652
|
attr_accessor :methods_prop
|
646
653
|
|
647
654
|
# Optional. A list of paths to match against. The match can be one of exact,
|
648
655
|
# prefix, suffix, or contains (substring match). Matches are always case
|
649
|
-
# sensitive unless the ignoreCase is set. Limited to
|
650
|
-
# path match includes the query parameters. For gRPC
|
651
|
-
# fully-qualified name of the form /package.service/
|
656
|
+
# sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization
|
657
|
+
# Policy. Note that this path match includes the query parameters. For gRPC
|
658
|
+
# services, this should be a fully-qualified name of the form /package.service/
|
659
|
+
# method.
|
652
660
|
# Corresponds to the JSON property `paths`
|
653
661
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleStringMatch>]
|
654
662
|
attr_accessor :paths
|
@@ -673,7 +681,8 @@ module Google
|
|
673
681
|
# Required. A list of headers to match against in http header. The match can be
|
674
682
|
# one of exact, prefix, suffix, or contains (substring match). The match follows
|
675
683
|
# AND semantics which means all the headers must match. Matches are always case
|
676
|
-
# sensitive unless the ignoreCase is set. Limited to
|
684
|
+
# sensitive unless the ignoreCase is set. Limited to 10 headers per
|
685
|
+
# Authorization Policy.
|
677
686
|
# Corresponds to the JSON property `headers`
|
678
687
|
# @return [Array<Google::Apis::NetworksecurityV1::AuthzPolicyAuthzRuleHeaderMatch>]
|
679
688
|
attr_accessor :headers
|
@@ -763,15 +772,16 @@ module Google
|
|
763
772
|
|
764
773
|
# Required. All gateways and forwarding rules referenced by this policy and
|
765
774
|
# extensions must share the same load balancing scheme. Supported values: `
|
766
|
-
# INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more
|
767
|
-
# Backend services overview](https://cloud.google.com/
|
768
|
-
# backend-service).
|
775
|
+
# INTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`. For more
|
776
|
+
# information, refer to [Backend services overview](https://cloud.google.com/
|
777
|
+
# load-balancing/docs/backend-service).
|
769
778
|
# Corresponds to the JSON property `loadBalancingScheme`
|
770
779
|
# @return [String]
|
771
780
|
attr_accessor :load_balancing_scheme
|
772
781
|
|
773
782
|
# Required. A list of references to the Forwarding Rules on which this policy
|
774
|
-
# will be applied.
|
783
|
+
# will be applied. For policies created for Cloudrun, this field will reference
|
784
|
+
# the Cloud Run services.
|
775
785
|
# Corresponds to the JSON property `resources`
|
776
786
|
# @return [Array<String>]
|
777
787
|
attr_accessor :resources
|
@@ -1168,7 +1178,7 @@ module Google
|
|
1168
1178
|
end
|
1169
1179
|
end
|
1170
1180
|
|
1171
|
-
# Message describing Endpoint object
|
1181
|
+
# Message describing Endpoint object.
|
1172
1182
|
class FirewallEndpoint
|
1173
1183
|
include Google::Apis::Core::Hashable
|
1174
1184
|
|
@@ -1192,7 +1202,7 @@ module Google
|
|
1192
1202
|
# @return [String]
|
1193
1203
|
attr_accessor :billing_project_id
|
1194
1204
|
|
1195
|
-
# Output only. Create time stamp
|
1205
|
+
# Output only. Create time stamp.
|
1196
1206
|
# Corresponds to the JSON property `createTime`
|
1197
1207
|
# @return [String]
|
1198
1208
|
attr_accessor :create_time
|
@@ -1202,12 +1212,17 @@ module Google
|
|
1202
1212
|
# @return [String]
|
1203
1213
|
attr_accessor :description
|
1204
1214
|
|
1215
|
+
# Settings for the endpoint.
|
1216
|
+
# Corresponds to the JSON property `endpointSettings`
|
1217
|
+
# @return [Google::Apis::NetworksecurityV1::FirewallEndpointEndpointSettings]
|
1218
|
+
attr_accessor :endpoint_settings
|
1219
|
+
|
1205
1220
|
# Optional. Labels as key value pairs
|
1206
1221
|
# Corresponds to the JSON property `labels`
|
1207
1222
|
# @return [Hash<String,String>]
|
1208
1223
|
attr_accessor :labels
|
1209
1224
|
|
1210
|
-
# Immutable. Identifier.
|
1225
|
+
# Immutable. Identifier. Name of resource.
|
1211
1226
|
# Corresponds to the JSON property `name`
|
1212
1227
|
# @return [String]
|
1213
1228
|
attr_accessor :name
|
@@ -1252,6 +1267,7 @@ module Google
|
|
1252
1267
|
@billing_project_id = args[:billing_project_id] if args.key?(:billing_project_id)
|
1253
1268
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1254
1269
|
@description = args[:description] if args.key?(:description)
|
1270
|
+
@endpoint_settings = args[:endpoint_settings] if args.key?(:endpoint_settings)
|
1255
1271
|
@labels = args[:labels] if args.key?(:labels)
|
1256
1272
|
@name = args[:name] if args.key?(:name)
|
1257
1273
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
@@ -1367,6 +1383,19 @@ module Google
|
|
1367
1383
|
end
|
1368
1384
|
end
|
1369
1385
|
|
1386
|
+
# Settings for the endpoint.
|
1387
|
+
class FirewallEndpointEndpointSettings
|
1388
|
+
include Google::Apis::Core::Hashable
|
1389
|
+
|
1390
|
+
def initialize(**args)
|
1391
|
+
update!(**args)
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
# Update properties of this object
|
1395
|
+
def update!(**args)
|
1396
|
+
end
|
1397
|
+
end
|
1398
|
+
|
1370
1399
|
# The GatewaySecurityPolicy resource contains a collection of
|
1371
1400
|
# GatewaySecurityPolicyRules and associated metadata.
|
1372
1401
|
class GatewaySecurityPolicy
|
@@ -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.43.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 = "20250822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,12 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class FirewallEndpointEndpointSettings
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
229
235
|
class GatewaySecurityPolicy
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
@@ -991,6 +997,8 @@ module Google
|
|
991
997
|
property :billing_project_id, as: 'billingProjectId'
|
992
998
|
property :create_time, as: 'createTime'
|
993
999
|
property :description, as: 'description'
|
1000
|
+
property :endpoint_settings, as: 'endpointSettings', class: Google::Apis::NetworksecurityV1::FirewallEndpointEndpointSettings, decorator: Google::Apis::NetworksecurityV1::FirewallEndpointEndpointSettings::Representation
|
1001
|
+
|
994
1002
|
hash :labels, as: 'labels'
|
995
1003
|
property :name, as: 'name'
|
996
1004
|
property :reconciling, as: 'reconciling'
|
@@ -1025,6 +1033,12 @@ module Google
|
|
1025
1033
|
end
|
1026
1034
|
end
|
1027
1035
|
|
1036
|
+
class FirewallEndpointEndpointSettings
|
1037
|
+
# @private
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
1028
1042
|
class GatewaySecurityPolicy
|
1029
1043
|
# @private
|
1030
1044
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -581,7 +581,7 @@ module Google
|
|
581
581
|
|
582
582
|
# Update a single Endpoint.
|
583
583
|
# @param [String] name
|
584
|
-
# Immutable. Identifier.
|
584
|
+
# Immutable. Identifier. Name of resource.
|
585
585
|
# @param [Google::Apis::NetworksecurityV1::FirewallEndpoint] firewall_endpoint_object
|
586
586
|
# @param [String] request_id
|
587
587
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1186,8 +1186,8 @@ module Google
|
|
1186
1186
|
# @param [String] name
|
1187
1187
|
# The resource that owns the locations collection, if applicable.
|
1188
1188
|
# @param [Array<String>, String] extra_location_types
|
1189
|
-
# Optional.
|
1190
|
-
#
|
1189
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
1190
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
1191
1191
|
# @param [String] filter
|
1192
1192
|
# A filter to narrow down results to a preferred subset. The filtering language
|
1193
1193
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
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.43.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.43.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:
|