google-apis-networksecurity_v1 0.59.0 → 0.60.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 +4 -0
- data/lib/google/apis/networksecurity_v1/classes.rb +585 -0
- data/lib/google/apis/networksecurity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networksecurity_v1/representations.rb +254 -0
- data/lib/google/apis/networksecurity_v1/service.rb +242 -0
- 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: b862271956c0099a016221248fef598f71874cb991f948015e175e00b256c291
|
|
4
|
+
data.tar.gz: dbe41b159c2ffe7dc0e9a3c7d5d33a09d3596bcc30ef370d93119b65ca9e0c5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 94b07f4b1fcafe482e3628ee868a369acb045f9fe5c2fe9a8c300c764a02ff36796ed0e820c11b8918a9db3ceae8d39bc15162b67fd0d0e8108b3c5c8f53f4c3
|
|
7
|
+
data.tar.gz: 5f675930a5a897cc1912217608c6414f01e85de62a52707ec5722d77ba02213180212415e1f81441006ae8ee66b2b8d469bf73dc29b3ca4822b4280adf10ec27
|
data/CHANGELOG.md
CHANGED
|
@@ -1416,6 +1416,11 @@ module Google
|
|
|
1416
1416
|
# @return [String]
|
|
1417
1417
|
attr_accessor :update_time
|
|
1418
1418
|
|
|
1419
|
+
# Settings for WildFire analysis.
|
|
1420
|
+
# Corresponds to the JSON property `wildfireSettings`
|
|
1421
|
+
# @return [Google::Apis::NetworksecurityV1::FirewallEndpointWildfireSettings]
|
|
1422
|
+
attr_accessor :wildfire_settings
|
|
1423
|
+
|
|
1419
1424
|
def initialize(**args)
|
|
1420
1425
|
update!(**args)
|
|
1421
1426
|
end
|
|
@@ -1435,6 +1440,7 @@ module Google
|
|
|
1435
1440
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
1436
1441
|
@state = args[:state] if args.key?(:state)
|
|
1437
1442
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1443
|
+
@wildfire_settings = args[:wildfire_settings] if args.key?(:wildfire_settings)
|
|
1438
1444
|
end
|
|
1439
1445
|
end
|
|
1440
1446
|
|
|
@@ -1547,6 +1553,20 @@ module Google
|
|
|
1547
1553
|
class FirewallEndpointEndpointSettings
|
|
1548
1554
|
include Google::Apis::Core::Hashable
|
|
1549
1555
|
|
|
1556
|
+
# Optional. The content cloud region of the endpoint.
|
|
1557
|
+
# Corresponds to the JSON property `contentCloudRegion`
|
|
1558
|
+
# @return [String]
|
|
1559
|
+
attr_accessor :content_cloud_region
|
|
1560
|
+
|
|
1561
|
+
# Optional. Whether to block HTTP partial responses for the endpoint. When this
|
|
1562
|
+
# is true, resumption of blocked malicious HTTP file downloads will be blocked
|
|
1563
|
+
# by the firewall. False provides maximum availability, true provides maximum
|
|
1564
|
+
# security.
|
|
1565
|
+
# Corresponds to the JSON property `httpPartialResponseBlocked`
|
|
1566
|
+
# @return [Boolean]
|
|
1567
|
+
attr_accessor :http_partial_response_blocked
|
|
1568
|
+
alias_method :http_partial_response_blocked?, :http_partial_response_blocked
|
|
1569
|
+
|
|
1550
1570
|
# Optional. Immutable. Indicates whether Jumbo Frames are enabled. Default value
|
|
1551
1571
|
# is false.
|
|
1552
1572
|
# Corresponds to the JSON property `jumboFramesEnabled`
|
|
@@ -1560,10 +1580,99 @@ module Google
|
|
|
1560
1580
|
|
|
1561
1581
|
# Update properties of this object
|
|
1562
1582
|
def update!(**args)
|
|
1583
|
+
@content_cloud_region = args[:content_cloud_region] if args.key?(:content_cloud_region)
|
|
1584
|
+
@http_partial_response_blocked = args[:http_partial_response_blocked] if args.key?(:http_partial_response_blocked)
|
|
1563
1585
|
@jumbo_frames_enabled = args[:jumbo_frames_enabled] if args.key?(:jumbo_frames_enabled)
|
|
1564
1586
|
end
|
|
1565
1587
|
end
|
|
1566
1588
|
|
|
1589
|
+
# Settings for WildFire analysis.
|
|
1590
|
+
class FirewallEndpointWildfireSettings
|
|
1591
|
+
include Google::Apis::Core::Hashable
|
|
1592
|
+
|
|
1593
|
+
# Optional. Indicates whether WildFire analysis is enabled. Default value is
|
|
1594
|
+
# false.
|
|
1595
|
+
# Corresponds to the JSON property `enabled`
|
|
1596
|
+
# @return [Boolean]
|
|
1597
|
+
attr_accessor :enabled
|
|
1598
|
+
alias_method :enabled?, :enabled
|
|
1599
|
+
|
|
1600
|
+
# Settings for WildFire inline cloud analysis.
|
|
1601
|
+
# Corresponds to the JSON property `wildfireInlineCloudAnalysisSettings`
|
|
1602
|
+
# @return [Google::Apis::NetworksecurityV1::FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings]
|
|
1603
|
+
attr_accessor :wildfire_inline_cloud_analysis_settings
|
|
1604
|
+
|
|
1605
|
+
# Optional. Duration in milliseconds on a file being held while the WildFire
|
|
1606
|
+
# real time signature cloud performs a signature lookup. Value between 1 to 5000
|
|
1607
|
+
# is valid. Default value is 1000.
|
|
1608
|
+
# Corresponds to the JSON property `wildfireRealtimeLookupDuration`
|
|
1609
|
+
# @return [String]
|
|
1610
|
+
attr_accessor :wildfire_realtime_lookup_duration
|
|
1611
|
+
|
|
1612
|
+
# Optional. Action to take on WildFire real time signature lookup timeout.
|
|
1613
|
+
# Default value is ALLOW.
|
|
1614
|
+
# Corresponds to the JSON property `wildfireRealtimeLookupTimeoutAction`
|
|
1615
|
+
# @return [String]
|
|
1616
|
+
attr_accessor :wildfire_realtime_lookup_timeout_action
|
|
1617
|
+
|
|
1618
|
+
# Optional. The region where WildFire analysis will be performed. Palo Alto
|
|
1619
|
+
# Networks supports regions: https://docs.paloaltonetworks.com/advanced-wildfire/
|
|
1620
|
+
# administration/advanced-wildfire-overview/advanced-wildfire-deployments/
|
|
1621
|
+
# advanced-wildfire-global-cloud
|
|
1622
|
+
# Corresponds to the JSON property `wildfireRegion`
|
|
1623
|
+
# @return [String]
|
|
1624
|
+
attr_accessor :wildfire_region
|
|
1625
|
+
|
|
1626
|
+
def initialize(**args)
|
|
1627
|
+
update!(**args)
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
# Update properties of this object
|
|
1631
|
+
def update!(**args)
|
|
1632
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
1633
|
+
@wildfire_inline_cloud_analysis_settings = args[:wildfire_inline_cloud_analysis_settings] if args.key?(:wildfire_inline_cloud_analysis_settings)
|
|
1634
|
+
@wildfire_realtime_lookup_duration = args[:wildfire_realtime_lookup_duration] if args.key?(:wildfire_realtime_lookup_duration)
|
|
1635
|
+
@wildfire_realtime_lookup_timeout_action = args[:wildfire_realtime_lookup_timeout_action] if args.key?(:wildfire_realtime_lookup_timeout_action)
|
|
1636
|
+
@wildfire_region = args[:wildfire_region] if args.key?(:wildfire_region)
|
|
1637
|
+
end
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1640
|
+
# Settings for WildFire inline cloud analysis.
|
|
1641
|
+
class FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings
|
|
1642
|
+
include Google::Apis::Core::Hashable
|
|
1643
|
+
|
|
1644
|
+
# Optional. Timeout in milliseconds on a file being held while WildFire inline
|
|
1645
|
+
# cloud analysis is performed. Value between 1 to 240000 is valid. Default value
|
|
1646
|
+
# is 30000.
|
|
1647
|
+
# Corresponds to the JSON property `maxAnalysisDuration`
|
|
1648
|
+
# @return [String]
|
|
1649
|
+
attr_accessor :max_analysis_duration
|
|
1650
|
+
|
|
1651
|
+
# Optional. Whether to disable WildFire submission log generation for files that
|
|
1652
|
+
# timeout during WildFire inline cloud analysis.
|
|
1653
|
+
# Corresponds to the JSON property `submissionTimeoutLoggingDisabled`
|
|
1654
|
+
# @return [Boolean]
|
|
1655
|
+
attr_accessor :submission_timeout_logging_disabled
|
|
1656
|
+
alias_method :submission_timeout_logging_disabled?, :submission_timeout_logging_disabled
|
|
1657
|
+
|
|
1658
|
+
# Optional. Action to take when WildFire inline cloud analysis times out.
|
|
1659
|
+
# Default value is ALLOW.
|
|
1660
|
+
# Corresponds to the JSON property `timeoutAction`
|
|
1661
|
+
# @return [String]
|
|
1662
|
+
attr_accessor :timeout_action
|
|
1663
|
+
|
|
1664
|
+
def initialize(**args)
|
|
1665
|
+
update!(**args)
|
|
1666
|
+
end
|
|
1667
|
+
|
|
1668
|
+
# Update properties of this object
|
|
1669
|
+
def update!(**args)
|
|
1670
|
+
@max_analysis_duration = args[:max_analysis_duration] if args.key?(:max_analysis_duration)
|
|
1671
|
+
@submission_timeout_logging_disabled = args[:submission_timeout_logging_disabled] if args.key?(:submission_timeout_logging_disabled)
|
|
1672
|
+
@timeout_action = args[:timeout_action] if args.key?(:timeout_action)
|
|
1673
|
+
end
|
|
1674
|
+
end
|
|
1675
|
+
|
|
1567
1676
|
# The GatewaySecurityPolicy resource contains a collection of
|
|
1568
1677
|
# GatewaySecurityPolicyRules and associated metadata.
|
|
1569
1678
|
class GatewaySecurityPolicy
|
|
@@ -3536,6 +3645,37 @@ module Google
|
|
|
3536
3645
|
end
|
|
3537
3646
|
end
|
|
3538
3647
|
|
|
3648
|
+
# Message for response to listing WildfireVerdictChangeRequests.
|
|
3649
|
+
class ListWildfireVerdictChangeRequestsResponse
|
|
3650
|
+
include Google::Apis::Core::Hashable
|
|
3651
|
+
|
|
3652
|
+
# A token identifying a page of results the server should return.
|
|
3653
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3654
|
+
# @return [String]
|
|
3655
|
+
attr_accessor :next_page_token
|
|
3656
|
+
|
|
3657
|
+
# Unordered list. Locations that could not be reached.
|
|
3658
|
+
# Corresponds to the JSON property `unreachable`
|
|
3659
|
+
# @return [Array<String>]
|
|
3660
|
+
attr_accessor :unreachable
|
|
3661
|
+
|
|
3662
|
+
# The list of WildfireVerdictChangeRequests
|
|
3663
|
+
# Corresponds to the JSON property `wildfireVerdictChangeRequests`
|
|
3664
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest>]
|
|
3665
|
+
attr_accessor :wildfire_verdict_change_requests
|
|
3666
|
+
|
|
3667
|
+
def initialize(**args)
|
|
3668
|
+
update!(**args)
|
|
3669
|
+
end
|
|
3670
|
+
|
|
3671
|
+
# Update properties of this object
|
|
3672
|
+
def update!(**args)
|
|
3673
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3674
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3675
|
+
@wildfire_verdict_change_requests = args[:wildfire_verdict_change_requests] if args.key?(:wildfire_verdict_change_requests)
|
|
3676
|
+
end
|
|
3677
|
+
end
|
|
3678
|
+
|
|
3539
3679
|
# A resource that represents a Google Cloud location.
|
|
3540
3680
|
class Location
|
|
3541
3681
|
include Google::Apis::Core::Hashable
|
|
@@ -4559,6 +4699,11 @@ module Google
|
|
|
4559
4699
|
# @return [Google::Apis::NetworksecurityV1::UrlFilteringProfile]
|
|
4560
4700
|
attr_accessor :url_filtering_profile
|
|
4561
4701
|
|
|
4702
|
+
# WildfireAnalysisProfile defines Palo Alto Networks WildFire behavior.
|
|
4703
|
+
# Corresponds to the JSON property `wildfireAnalysisProfile`
|
|
4704
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireAnalysisProfile]
|
|
4705
|
+
attr_accessor :wildfire_analysis_profile
|
|
4706
|
+
|
|
4562
4707
|
def initialize(**args)
|
|
4563
4708
|
update!(**args)
|
|
4564
4709
|
end
|
|
@@ -4576,6 +4721,7 @@ module Google
|
|
|
4576
4721
|
@type = args[:type] if args.key?(:type)
|
|
4577
4722
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4578
4723
|
@url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
|
|
4724
|
+
@wildfire_analysis_profile = args[:wildfire_analysis_profile] if args.key?(:wildfire_analysis_profile)
|
|
4579
4725
|
end
|
|
4580
4726
|
end
|
|
4581
4727
|
|
|
@@ -4648,6 +4794,11 @@ module Google
|
|
|
4648
4794
|
# @return [String]
|
|
4649
4795
|
attr_accessor :url_filtering_profile
|
|
4650
4796
|
|
|
4797
|
+
# Optional. Reference to a SecurityProfile with the WildFire configuration.
|
|
4798
|
+
# Corresponds to the JSON property `wildfireAnalysisProfile`
|
|
4799
|
+
# @return [String]
|
|
4800
|
+
attr_accessor :wildfire_analysis_profile
|
|
4801
|
+
|
|
4651
4802
|
def initialize(**args)
|
|
4652
4803
|
update!(**args)
|
|
4653
4804
|
end
|
|
@@ -4665,6 +4816,7 @@ module Google
|
|
|
4665
4816
|
@threat_prevention_profile = args[:threat_prevention_profile] if args.key?(:threat_prevention_profile)
|
|
4666
4817
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
4667
4818
|
@url_filtering_profile = args[:url_filtering_profile] if args.key?(:url_filtering_profile)
|
|
4819
|
+
@wildfire_analysis_profile = args[:wildfire_analysis_profile] if args.key?(:wildfire_analysis_profile)
|
|
4668
4820
|
end
|
|
4669
4821
|
end
|
|
4670
4822
|
|
|
@@ -5152,6 +5304,439 @@ module Google
|
|
|
5152
5304
|
@grpc_endpoint = args[:grpc_endpoint] if args.key?(:grpc_endpoint)
|
|
5153
5305
|
end
|
|
5154
5306
|
end
|
|
5307
|
+
|
|
5308
|
+
# WildfireAnalysisProfile defines Palo Alto Networks WildFire behavior.
|
|
5309
|
+
class WildfireAnalysisProfile
|
|
5310
|
+
include Google::Apis::Core::Hashable
|
|
5311
|
+
|
|
5312
|
+
# Optional. Configuration for WildFire inline cloud analysis.
|
|
5313
|
+
# Corresponds to the JSON property `wildfireInlineCloudAnalysisRules`
|
|
5314
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireInlineCloudAnalysisRule>]
|
|
5315
|
+
attr_accessor :wildfire_inline_cloud_analysis_rules
|
|
5316
|
+
|
|
5317
|
+
# Optional. Configuration for overriding inline ML WildFire actions per protocol.
|
|
5318
|
+
# Corresponds to the JSON property `wildfireInlineMlOverrides`
|
|
5319
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireInlineMlOverride>]
|
|
5320
|
+
attr_accessor :wildfire_inline_ml_overrides
|
|
5321
|
+
|
|
5322
|
+
# Defines the settings for WildFire Inline ML analysis.
|
|
5323
|
+
# Corresponds to the JSON property `wildfireInlineMlSetting`
|
|
5324
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireInlineMlSettings]
|
|
5325
|
+
attr_accessor :wildfire_inline_ml_setting
|
|
5326
|
+
|
|
5327
|
+
# Optional. Settings for WildFire Inline ML analysis.
|
|
5328
|
+
# Corresponds to the JSON property `wildfireInlineMlSettings`
|
|
5329
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireInlineMlSettings>]
|
|
5330
|
+
attr_accessor :wildfire_inline_ml_settings
|
|
5331
|
+
|
|
5332
|
+
# Optional. Configuration for overriding WildFire actions per protocol.
|
|
5333
|
+
# Corresponds to the JSON property `wildfireOverrides`
|
|
5334
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireOverride>]
|
|
5335
|
+
attr_accessor :wildfire_overrides
|
|
5336
|
+
|
|
5337
|
+
# Optional. Whether to hold the transfer of a file while the WildFire real-time
|
|
5338
|
+
# signature cloud performs a signature lookup. Default value is false.
|
|
5339
|
+
# Corresponds to the JSON property `wildfireRealtimeLookup`
|
|
5340
|
+
# @return [Boolean]
|
|
5341
|
+
attr_accessor :wildfire_realtime_lookup
|
|
5342
|
+
alias_method :wildfire_realtime_lookup?, :wildfire_realtime_lookup
|
|
5343
|
+
|
|
5344
|
+
# Optional. Configurations for WildFire file submissions.
|
|
5345
|
+
# Corresponds to the JSON property `wildfireSubmissionRules`
|
|
5346
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireSubmissionRule>]
|
|
5347
|
+
attr_accessor :wildfire_submission_rules
|
|
5348
|
+
|
|
5349
|
+
# Optional. Configuration for overriding WildFire threats action by threat_id
|
|
5350
|
+
# match.
|
|
5351
|
+
# Corresponds to the JSON property `wildfireThreatOverrides`
|
|
5352
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireThreatOverride>]
|
|
5353
|
+
attr_accessor :wildfire_threat_overrides
|
|
5354
|
+
|
|
5355
|
+
def initialize(**args)
|
|
5356
|
+
update!(**args)
|
|
5357
|
+
end
|
|
5358
|
+
|
|
5359
|
+
# Update properties of this object
|
|
5360
|
+
def update!(**args)
|
|
5361
|
+
@wildfire_inline_cloud_analysis_rules = args[:wildfire_inline_cloud_analysis_rules] if args.key?(:wildfire_inline_cloud_analysis_rules)
|
|
5362
|
+
@wildfire_inline_ml_overrides = args[:wildfire_inline_ml_overrides] if args.key?(:wildfire_inline_ml_overrides)
|
|
5363
|
+
@wildfire_inline_ml_setting = args[:wildfire_inline_ml_setting] if args.key?(:wildfire_inline_ml_setting)
|
|
5364
|
+
@wildfire_inline_ml_settings = args[:wildfire_inline_ml_settings] if args.key?(:wildfire_inline_ml_settings)
|
|
5365
|
+
@wildfire_overrides = args[:wildfire_overrides] if args.key?(:wildfire_overrides)
|
|
5366
|
+
@wildfire_realtime_lookup = args[:wildfire_realtime_lookup] if args.key?(:wildfire_realtime_lookup)
|
|
5367
|
+
@wildfire_submission_rules = args[:wildfire_submission_rules] if args.key?(:wildfire_submission_rules)
|
|
5368
|
+
@wildfire_threat_overrides = args[:wildfire_threat_overrides] if args.key?(:wildfire_threat_overrides)
|
|
5369
|
+
end
|
|
5370
|
+
end
|
|
5371
|
+
|
|
5372
|
+
# The list of file type configurations to be scanned by WildFire Inline Cloud
|
|
5373
|
+
# Analysis.
|
|
5374
|
+
class WildfireInlineCloudAnalysisRule
|
|
5375
|
+
include Google::Apis::Core::Hashable
|
|
5376
|
+
|
|
5377
|
+
# Required. Action to take when a threat is detected using WildFire Inline Cloud
|
|
5378
|
+
# Analysis. The default Value is DENY.
|
|
5379
|
+
# Corresponds to the JSON property `action`
|
|
5380
|
+
# @return [String]
|
|
5381
|
+
attr_accessor :action
|
|
5382
|
+
|
|
5383
|
+
# The options to submit a custom list of file types for scan.
|
|
5384
|
+
# Corresponds to the JSON property `customFileTypes`
|
|
5385
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireInlineCloudAnalysisRuleCustomFileTypes]
|
|
5386
|
+
attr_accessor :custom_file_types
|
|
5387
|
+
|
|
5388
|
+
# Required. Direction for the file to be analyzed by WildFire Inline Cloud
|
|
5389
|
+
# Analysis.
|
|
5390
|
+
# Corresponds to the JSON property `direction`
|
|
5391
|
+
# @return [String]
|
|
5392
|
+
attr_accessor :direction
|
|
5393
|
+
|
|
5394
|
+
# Required. File selection mode for WildFire inline cloud analysis.
|
|
5395
|
+
# Corresponds to the JSON property `fileSelectionMode`
|
|
5396
|
+
# @return [String]
|
|
5397
|
+
attr_accessor :file_selection_mode
|
|
5398
|
+
|
|
5399
|
+
def initialize(**args)
|
|
5400
|
+
update!(**args)
|
|
5401
|
+
end
|
|
5402
|
+
|
|
5403
|
+
# Update properties of this object
|
|
5404
|
+
def update!(**args)
|
|
5405
|
+
@action = args[:action] if args.key?(:action)
|
|
5406
|
+
@custom_file_types = args[:custom_file_types] if args.key?(:custom_file_types)
|
|
5407
|
+
@direction = args[:direction] if args.key?(:direction)
|
|
5408
|
+
@file_selection_mode = args[:file_selection_mode] if args.key?(:file_selection_mode)
|
|
5409
|
+
end
|
|
5410
|
+
end
|
|
5411
|
+
|
|
5412
|
+
# The options to submit a custom list of file types for scan.
|
|
5413
|
+
class WildfireInlineCloudAnalysisRuleCustomFileTypes
|
|
5414
|
+
include Google::Apis::Core::Hashable
|
|
5415
|
+
|
|
5416
|
+
# Required. File types to be submitted for WildFire inline cloud analysis.
|
|
5417
|
+
# Corresponds to the JSON property `fileTypes`
|
|
5418
|
+
# @return [Array<String>]
|
|
5419
|
+
attr_accessor :file_types
|
|
5420
|
+
|
|
5421
|
+
def initialize(**args)
|
|
5422
|
+
update!(**args)
|
|
5423
|
+
end
|
|
5424
|
+
|
|
5425
|
+
# Update properties of this object
|
|
5426
|
+
def update!(**args)
|
|
5427
|
+
@file_types = args[:file_types] if args.key?(:file_types)
|
|
5428
|
+
end
|
|
5429
|
+
end
|
|
5430
|
+
|
|
5431
|
+
# Defines the file to exclude from WildFire Inline ML analysis.
|
|
5432
|
+
class WildfireInlineMlFileException
|
|
5433
|
+
include Google::Apis::Core::Hashable
|
|
5434
|
+
|
|
5435
|
+
# Optional. Name of the file to exclude from WildFire Inline ML analysis.
|
|
5436
|
+
# Corresponds to the JSON property `filename`
|
|
5437
|
+
# @return [String]
|
|
5438
|
+
attr_accessor :filename
|
|
5439
|
+
|
|
5440
|
+
# Required. Machine learning partial hash of the file to exclude from WildFire
|
|
5441
|
+
# Inline ML analysis.
|
|
5442
|
+
# Corresponds to the JSON property `partialHash`
|
|
5443
|
+
# @return [String]
|
|
5444
|
+
attr_accessor :partial_hash
|
|
5445
|
+
|
|
5446
|
+
def initialize(**args)
|
|
5447
|
+
update!(**args)
|
|
5448
|
+
end
|
|
5449
|
+
|
|
5450
|
+
# Update properties of this object
|
|
5451
|
+
def update!(**args)
|
|
5452
|
+
@filename = args[:filename] if args.key?(:filename)
|
|
5453
|
+
@partial_hash = args[:partial_hash] if args.key?(:partial_hash)
|
|
5454
|
+
end
|
|
5455
|
+
end
|
|
5456
|
+
|
|
5457
|
+
# Defines what action to take for WildFire Inline ML threats per protocol.
|
|
5458
|
+
class WildfireInlineMlOverride
|
|
5459
|
+
include Google::Apis::Core::Hashable
|
|
5460
|
+
|
|
5461
|
+
# Required. The action to take for WildFire Inline ML override.
|
|
5462
|
+
# Corresponds to the JSON property `action`
|
|
5463
|
+
# @return [String]
|
|
5464
|
+
attr_accessor :action
|
|
5465
|
+
|
|
5466
|
+
# Required. Protocol to match for WildFire Inline ML override.
|
|
5467
|
+
# Corresponds to the JSON property `protocol`
|
|
5468
|
+
# @return [String]
|
|
5469
|
+
attr_accessor :protocol
|
|
5470
|
+
|
|
5471
|
+
def initialize(**args)
|
|
5472
|
+
update!(**args)
|
|
5473
|
+
end
|
|
5474
|
+
|
|
5475
|
+
# Update properties of this object
|
|
5476
|
+
def update!(**args)
|
|
5477
|
+
@action = args[:action] if args.key?(:action)
|
|
5478
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
|
5479
|
+
end
|
|
5480
|
+
end
|
|
5481
|
+
|
|
5482
|
+
# Defines the settings for WildFire Inline ML analysis.
|
|
5483
|
+
class WildfireInlineMlSettings
|
|
5484
|
+
include Google::Apis::Core::Hashable
|
|
5485
|
+
|
|
5486
|
+
# Optional. List of files to exclude from WildFire Inline ML analysis.
|
|
5487
|
+
# Corresponds to the JSON property `fileExceptions`
|
|
5488
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireInlineMlFileException>]
|
|
5489
|
+
attr_accessor :file_exceptions
|
|
5490
|
+
|
|
5491
|
+
# Optional. List of Inline ML configs to enable in WildFire Inline ML analysis.
|
|
5492
|
+
# Corresponds to the JSON property `inlineMlConfigs`
|
|
5493
|
+
# @return [Array<Google::Apis::NetworksecurityV1::WildfireInlineMlSettingsInlineMlConfig>]
|
|
5494
|
+
attr_accessor :inline_ml_configs
|
|
5495
|
+
|
|
5496
|
+
def initialize(**args)
|
|
5497
|
+
update!(**args)
|
|
5498
|
+
end
|
|
5499
|
+
|
|
5500
|
+
# Update properties of this object
|
|
5501
|
+
def update!(**args)
|
|
5502
|
+
@file_exceptions = args[:file_exceptions] if args.key?(:file_exceptions)
|
|
5503
|
+
@inline_ml_configs = args[:inline_ml_configs] if args.key?(:inline_ml_configs)
|
|
5504
|
+
end
|
|
5505
|
+
end
|
|
5506
|
+
|
|
5507
|
+
# Configuration for WildFire Inline ML analysis per file type.
|
|
5508
|
+
class WildfireInlineMlSettingsInlineMlConfig
|
|
5509
|
+
include Google::Apis::Core::Hashable
|
|
5510
|
+
|
|
5511
|
+
# Required. Action to take when a threat is detected using Inline ML.
|
|
5512
|
+
# Corresponds to the JSON property `action`
|
|
5513
|
+
# @return [String]
|
|
5514
|
+
attr_accessor :action
|
|
5515
|
+
|
|
5516
|
+
# Required. File type to configure Inline ML for.
|
|
5517
|
+
# Corresponds to the JSON property `fileType`
|
|
5518
|
+
# @return [String]
|
|
5519
|
+
attr_accessor :file_type
|
|
5520
|
+
|
|
5521
|
+
def initialize(**args)
|
|
5522
|
+
update!(**args)
|
|
5523
|
+
end
|
|
5524
|
+
|
|
5525
|
+
# Update properties of this object
|
|
5526
|
+
def update!(**args)
|
|
5527
|
+
@action = args[:action] if args.key?(:action)
|
|
5528
|
+
@file_type = args[:file_type] if args.key?(:file_type)
|
|
5529
|
+
end
|
|
5530
|
+
end
|
|
5531
|
+
|
|
5532
|
+
# Defines what action to take for WildFire threats per protocol.
|
|
5533
|
+
class WildfireOverride
|
|
5534
|
+
include Google::Apis::Core::Hashable
|
|
5535
|
+
|
|
5536
|
+
# Required. Threat action override. For some threat types, only a subset of
|
|
5537
|
+
# actions applies.
|
|
5538
|
+
# Corresponds to the JSON property `action`
|
|
5539
|
+
# @return [String]
|
|
5540
|
+
attr_accessor :action
|
|
5541
|
+
|
|
5542
|
+
# Required. Protocol to match.
|
|
5543
|
+
# Corresponds to the JSON property `protocol`
|
|
5544
|
+
# @return [String]
|
|
5545
|
+
attr_accessor :protocol
|
|
5546
|
+
|
|
5547
|
+
def initialize(**args)
|
|
5548
|
+
update!(**args)
|
|
5549
|
+
end
|
|
5550
|
+
|
|
5551
|
+
# Update properties of this object
|
|
5552
|
+
def update!(**args)
|
|
5553
|
+
@action = args[:action] if args.key?(:action)
|
|
5554
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
|
5555
|
+
end
|
|
5556
|
+
end
|
|
5557
|
+
|
|
5558
|
+
# Defines the file types to be submitted for WildFire analysis and the direction
|
|
5559
|
+
# of the traffic.
|
|
5560
|
+
class WildfireSubmissionRule
|
|
5561
|
+
include Google::Apis::Core::Hashable
|
|
5562
|
+
|
|
5563
|
+
# The options to submit a custom list of file types for scan.
|
|
5564
|
+
# Corresponds to the JSON property `customFileTypes`
|
|
5565
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireSubmissionRuleCustomFileTypes]
|
|
5566
|
+
attr_accessor :custom_file_types
|
|
5567
|
+
|
|
5568
|
+
# Required. Direction for the files to be analyzed by WildFire.
|
|
5569
|
+
# Corresponds to the JSON property `direction`
|
|
5570
|
+
# @return [String]
|
|
5571
|
+
attr_accessor :direction
|
|
5572
|
+
|
|
5573
|
+
# Required. File selection mode for WildFire analysis.
|
|
5574
|
+
# Corresponds to the JSON property `fileSelectionMode`
|
|
5575
|
+
# @return [String]
|
|
5576
|
+
attr_accessor :file_selection_mode
|
|
5577
|
+
|
|
5578
|
+
def initialize(**args)
|
|
5579
|
+
update!(**args)
|
|
5580
|
+
end
|
|
5581
|
+
|
|
5582
|
+
# Update properties of this object
|
|
5583
|
+
def update!(**args)
|
|
5584
|
+
@custom_file_types = args[:custom_file_types] if args.key?(:custom_file_types)
|
|
5585
|
+
@direction = args[:direction] if args.key?(:direction)
|
|
5586
|
+
@file_selection_mode = args[:file_selection_mode] if args.key?(:file_selection_mode)
|
|
5587
|
+
end
|
|
5588
|
+
end
|
|
5589
|
+
|
|
5590
|
+
# The options to submit a custom list of file types for scan.
|
|
5591
|
+
class WildfireSubmissionRuleCustomFileTypes
|
|
5592
|
+
include Google::Apis::Core::Hashable
|
|
5593
|
+
|
|
5594
|
+
# Required. File types to be submitted for WildFire analysis.
|
|
5595
|
+
# Corresponds to the JSON property `fileTypes`
|
|
5596
|
+
# @return [Array<String>]
|
|
5597
|
+
attr_accessor :file_types
|
|
5598
|
+
|
|
5599
|
+
def initialize(**args)
|
|
5600
|
+
update!(**args)
|
|
5601
|
+
end
|
|
5602
|
+
|
|
5603
|
+
# Update properties of this object
|
|
5604
|
+
def update!(**args)
|
|
5605
|
+
@file_types = args[:file_types] if args.key?(:file_types)
|
|
5606
|
+
end
|
|
5607
|
+
end
|
|
5608
|
+
|
|
5609
|
+
# Defines what action to take for a specific WildFire threat_id match.
|
|
5610
|
+
class WildfireThreatOverride
|
|
5611
|
+
include Google::Apis::Core::Hashable
|
|
5612
|
+
|
|
5613
|
+
# Required. Threat action override.
|
|
5614
|
+
# Corresponds to the JSON property `action`
|
|
5615
|
+
# @return [String]
|
|
5616
|
+
attr_accessor :action
|
|
5617
|
+
|
|
5618
|
+
# Required. Threat ID to match.
|
|
5619
|
+
# Corresponds to the JSON property `threatId`
|
|
5620
|
+
# @return [String]
|
|
5621
|
+
attr_accessor :threat_id
|
|
5622
|
+
|
|
5623
|
+
def initialize(**args)
|
|
5624
|
+
update!(**args)
|
|
5625
|
+
end
|
|
5626
|
+
|
|
5627
|
+
# Update properties of this object
|
|
5628
|
+
def update!(**args)
|
|
5629
|
+
@action = args[:action] if args.key?(:action)
|
|
5630
|
+
@threat_id = args[:threat_id] if args.key?(:threat_id)
|
|
5631
|
+
end
|
|
5632
|
+
end
|
|
5633
|
+
|
|
5634
|
+
# Message for a WildfireVerdictChangeRequest.
|
|
5635
|
+
class WildfireVerdictChangeRequest
|
|
5636
|
+
include Google::Apis::Core::Hashable
|
|
5637
|
+
|
|
5638
|
+
# Required. The justification for the verdict change request. Max length 2048
|
|
5639
|
+
# characters.
|
|
5640
|
+
# Corresponds to the JSON property `comment`
|
|
5641
|
+
# @return [String]
|
|
5642
|
+
attr_accessor :comment
|
|
5643
|
+
|
|
5644
|
+
# Output only. The timestamp when the WildfireVerdictChangeRequest was created.
|
|
5645
|
+
# Corresponds to the JSON property `createTime`
|
|
5646
|
+
# @return [String]
|
|
5647
|
+
attr_accessor :create_time
|
|
5648
|
+
|
|
5649
|
+
# Output only. The file name of the Malware Sample.
|
|
5650
|
+
# Corresponds to the JSON property `fileName`
|
|
5651
|
+
# @return [String]
|
|
5652
|
+
attr_accessor :file_name
|
|
5653
|
+
|
|
5654
|
+
# Output only. The file type of the Malware Sample.
|
|
5655
|
+
# Corresponds to the JSON property `fileType`
|
|
5656
|
+
# @return [String]
|
|
5657
|
+
attr_accessor :file_type
|
|
5658
|
+
|
|
5659
|
+
# Output only. The final verdict of the Malware Sample.
|
|
5660
|
+
# Corresponds to the JSON property `finalVerdict`
|
|
5661
|
+
# @return [String]
|
|
5662
|
+
attr_accessor :final_verdict
|
|
5663
|
+
|
|
5664
|
+
# Output only. Identifier. The relative name of the WildfireVerdictChangeRequest.
|
|
5665
|
+
# Output only. This is a unique identifier generated by the third party API.
|
|
5666
|
+
# Format: organizations|projects/`project_or_organization`/locations/`location`/
|
|
5667
|
+
# firewallEndpoints/`firewall_endpoint`/wildfireVerdictChangeRequests/`
|
|
5668
|
+
# wildfire_verdict_change_request_id` Where `wildfire_verdict_change_request_id`
|
|
5669
|
+
# is the ID in the format: ^[0-9a-fA-F]`8`-[0-9a-fA-F]`4`-[0-9a-fA-F]`4`-[0-9a-
|
|
5670
|
+
# fA-F]`4`-[0-9a-fA-F]`12`$
|
|
5671
|
+
# Corresponds to the JSON property `name`
|
|
5672
|
+
# @return [String]
|
|
5673
|
+
attr_accessor :name
|
|
5674
|
+
|
|
5675
|
+
# Required. The suggested verdict to apply to the Malware Sample.
|
|
5676
|
+
# Corresponds to the JSON property `newVerdict`
|
|
5677
|
+
# @return [String]
|
|
5678
|
+
attr_accessor :new_verdict
|
|
5679
|
+
|
|
5680
|
+
# Output only. The original verdict of the Malware Sample.
|
|
5681
|
+
# Corresponds to the JSON property `oldVerdict`
|
|
5682
|
+
# @return [String]
|
|
5683
|
+
attr_accessor :old_verdict
|
|
5684
|
+
|
|
5685
|
+
# Output only. The timestamp when the WildfireVerdictChangeRequest was resolved.
|
|
5686
|
+
# Corresponds to the JSON property `resolutionTime`
|
|
5687
|
+
# @return [String]
|
|
5688
|
+
attr_accessor :resolution_time
|
|
5689
|
+
|
|
5690
|
+
# Required. The SHA256 hash of the Malware Sample to change the verdict of.
|
|
5691
|
+
# Corresponds to the JSON property `sha256`
|
|
5692
|
+
# @return [String]
|
|
5693
|
+
attr_accessor :sha256
|
|
5694
|
+
|
|
5695
|
+
# Output only. The region of the file associated with the Malware Sample.
|
|
5696
|
+
# Corresponds to the JSON property `sourceRegion`
|
|
5697
|
+
# @return [String]
|
|
5698
|
+
attr_accessor :source_region
|
|
5699
|
+
|
|
5700
|
+
# Output only. The review state of the WildfireVerdictChangeRequest.
|
|
5701
|
+
# Corresponds to the JSON property `state`
|
|
5702
|
+
# @return [String]
|
|
5703
|
+
attr_accessor :state
|
|
5704
|
+
|
|
5705
|
+
# Output only. The timestamp when the WildfireVerdictChangeRequest was last
|
|
5706
|
+
# updated.
|
|
5707
|
+
# Corresponds to the JSON property `updateTime`
|
|
5708
|
+
# @return [String]
|
|
5709
|
+
attr_accessor :update_time
|
|
5710
|
+
|
|
5711
|
+
# Output only. The ID of the WildfireVerdictChangeRequest. This is a unique
|
|
5712
|
+
# identifier generated by the third party API. Format: ^[0-9a-fA-F]`8`-[0-9a-fA-
|
|
5713
|
+
# F]`4`-[0-9a-fA-F]`4`-[0-9a-fA-F]`4`-[0-9a-fA-F]`12`$
|
|
5714
|
+
# Corresponds to the JSON property `wildfireVerdictChangeRequestId`
|
|
5715
|
+
# @return [String]
|
|
5716
|
+
attr_accessor :wildfire_verdict_change_request_id
|
|
5717
|
+
|
|
5718
|
+
def initialize(**args)
|
|
5719
|
+
update!(**args)
|
|
5720
|
+
end
|
|
5721
|
+
|
|
5722
|
+
# Update properties of this object
|
|
5723
|
+
def update!(**args)
|
|
5724
|
+
@comment = args[:comment] if args.key?(:comment)
|
|
5725
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5726
|
+
@file_name = args[:file_name] if args.key?(:file_name)
|
|
5727
|
+
@file_type = args[:file_type] if args.key?(:file_type)
|
|
5728
|
+
@final_verdict = args[:final_verdict] if args.key?(:final_verdict)
|
|
5729
|
+
@name = args[:name] if args.key?(:name)
|
|
5730
|
+
@new_verdict = args[:new_verdict] if args.key?(:new_verdict)
|
|
5731
|
+
@old_verdict = args[:old_verdict] if args.key?(:old_verdict)
|
|
5732
|
+
@resolution_time = args[:resolution_time] if args.key?(:resolution_time)
|
|
5733
|
+
@sha256 = args[:sha256] if args.key?(:sha256)
|
|
5734
|
+
@source_region = args[:source_region] if args.key?(:source_region)
|
|
5735
|
+
@state = args[:state] if args.key?(:state)
|
|
5736
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
5737
|
+
@wildfire_verdict_change_request_id = args[:wildfire_verdict_change_request_id] if args.key?(:wildfire_verdict_change_request_id)
|
|
5738
|
+
end
|
|
5739
|
+
end
|
|
5155
5740
|
end
|
|
5156
5741
|
end
|
|
5157
5742
|
end
|
|
@@ -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.60.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260924"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -250,6 +250,18 @@ module Google
|
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
251
|
end
|
|
252
252
|
|
|
253
|
+
class FirewallEndpointWildfireSettings
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
253
265
|
class GatewaySecurityPolicy
|
|
254
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
267
|
|
|
@@ -556,6 +568,12 @@ module Google
|
|
|
556
568
|
include Google::Apis::Core::JsonObjectSupport
|
|
557
569
|
end
|
|
558
570
|
|
|
571
|
+
class ListWildfireVerdictChangeRequestsResponse
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
573
|
+
|
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
575
|
+
end
|
|
576
|
+
|
|
559
577
|
class Location
|
|
560
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
561
579
|
|
|
@@ -748,6 +766,78 @@ module Google
|
|
|
748
766
|
include Google::Apis::Core::JsonObjectSupport
|
|
749
767
|
end
|
|
750
768
|
|
|
769
|
+
class WildfireAnalysisProfile
|
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
771
|
+
|
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
773
|
+
end
|
|
774
|
+
|
|
775
|
+
class WildfireInlineCloudAnalysisRule
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
|
+
|
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
class WildfireInlineCloudAnalysisRuleCustomFileTypes
|
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
783
|
+
|
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
class WildfireInlineMlFileException
|
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
|
+
|
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
class WildfireInlineMlOverride
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
|
+
|
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
class WildfireInlineMlSettings
|
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
801
|
+
|
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
803
|
+
end
|
|
804
|
+
|
|
805
|
+
class WildfireInlineMlSettingsInlineMlConfig
|
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
807
|
+
|
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
class WildfireOverride
|
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
813
|
+
|
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
815
|
+
end
|
|
816
|
+
|
|
817
|
+
class WildfireSubmissionRule
|
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
819
|
+
|
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
821
|
+
end
|
|
822
|
+
|
|
823
|
+
class WildfireSubmissionRuleCustomFileTypes
|
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
825
|
+
|
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
class WildfireThreatOverride
|
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
831
|
+
|
|
832
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
class WildfireVerdictChangeRequest
|
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
837
|
+
|
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
839
|
+
end
|
|
840
|
+
|
|
751
841
|
class AddAddressGroupItemsRequest
|
|
752
842
|
# @private
|
|
753
843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1109,6 +1199,8 @@ module Google
|
|
|
1109
1199
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
1110
1200
|
property :state, as: 'state'
|
|
1111
1201
|
property :update_time, as: 'updateTime'
|
|
1202
|
+
property :wildfire_settings, as: 'wildfireSettings', class: Google::Apis::NetworksecurityV1::FirewallEndpointWildfireSettings, decorator: Google::Apis::NetworksecurityV1::FirewallEndpointWildfireSettings::Representation
|
|
1203
|
+
|
|
1112
1204
|
end
|
|
1113
1205
|
end
|
|
1114
1206
|
|
|
@@ -1139,10 +1231,33 @@ module Google
|
|
|
1139
1231
|
class FirewallEndpointEndpointSettings
|
|
1140
1232
|
# @private
|
|
1141
1233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1234
|
+
property :content_cloud_region, as: 'contentCloudRegion'
|
|
1235
|
+
property :http_partial_response_blocked, as: 'httpPartialResponseBlocked'
|
|
1142
1236
|
property :jumbo_frames_enabled, as: 'jumboFramesEnabled'
|
|
1143
1237
|
end
|
|
1144
1238
|
end
|
|
1145
1239
|
|
|
1240
|
+
class FirewallEndpointWildfireSettings
|
|
1241
|
+
# @private
|
|
1242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1243
|
+
property :enabled, as: 'enabled'
|
|
1244
|
+
property :wildfire_inline_cloud_analysis_settings, as: 'wildfireInlineCloudAnalysisSettings', class: Google::Apis::NetworksecurityV1::FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings, decorator: Google::Apis::NetworksecurityV1::FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings::Representation
|
|
1245
|
+
|
|
1246
|
+
property :wildfire_realtime_lookup_duration, as: 'wildfireRealtimeLookupDuration'
|
|
1247
|
+
property :wildfire_realtime_lookup_timeout_action, as: 'wildfireRealtimeLookupTimeoutAction'
|
|
1248
|
+
property :wildfire_region, as: 'wildfireRegion'
|
|
1249
|
+
end
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
class FirewallEndpointWildfireSettingsWildfireInlineCloudAnalysisSettings
|
|
1253
|
+
# @private
|
|
1254
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1255
|
+
property :max_analysis_duration, as: 'maxAnalysisDuration'
|
|
1256
|
+
property :submission_timeout_logging_disabled, as: 'submissionTimeoutLoggingDisabled'
|
|
1257
|
+
property :timeout_action, as: 'timeoutAction'
|
|
1258
|
+
end
|
|
1259
|
+
end
|
|
1260
|
+
|
|
1146
1261
|
class GatewaySecurityPolicy
|
|
1147
1262
|
# @private
|
|
1148
1263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1655,6 +1770,16 @@ module Google
|
|
|
1655
1770
|
end
|
|
1656
1771
|
end
|
|
1657
1772
|
|
|
1773
|
+
class ListWildfireVerdictChangeRequestsResponse
|
|
1774
|
+
# @private
|
|
1775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1776
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1777
|
+
collection :unreachable, as: 'unreachable'
|
|
1778
|
+
collection :wildfire_verdict_change_requests, as: 'wildfireVerdictChangeRequests', class: Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest, decorator: Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
1779
|
+
|
|
1780
|
+
end
|
|
1781
|
+
end
|
|
1782
|
+
|
|
1658
1783
|
class Location
|
|
1659
1784
|
# @private
|
|
1660
1785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1894,6 +2019,8 @@ module Google
|
|
|
1894
2019
|
property :update_time, as: 'updateTime'
|
|
1895
2020
|
property :url_filtering_profile, as: 'urlFilteringProfile', class: Google::Apis::NetworksecurityV1::UrlFilteringProfile, decorator: Google::Apis::NetworksecurityV1::UrlFilteringProfile::Representation
|
|
1896
2021
|
|
|
2022
|
+
property :wildfire_analysis_profile, as: 'wildfireAnalysisProfile', class: Google::Apis::NetworksecurityV1::WildfireAnalysisProfile, decorator: Google::Apis::NetworksecurityV1::WildfireAnalysisProfile::Representation
|
|
2023
|
+
|
|
1897
2024
|
end
|
|
1898
2025
|
end
|
|
1899
2026
|
|
|
@@ -1911,6 +2038,7 @@ module Google
|
|
|
1911
2038
|
property :threat_prevention_profile, as: 'threatPreventionProfile'
|
|
1912
2039
|
property :update_time, as: 'updateTime'
|
|
1913
2040
|
property :url_filtering_profile, as: 'urlFilteringProfile'
|
|
2041
|
+
property :wildfire_analysis_profile, as: 'wildfireAnalysisProfile'
|
|
1914
2042
|
end
|
|
1915
2043
|
end
|
|
1916
2044
|
|
|
@@ -2030,6 +2158,132 @@ module Google
|
|
|
2030
2158
|
|
|
2031
2159
|
end
|
|
2032
2160
|
end
|
|
2161
|
+
|
|
2162
|
+
class WildfireAnalysisProfile
|
|
2163
|
+
# @private
|
|
2164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2165
|
+
collection :wildfire_inline_cloud_analysis_rules, as: 'wildfireInlineCloudAnalysisRules', class: Google::Apis::NetworksecurityV1::WildfireInlineCloudAnalysisRule, decorator: Google::Apis::NetworksecurityV1::WildfireInlineCloudAnalysisRule::Representation
|
|
2166
|
+
|
|
2167
|
+
collection :wildfire_inline_ml_overrides, as: 'wildfireInlineMlOverrides', class: Google::Apis::NetworksecurityV1::WildfireInlineMlOverride, decorator: Google::Apis::NetworksecurityV1::WildfireInlineMlOverride::Representation
|
|
2168
|
+
|
|
2169
|
+
property :wildfire_inline_ml_setting, as: 'wildfireInlineMlSetting', class: Google::Apis::NetworksecurityV1::WildfireInlineMlSettings, decorator: Google::Apis::NetworksecurityV1::WildfireInlineMlSettings::Representation
|
|
2170
|
+
|
|
2171
|
+
collection :wildfire_inline_ml_settings, as: 'wildfireInlineMlSettings', class: Google::Apis::NetworksecurityV1::WildfireInlineMlSettings, decorator: Google::Apis::NetworksecurityV1::WildfireInlineMlSettings::Representation
|
|
2172
|
+
|
|
2173
|
+
collection :wildfire_overrides, as: 'wildfireOverrides', class: Google::Apis::NetworksecurityV1::WildfireOverride, decorator: Google::Apis::NetworksecurityV1::WildfireOverride::Representation
|
|
2174
|
+
|
|
2175
|
+
property :wildfire_realtime_lookup, as: 'wildfireRealtimeLookup'
|
|
2176
|
+
collection :wildfire_submission_rules, as: 'wildfireSubmissionRules', class: Google::Apis::NetworksecurityV1::WildfireSubmissionRule, decorator: Google::Apis::NetworksecurityV1::WildfireSubmissionRule::Representation
|
|
2177
|
+
|
|
2178
|
+
collection :wildfire_threat_overrides, as: 'wildfireThreatOverrides', class: Google::Apis::NetworksecurityV1::WildfireThreatOverride, decorator: Google::Apis::NetworksecurityV1::WildfireThreatOverride::Representation
|
|
2179
|
+
|
|
2180
|
+
end
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2183
|
+
class WildfireInlineCloudAnalysisRule
|
|
2184
|
+
# @private
|
|
2185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2186
|
+
property :action, as: 'action'
|
|
2187
|
+
property :custom_file_types, as: 'customFileTypes', class: Google::Apis::NetworksecurityV1::WildfireInlineCloudAnalysisRuleCustomFileTypes, decorator: Google::Apis::NetworksecurityV1::WildfireInlineCloudAnalysisRuleCustomFileTypes::Representation
|
|
2188
|
+
|
|
2189
|
+
property :direction, as: 'direction'
|
|
2190
|
+
property :file_selection_mode, as: 'fileSelectionMode'
|
|
2191
|
+
end
|
|
2192
|
+
end
|
|
2193
|
+
|
|
2194
|
+
class WildfireInlineCloudAnalysisRuleCustomFileTypes
|
|
2195
|
+
# @private
|
|
2196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2197
|
+
collection :file_types, as: 'fileTypes'
|
|
2198
|
+
end
|
|
2199
|
+
end
|
|
2200
|
+
|
|
2201
|
+
class WildfireInlineMlFileException
|
|
2202
|
+
# @private
|
|
2203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2204
|
+
property :filename, as: 'filename'
|
|
2205
|
+
property :partial_hash, as: 'partialHash'
|
|
2206
|
+
end
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2209
|
+
class WildfireInlineMlOverride
|
|
2210
|
+
# @private
|
|
2211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2212
|
+
property :action, as: 'action'
|
|
2213
|
+
property :protocol, as: 'protocol'
|
|
2214
|
+
end
|
|
2215
|
+
end
|
|
2216
|
+
|
|
2217
|
+
class WildfireInlineMlSettings
|
|
2218
|
+
# @private
|
|
2219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2220
|
+
collection :file_exceptions, as: 'fileExceptions', class: Google::Apis::NetworksecurityV1::WildfireInlineMlFileException, decorator: Google::Apis::NetworksecurityV1::WildfireInlineMlFileException::Representation
|
|
2221
|
+
|
|
2222
|
+
collection :inline_ml_configs, as: 'inlineMlConfigs', class: Google::Apis::NetworksecurityV1::WildfireInlineMlSettingsInlineMlConfig, decorator: Google::Apis::NetworksecurityV1::WildfireInlineMlSettingsInlineMlConfig::Representation
|
|
2223
|
+
|
|
2224
|
+
end
|
|
2225
|
+
end
|
|
2226
|
+
|
|
2227
|
+
class WildfireInlineMlSettingsInlineMlConfig
|
|
2228
|
+
# @private
|
|
2229
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2230
|
+
property :action, as: 'action'
|
|
2231
|
+
property :file_type, as: 'fileType'
|
|
2232
|
+
end
|
|
2233
|
+
end
|
|
2234
|
+
|
|
2235
|
+
class WildfireOverride
|
|
2236
|
+
# @private
|
|
2237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2238
|
+
property :action, as: 'action'
|
|
2239
|
+
property :protocol, as: 'protocol'
|
|
2240
|
+
end
|
|
2241
|
+
end
|
|
2242
|
+
|
|
2243
|
+
class WildfireSubmissionRule
|
|
2244
|
+
# @private
|
|
2245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2246
|
+
property :custom_file_types, as: 'customFileTypes', class: Google::Apis::NetworksecurityV1::WildfireSubmissionRuleCustomFileTypes, decorator: Google::Apis::NetworksecurityV1::WildfireSubmissionRuleCustomFileTypes::Representation
|
|
2247
|
+
|
|
2248
|
+
property :direction, as: 'direction'
|
|
2249
|
+
property :file_selection_mode, as: 'fileSelectionMode'
|
|
2250
|
+
end
|
|
2251
|
+
end
|
|
2252
|
+
|
|
2253
|
+
class WildfireSubmissionRuleCustomFileTypes
|
|
2254
|
+
# @private
|
|
2255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2256
|
+
collection :file_types, as: 'fileTypes'
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2260
|
+
class WildfireThreatOverride
|
|
2261
|
+
# @private
|
|
2262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2263
|
+
property :action, as: 'action'
|
|
2264
|
+
property :threat_id, as: 'threatId'
|
|
2265
|
+
end
|
|
2266
|
+
end
|
|
2267
|
+
|
|
2268
|
+
class WildfireVerdictChangeRequest
|
|
2269
|
+
# @private
|
|
2270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2271
|
+
property :comment, as: 'comment'
|
|
2272
|
+
property :create_time, as: 'createTime'
|
|
2273
|
+
property :file_name, as: 'fileName'
|
|
2274
|
+
property :file_type, as: 'fileType'
|
|
2275
|
+
property :final_verdict, as: 'finalVerdict'
|
|
2276
|
+
property :name, as: 'name'
|
|
2277
|
+
property :new_verdict, as: 'newVerdict'
|
|
2278
|
+
property :old_verdict, as: 'oldVerdict'
|
|
2279
|
+
property :resolution_time, as: 'resolutionTime'
|
|
2280
|
+
property :sha256, as: 'sha256'
|
|
2281
|
+
property :source_region, as: 'sourceRegion'
|
|
2282
|
+
property :state, as: 'state'
|
|
2283
|
+
property :update_time, as: 'updateTime'
|
|
2284
|
+
property :wildfire_verdict_change_request_id, as: 'wildfireVerdictChangeRequestId'
|
|
2285
|
+
end
|
|
2286
|
+
end
|
|
2033
2287
|
end
|
|
2034
2288
|
end
|
|
2035
2289
|
end
|
|
@@ -760,6 +760,127 @@ module Google
|
|
|
760
760
|
execute_or_queue_command(command, &block)
|
|
761
761
|
end
|
|
762
762
|
|
|
763
|
+
# Create WildfireVerdictChangeRequest in a given Firewall Endpoint in an
|
|
764
|
+
# organization and location.
|
|
765
|
+
# @param [String] parent
|
|
766
|
+
# Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The
|
|
767
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
768
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
769
|
+
# firewall_endpoint`
|
|
770
|
+
# @param [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest] wildfire_verdict_change_request_object
|
|
771
|
+
# @param [String] fields
|
|
772
|
+
# Selector specifying which fields to include in a partial response.
|
|
773
|
+
# @param [String] quota_user
|
|
774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
776
|
+
# @param [Google::Apis::RequestOptions] options
|
|
777
|
+
# Request-specific options
|
|
778
|
+
#
|
|
779
|
+
# @yield [result, err] Result & error if block supplied
|
|
780
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest] parsed result object
|
|
781
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
782
|
+
#
|
|
783
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest]
|
|
784
|
+
#
|
|
785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
788
|
+
def create_organization_location_firewall_endpoint_wildfire_verdict_change_request(parent, wildfire_verdict_change_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
789
|
+
command = make_simple_command(:post, 'v1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
790
|
+
command.request_representation = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
791
|
+
command.request_object = wildfire_verdict_change_request_object
|
|
792
|
+
command.response_representation = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
793
|
+
command.response_class = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest
|
|
794
|
+
command.params['parent'] = parent unless parent.nil?
|
|
795
|
+
command.query['fields'] = fields unless fields.nil?
|
|
796
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
797
|
+
execute_or_queue_command(command, &block)
|
|
798
|
+
end
|
|
799
|
+
|
|
800
|
+
# Get WildfireVerdictChangeRequest in a given Firewall Endpoint in an
|
|
801
|
+
# organization and location.
|
|
802
|
+
# @param [String] name
|
|
803
|
+
# Required. Name of the WildfireVerdictChangeRequest to retrieve. Format:
|
|
804
|
+
# organizations|projects/`project_or_organization`/locations/`location`/
|
|
805
|
+
# firewallEndpoints/`firewall_endpoint`/wildfireVerdictChangeRequests/`
|
|
806
|
+
# wildfire_verdict_change_request_id` Where `wildfire_verdict_change_request_id`
|
|
807
|
+
# is the ID in the format: ^[0-9a-fA-F]`8`-[0-9a-fA-F]`4`-[0-9a-fA-F]`4`-[0-9a-
|
|
808
|
+
# fA-F]`4`-[0-9a-fA-F]`12`$
|
|
809
|
+
# @param [String] fields
|
|
810
|
+
# Selector specifying which fields to include in a partial response.
|
|
811
|
+
# @param [String] quota_user
|
|
812
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
813
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
814
|
+
# @param [Google::Apis::RequestOptions] options
|
|
815
|
+
# Request-specific options
|
|
816
|
+
#
|
|
817
|
+
# @yield [result, err] Result & error if block supplied
|
|
818
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest] parsed result object
|
|
819
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
820
|
+
#
|
|
821
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest]
|
|
822
|
+
#
|
|
823
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
824
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
825
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
826
|
+
def get_organization_location_firewall_endpoint_wildfire_verdict_change_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
827
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
828
|
+
command.response_representation = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
829
|
+
command.response_class = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest
|
|
830
|
+
command.params['name'] = name unless name.nil?
|
|
831
|
+
command.query['fields'] = fields unless fields.nil?
|
|
832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
833
|
+
execute_or_queue_command(command, &block)
|
|
834
|
+
end
|
|
835
|
+
|
|
836
|
+
# Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in an
|
|
837
|
+
# organization and location.
|
|
838
|
+
# @param [String] parent
|
|
839
|
+
# Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The
|
|
840
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
841
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
842
|
+
# firewall_endpoint`
|
|
843
|
+
# @param [String] filter
|
|
844
|
+
# Optional. Filter expression to filter the results. See AIP-160 for filtering
|
|
845
|
+
# syntax. Supported fields are: - `sha256` (string, equality only, e.g. `sha256 =
|
|
846
|
+
# "..."`) - `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `
|
|
847
|
+
# create_time` (timestamp, comparisons, e.g. `create_time > "2026-01-01T00:00:
|
|
848
|
+
# 00Z"`)
|
|
849
|
+
# @param [Fixnum] page_size
|
|
850
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
851
|
+
# If unspecified, server will pick an appropriate default.
|
|
852
|
+
# @param [String] page_token
|
|
853
|
+
# Optional. A token identifying a page of results the server should return.
|
|
854
|
+
# @param [String] fields
|
|
855
|
+
# Selector specifying which fields to include in a partial response.
|
|
856
|
+
# @param [String] quota_user
|
|
857
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
858
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
859
|
+
# @param [Google::Apis::RequestOptions] options
|
|
860
|
+
# Request-specific options
|
|
861
|
+
#
|
|
862
|
+
# @yield [result, err] Result & error if block supplied
|
|
863
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse] parsed result object
|
|
864
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
865
|
+
#
|
|
866
|
+
# @return [Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse]
|
|
867
|
+
#
|
|
868
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
869
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
870
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
871
|
+
def list_organization_location_firewall_endpoint_wildfire_verdict_change_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
872
|
+
command = make_simple_command(:get, 'v1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
873
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse::Representation
|
|
874
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse
|
|
875
|
+
command.params['parent'] = parent unless parent.nil?
|
|
876
|
+
command.query['filter'] = filter unless filter.nil?
|
|
877
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
878
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
879
|
+
command.query['fields'] = fields unless fields.nil?
|
|
880
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
881
|
+
execute_or_queue_command(command, &block)
|
|
882
|
+
end
|
|
883
|
+
|
|
763
884
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
764
885
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
765
886
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -3609,6 +3730,127 @@ module Google
|
|
|
3609
3730
|
execute_or_queue_command(command, &block)
|
|
3610
3731
|
end
|
|
3611
3732
|
|
|
3733
|
+
# Create WildfireVerdictChangeRequest in a given Firewall Endpoint in a project
|
|
3734
|
+
# and location.
|
|
3735
|
+
# @param [String] parent
|
|
3736
|
+
# Required. Parent value for CreateWildfireVerdictChangeRequestRequest. The
|
|
3737
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
3738
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
3739
|
+
# firewall_endpoint`
|
|
3740
|
+
# @param [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest] wildfire_verdict_change_request_object
|
|
3741
|
+
# @param [String] fields
|
|
3742
|
+
# Selector specifying which fields to include in a partial response.
|
|
3743
|
+
# @param [String] quota_user
|
|
3744
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3745
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3746
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3747
|
+
# Request-specific options
|
|
3748
|
+
#
|
|
3749
|
+
# @yield [result, err] Result & error if block supplied
|
|
3750
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest] parsed result object
|
|
3751
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3752
|
+
#
|
|
3753
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest]
|
|
3754
|
+
#
|
|
3755
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3756
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3757
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3758
|
+
def create_project_location_firewall_endpoint_wildfire_verdict_change_request(parent, wildfire_verdict_change_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3759
|
+
command = make_simple_command(:post, 'v1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
3760
|
+
command.request_representation = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
3761
|
+
command.request_object = wildfire_verdict_change_request_object
|
|
3762
|
+
command.response_representation = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
3763
|
+
command.response_class = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest
|
|
3764
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3765
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3766
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3767
|
+
execute_or_queue_command(command, &block)
|
|
3768
|
+
end
|
|
3769
|
+
|
|
3770
|
+
# Get WildfireVerdictChangeRequest in a given Firewall Endpoint in a project and
|
|
3771
|
+
# location.
|
|
3772
|
+
# @param [String] name
|
|
3773
|
+
# Required. Name of the WildfireVerdictChangeRequest to retrieve. Format:
|
|
3774
|
+
# organizations|projects/`project_or_organization`/locations/`location`/
|
|
3775
|
+
# firewallEndpoints/`firewall_endpoint`/wildfireVerdictChangeRequests/`
|
|
3776
|
+
# wildfire_verdict_change_request_id` Where `wildfire_verdict_change_request_id`
|
|
3777
|
+
# is the ID in the format: ^[0-9a-fA-F]`8`-[0-9a-fA-F]`4`-[0-9a-fA-F]`4`-[0-9a-
|
|
3778
|
+
# fA-F]`4`-[0-9a-fA-F]`12`$
|
|
3779
|
+
# @param [String] fields
|
|
3780
|
+
# Selector specifying which fields to include in a partial response.
|
|
3781
|
+
# @param [String] quota_user
|
|
3782
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3783
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3784
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3785
|
+
# Request-specific options
|
|
3786
|
+
#
|
|
3787
|
+
# @yield [result, err] Result & error if block supplied
|
|
3788
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest] parsed result object
|
|
3789
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3790
|
+
#
|
|
3791
|
+
# @return [Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest]
|
|
3792
|
+
#
|
|
3793
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3794
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3795
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3796
|
+
def get_project_location_firewall_endpoint_wildfire_verdict_change_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3797
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3798
|
+
command.response_representation = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest::Representation
|
|
3799
|
+
command.response_class = Google::Apis::NetworksecurityV1::WildfireVerdictChangeRequest
|
|
3800
|
+
command.params['name'] = name unless name.nil?
|
|
3801
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3802
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3803
|
+
execute_or_queue_command(command, &block)
|
|
3804
|
+
end
|
|
3805
|
+
|
|
3806
|
+
# Lists WildfireVerdictChangeRequests in a given Firewall Endpoint in a project
|
|
3807
|
+
# and location.
|
|
3808
|
+
# @param [String] parent
|
|
3809
|
+
# Required. Parent value for ListWildfireVerdictChangeRequestsRequest. The
|
|
3810
|
+
# parent is a firewall endpoint resource. Format: organizations|projects/`
|
|
3811
|
+
# project_or_organization`/locations/`location`/firewallEndpoints/`
|
|
3812
|
+
# firewall_endpoint`
|
|
3813
|
+
# @param [String] filter
|
|
3814
|
+
# Optional. Filter expression to filter the results. See AIP-160 for filtering
|
|
3815
|
+
# syntax. Supported fields are: - `sha256` (string, equality only, e.g. `sha256 =
|
|
3816
|
+
# "..."`) - `state` (enum, equality only, e.g. `state = "ACTIVE"`) - `
|
|
3817
|
+
# create_time` (timestamp, comparisons, e.g. `create_time > "2026-01-01T00:00:
|
|
3818
|
+
# 00Z"`)
|
|
3819
|
+
# @param [Fixnum] page_size
|
|
3820
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
3821
|
+
# If unspecified, server will pick an appropriate default.
|
|
3822
|
+
# @param [String] page_token
|
|
3823
|
+
# Optional. A token identifying a page of results the server should return.
|
|
3824
|
+
# @param [String] fields
|
|
3825
|
+
# Selector specifying which fields to include in a partial response.
|
|
3826
|
+
# @param [String] quota_user
|
|
3827
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3828
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3829
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3830
|
+
# Request-specific options
|
|
3831
|
+
#
|
|
3832
|
+
# @yield [result, err] Result & error if block supplied
|
|
3833
|
+
# @yieldparam result [Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse] parsed result object
|
|
3834
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3835
|
+
#
|
|
3836
|
+
# @return [Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse]
|
|
3837
|
+
#
|
|
3838
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3839
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3840
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3841
|
+
def list_project_location_firewall_endpoint_wildfire_verdict_change_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3842
|
+
command = make_simple_command(:get, 'v1/{+parent}/wildfireVerdictChangeRequests', options)
|
|
3843
|
+
command.response_representation = Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse::Representation
|
|
3844
|
+
command.response_class = Google::Apis::NetworksecurityV1::ListWildfireVerdictChangeRequestsResponse
|
|
3845
|
+
command.params['parent'] = parent unless parent.nil?
|
|
3846
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3847
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3848
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3849
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3850
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3851
|
+
execute_or_queue_command(command, &block)
|
|
3852
|
+
end
|
|
3853
|
+
|
|
3612
3854
|
# Creates a new GatewaySecurityPolicy in a given project and location.
|
|
3613
3855
|
# @param [String] parent
|
|
3614
3856
|
# 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.60.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.60.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:
|