Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickDocumentPerCategoryList

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazSidekickDocumentPerCategoryList

Returns a new instance of EnterpriseTopazSidekickDocumentPerCategoryList.



2200
2201
2202
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2200

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

Instance Attribute Details

#documentsArray<Google::Apis::CloudsearchV1::EnterpriseTopazSidekickDocumentPerCategoryListDocumentPerCategoryListEntry>

Corresponds to the JSON property documents



2177
2178
2179
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2177

def documents
  @documents
end

#help_messageString

Localized message explaining how the documents were derived (e.g. from the last 30 days activity). This field is optional. Corresponds to the JSON property helpMessage

Returns:

  • (String)


2183
2184
2185
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2183

def help_message
  @help_message
end

#list_typeString

Corresponds to the JSON property listType

Returns:

  • (String)


2188
2189
2190
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2188

def list_type
  @list_type
end

#list_type_descriptionString

Description of the types of documents present in the list. Corresponds to the JSON property listTypeDescription

Returns:

  • (String)


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

def list_type_description
  @list_type_description
end

#response_messageString

Response message in case no documents are present in the card. Corresponds to the JSON property responseMessage

Returns:

  • (String)


2198
2199
2200
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2198

def response_message
  @response_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2205
2206
2207
2208
2209
2210
2211
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2205

def update!(**args)
  @documents = args[:documents] if args.key?(:documents)
  @help_message = args[:help_message] if args.key?(:help_message)
  @list_type = args[:list_type] if args.key?(:list_type)
  @list_type_description = args[:list_type_description] if args.key?(:list_type_description)
  @response_message = args[:response_message] if args.key?(:response_message)
end