Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2DataRetentionDeletionEvent

Returns a new instance of GoogleCloudSecuritycenterV2DataRetentionDeletionEvent.



5731
5732
5733
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5731

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

Instance Attribute Details

#data_object_countFixnum

Corresponds to the JSON property dataObjectCount

Returns:

  • (Fixnum)


5709
5710
5711
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5709

def data_object_count
  @data_object_count
end

#event_detection_timeString

Corresponds to the JSON property eventDetectionTime

Returns:

  • (String)


5714
5715
5716
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5714

def event_detection_time
  @event_detection_time
end

#event_typeString

Corresponds to the JSON property eventType

Returns:

  • (String)


5719
5720
5721
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5719

def event_type
  @event_type
end

#max_retention_allowedString

Corresponds to the JSON property maxRetentionAllowed

Returns:

  • (String)


5724
5725
5726
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5724

def max_retention_allowed
  @max_retention_allowed
end

#min_retention_allowedString

Corresponds to the JSON property minRetentionAllowed

Returns:

  • (String)


5729
5730
5731
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5729

def min_retention_allowed
  @min_retention_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5736
5737
5738
5739
5740
5741
5742
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 5736

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