Class: Google::Apis::CloudsearchV1::MessageProps

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

Overview

Container for storing properties applicable to messages. For now (until storage consolidation is complete), it will only be used for babel props. In the future it could be used to house Dynamite properties for experimenting/ rapid prototyping.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MessageProps

Returns a new instance of MessageProps.



14325
14326
14327
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14325

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

Instance Attribute Details

#babel_propsGoogle::Apis::CloudsearchV1::BabelMessageProps

Container for Babel (Hangouts Classic) only message properties. The properties here will not be consumed by Dynamite clients. They are relevant only for Hangouts Classic. Corresponds to the JSON property babelProps



14323
14324
14325
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14323

def babel_props
  @babel_props
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14330
14331
14332
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14330

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