Class: Google::Apis::SecuritycenterV1beta2::AgentDataAccessEvent
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::AgentDataAccessEvent
- 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
-
#event_id ⇒ String
Corresponds to the JSON property
eventId. -
#event_time ⇒ String
Corresponds to the JSON property
eventTime. -
#operation ⇒ String
Corresponds to the JSON property
operation. -
#principal_subject ⇒ String
Corresponds to the JSON property
principalSubject.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AgentDataAccessEvent
constructor
A new instance of AgentDataAccessEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AgentDataAccessEvent
Returns a new instance of AgentDataAccessEvent.
340 341 342 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_id ⇒ String
Corresponds to the JSON property eventId
323 324 325 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 323 def event_id @event_id end |
#event_time ⇒ String
Corresponds to the JSON property eventTime
328 329 330 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 328 def event_time @event_time end |
#operation ⇒ String
Corresponds to the JSON property operation
333 334 335 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 333 def operation @operation end |
#principal_subject ⇒ String
Corresponds to the JSON property principalSubject
338 339 340 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 338 def principal_subject @principal_subject end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
345 346 347 348 349 350 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 345 def update!(**args) @event_id = args[:event_id] if args.key?(:event_id) @event_time = args[:event_time] if args.key?(:event_time) @operation = args[:operation] if args.key?(:operation) @principal_subject = args[:principal_subject] if args.key?(:principal_subject) end |