Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedJustification
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedJustification
- 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
Data for rendering a justification for a document.
Instance Attribute Summary collapse
-
#action_time ⇒ String
Time the action took place.
-
#action_type ⇒ String
Type of action performed on the document.
-
#document_owner ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedJustificationPerson
Data for rendering a person associated with a document.
-
#topics ⇒ Array<String>
Words or phrases from the user's query that describes the document content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedJustification
constructor
A new instance of AppsDynamiteSharedJustification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedJustification
Returns a new instance of AppsDynamiteSharedJustification.
1789 1790 1791 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1789 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_time ⇒ String
Time the action took place.
Corresponds to the JSON property actionTime
1770 1771 1772 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1770 def action_time @action_time end |
#action_type ⇒ String
Type of action performed on the document.
Corresponds to the JSON property actionType
1775 1776 1777 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1775 def action_type @action_type end |
#document_owner ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedJustificationPerson
Data for rendering a person associated with a document.
Corresponds to the JSON property documentOwner
1780 1781 1782 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1780 def document_owner @document_owner end |
#topics ⇒ Array<String>
Words or phrases from the user's query that describes the document content. (
Ex: Users query is "Can you share the document about Bullseye?" the extracted
topic would be "Bullseye").
Corresponds to the JSON property topics
1787 1788 1789 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1787 def topics @topics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1794 1795 1796 1797 1798 1799 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1794 def update!(**args) @action_time = args[:action_time] if args.key?(:action_time) @action_type = args[:action_type] if args.key?(:action_type) @document_owner = args[:document_owner] if args.key?(:document_owner) @topics = args[:topics] if args.key?(:topics) end |