Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#data_object_count ⇒ Fixnum
Corresponds to the JSON property
dataObjectCount. -
#event_detection_time ⇒ String
Corresponds to the JSON property
eventDetectionTime. -
#event_type ⇒ String
Corresponds to the JSON property
eventType. -
#max_retention_allowed ⇒ String
Corresponds to the JSON property
maxRetentionAllowed. -
#min_retention_allowed ⇒ String
Corresponds to the JSON property
minRetentionAllowed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
constructor
A new instance of GoogleCloudSecuritycenterV2DataRetentionDeletionEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
Returns a new instance of GoogleCloudSecuritycenterV2DataRetentionDeletionEvent.
6506 6507 6508 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6506 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_object_count ⇒ Fixnum
Corresponds to the JSON property dataObjectCount
6484 6485 6486 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6484 def data_object_count @data_object_count end |
#event_detection_time ⇒ String
Corresponds to the JSON property eventDetectionTime
6489 6490 6491 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6489 def event_detection_time @event_detection_time end |
#event_type ⇒ String
Corresponds to the JSON property eventType
6494 6495 6496 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6494 def event_type @event_type end |
#max_retention_allowed ⇒ String
Corresponds to the JSON property maxRetentionAllowed
6499 6500 6501 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6499 def max_retention_allowed @max_retention_allowed end |
#min_retention_allowed ⇒ String
Corresponds to the JSON property minRetentionAllowed
6504 6505 6506 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6504 def min_retention_allowed @min_retention_allowed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6511 6512 6513 6514 6515 6516 6517 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 6511 def update!(**args) @data_object_count = args[:data_object_count] if args.key?(:data_object_count) @event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time) @event_type = args[:event_type] if args.key?(:event_type) @max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed) @min_retention_allowed = args[:min_retention_allowed] if args.key?(:min_retention_allowed) end |