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.



2192
2193
2194
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2192

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#group_typeString

Document group type Corresponds to the JSON property groupType

Returns:

  • (String)


2185
2186
2187
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2185

def group_type
  @group_type
end

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