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.
1820 1821 1822 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1820 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
1803 1804 1805 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1803 def display_name @display_name end |
#publish_time ⇒ String
Optional. The published time of the fix.
Corresponds to the JSON property publishTime
1808 1809 1810 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1808 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
1813 1814 1815 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1813 def source_id @source_id end |
#uri ⇒ String
Optional. The URI of the fix.
Corresponds to the JSON property uri
1818 1819 1820 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1818 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1825 1826 1827 1828 1829 1830 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1825 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 |