Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickDocumentGroup

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

Represents a mapping between a document type and its corresponding documents. Use for Work in Progress card in v1 homepage.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeString

Document group type Corresponds to the JSON property groupType

Returns:

  • (String)


2152
2153
2154
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2152

def group_type
  @group_type
end

#personalized_documentArray<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