Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataAccessEvent
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataAccessEvent
- 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_email ⇒ String
Corresponds to the JSON property
principalEmail.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DataAccessEvent
constructor
A new instance of GoogleCloudSecuritycenterV2DataAccessEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DataAccessEvent
Returns a new instance of GoogleCloudSecuritycenterV2DataAccessEvent.
5640 5641 5642 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_id ⇒ String
Corresponds to the JSON property eventId
5623 5624 5625 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5623 def event_id @event_id end |
#event_time ⇒ String
Corresponds to the JSON property eventTime
5628 5629 5630 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5628 def event_time @event_time end |
#operation ⇒ String
Corresponds to the JSON property operation
5633 5634 5635 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5633 def operation @operation end |
#principal_email ⇒ String
Corresponds to the JSON property principalEmail
5638 5639 5640 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5638 def principal_email @principal_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5645 5646 5647 5648 5649 5650 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5645 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_email = args[:principal_email] if args.key?(:principal_email) end |