Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem

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

Returns a new instance of GoogleCloudSecuritycenterV1ExternalSystem.



3187
3188
3189
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3187

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

Instance Attribute Details

#assigneesArray<String>

Corresponds to the JSON property assignees

Returns:

  • (Array<String>)


3135
3136
3137
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3135

def assignees
  @assignees
end

#case_close_timeString

Corresponds to the JSON property caseCloseTime

Returns:

  • (String)


3140
3141
3142
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3140

def case_close_time
  @case_close_time
end

#case_create_timeString

Corresponds to the JSON property caseCreateTime

Returns:

  • (String)


3145
3146
3147
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3145

def case_create_time
  @case_create_time
end

#case_priorityString

Corresponds to the JSON property casePriority

Returns:

  • (String)


3150
3151
3152
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3150

def case_priority
  @case_priority
end

#case_slaString

Corresponds to the JSON property caseSla

Returns:

  • (String)


3155
3156
3157
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3155

def case_sla
  @case_sla
end

#case_uriString

Corresponds to the JSON property caseUri

Returns:

  • (String)


3160
3161
3162
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3160

def case_uri
  @case_uri
end

#external_system_update_timeString

Corresponds to the JSON property externalSystemUpdateTime

Returns:

  • (String)


3165
3166
3167
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3165

def external_system_update_time
  @external_system_update_time
end

#external_uidString

Corresponds to the JSON property externalUid

Returns:

  • (String)


3170
3171
3172
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3170

def external_uid
  @external_uid
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3175
3176
3177
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3175

def name
  @name
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


3180
3181
3182
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3180

def status
  @status
end

#ticket_infoGoogle::Apis::SecuritycenterV1beta2::TicketInfo

Corresponds to the JSON property ticketInfo



3185
3186
3187
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3185

def ticket_info
  @ticket_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3192

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