Class: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataRetentionDeletionEvent

Returns a new instance of DataRetentionDeletionEvent.



2055
2056
2057
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2055

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

Instance Attribute Details

#data_object_countFixnum

Corresponds to the JSON property dataObjectCount

Returns:

  • (Fixnum)


2033
2034
2035
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2033

def data_object_count
  @data_object_count
end

#event_detection_timeString

Corresponds to the JSON property eventDetectionTime

Returns:

  • (String)


2038
2039
2040
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2038

def event_detection_time
  @event_detection_time
end

#event_typeString

Corresponds to the JSON property eventType

Returns:

  • (String)


2043
2044
2045
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2043

def event_type
  @event_type
end

#max_retention_allowedString

Corresponds to the JSON property maxRetentionAllowed

Returns:

  • (String)


2048
2049
2050
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2048

def max_retention_allowed
  @max_retention_allowed
end

#min_retention_allowedString

Corresponds to the JSON property minRetentionAllowed

Returns:

  • (String)


2053
2054
2055
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2053

def min_retention_allowed
  @min_retention_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2060
2061
2062
2063
2064
2065
2066
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 2060

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