Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExternalSystem

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) ⇒ GoogleCloudSecuritycenterV2ExternalSystem

Returns a new instance of GoogleCloudSecuritycenterV2ExternalSystem.



6251
6252
6253
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6251

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

Instance Attribute Details

#assigneesArray<String>

Corresponds to the JSON property assignees

Returns:

  • (Array<String>)


6199
6200
6201
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6199

def assignees
  @assignees
end

#case_close_timeString

Corresponds to the JSON property caseCloseTime

Returns:

  • (String)


6204
6205
6206
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6204

def case_close_time
  @case_close_time
end

#case_create_timeString

Corresponds to the JSON property caseCreateTime

Returns:

  • (String)


6209
6210
6211
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6209

def case_create_time
  @case_create_time
end

#case_priorityString

Corresponds to the JSON property casePriority

Returns:

  • (String)


6214
6215
6216
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6214

def case_priority
  @case_priority
end

#case_slaString

Corresponds to the JSON property caseSla

Returns:

  • (String)


6219
6220
6221
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6219

def case_sla
  @case_sla
end

#case_uriString

Corresponds to the JSON property caseUri

Returns:

  • (String)


6224
6225
6226
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6224

def case_uri
  @case_uri
end

#external_system_update_timeString

Corresponds to the JSON property externalSystemUpdateTime

Returns:

  • (String)


6229
6230
6231
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6229

def external_system_update_time
  @external_system_update_time
end

#external_uidString

Corresponds to the JSON property externalUid

Returns:

  • (String)


6234
6235
6236
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6234

def external_uid
  @external_uid
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6239
6240
6241
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6239

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


6244
6245
6246
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6244

def status
  @status
end

#ticket_infoGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2TicketInfo

Corresponds to the JSON property ticketInfo



6249
6250
6251
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6249

def ticket_info
  @ticket_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6256

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