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.
1991 1992 1993 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1991 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
1974 1975 1976 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1974 def display_name @display_name end |
#publish_time ⇒ String
Optional. The published time of the fix.
Corresponds to the JSON property publishTime
1979 1980 1981 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1979 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
1984 1985 1986 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1984 def source_id @source_id end |
#uri ⇒ String
Optional. The URI of the fix.
Corresponds to the JSON property uri
1989 1990 1991 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1989 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1996 1997 1998 1999 2000 2001 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1996 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 |