Perhatian: Postingan yang terkait dengan COVID-19 sekarang diizinkan sementara untuk jaringan gerai. Selain itu, Google Bisnisku saat ini beroperasi dengan fungsi terbatas. Pelajari perubahan produk sementara lebih lanjut.

REST Resource: categories

Resource: Category

A category describing what this business is (not what it does). For a list of valid category IDs, and the mappings to their human-readable names, see categories.list.

JSON representation
{
  "displayName": string,
  "categoryId": string,
  "serviceTypes": [
    {
      object (ServiceType)
    }
  ]
}
Fields
displayName

string

. The human-readable name of the category. This is set when reading the location. When modifying the location, categoryId must be set.

Note: This field is used in responses only. Any value specified here in a request is ignored.

categoryId

string

. A stable ID (provided by Google) for this category. The categoryId must be specified when modifying the category (when creating or updating a location).

Note: This field is used in responses only. Any value specified here in a request is ignored.

serviceTypes[]

object (ServiceType)

. A list of all the service types that are available for this business category.

Note: This field is used in responses only. Any value specified here in a request is ignored.

ServiceType

A message describing a service type that the business offers.

JSON representation
{
  "serviceTypeId": string,
  "displayName": string
}
Fields
serviceTypeId

string

Output only. A stable ID (provided by Google) for this service type.

displayName

string

Output only. The human-readable display name for the service type.

Methods

batchGet

Returns a list of business categories for the provided language and GConcept ids.

list

Returns a list of business categories.