Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedMessageComponentSearchInfo

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

Metadata used to describe search information in a specific component of a chat message, for example an annotation or an attachment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedMessageComponentSearchInfo

Returns a new instance of AppsDynamiteSharedMessageComponentSearchInfo.



1934
1935
1936
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1934

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

Instance Attribute Details

#matched_searchBoolean Also known as: matched_search?

Whether the whole component matched the search. Corresponds to the JSON property matchedSearch

Returns:

  • (Boolean)


1926
1927
1928
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1926

def matched_search
  @matched_search
end

#title_text_with_descriptionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedTextWithDescription

Defines a text with descriptive text segments associated. Corresponds to the JSON property titleTextWithDescription



1932
1933
1934
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1932

def title_text_with_description
  @title_text_with_description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1939
1940
1941
1942
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1939

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