Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2TicketInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2TicketInfo

Returns a new instance of GoogleCloudSecuritycenterV2TicketInfo.



9938
9939
9940
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9938

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

Instance Attribute Details

#assigneeString

Corresponds to the JSON property assignee

Returns:

  • (String)


9911
9912
9913
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9911

def assignee
  @assignee
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


9916
9917
9918
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9916

def description
  @description
end

#idString

Corresponds to the JSON property id

Returns:

  • (String)


9921
9922
9923
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9921

def id
  @id
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


9926
9927
9928
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9926

def status
  @status
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


9931
9932
9933
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9931

def update_time
  @update_time
end

#uriString

Corresponds to the JSON property uri

Returns:

  • (String)


9936
9937
9938
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9936

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9943
9944
9945
9946
9947
9948
9949
9950
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9943

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