Class: Google::Apis::MybusinessbusinessinformationV1::BatchGetCategoriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessbusinessinformationV1::BatchGetCategoriesResponse
- 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
-
#categories ⇒ Array<Google::Apis::MybusinessbusinessinformationV1::Category>
Categories that match the GConcept ids provided in the request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchGetCategoriesResponse
constructor
A new instance of BatchGetCategoriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#categories ⇒ Array<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 |