Class: Google::Apis::CloudsearchV1::BabelMessageProps
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::BabelMessageProps
- 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 Babel (Hangouts Classic) only message properties. The properties here will not be consumed by Dynamite clients. They are relevant only for Hangouts Classic.
Instance Attribute Summary collapse
-
#client_generated_id ⇒ Fixnum
Babel clients locally generate this ID to dedupe against the async fanout.
-
#content_extension ⇒ Google::Apis::CloudsearchV1::ChatContentExtension
NEXT ID: 12 Corresponds to the JSON property
contentExtension
. -
#delivery_medium ⇒ Google::Apis::CloudsearchV1::DeliveryMedium
Stores the delivery source of messages (such as phone number for SMS).
-
#event_id ⇒ String
Primary identifier used by Hangouts Classic for its events (messages).
-
#message_content ⇒ Google::Apis::CloudsearchV1::ChatConserverMessageContent
The content of a chat message, which includes 0 or more segments along with 0 or more embeds, which represent various attachment types (like photos).
-
#was_updated_by_backfill ⇒ Boolean
(also: #was_updated_by_backfill?)
Whether or not these message properties were backfilled by go/dinnertrain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BabelMessageProps
constructor
A new instance of BabelMessageProps.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BabelMessageProps
Returns a new instance of BabelMessageProps.
5007 5008 5009 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5007 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_generated_id ⇒ Fixnum
Babel clients locally generate this ID to dedupe against the async fanout.
Corresponds to the JSON property clientGeneratedId
4978 4979 4980 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4978 def client_generated_id @client_generated_id end |
#content_extension ⇒ Google::Apis::CloudsearchV1::ChatContentExtension
NEXT ID: 12
Corresponds to the JSON property contentExtension
4983 4984 4985 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4983 def content_extension @content_extension end |
#delivery_medium ⇒ Google::Apis::CloudsearchV1::DeliveryMedium
Stores the delivery source of messages (such as phone number for SMS).
Corresponds to the JSON property deliveryMedium
4988 4989 4990 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4988 def delivery_medium @delivery_medium end |
#event_id ⇒ String
Primary identifier used by Hangouts Classic for its events (messages).
Corresponds to the JSON property eventId
4993 4994 4995 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4993 def event_id @event_id end |
#message_content ⇒ Google::Apis::CloudsearchV1::ChatConserverMessageContent
The content of a chat message, which includes 0 or more segments along with 0
or more embeds, which represent various attachment types (like photos).
Corresponds to the JSON property messageContent
4999 5000 5001 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4999 def @message_content end |
#was_updated_by_backfill ⇒ Boolean Also known as: was_updated_by_backfill?
Whether or not these message properties were backfilled by go/dinnertrain.
Corresponds to the JSON property wasUpdatedByBackfill
5004 5005 5006 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5004 def was_updated_by_backfill @was_updated_by_backfill end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5012 5013 5014 5015 5016 5017 5018 5019 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5012 def update!(**args) @client_generated_id = args[:client_generated_id] if args.key?(:client_generated_id) @content_extension = args[:content_extension] if args.key?(:content_extension) @delivery_medium = args[:delivery_medium] if args.key?(:delivery_medium) @event_id = args[:event_id] if args.key?(:event_id) @message_content = args[:message_content] if args.key?(:message_content) @was_updated_by_backfill = args[:was_updated_by_backfill] if args.key?(:was_updated_by_backfill) end |