Class: Google::Apis::CloudsearchV1::PrivateMessageInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PrivateMessageInfo
- 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
Private message information specific to a given user. DEPRECATED: Use the privateMessageViewer field in CreateMessageInfo instead.
Instance Attribute Summary collapse
-
#annotations ⇒ Array<Google::Apis::CloudsearchV1::Annotation>
Annotations private to
@code userId
. -
#attachments ⇒ Array<Google::Apis::CloudsearchV1::Attachment>
Attachments private to
@code userId
. -
#contextual_add_on_markup ⇒ Array<Google::Apis::CloudsearchV1::GoogleChatV1ContextualAddOnMarkup>
Corresponds to the JSON property
contextualAddOnMarkup
. -
#gsuite_integration_metadata ⇒ Array<Google::Apis::CloudsearchV1::GsuiteIntegrationMetadata>
Corresponds to the JSON property
gsuiteIntegrationMetadata
. -
#text ⇒ String
Text private to
@code user_id
. -
#user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateMessageInfo
constructor
A new instance of PrivateMessageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateMessageInfo
Returns a new instance of PrivateMessageInfo.
16062 16063 16064 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotations ⇒ Array<Google::Apis::CloudsearchV1::Annotation>
Annotations private to @code userId
.
Corresponds to the JSON property annotations
16033 16034 16035 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16033 def annotations @annotations end |
#attachments ⇒ Array<Google::Apis::CloudsearchV1::Attachment>
Attachments private to @code userId
.
Corresponds to the JSON property attachments
16038 16039 16040 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16038 def @attachments end |
#contextual_add_on_markup ⇒ Array<Google::Apis::CloudsearchV1::GoogleChatV1ContextualAddOnMarkup>
Corresponds to the JSON property contextualAddOnMarkup
16043 16044 16045 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16043 def contextual_add_on_markup @contextual_add_on_markup end |
#gsuite_integration_metadata ⇒ Array<Google::Apis::CloudsearchV1::GsuiteIntegrationMetadata>
Corresponds to the JSON property gsuiteIntegrationMetadata
16048 16049 16050 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16048 def @gsuite_integration_metadata end |
#text ⇒ String
Text private to @code user_id
. Initial restriction: Only one of public text
or private text is rendered on the client. So if public text is set, private
text is ignored.
Corresponds to the JSON property text
16055 16056 16057 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16055 def text @text end |
#user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property userId
16060 16061 16062 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16060 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16067 16068 16069 16070 16071 16072 16073 16074 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16067 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @attachments = args[:attachments] if args.key?(:attachments) @contextual_add_on_markup = args[:contextual_add_on_markup] if args.key?(:contextual_add_on_markup) @gsuite_integration_metadata = args[:gsuite_integration_metadata] if args.key?(:gsuite_integration_metadata) @text = args[:text] if args.key?(:text) @user_id = args[:user_id] if args.key?(:user_id) end |