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.



2233
2234
2235
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2233

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

Instance Attribute Details

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

Corresponds to the JSON property documents



2210
2211
2212
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2210

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)


2216
2217
2218
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2216

def help_message
  @help_message
end

#list_typeString

Corresponds to the JSON property listType

Returns:

  • (String)


2221
2222
2223
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2221

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)


2226
2227
2228
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2226

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)


2231
2232
2233
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2231

def response_message
  @response_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2238
2239
2240
2241
2242
2243
2244
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2238

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