Class: Google::Apis::ThreatintelligenceV1beta::ProductFix
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::ProductFix
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/threatintelligence_v1beta/classes.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb
Overview
Contains details about a product fix.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Required.
-
#publish_time ⇒ String
Optional.
-
#source_id ⇒ String
Required.
-
#uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductFix
constructor
A new instance of ProductFix.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductFix
Returns a new instance of ProductFix.
1848 1849 1850 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1848 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Required. The name of the fix. Ex: "Magento".
Corresponds to the JSON property displayName
1831 1832 1833 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1831 def display_name @display_name end |
#publish_time ⇒ String
Optional. The published time of the fix.
Corresponds to the JSON property publishTime
1836 1837 1838 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1836 def publish_time @publish_time end |
#source_id ⇒ String
Required. The source ID of the fix. Ex: "APPSEC-1420".
Corresponds to the JSON property sourceId
1841 1842 1843 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1841 def source_id @source_id end |
#uri ⇒ String
Optional. The URI of the fix.
Corresponds to the JSON property uri
1846 1847 1848 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1846 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1853 1854 1855 1856 1857 1858 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1853 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @publish_time = args[:publish_time] if args.key?(:publish_time) @source_id = args[:source_id] if args.key?(:source_id) @uri = args[:uri] if args.key?(:uri) end |