Class: Google::Apis::SecuritycenterV1beta2::TicketInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TicketInfo

Returns a new instance of TicketInfo.



6997
6998
6999
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6997

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assignee ⇒ String

The assignee of the ticket in the ticket system. Corresponds to the JSON property assignee

Returns:

  • (String)


6970
6971
6972
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6970

def assignee
  @assignee
end

#description ⇒ String

The description of the ticket in the ticket system. Corresponds to the JSON property description

Returns:

  • (String)


6975
6976
6977
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6975

def description
  @description
end

#id ⇒ String

The identifier of the ticket in the ticket system. Corresponds to the JSON property id

Returns:

  • (String)


6980
6981
6982
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6980

def id
  @id
end

#status ⇒ String

The latest status of the ticket, as reported by the ticket system. Corresponds to the JSON property status

Returns:

  • (String)


6985
6986
6987
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6985

def status
  @status
end

#update_time ⇒ String

The time when the ticket was last updated, as reported by the ticket system. Corresponds to the JSON property updateTime

Returns:

  • (String)


6990
6991
6992
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6990

def update_time
  @update_time
end

#uri ⇒ String

The link to the ticket in the ticket system. Corresponds to the JSON property uri

Returns:

  • (String)


6995
6996
6997
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6995

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7002
7003
7004
7005
7006
7007
7008
7009
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7002

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