google-apis-networksecurity_v1 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +515 -0
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +206 -0
- data/lib/google/apis/networksecurity_v1/service.rb +854 -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: 54b363239f4339a423da5a343b1a86dd37e513fa2083c112e49aefe96bd58c02
|
4
|
+
data.tar.gz: 42ee30a0a770006a1061ee49c9495a06263a37e4a2378049bbb149f337c207c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e73ed105c44d1f67e17c256962b593e3bd955c002da06fe23eac174c7c9ad770e90cb18d4775643bf27eb98e1a35c619a9e936f56610f30bb37a56d6daf7118d
|
7
|
+
data.tar.gz: 5da984f3d1e886941efe9afa1777ec2b738860b1f66042381e0f1801bc9b2142310ef142843854e007c98c59f43fbd6f4eba334fe3487e7c9d19198ba65de2f8
|
data/CHANGELOG.md
CHANGED
@@ -438,6 +438,191 @@ 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. List of FirewallEndpointAssociations that are associated to this
|
454
|
+
# endpoint. An association will only appear in this list after traffic routing
|
455
|
+
# is fully configured.
|
456
|
+
# Corresponds to the JSON property `associations`
|
457
|
+
# @return [Array<Google::Apis::NetworksecurityV1::FirewallEndpointAssociationReference>]
|
458
|
+
attr_accessor :associations
|
459
|
+
|
460
|
+
# Required. Project to bill on endpoint uptime usage.
|
461
|
+
# Corresponds to the JSON property `billingProjectId`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :billing_project_id
|
464
|
+
|
465
|
+
# Output only. Create time stamp
|
466
|
+
# Corresponds to the JSON property `createTime`
|
467
|
+
# @return [String]
|
468
|
+
attr_accessor :create_time
|
469
|
+
|
470
|
+
# Optional. Description of the firewall endpoint. Max length 2048 characters.
|
471
|
+
# Corresponds to the JSON property `description`
|
472
|
+
# @return [String]
|
473
|
+
attr_accessor :description
|
474
|
+
|
475
|
+
# Optional. Labels as key value pairs
|
476
|
+
# Corresponds to the JSON property `labels`
|
477
|
+
# @return [Hash<String,String>]
|
478
|
+
attr_accessor :labels
|
479
|
+
|
480
|
+
# Immutable. Identifier. name of resource
|
481
|
+
# Corresponds to the JSON property `name`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :name
|
484
|
+
|
485
|
+
# Output only. Whether reconciling is in progress, recommended per https://
|
486
|
+
# google.aip.dev/128.
|
487
|
+
# Corresponds to the JSON property `reconciling`
|
488
|
+
# @return [Boolean]
|
489
|
+
attr_accessor :reconciling
|
490
|
+
alias_method :reconciling?, :reconciling
|
491
|
+
|
492
|
+
# Output only. Current state of the endpoint.
|
493
|
+
# Corresponds to the JSON property `state`
|
494
|
+
# @return [String]
|
495
|
+
attr_accessor :state
|
496
|
+
|
497
|
+
# Output only. Update time stamp
|
498
|
+
# Corresponds to the JSON property `updateTime`
|
499
|
+
# @return [String]
|
500
|
+
attr_accessor :update_time
|
501
|
+
|
502
|
+
def initialize(**args)
|
503
|
+
update!(**args)
|
504
|
+
end
|
505
|
+
|
506
|
+
# Update properties of this object
|
507
|
+
def update!(**args)
|
508
|
+
@associated_networks = args[:associated_networks] if args.key?(:associated_networks)
|
509
|
+
@associations = args[:associations] if args.key?(:associations)
|
510
|
+
@billing_project_id = args[:billing_project_id] if args.key?(:billing_project_id)
|
511
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
512
|
+
@description = args[:description] if args.key?(:description)
|
513
|
+
@labels = args[:labels] if args.key?(:labels)
|
514
|
+
@name = args[:name] if args.key?(:name)
|
515
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
516
|
+
@state = args[:state] if args.key?(:state)
|
517
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
# Message describing Association object
|
522
|
+
class FirewallEndpointAssociation
|
523
|
+
include Google::Apis::Core::Hashable
|
524
|
+
|
525
|
+
# Output only. Create time stamp
|
526
|
+
# Corresponds to the JSON property `createTime`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :create_time
|
529
|
+
|
530
|
+
# Optional. Whether the association is disabled. True indicates that traffic won'
|
531
|
+
# t be intercepted
|
532
|
+
# Corresponds to the JSON property `disabled`
|
533
|
+
# @return [Boolean]
|
534
|
+
attr_accessor :disabled
|
535
|
+
alias_method :disabled?, :disabled
|
536
|
+
|
537
|
+
# Required. The URL of the FirewallEndpoint that is being associated.
|
538
|
+
# Corresponds to the JSON property `firewallEndpoint`
|
539
|
+
# @return [String]
|
540
|
+
attr_accessor :firewall_endpoint
|
541
|
+
|
542
|
+
# Optional. Labels as key value pairs
|
543
|
+
# Corresponds to the JSON property `labels`
|
544
|
+
# @return [Hash<String,String>]
|
545
|
+
attr_accessor :labels
|
546
|
+
|
547
|
+
# Immutable. Identifier. name of resource
|
548
|
+
# Corresponds to the JSON property `name`
|
549
|
+
# @return [String]
|
550
|
+
attr_accessor :name
|
551
|
+
|
552
|
+
# Required. The URL of the network that is being associated.
|
553
|
+
# Corresponds to the JSON property `network`
|
554
|
+
# @return [String]
|
555
|
+
attr_accessor :network
|
556
|
+
|
557
|
+
# Output only. Whether reconciling is in progress, recommended per https://
|
558
|
+
# google.aip.dev/128.
|
559
|
+
# Corresponds to the JSON property `reconciling`
|
560
|
+
# @return [Boolean]
|
561
|
+
attr_accessor :reconciling
|
562
|
+
alias_method :reconciling?, :reconciling
|
563
|
+
|
564
|
+
# Output only. Current state of the association.
|
565
|
+
# Corresponds to the JSON property `state`
|
566
|
+
# @return [String]
|
567
|
+
attr_accessor :state
|
568
|
+
|
569
|
+
# Optional. The URL of the TlsInspectionPolicy that is being associated.
|
570
|
+
# Corresponds to the JSON property `tlsInspectionPolicy`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :tls_inspection_policy
|
573
|
+
|
574
|
+
# Output only. Update time stamp
|
575
|
+
# Corresponds to the JSON property `updateTime`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :update_time
|
578
|
+
|
579
|
+
def initialize(**args)
|
580
|
+
update!(**args)
|
581
|
+
end
|
582
|
+
|
583
|
+
# Update properties of this object
|
584
|
+
def update!(**args)
|
585
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
586
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
587
|
+
@firewall_endpoint = args[:firewall_endpoint] if args.key?(:firewall_endpoint)
|
588
|
+
@labels = args[:labels] if args.key?(:labels)
|
589
|
+
@name = args[:name] if args.key?(:name)
|
590
|
+
@network = args[:network] if args.key?(:network)
|
591
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
592
|
+
@state = args[:state] if args.key?(:state)
|
593
|
+
@tls_inspection_policy = args[:tls_inspection_policy] if args.key?(:tls_inspection_policy)
|
594
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
598
|
+
# This is a subset of the FirewallEndpointAssociation message, containing fields
|
599
|
+
# to be used by the consumer.
|
600
|
+
class FirewallEndpointAssociationReference
|
601
|
+
include Google::Apis::Core::Hashable
|
602
|
+
|
603
|
+
# Output only. The resource name of the FirewallEndpointAssociation. Format:
|
604
|
+
# projects/`project`/locations/`location`/firewallEndpointAssociations/`id`
|
605
|
+
# Corresponds to the JSON property `name`
|
606
|
+
# @return [String]
|
607
|
+
attr_accessor :name
|
608
|
+
|
609
|
+
# Output only. The VPC network associated. Format: projects/`project`/global/
|
610
|
+
# networks/`name`.
|
611
|
+
# Corresponds to the JSON property `network`
|
612
|
+
# @return [String]
|
613
|
+
attr_accessor :network
|
614
|
+
|
615
|
+
def initialize(**args)
|
616
|
+
update!(**args)
|
617
|
+
end
|
618
|
+
|
619
|
+
# Update properties of this object
|
620
|
+
def update!(**args)
|
621
|
+
@name = args[:name] if args.key?(:name)
|
622
|
+
@network = args[:network] if args.key?(:network)
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
441
626
|
# The GatewaySecurityPolicy resource contains a collection of
|
442
627
|
# GatewaySecurityPolicyRules and associated metadata.
|
443
628
|
class GatewaySecurityPolicy
|
@@ -1146,6 +1331,68 @@ module Google
|
|
1146
1331
|
end
|
1147
1332
|
end
|
1148
1333
|
|
1334
|
+
# Message for response to listing Associations
|
1335
|
+
class ListFirewallEndpointAssociationsResponse
|
1336
|
+
include Google::Apis::Core::Hashable
|
1337
|
+
|
1338
|
+
# The list of Association
|
1339
|
+
# Corresponds to the JSON property `firewallEndpointAssociations`
|
1340
|
+
# @return [Array<Google::Apis::NetworksecurityV1::FirewallEndpointAssociation>]
|
1341
|
+
attr_accessor :firewall_endpoint_associations
|
1342
|
+
|
1343
|
+
# A token identifying a page of results the server should return.
|
1344
|
+
# Corresponds to the JSON property `nextPageToken`
|
1345
|
+
# @return [String]
|
1346
|
+
attr_accessor :next_page_token
|
1347
|
+
|
1348
|
+
# Locations that could not be reached.
|
1349
|
+
# Corresponds to the JSON property `unreachable`
|
1350
|
+
# @return [Array<String>]
|
1351
|
+
attr_accessor :unreachable
|
1352
|
+
|
1353
|
+
def initialize(**args)
|
1354
|
+
update!(**args)
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# Update properties of this object
|
1358
|
+
def update!(**args)
|
1359
|
+
@firewall_endpoint_associations = args[:firewall_endpoint_associations] if args.key?(:firewall_endpoint_associations)
|
1360
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1361
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
# Message for response to listing Endpoints
|
1366
|
+
class ListFirewallEndpointsResponse
|
1367
|
+
include Google::Apis::Core::Hashable
|
1368
|
+
|
1369
|
+
# The list of Endpoint
|
1370
|
+
# Corresponds to the JSON property `firewallEndpoints`
|
1371
|
+
# @return [Array<Google::Apis::NetworksecurityV1::FirewallEndpoint>]
|
1372
|
+
attr_accessor :firewall_endpoints
|
1373
|
+
|
1374
|
+
# A token identifying a page of results the server should return.
|
1375
|
+
# Corresponds to the JSON property `nextPageToken`
|
1376
|
+
# @return [String]
|
1377
|
+
attr_accessor :next_page_token
|
1378
|
+
|
1379
|
+
# Locations that could not be reached.
|
1380
|
+
# Corresponds to the JSON property `unreachable`
|
1381
|
+
# @return [Array<String>]
|
1382
|
+
attr_accessor :unreachable
|
1383
|
+
|
1384
|
+
def initialize(**args)
|
1385
|
+
update!(**args)
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
# Update properties of this object
|
1389
|
+
def update!(**args)
|
1390
|
+
@firewall_endpoints = args[:firewall_endpoints] if args.key?(:firewall_endpoints)
|
1391
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1392
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1149
1396
|
# Response returned by the ListGatewaySecurityPolicies method.
|
1150
1397
|
class ListGatewaySecurityPoliciesResponse
|
1151
1398
|
include Google::Apis::Core::Hashable
|
@@ -1262,6 +1509,60 @@ module Google
|
|
1262
1509
|
end
|
1263
1510
|
end
|
1264
1511
|
|
1512
|
+
# Response returned by the ListSecurityProfileGroups method.
|
1513
|
+
class ListSecurityProfileGroupsResponse
|
1514
|
+
include Google::Apis::Core::Hashable
|
1515
|
+
|
1516
|
+
# If there might be more results than those appearing in this response, then `
|
1517
|
+
# next_page_token` is included. To get the next set of results, call this method
|
1518
|
+
# again using the value of `next_page_token` as `page_token`.
|
1519
|
+
# Corresponds to the JSON property `nextPageToken`
|
1520
|
+
# @return [String]
|
1521
|
+
attr_accessor :next_page_token
|
1522
|
+
|
1523
|
+
# List of SecurityProfileGroups resources.
|
1524
|
+
# Corresponds to the JSON property `securityProfileGroups`
|
1525
|
+
# @return [Array<Google::Apis::NetworksecurityV1::SecurityProfileGroup>]
|
1526
|
+
attr_accessor :security_profile_groups
|
1527
|
+
|
1528
|
+
def initialize(**args)
|
1529
|
+
update!(**args)
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
# Update properties of this object
|
1533
|
+
def update!(**args)
|
1534
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1535
|
+
@security_profile_groups = args[:security_profile_groups] if args.key?(:security_profile_groups)
|
1536
|
+
end
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
# Response returned by the ListSecurityProfiles method.
|
1540
|
+
class ListSecurityProfilesResponse
|
1541
|
+
include Google::Apis::Core::Hashable
|
1542
|
+
|
1543
|
+
# If there might be more results than those appearing in this response, then `
|
1544
|
+
# next_page_token` is included. To get the next set of results, call this method
|
1545
|
+
# again using the value of `next_page_token` as `page_token`.
|
1546
|
+
# Corresponds to the JSON property `nextPageToken`
|
1547
|
+
# @return [String]
|
1548
|
+
attr_accessor :next_page_token
|
1549
|
+
|
1550
|
+
# List of SecurityProfile resources.
|
1551
|
+
# Corresponds to the JSON property `securityProfiles`
|
1552
|
+
# @return [Array<Google::Apis::NetworksecurityV1::SecurityProfile>]
|
1553
|
+
attr_accessor :security_profiles
|
1554
|
+
|
1555
|
+
def initialize(**args)
|
1556
|
+
update!(**args)
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
# Update properties of this object
|
1560
|
+
def update!(**args)
|
1561
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1562
|
+
@security_profiles = args[:security_profiles] if args.key?(:security_profiles)
|
1563
|
+
end
|
1564
|
+
end
|
1565
|
+
|
1265
1566
|
# Response returned by the ListServerTlsPolicies method.
|
1266
1567
|
class ListServerTlsPoliciesResponse
|
1267
1568
|
include Google::Apis::Core::Hashable
|
@@ -1628,6 +1929,135 @@ module Google
|
|
1628
1929
|
end
|
1629
1930
|
end
|
1630
1931
|
|
1932
|
+
# SecurityProfile is a resource that defines the behavior for one of many
|
1933
|
+
# ProfileTypes. Next ID: 9
|
1934
|
+
class SecurityProfile
|
1935
|
+
include Google::Apis::Core::Hashable
|
1936
|
+
|
1937
|
+
# Output only. Resource creation timestamp.
|
1938
|
+
# Corresponds to the JSON property `createTime`
|
1939
|
+
# @return [String]
|
1940
|
+
attr_accessor :create_time
|
1941
|
+
|
1942
|
+
# Optional. An optional description of the profile. Max length 512 characters.
|
1943
|
+
# Corresponds to the JSON property `description`
|
1944
|
+
# @return [String]
|
1945
|
+
attr_accessor :description
|
1946
|
+
|
1947
|
+
# Output only. This checksum is computed by the server based on the value of
|
1948
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
1949
|
+
# client has an up-to-date value before proceeding.
|
1950
|
+
# Corresponds to the JSON property `etag`
|
1951
|
+
# @return [String]
|
1952
|
+
attr_accessor :etag
|
1953
|
+
|
1954
|
+
# Optional. Labels as key value pairs.
|
1955
|
+
# Corresponds to the JSON property `labels`
|
1956
|
+
# @return [Hash<String,String>]
|
1957
|
+
attr_accessor :labels
|
1958
|
+
|
1959
|
+
# Immutable. Identifier. Name of the SecurityProfile resource. It matches
|
1960
|
+
# pattern `projects|organizations/*/locations/`location`/securityProfiles/`
|
1961
|
+
# security_profile``.
|
1962
|
+
# Corresponds to the JSON property `name`
|
1963
|
+
# @return [String]
|
1964
|
+
attr_accessor :name
|
1965
|
+
|
1966
|
+
# ThreatPreventionProfile defines an action for specific threat signatures or
|
1967
|
+
# severity levels.
|
1968
|
+
# Corresponds to the JSON property `threatPreventionProfile`
|
1969
|
+
# @return [Google::Apis::NetworksecurityV1::ThreatPreventionProfile]
|
1970
|
+
attr_accessor :threat_prevention_profile
|
1971
|
+
|
1972
|
+
# Immutable. The single ProfileType that the SecurityProfile resource configures.
|
1973
|
+
# Corresponds to the JSON property `type`
|
1974
|
+
# @return [String]
|
1975
|
+
attr_accessor :type
|
1976
|
+
|
1977
|
+
# Output only. Last resource update timestamp.
|
1978
|
+
# Corresponds to the JSON property `updateTime`
|
1979
|
+
# @return [String]
|
1980
|
+
attr_accessor :update_time
|
1981
|
+
|
1982
|
+
def initialize(**args)
|
1983
|
+
update!(**args)
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# Update properties of this object
|
1987
|
+
def update!(**args)
|
1988
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1989
|
+
@description = args[:description] if args.key?(:description)
|
1990
|
+
@etag = args[:etag] if args.key?(:etag)
|
1991
|
+
@labels = args[:labels] if args.key?(:labels)
|
1992
|
+
@name = args[:name] if args.key?(:name)
|
1993
|
+
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
1994
|
+
@type = args[:type] if args.key?(:type)
|
1995
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1996
|
+
end
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
# SecurityProfileGroup is a resource that defines the behavior for various
|
2000
|
+
# ProfileTypes. Next ID: 8
|
2001
|
+
class SecurityProfileGroup
|
2002
|
+
include Google::Apis::Core::Hashable
|
2003
|
+
|
2004
|
+
# Output only. Resource creation timestamp.
|
2005
|
+
# Corresponds to the JSON property `createTime`
|
2006
|
+
# @return [String]
|
2007
|
+
attr_accessor :create_time
|
2008
|
+
|
2009
|
+
# Optional. An optional description of the profile group. Max length 2048
|
2010
|
+
# characters.
|
2011
|
+
# Corresponds to the JSON property `description`
|
2012
|
+
# @return [String]
|
2013
|
+
attr_accessor :description
|
2014
|
+
|
2015
|
+
# Output only. This checksum is computed by the server based on the value of
|
2016
|
+
# other fields, and may be sent on update and delete requests to ensure the
|
2017
|
+
# client has an up-to-date value before proceeding.
|
2018
|
+
# Corresponds to the JSON property `etag`
|
2019
|
+
# @return [String]
|
2020
|
+
attr_accessor :etag
|
2021
|
+
|
2022
|
+
# Optional. Labels as key value pairs.
|
2023
|
+
# Corresponds to the JSON property `labels`
|
2024
|
+
# @return [Hash<String,String>]
|
2025
|
+
attr_accessor :labels
|
2026
|
+
|
2027
|
+
# Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches
|
2028
|
+
# pattern `projects|organizations/*/locations/`location`/securityProfileGroups/`
|
2029
|
+
# security_profile_group``.
|
2030
|
+
# Corresponds to the JSON property `name`
|
2031
|
+
# @return [String]
|
2032
|
+
attr_accessor :name
|
2033
|
+
|
2034
|
+
# Optional. Reference to a SecurityProfile with the threat prevention
|
2035
|
+
# configuration for the SecurityProfileGroup.
|
2036
|
+
# Corresponds to the JSON property `threatPreventionProfile`
|
2037
|
+
# @return [String]
|
2038
|
+
attr_accessor :threat_prevention_profile
|
2039
|
+
|
2040
|
+
# Output only. Last resource update timestamp.
|
2041
|
+
# Corresponds to the JSON property `updateTime`
|
2042
|
+
# @return [String]
|
2043
|
+
attr_accessor :update_time
|
2044
|
+
|
2045
|
+
def initialize(**args)
|
2046
|
+
update!(**args)
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
# Update properties of this object
|
2050
|
+
def update!(**args)
|
2051
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2052
|
+
@description = args[:description] if args.key?(:description)
|
2053
|
+
@etag = args[:etag] if args.key?(:etag)
|
2054
|
+
@labels = args[:labels] if args.key?(:labels)
|
2055
|
+
@name = args[:name] if args.key?(:name)
|
2056
|
+
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
2057
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2058
|
+
end
|
2059
|
+
end
|
2060
|
+
|
1631
2061
|
# ServerTlsPolicy is a resource that specifies how a server should authenticate
|
1632
2062
|
# incoming requests. This resource itself does not affect configuration unless
|
1633
2063
|
# it is attached to a target HTTPS proxy or endpoint config selector resource.
|
@@ -1707,6 +2137,31 @@ module Google
|
|
1707
2137
|
end
|
1708
2138
|
end
|
1709
2139
|
|
2140
|
+
# Defines what action to take for a specific severity match.
|
2141
|
+
class SeverityOverride
|
2142
|
+
include Google::Apis::Core::Hashable
|
2143
|
+
|
2144
|
+
# Required. Threat action override.
|
2145
|
+
# Corresponds to the JSON property `action`
|
2146
|
+
# @return [String]
|
2147
|
+
attr_accessor :action
|
2148
|
+
|
2149
|
+
# Required. Severity level to match.
|
2150
|
+
# Corresponds to the JSON property `severity`
|
2151
|
+
# @return [String]
|
2152
|
+
attr_accessor :severity
|
2153
|
+
|
2154
|
+
def initialize(**args)
|
2155
|
+
update!(**args)
|
2156
|
+
end
|
2157
|
+
|
2158
|
+
# Update properties of this object
|
2159
|
+
def update!(**args)
|
2160
|
+
@action = args[:action] if args.key?(:action)
|
2161
|
+
@severity = args[:severity] if args.key?(:severity)
|
2162
|
+
end
|
2163
|
+
end
|
2164
|
+
|
1710
2165
|
# Specification of traffic source attributes.
|
1711
2166
|
class Source
|
1712
2167
|
include Google::Apis::Core::Hashable
|
@@ -1780,6 +2235,66 @@ module Google
|
|
1780
2235
|
end
|
1781
2236
|
end
|
1782
2237
|
|
2238
|
+
# Defines what action to take for a specific threat_id match.
|
2239
|
+
class ThreatOverride
|
2240
|
+
include Google::Apis::Core::Hashable
|
2241
|
+
|
2242
|
+
# Required. Threat action override. For some threat types, only a subset of
|
2243
|
+
# actions applies.
|
2244
|
+
# Corresponds to the JSON property `action`
|
2245
|
+
# @return [String]
|
2246
|
+
attr_accessor :action
|
2247
|
+
|
2248
|
+
# Required. Vendor-specific ID of a threat to override.
|
2249
|
+
# Corresponds to the JSON property `threatId`
|
2250
|
+
# @return [String]
|
2251
|
+
attr_accessor :threat_id
|
2252
|
+
|
2253
|
+
# Output only. Type of the threat (read only).
|
2254
|
+
# Corresponds to the JSON property `type`
|
2255
|
+
# @return [String]
|
2256
|
+
attr_accessor :type
|
2257
|
+
|
2258
|
+
def initialize(**args)
|
2259
|
+
update!(**args)
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
# Update properties of this object
|
2263
|
+
def update!(**args)
|
2264
|
+
@action = args[:action] if args.key?(:action)
|
2265
|
+
@threat_id = args[:threat_id] if args.key?(:threat_id)
|
2266
|
+
@type = args[:type] if args.key?(:type)
|
2267
|
+
end
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
# ThreatPreventionProfile defines an action for specific threat signatures or
|
2271
|
+
# severity levels.
|
2272
|
+
class ThreatPreventionProfile
|
2273
|
+
include Google::Apis::Core::Hashable
|
2274
|
+
|
2275
|
+
# Optional. Configuration for overriding threats actions by severity match.
|
2276
|
+
# Corresponds to the JSON property `severityOverrides`
|
2277
|
+
# @return [Array<Google::Apis::NetworksecurityV1::SeverityOverride>]
|
2278
|
+
attr_accessor :severity_overrides
|
2279
|
+
|
2280
|
+
# Optional. Configuration for overriding threats actions by threat_id match. If
|
2281
|
+
# a threat is matched both by configuration provided in severity_overrides and
|
2282
|
+
# threat_overrides, the threat_overrides action is applied.
|
2283
|
+
# Corresponds to the JSON property `threatOverrides`
|
2284
|
+
# @return [Array<Google::Apis::NetworksecurityV1::ThreatOverride>]
|
2285
|
+
attr_accessor :threat_overrides
|
2286
|
+
|
2287
|
+
def initialize(**args)
|
2288
|
+
update!(**args)
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
# Update properties of this object
|
2292
|
+
def update!(**args)
|
2293
|
+
@severity_overrides = args[:severity_overrides] if args.key?(:severity_overrides)
|
2294
|
+
@threat_overrides = args[:threat_overrides] if args.key?(:threat_overrides)
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
1783
2298
|
# The TlsInspectionPolicy resource contains references to CA pools in
|
1784
2299
|
# Certificate Authority Service and associated metadata.
|
1785
2300
|
class TlsInspectionPolicy
|
@@ -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.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240229"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|