Class: Google::Apis::SecuritycenterV1beta2::DataRetentionDeletionEvent
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::DataRetentionDeletionEvent
- 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
-
#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) ⇒ DataRetentionDeletionEvent
constructor
A new instance of DataRetentionDeletionEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataRetentionDeletionEvent
Returns a new instance of DataRetentionDeletionEvent.
1652 1653 1654 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_object_count ⇒ Fixnum
Corresponds to the JSON property dataObjectCount
1630 1631 1632 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1630 def data_object_count @data_object_count end |
#event_detection_time ⇒ String
Corresponds to the JSON property eventDetectionTime
1635 1636 1637 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1635 def event_detection_time @event_detection_time end |
#event_type ⇒ String
Corresponds to the JSON property eventType
1640 1641 1642 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1640 def event_type @event_type end |
#max_retention_allowed ⇒ String
Corresponds to the JSON property maxRetentionAllowed
1645 1646 1647 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1645 def max_retention_allowed @max_retention_allowed end |
#min_retention_allowed ⇒ String
Corresponds to the JSON property minRetentionAllowed
1650 1651 1652 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1650 def min_retention_allowed @min_retention_allowed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1657 1658 1659 1660 1661 1662 1663 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1657 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 |