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.



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

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

Instance Attribute Details

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

Corresponds to the JSON property documents



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

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)


2214
2215
2216
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2214

def help_message
  @help_message
end

#list_typeString

Corresponds to the JSON property listType

Returns:

  • (String)


2219
2220
2221
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2219

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)


2224
2225
2226
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2224

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)


2229
2230
2231
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2229

def response_message
  @response_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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