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.
2192 2193 2194 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_type ⇒ String
Document group type
Corresponds to the JSON property groupType
2185 2186 2187 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2185 def group_type @group_type end |
#personalized_document ⇒ Array<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonDocument>
The list of corresponding documents.
Corresponds to the JSON property personalizedDocument
2190 2191 2192 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2190 def personalized_document @personalized_document end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2197 2198 2199 2200 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2197 def update!(**args) @group_type = args[:group_type] if args.key?(:group_type) @personalized_document = args[:personalized_document] if args.key?(:personalized_document) end |