google-apis-networksecurity_v1beta1 0.22.0 → 0.24.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 +8 -0
- data/lib/google/apis/networksecurity_v1beta1/classes.rb +515 -0
- data/lib/google/apis/networksecurity_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1beta1/representations.rb +192 -0
- data/lib/google/apis/networksecurity_v1beta1/service.rb +853 -43
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8672a1a1e41e245ba62b9c751677d06ee6353710dc6465093a2558f9a9bfa031
|
4
|
+
data.tar.gz: 2991a9997b53e8295408c0b245cd9823486332bea23e4978b582dd421a4f4322
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d4fb1b58513f3c8d3cfd590ef964dc60fa14f5ab397b02e6d9dd97ef2fec3b0022edfbc0a22c3a6052c2b9765a9a44e74a831d195264523793f865ade673de2
|
7
|
+
data.tar.gz: 7919104e1bfa253372bfb96b243ebc0662d2be61324bff891b93430ca58d4d644b961cf7d619c3b8091e78b8638c8cb3a6bf13cc355958fb37df6c5fb1536e4a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networksecurity_v1beta1
|
2
2
|
|
3
|
+
### v0.24.0 (2023-08-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230719
|
6
|
+
|
7
|
+
### v0.23.0 (2023-07-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230710
|
10
|
+
|
3
11
|
### v0.22.0 (2023-04-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230420
|
@@ -438,6 +438,135 @@ module Google
|
|
438
438
|
end
|
439
439
|
end
|
440
440
|
|
441
|
+
# Message describing Endpoint object
|
442
|
+
class FirewallEndpoint
|
443
|
+
include Google::Apis::Core::Hashable
|
444
|
+
|
445
|
+
# Output only. List of networks that are associated with this endpoint in the
|
446
|
+
# local zone. This is a projection of the FirewallEndpointAssociations pointing
|
447
|
+
# at this endpoint. A network will only appear in this list after traffic
|
448
|
+
# routing is fully configured. Format: projects/`project`/global/networks/`name`.
|
449
|
+
# Corresponds to the JSON property `associatedNetworks`
|
450
|
+
# @return [Array<String>]
|
451
|
+
attr_accessor :associated_networks
|
452
|
+
|
453
|
+
# Output only. Create time stamp
|
454
|
+
# Corresponds to the JSON property `createTime`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :create_time
|
457
|
+
|
458
|
+
# Labels as key value pairs
|
459
|
+
# Corresponds to the JSON property `labels`
|
460
|
+
# @return [Hash<String,String>]
|
461
|
+
attr_accessor :labels
|
462
|
+
|
463
|
+
# Output only. name of resource
|
464
|
+
# Corresponds to the JSON property `name`
|
465
|
+
# @return [String]
|
466
|
+
attr_accessor :name
|
467
|
+
|
468
|
+
# Output only. Whether reconciling is in progress, recommended per https://
|
469
|
+
# google.aip.dev/128.
|
470
|
+
# Corresponds to the JSON property `reconciling`
|
471
|
+
# @return [Boolean]
|
472
|
+
attr_accessor :reconciling
|
473
|
+
alias_method :reconciling?, :reconciling
|
474
|
+
|
475
|
+
# Output only. Current state of the endpoint.
|
476
|
+
# Corresponds to the JSON property `state`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :state
|
479
|
+
|
480
|
+
# Output only. Update time stamp
|
481
|
+
# Corresponds to the JSON property `updateTime`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :update_time
|
484
|
+
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
488
|
+
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@associated_networks = args[:associated_networks] if args.key?(:associated_networks)
|
492
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
493
|
+
@labels = args[:labels] if args.key?(:labels)
|
494
|
+
@name = args[:name] if args.key?(:name)
|
495
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
496
|
+
@state = args[:state] if args.key?(:state)
|
497
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# Message describing Association object
|
502
|
+
class FirewallEndpointAssociation
|
503
|
+
include Google::Apis::Core::Hashable
|
504
|
+
|
505
|
+
# Output only. Create time stamp
|
506
|
+
# Corresponds to the JSON property `createTime`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :create_time
|
509
|
+
|
510
|
+
# Required. The URL of the FirewallEndpoint that is being associated.
|
511
|
+
# Corresponds to the JSON property `firewallEndpoint`
|
512
|
+
# @return [String]
|
513
|
+
attr_accessor :firewall_endpoint
|
514
|
+
|
515
|
+
# Labels as key value pairs
|
516
|
+
# Corresponds to the JSON property `labels`
|
517
|
+
# @return [Hash<String,String>]
|
518
|
+
attr_accessor :labels
|
519
|
+
|
520
|
+
# Output only. name of resource
|
521
|
+
# Corresponds to the JSON property `name`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :name
|
524
|
+
|
525
|
+
# Required. The URL of the network that is being associated.
|
526
|
+
# Corresponds to the JSON property `network`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :network
|
529
|
+
|
530
|
+
# Output only. Whether reconciling is in progress, recommended per https://
|
531
|
+
# google.aip.dev/128.
|
532
|
+
# Corresponds to the JSON property `reconciling`
|
533
|
+
# @return [Boolean]
|
534
|
+
attr_accessor :reconciling
|
535
|
+
alias_method :reconciling?, :reconciling
|
536
|
+
|
537
|
+
# Output only. Current state of the association.
|
538
|
+
# Corresponds to the JSON property `state`
|
539
|
+
# @return [String]
|
540
|
+
attr_accessor :state
|
541
|
+
|
542
|
+
# Optional. The URL of the TlsInspectionPolicy that is being associated.
|
543
|
+
# Corresponds to the JSON property `tlsInspectionPolicy`
|
544
|
+
# @return [String]
|
545
|
+
attr_accessor :tls_inspection_policy
|
546
|
+
|
547
|
+
# Output only. Update time stamp
|
548
|
+
# Corresponds to the JSON property `updateTime`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :update_time
|
551
|
+
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
555
|
+
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
559
|
+
@firewall_endpoint = args[:firewall_endpoint] if args.key?(:firewall_endpoint)
|
560
|
+
@labels = args[:labels] if args.key?(:labels)
|
561
|
+
@name = args[:name] if args.key?(:name)
|
562
|
+
@network = args[:network] if args.key?(:network)
|
563
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
564
|
+
@state = args[:state] if args.key?(:state)
|
565
|
+
@tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy)
|
566
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
441
570
|
# The GatewaySecurityPolicy resource contains a collection of
|
442
571
|
# GatewaySecurityPolicyRules and associated metadata.
|
443
572
|
class GatewaySecurityPolicy
|
@@ -1115,6 +1244,68 @@ module Google
|
|
1115
1244
|
end
|
1116
1245
|
end
|
1117
1246
|
|
1247
|
+
# Message for response to listing Associations
|
1248
|
+
class ListFirewallEndpointAssociationsResponse
|
1249
|
+
include Google::Apis::Core::Hashable
|
1250
|
+
|
1251
|
+
# The list of Association
|
1252
|
+
# Corresponds to the JSON property `firewallEndpointAssociations`
|
1253
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpointAssociation>]
|
1254
|
+
attr_accessor :firewall_endpoint_associations
|
1255
|
+
|
1256
|
+
# A token identifying a page of results the server should return.
|
1257
|
+
# Corresponds to the JSON property `nextPageToken`
|
1258
|
+
# @return [String]
|
1259
|
+
attr_accessor :next_page_token
|
1260
|
+
|
1261
|
+
# Locations that could not be reached.
|
1262
|
+
# Corresponds to the JSON property `unreachable`
|
1263
|
+
# @return [Array<String>]
|
1264
|
+
attr_accessor :unreachable
|
1265
|
+
|
1266
|
+
def initialize(**args)
|
1267
|
+
update!(**args)
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# Update properties of this object
|
1271
|
+
def update!(**args)
|
1272
|
+
@firewall_endpoint_associations = args[:firewall_endpoint_associations] if args.key?(:firewall_endpoint_associations)
|
1273
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1274
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
# Message for response to listing Endpoints
|
1279
|
+
class ListFirewallEndpointsResponse
|
1280
|
+
include Google::Apis::Core::Hashable
|
1281
|
+
|
1282
|
+
# The list of Endpoint
|
1283
|
+
# Corresponds to the JSON property `firewallEndpoints`
|
1284
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::FirewallEndpoint>]
|
1285
|
+
attr_accessor :firewall_endpoints
|
1286
|
+
|
1287
|
+
# A token identifying a page of results the server should return.
|
1288
|
+
# Corresponds to the JSON property `nextPageToken`
|
1289
|
+
# @return [String]
|
1290
|
+
attr_accessor :next_page_token
|
1291
|
+
|
1292
|
+
# Locations that could not be reached.
|
1293
|
+
# Corresponds to the JSON property `unreachable`
|
1294
|
+
# @return [Array<String>]
|
1295
|
+
attr_accessor :unreachable
|
1296
|
+
|
1297
|
+
def initialize(**args)
|
1298
|
+
update!(**args)
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# Update properties of this object
|
1302
|
+
def update!(**args)
|
1303
|
+
@firewall_endpoints = args[:firewall_endpoints] if args.key?(:firewall_endpoints)
|
1304
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1305
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1118
1309
|
# Response returned by the ListGatewaySecurityPolicies method.
|
1119
1310
|
class ListGatewaySecurityPoliciesResponse
|
1120
1311
|
include Google::Apis::Core::Hashable
|
@@ -1231,6 +1422,60 @@ module Google
|
|
1231
1422
|
end
|
1232
1423
|
end
|
1233
1424
|
|
1425
|
+
# Response returned by the ListSecurityProfileGroups method.
|
1426
|
+
class ListSecurityProfileGroupsResponse
|
1427
|
+
include Google::Apis::Core::Hashable
|
1428
|
+
|
1429
|
+
# If there might be more results than those appearing in this response, then `
|
1430
|
+
# next_page_token` is included. To get the next set of results, call this method
|
1431
|
+
# again using the value of `next_page_token` as `page_token`.
|
1432
|
+
# Corresponds to the JSON property `nextPageToken`
|
1433
|
+
# @return [String]
|
1434
|
+
attr_accessor :next_page_token
|
1435
|
+
|
1436
|
+
# List of SecurityProfileGroups resources.
|
1437
|
+
# Corresponds to the JSON property `securityProfileGroups`
|
1438
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SecurityProfileGroup>]
|
1439
|
+
attr_accessor :security_profile_groups
|
1440
|
+
|
1441
|
+
def initialize(**args)
|
1442
|
+
update!(**args)
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
# Update properties of this object
|
1446
|
+
def update!(**args)
|
1447
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1448
|
+
@security_profile_groups = args[:security_profile_groups] if args.key?(:security_profile_groups)
|
1449
|
+
end
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
# Response returned by the ListSecurityProfiles method.
|
1453
|
+
class ListSecurityProfilesResponse
|
1454
|
+
include Google::Apis::Core::Hashable
|
1455
|
+
|
1456
|
+
# If there might be more results than those appearing in this response, then `
|
1457
|
+
# next_page_token` is included. To get the next set of results, call this method
|
1458
|
+
# again using the value of `next_page_token` as `page_token`.
|
1459
|
+
# Corresponds to the JSON property `nextPageToken`
|
1460
|
+
# @return [String]
|
1461
|
+
attr_accessor :next_page_token
|
1462
|
+
|
1463
|
+
# List of SecurityProfile resources.
|
1464
|
+
# Corresponds to the JSON property `securityProfiles`
|
1465
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SecurityProfile>]
|
1466
|
+
attr_accessor :security_profiles
|
1467
|
+
|
1468
|
+
def initialize(**args)
|
1469
|
+
update!(**args)
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
# Update properties of this object
|
1473
|
+
def update!(**args)
|
1474
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1475
|
+
@security_profiles = args[:security_profiles] if args.key?(:security_profiles)
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1234
1479
|
# Response returned by the ListServerTlsPolicies method.
|
1235
1480
|
class ListServerTlsPoliciesResponse
|
1236
1481
|
include Google::Apis::Core::Hashable
|
@@ -1597,6 +1842,134 @@ module Google
|
|
1597
1842
|
end
|
1598
1843
|
end
|
1599
1844
|
|
1845
|
+
# SecurityProfile is a resource that defines the behavior for one of many
|
1846
|
+
# ProfileTypes. Next ID: 9
|
1847
|
+
class SecurityProfile
|
1848
|
+
include Google::Apis::Core::Hashable
|
1849
|
+
|
1850
|
+
# Output only. Resource creation timestamp.
|
1851
|
+
# Corresponds to the JSON property `createTime`
|
1852
|
+
# @return [String]
|
1853
|
+
attr_accessor :create_time
|
1854
|
+
|
1855
|
+
# Optional. An optional description of the profile. Max length 512 characters.
|
1856
|
+
# Corresponds to the JSON property `description`
|
1857
|
+
# @return [String]
|
1858
|
+
attr_accessor :description
|
1859
|
+
|
1860
|
+
# Output only. This checksum is computed by the server based on the value of
|
1861
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
1862
|
+
# client has an up-to-date value before proceeding.
|
1863
|
+
# Corresponds to the JSON property `etag`
|
1864
|
+
# @return [String]
|
1865
|
+
attr_accessor :etag
|
1866
|
+
|
1867
|
+
# Optional. Labels as key value pairs.
|
1868
|
+
# Corresponds to the JSON property `labels`
|
1869
|
+
# @return [Hash<String,String>]
|
1870
|
+
attr_accessor :labels
|
1871
|
+
|
1872
|
+
# Immutable. Name of the SecurityProfile resource. It matches pattern `projects|
|
1873
|
+
# organizations/*/locations/`location`/securityProfiles/`security_profile``.
|
1874
|
+
# Corresponds to the JSON property `name`
|
1875
|
+
# @return [String]
|
1876
|
+
attr_accessor :name
|
1877
|
+
|
1878
|
+
# ThreatPreventionProfile defines an action for specific threat signatures or
|
1879
|
+
# severity levels.
|
1880
|
+
# Corresponds to the JSON property `threatPreventionProfile`
|
1881
|
+
# @return [Google::Apis::NetworksecurityV1beta1::ThreatPreventionProfile]
|
1882
|
+
attr_accessor :threat_prevention_profile
|
1883
|
+
|
1884
|
+
# Immutable. The single ProfileType that the SecurityProfile resource configures.
|
1885
|
+
# Corresponds to the JSON property `type`
|
1886
|
+
# @return [String]
|
1887
|
+
attr_accessor :type
|
1888
|
+
|
1889
|
+
# Output only. Last resource update timestamp.
|
1890
|
+
# Corresponds to the JSON property `updateTime`
|
1891
|
+
# @return [String]
|
1892
|
+
attr_accessor :update_time
|
1893
|
+
|
1894
|
+
def initialize(**args)
|
1895
|
+
update!(**args)
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
# Update properties of this object
|
1899
|
+
def update!(**args)
|
1900
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1901
|
+
@description = args[:description] if args.key?(:description)
|
1902
|
+
@etag = args[:etag] if args.key?(:etag)
|
1903
|
+
@labels = args[:labels] if args.key?(:labels)
|
1904
|
+
@name = args[:name] if args.key?(:name)
|
1905
|
+
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
1906
|
+
@type = args[:type] if args.key?(:type)
|
1907
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1908
|
+
end
|
1909
|
+
end
|
1910
|
+
|
1911
|
+
# SecurityProfileGroup is a resource that defines the behavior for various
|
1912
|
+
# ProfileTypes. Next ID: 8
|
1913
|
+
class SecurityProfileGroup
|
1914
|
+
include Google::Apis::Core::Hashable
|
1915
|
+
|
1916
|
+
# Output only. Resource creation timestamp.
|
1917
|
+
# Corresponds to the JSON property `createTime`
|
1918
|
+
# @return [String]
|
1919
|
+
attr_accessor :create_time
|
1920
|
+
|
1921
|
+
# Optional. An optional description of the profile group. Max length 2048
|
1922
|
+
# characters.
|
1923
|
+
# Corresponds to the JSON property `description`
|
1924
|
+
# @return [String]
|
1925
|
+
attr_accessor :description
|
1926
|
+
|
1927
|
+
# Output only. This checksum is computed by the server based on the value of
|
1928
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
1929
|
+
# client has an up-to-date value before proceeding.
|
1930
|
+
# Corresponds to the JSON property `etag`
|
1931
|
+
# @return [String]
|
1932
|
+
attr_accessor :etag
|
1933
|
+
|
1934
|
+
# Optional. Labels as key value pairs.
|
1935
|
+
# Corresponds to the JSON property `labels`
|
1936
|
+
# @return [Hash<String,String>]
|
1937
|
+
attr_accessor :labels
|
1938
|
+
|
1939
|
+
# Immutable. Name of the SecurityProfileGroup resource. It matches pattern `
|
1940
|
+
# projects|organizations/*/locations/`location`/securityProfileGroups/`
|
1941
|
+
# security_profile_group``.
|
1942
|
+
# Corresponds to the JSON property `name`
|
1943
|
+
# @return [String]
|
1944
|
+
attr_accessor :name
|
1945
|
+
|
1946
|
+
# Optional. Reference to a SecurityProfile with the threat prevention
|
1947
|
+
# configuration for the SecurityProfileGroup.
|
1948
|
+
# Corresponds to the JSON property `threatPreventionProfile`
|
1949
|
+
# @return [String]
|
1950
|
+
attr_accessor :threat_prevention_profile
|
1951
|
+
|
1952
|
+
# Output only. Last resource update timestamp.
|
1953
|
+
# Corresponds to the JSON property `updateTime`
|
1954
|
+
# @return [String]
|
1955
|
+
attr_accessor :update_time
|
1956
|
+
|
1957
|
+
def initialize(**args)
|
1958
|
+
update!(**args)
|
1959
|
+
end
|
1960
|
+
|
1961
|
+
# Update properties of this object
|
1962
|
+
def update!(**args)
|
1963
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1964
|
+
@description = args[:description] if args.key?(:description)
|
1965
|
+
@etag = args[:etag] if args.key?(:etag)
|
1966
|
+
@labels = args[:labels] if args.key?(:labels)
|
1967
|
+
@name = args[:name] if args.key?(:name)
|
1968
|
+
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
1969
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1600
1973
|
# ServerTlsPolicy is a resource that specifies how a server should authenticate
|
1601
1974
|
# incoming requests. This resource itself does not affect configuration unless
|
1602
1975
|
# it is attached to a target HTTPS proxy or endpoint config selector resource.
|
@@ -1676,6 +2049,31 @@ module Google
|
|
1676
2049
|
end
|
1677
2050
|
end
|
1678
2051
|
|
2052
|
+
# Defines what action to take for a specific severity match.
|
2053
|
+
class SeverityOverride
|
2054
|
+
include Google::Apis::Core::Hashable
|
2055
|
+
|
2056
|
+
# Required. Threat action override.
|
2057
|
+
# Corresponds to the JSON property `action`
|
2058
|
+
# @return [String]
|
2059
|
+
attr_accessor :action
|
2060
|
+
|
2061
|
+
# Required. Severity level to match.
|
2062
|
+
# Corresponds to the JSON property `severity`
|
2063
|
+
# @return [String]
|
2064
|
+
attr_accessor :severity
|
2065
|
+
|
2066
|
+
def initialize(**args)
|
2067
|
+
update!(**args)
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
# Update properties of this object
|
2071
|
+
def update!(**args)
|
2072
|
+
@action = args[:action] if args.key?(:action)
|
2073
|
+
@severity = args[:severity] if args.key?(:severity)
|
2074
|
+
end
|
2075
|
+
end
|
2076
|
+
|
1679
2077
|
# Specification of traffic source attributes.
|
1680
2078
|
class Source
|
1681
2079
|
include Google::Apis::Core::Hashable
|
@@ -1749,6 +2147,66 @@ module Google
|
|
1749
2147
|
end
|
1750
2148
|
end
|
1751
2149
|
|
2150
|
+
# Defines what action to take for a specific threat_id match.
|
2151
|
+
class ThreatOverride
|
2152
|
+
include Google::Apis::Core::Hashable
|
2153
|
+
|
2154
|
+
# Required. Threat action override. For some threat types, only a subset of
|
2155
|
+
# actions applies.
|
2156
|
+
# Corresponds to the JSON property `action`
|
2157
|
+
# @return [String]
|
2158
|
+
attr_accessor :action
|
2159
|
+
|
2160
|
+
# Required. Vendor-specific ID of a threat to override.
|
2161
|
+
# Corresponds to the JSON property `threatId`
|
2162
|
+
# @return [String]
|
2163
|
+
attr_accessor :threat_id
|
2164
|
+
|
2165
|
+
# Output only. Type of the threat (read only).
|
2166
|
+
# Corresponds to the JSON property `type`
|
2167
|
+
# @return [String]
|
2168
|
+
attr_accessor :type
|
2169
|
+
|
2170
|
+
def initialize(**args)
|
2171
|
+
update!(**args)
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
# Update properties of this object
|
2175
|
+
def update!(**args)
|
2176
|
+
@action = args[:action] if args.key?(:action)
|
2177
|
+
@threat_id = args[:threat_id] if args.key?(:threat_id)
|
2178
|
+
@type = args[:type] if args.key?(:type)
|
2179
|
+
end
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
# ThreatPreventionProfile defines an action for specific threat signatures or
|
2183
|
+
# severity levels.
|
2184
|
+
class ThreatPreventionProfile
|
2185
|
+
include Google::Apis::Core::Hashable
|
2186
|
+
|
2187
|
+
# Optional. Configuration for overriding threats actions by severity match.
|
2188
|
+
# Corresponds to the JSON property `severityOverrides`
|
2189
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::SeverityOverride>]
|
2190
|
+
attr_accessor :severity_overrides
|
2191
|
+
|
2192
|
+
# Optional. Configuration for overriding threats actions by threat_id match. If
|
2193
|
+
# a threat is matched both by configuration provided in severity_overrides and
|
2194
|
+
# threat_overrides, the threat_overrides action is applied.
|
2195
|
+
# Corresponds to the JSON property `threatOverrides`
|
2196
|
+
# @return [Array<Google::Apis::NetworksecurityV1beta1::ThreatOverride>]
|
2197
|
+
attr_accessor :threat_overrides
|
2198
|
+
|
2199
|
+
def initialize(**args)
|
2200
|
+
update!(**args)
|
2201
|
+
end
|
2202
|
+
|
2203
|
+
# Update properties of this object
|
2204
|
+
def update!(**args)
|
2205
|
+
@severity_overrides = args[:severity_overrides] if args.key?(:severity_overrides)
|
2206
|
+
@threat_overrides = args[:threat_overrides] if args.key?(:threat_overrides)
|
2207
|
+
end
|
2208
|
+
end
|
2209
|
+
|
1752
2210
|
# The TlsInspectionPolicy resource contains references to CA pools in
|
1753
2211
|
# Certificate Authority Service and associated metadata.
|
1754
2212
|
class TlsInspectionPolicy
|
@@ -1766,11 +2224,44 @@ module Google
|
|
1766
2224
|
# @return [String]
|
1767
2225
|
attr_accessor :create_time
|
1768
2226
|
|
2227
|
+
# Optional. List of custom TLS cipher suites selected. This field is valid only
|
2228
|
+
# if the selected tls_feature_profile is CUSTOM. The compute.SslPoliciesService.
|
2229
|
+
# ListAvailableFeatures method returns the set of features that can be specified
|
2230
|
+
# in this list. Note that Secure Web Proxy does not yet honor this field.
|
2231
|
+
# Corresponds to the JSON property `customTlsFeatures`
|
2232
|
+
# @return [Array<String>]
|
2233
|
+
attr_accessor :custom_tls_features
|
2234
|
+
|
1769
2235
|
# Optional. Free-text description of the resource.
|
1770
2236
|
# Corresponds to the JSON property `description`
|
1771
2237
|
# @return [String]
|
1772
2238
|
attr_accessor :description
|
1773
2239
|
|
2240
|
+
# Optional. If FALSE (the default), use our default set of public CAs in
|
2241
|
+
# addition to any CAs specified in trust_config. These public CAs are currently
|
2242
|
+
# based on the Mozilla Root Program and are subject to change over time. If TRUE,
|
2243
|
+
# do not accept our default set of public CAs. Only CAs specified in
|
2244
|
+
# trust_config will be accepted. This defaults to FALSE (use public CAs in
|
2245
|
+
# addition to trust_config) for backwards compatibility, but trusting public
|
2246
|
+
# root CAs is *not recommended* unless the traffic in question is outbound to
|
2247
|
+
# public web servers. When possible, prefer setting this to "false" and
|
2248
|
+
# explicitly specifying trusted CAs and certificates in a TrustConfig. Note that
|
2249
|
+
# Secure Web Proxy does not yet honor this field.
|
2250
|
+
# Corresponds to the JSON property `excludePublicCaSet`
|
2251
|
+
# @return [Boolean]
|
2252
|
+
attr_accessor :exclude_public_ca_set
|
2253
|
+
alias_method :exclude_public_ca_set?, :exclude_public_ca_set
|
2254
|
+
|
2255
|
+
# Optional. Minimum TLS version that the firewall should use when negotiating
|
2256
|
+
# connections with both clients and servers. If this is not set, then the
|
2257
|
+
# default value is to allow the broadest set of clients and servers (TLS 1.0 or
|
2258
|
+
# higher). Setting this to more restrictive values may improve security, but may
|
2259
|
+
# also prevent the firewall from connecting to some clients or servers. Note
|
2260
|
+
# that Secure Web Proxy does not yet honor this field.
|
2261
|
+
# Corresponds to the JSON property `minTlsVersion`
|
2262
|
+
# @return [String]
|
2263
|
+
attr_accessor :min_tls_version
|
2264
|
+
|
1774
2265
|
# Required. Name of the resource. Name is of the form projects/`project`/
|
1775
2266
|
# locations/`location`/tlsInspectionPolicies/`tls_inspection_policy`
|
1776
2267
|
# tls_inspection_policy should match the pattern:(^[a-z]([a-z0-9-]`0,61`[a-z0-9])
|
@@ -1779,6 +2270,25 @@ module Google
|
|
1779
2270
|
# @return [String]
|
1780
2271
|
attr_accessor :name
|
1781
2272
|
|
2273
|
+
# Optional. The selected Profile. If this is not set, then the default value is
|
2274
|
+
# to allow the broadest set of clients and servers ("PROFILE_COMPATIBLE").
|
2275
|
+
# Setting this to more restrictive values may improve security, but may also
|
2276
|
+
# prevent the TLS inspection proxy from connecting to some clients or servers.
|
2277
|
+
# Note that Secure Web Proxy does not yet honor this field.
|
2278
|
+
# Corresponds to the JSON property `tlsFeatureProfile`
|
2279
|
+
# @return [String]
|
2280
|
+
attr_accessor :tls_feature_profile
|
2281
|
+
|
2282
|
+
# Optional. A TrustConfig resource used when making a connection to the TLS
|
2283
|
+
# server. This is a relative resource path following the form "projects/`project`
|
2284
|
+
# /locations/`location`/trustConfigs/`trust_config`". This is necessary to
|
2285
|
+
# intercept TLS connections to servers with certificates signed by a private CA
|
2286
|
+
# or self-signed certificates. Note that Secure Web Proxy does not yet honor
|
2287
|
+
# this field.
|
2288
|
+
# Corresponds to the JSON property `trustConfig`
|
2289
|
+
# @return [String]
|
2290
|
+
attr_accessor :trust_config
|
2291
|
+
|
1782
2292
|
# Output only. The timestamp when the resource was updated.
|
1783
2293
|
# Corresponds to the JSON property `updateTime`
|
1784
2294
|
# @return [String]
|
@@ -1792,8 +2302,13 @@ module Google
|
|
1792
2302
|
def update!(**args)
|
1793
2303
|
@ca_pool = args[:ca_pool] if args.key?(:ca_pool)
|
1794
2304
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2305
|
+
@custom_tls_features = args[:custom_tls_features] if args.key?(:custom_tls_features)
|
1795
2306
|
@description = args[:description] if args.key?(:description)
|
2307
|
+
@exclude_public_ca_set = args[:exclude_public_ca_set] if args.key?(:exclude_public_ca_set)
|
2308
|
+
@min_tls_version = args[:min_tls_version] if args.key?(:min_tls_version)
|
1796
2309
|
@name = args[:name] if args.key?(:name)
|
2310
|
+
@tls_feature_profile = args[:tls_feature_profile] if args.key?(:tls_feature_profile)
|
2311
|
+
@trust_config = args[:trust_config] if args.key?(:trust_config)
|
1797
2312
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1798
2313
|
end
|
1799
2314
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230719"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|