Class: Google::Apis::CloudsearchV1::ReadReceiptsSettingsUpdatedMetadata

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) ⇒ ReadReceiptsSettingsUpdatedMetadata

Returns a new instance of ReadReceiptsSettingsUpdatedMetadata.



16902
16903
16904
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16902

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

Instance Attribute Details

#read_receipts_enabledBoolean Also known as: read_receipts_enabled?

The new read receipts state. Corresponds to the JSON property readReceiptsEnabled

Returns:

  • (Boolean)


16899
16900
16901
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16899

def read_receipts_enabled
  @read_receipts_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16907
16908
16909
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16907

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