Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickDocumentGroup
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::EnterpriseTopazSidekickDocumentGroup
- 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
Represents a mapping between a document type and its corresponding documents. Use for Work in Progress card in v1 homepage.
Instance Attribute Summary collapse
-
#group_type ⇒ String
Document group type Corresponds to the JSON property
groupType
. -
#personalized_document ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocument>
The list of corresponding documents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseTopazSidekickDocumentGroup
constructor
A new instance of EnterpriseTopazSidekickDocumentGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseTopazSidekickDocumentGroup
Returns a new instance of EnterpriseTopazSidekickDocumentGroup.
2159 2160 2161 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2159 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_type ⇒ String
Document group type
Corresponds to the JSON property groupType
2152 2153 2154 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2152 def group_type @group_type end |
#personalized_document ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocument>
The list of corresponding documents.
Corresponds to the JSON property personalizedDocument
2157 2158 2159 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2157 def personalized_document @personalized_document end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2164 2165 2166 2167 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2164 def update!(**args) @group_type = args[:group_type] if args.key?(:group_type) @personalized_document = args[:personalized_document] if args.key?(:personalized_document) end |