Class: Google::Apis::CloudsearchV1::ChatContentExtension
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ChatContentExtension
- 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
NEXT ID: 12
Instance Attribute Summary collapse
-
#annotation ⇒ Array<Google::Apis::CloudsearchV1::EventAnnotation>
Annotations to decorate this event.
-
#dynamite_placeholder_metadata ⇒ Google::Apis::CloudsearchV1::ChatConserverDynamitePlaceholderMetadata
Metadata used as inputs to the localization that is performed on Dynamite- originated messages that are incompatible with Hangouts clients.
-
#event_otr_status ⇒ String
Is this event OnTR or OffTR? Since some events can be ON_THE_RECORD and have an expiration_timestamp (for example enterprise retention users) we need to store the otr status.
-
#group_link_sharing_modification_event ⇒ Google::Apis::CloudsearchV1::GroupLinkSharingModificationEvent
Group-link sharing toggle event.
-
#hangout_event ⇒ Google::Apis::CloudsearchV1::HangoutEvent
Audio/video Hangout event.
-
#invite_accepted_event ⇒ Google::Apis::CloudsearchV1::InviteAcceptedEvent
Invite accepted events.
-
#membership_change_event ⇒ Google::Apis::CloudsearchV1::MembershipChangeEvent
Join/leave events.
-
#otr_chat_message_event ⇒ Google::Apis::CloudsearchV1::OtrChatMessageEvent
Metadata for off-the-record message.
-
#otr_modification_event ⇒ Google::Apis::CloudsearchV1::OtrModificationEvent
Corresponds to the JSON property
otrModificationEvent. -
#rename_event ⇒ Google::Apis::CloudsearchV1::RenameEvent
Corresponds to the JSON property
renameEvent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChatContentExtension
constructor
A new instance of ChatContentExtension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChatContentExtension
Returns a new instance of ChatContentExtension.
5818 5819 5820 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation ⇒ Array<Google::Apis::CloudsearchV1::EventAnnotation>
Annotations to decorate this event.
Corresponds to the JSON property annotation
5766 5767 5768 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5766 def annotation @annotation end |
#dynamite_placeholder_metadata ⇒ Google::Apis::CloudsearchV1::ChatConserverDynamitePlaceholderMetadata
Metadata used as inputs to the localization that is performed on Dynamite-
originated messages that are incompatible with Hangouts clients. See go/
localization-of-system-messages for more details.
Corresponds to the JSON property dynamitePlaceholderMetadata
5773 5774 5775 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5773 def @dynamite_placeholder_metadata end |
#event_otr_status ⇒ String
Is this event OnTR or OffTR? Since some events can be ON_THE_RECORD and have
an expiration_timestamp (for example enterprise retention users) we need to
store the otr status.
Corresponds to the JSON property eventOtrStatus
5780 5781 5782 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5780 def event_otr_status @event_otr_status end |
#group_link_sharing_modification_event ⇒ Google::Apis::CloudsearchV1::GroupLinkSharingModificationEvent
Group-link sharing toggle event.
Corresponds to the JSON property groupLinkSharingModificationEvent
5785 5786 5787 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5785 def group_link_sharing_modification_event @group_link_sharing_modification_event end |
#hangout_event ⇒ Google::Apis::CloudsearchV1::HangoutEvent
Audio/video Hangout event.
Corresponds to the JSON property hangoutEvent
5790 5791 5792 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5790 def hangout_event @hangout_event end |
#invite_accepted_event ⇒ Google::Apis::CloudsearchV1::InviteAcceptedEvent
Invite accepted events. Note: this is only used ephemerally to sync to Gmail.
No actual cent is stored in Papyrus.
Corresponds to the JSON property inviteAcceptedEvent
5796 5797 5798 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5796 def invite_accepted_event @invite_accepted_event end |
#membership_change_event ⇒ Google::Apis::CloudsearchV1::MembershipChangeEvent
Join/leave events.
Corresponds to the JSON property membershipChangeEvent
5801 5802 5803 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5801 def membership_change_event @membership_change_event end |
#otr_chat_message_event ⇒ Google::Apis::CloudsearchV1::OtrChatMessageEvent
Metadata for off-the-record message.
Corresponds to the JSON property otrChatMessageEvent
5806 5807 5808 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5806 def @otr_chat_message_event end |
#otr_modification_event ⇒ Google::Apis::CloudsearchV1::OtrModificationEvent
Corresponds to the JSON property otrModificationEvent
5811 5812 5813 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5811 def otr_modification_event @otr_modification_event end |
#rename_event ⇒ Google::Apis::CloudsearchV1::RenameEvent
Corresponds to the JSON property renameEvent
5816 5817 5818 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5816 def rename_event @rename_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5823 def update!(**args) @annotation = args[:annotation] if args.key?(:annotation) @dynamite_placeholder_metadata = args[:dynamite_placeholder_metadata] if args.key?(:dynamite_placeholder_metadata) @event_otr_status = args[:event_otr_status] if args.key?(:event_otr_status) @group_link_sharing_modification_event = args[:group_link_sharing_modification_event] if args.key?(:group_link_sharing_modification_event) @hangout_event = args[:hangout_event] if args.key?(:hangout_event) @invite_accepted_event = args[:invite_accepted_event] if args.key?(:invite_accepted_event) @membership_change_event = args[:membership_change_event] if args.key?(:membership_change_event) @otr_chat_message_event = args[:otr_chat_message_event] if args.key?(:otr_chat_message_event) @otr_modification_event = args[:otr_modification_event] if args.key?(:otr_modification_event) @rename_event = args[:rename_event] if args.key?(:rename_event) end |