Class: Google::Apis::MybusinessbusinessinformationV1::BatchGetCategoriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb

Overview

Response message for BusinessCategories.BatchGetBusinessCategories.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchGetCategoriesResponse

Returns a new instance of BatchGetCategoriesResponse.



230
231
232
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 230

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

Instance Attribute Details

#categoriesArray<Google::Apis::MybusinessbusinessinformationV1::Category>

Categories that match the GConcept ids provided in the request. They will not come in the same order as category ids in the request. Corresponds to the JSON property categories



228
229
230
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 228

def categories
  @categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



235
236
237
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 235

def update!(**args)
  @categories = args[:categories] if args.key?(:categories)
end