Class: Google::Apis::CloudsearchV1::GroupRetentionSettingsUpdatedMetaData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GroupRetentionSettingsUpdatedMetaData

Returns a new instance of GroupRetentionSettingsUpdatedMetaData.



10817
10818
10819
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10817

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

Instance Attribute Details

#initiatorGoogle::Apis::CloudsearchV1::UserId

Primary key for User resource. Corresponds to the JSON property initiator



10810
10811
10812
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10810

def initiator
  @initiator
end

#retention_settingsGoogle::Apis::CloudsearchV1::AppsDynamiteSharedRetentionSettings

The settings of retention period of a message or topic. Corresponds to the JSON property retentionSettings



10815
10816
10817
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10815

def retention_settings
  @retention_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10822
10823
10824
10825
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10822

def update!(**args)
  @initiator = args[:initiator] if args.key?(:initiator)
  @retention_settings = args[:retention_settings] if args.key?(:retention_settings)
end