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.



14524
14525
14526
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14524

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)


14521
14522
14523
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14521

def read_receipts_enabled
  @read_receipts_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14529
14530
14531
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14529

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