Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2TicketInfo
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2TicketInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#assignee ⇒ String
Corresponds to the JSON property
assignee. -
#description ⇒ String
Corresponds to the JSON property
description. -
#id ⇒ String
Corresponds to the JSON property
id. -
#status ⇒ String
Corresponds to the JSON property
status. -
#update_time ⇒ String
Corresponds to the JSON property
updateTime. -
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2TicketInfo
constructor
A new instance of GoogleCloudSecuritycenterV2TicketInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2TicketInfo
Returns a new instance of GoogleCloudSecuritycenterV2TicketInfo.
10061 10062 10063 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10061 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assignee ⇒ String
Corresponds to the JSON property assignee
10034 10035 10036 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10034 def assignee @assignee end |
#description ⇒ String
Corresponds to the JSON property description
10039 10040 10041 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10039 def description @description end |
#id ⇒ String
Corresponds to the JSON property id
10044 10045 10046 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10044 def id @id end |
#status ⇒ String
Corresponds to the JSON property status
10049 10050 10051 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10049 def status @status end |
#update_time ⇒ String
Corresponds to the JSON property updateTime
10054 10055 10056 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10054 def update_time @update_time end |
#uri ⇒ String
Corresponds to the JSON property uri
10059 10060 10061 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10059 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10066 10067 10068 10069 10070 10071 10072 10073 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10066 def update!(**args) @assignee = args[:assignee] if args.key?(:assignee) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @status = args[:status] if args.key?(:status) @update_time = args[:update_time] if args.key?(:update_time) @uri = args[:uri] if args.key?(:uri) end |