Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ExternalSystem

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ExternalSystem

Returns a new instance of GoogleCloudSecuritycenterV2ExternalSystem.



7081
7082
7083
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7081

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

Instance Attribute Details

#assigneesArray<String>

Corresponds to the JSON property assignees

Returns:

  • (Array<String>)


7029
7030
7031
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7029

def assignees
  @assignees
end

#case_close_timeString

Corresponds to the JSON property caseCloseTime

Returns:

  • (String)


7034
7035
7036
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7034

def case_close_time
  @case_close_time
end

#case_create_timeString

Corresponds to the JSON property caseCreateTime

Returns:

  • (String)


7039
7040
7041
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7039

def case_create_time
  @case_create_time
end

#case_priorityString

Corresponds to the JSON property casePriority

Returns:

  • (String)


7044
7045
7046
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7044

def case_priority
  @case_priority
end

#case_slaString

Corresponds to the JSON property caseSla

Returns:

  • (String)


7049
7050
7051
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7049

def case_sla
  @case_sla
end

#case_uriString

Corresponds to the JSON property caseUri

Returns:

  • (String)


7054
7055
7056
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7054

def case_uri
  @case_uri
end

#external_system_update_timeString

Corresponds to the JSON property externalSystemUpdateTime

Returns:

  • (String)


7059
7060
7061
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7059

def external_system_update_time
  @external_system_update_time
end

#external_uidString

Corresponds to the JSON property externalUid

Returns:

  • (String)


7064
7065
7066
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7064

def external_uid
  @external_uid
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


7069
7070
7071
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7069

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


7074
7075
7076
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7074

def status
  @status
end

#ticket_infoGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2TicketInfo

Corresponds to the JSON property ticketInfo



7079
7080
7081
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7079

def ticket_info
  @ticket_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7086

def update!(**args)
  @assignees = args[:assignees] if args.key?(:assignees)
  @case_close_time = args[:case_close_time] if args.key?(:case_close_time)
  @case_create_time = args[:case_create_time] if args.key?(:case_create_time)
  @case_priority = args[:case_priority] if args.key?(:case_priority)
  @case_sla = args[:case_sla] if args.key?(:case_sla)
  @case_uri = args[:case_uri] if args.key?(:case_uri)
  @external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
  @external_uid = args[:external_uid] if args.key?(:external_uid)
  @name = args[:name] if args.key?(:name)
  @status = args[:status] if args.key?(:status)
  @ticket_info = args[:ticket_info] if args.key?(:ticket_info)
end