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.



1878
1879
1880
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1878

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)


1870
1871
1872
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1870

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



1876
1877
1878
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1876

def title_text_with_description
  @title_text_with_description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1883
1884
1885
1886
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1883

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