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.



6567
6568
6569
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6567

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

Instance Attribute Details

#assigneesArray<String>

Corresponds to the JSON property assignees

Returns:

  • (Array<String>)


6515
6516
6517
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6515

def assignees
  @assignees
end

#case_close_timeString

Corresponds to the JSON property caseCloseTime

Returns:

  • (String)


6520
6521
6522
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6520

def case_close_time
  @case_close_time
end

#case_create_timeString

Corresponds to the JSON property caseCreateTime

Returns:

  • (String)


6525
6526
6527
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6525

def case_create_time
  @case_create_time
end

#case_priorityString

Corresponds to the JSON property casePriority

Returns:

  • (String)


6530
6531
6532
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6530

def case_priority
  @case_priority
end

#case_slaString

Corresponds to the JSON property caseSla

Returns:

  • (String)


6535
6536
6537
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6535

def case_sla
  @case_sla
end

#case_uriString

Corresponds to the JSON property caseUri

Returns:

  • (String)


6540
6541
6542
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6540

def case_uri
  @case_uri
end

#external_system_update_timeString

Corresponds to the JSON property externalSystemUpdateTime

Returns:

  • (String)


6545
6546
6547
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6545

def external_system_update_time
  @external_system_update_time
end

#external_uidString

Corresponds to the JSON property externalUid

Returns:

  • (String)


6550
6551
6552
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6550

def external_uid
  @external_uid
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6555
6556
6557
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6555

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


6560
6561
6562
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6560

def status
  @status
end

#ticket_infoGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2TicketInfo

Corresponds to the JSON property ticketInfo



6565
6566
6567
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6565

def ticket_info
  @ticket_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6572

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