- HTTP request
- Query parameters
- Request body
- Response body
- Authorization scopes
- PlaceActionTypeMetadata
Returns the list of available place action types for a location or country.
HTTP request
GET https://mybusinessplaceactions.googleapis.com/v1/placeActionTypeMetadata
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
languageCode |
Optional. The IETF BCP-47 code of language to get display names in. If this language is not available, they will be provided in English. |
pageSize |
Optional. How many action types to include per page. Default is 10, minimum is 1. |
pageToken |
Optional. If specified, the next page of place action type metadata is retrieved. The |
filter |
Optional. A filter constraining the place action types to return metadata for. The response includes entries that match the filter. We support only the following filters: 1. location=XYZ where XYZ is a string indicating the resource name of a location, in the format If no filter is provided, all place action types are returned. |
Request body
The request body must be empty.
Response body
Response message for PlaceActions.ListPlaceActionTypeMetadata.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"placeActionTypeMetadata": [
{
object ( |
Fields | |
---|---|
placeActionTypeMetadata[] |
A collection of metadata for the available place action types. |
nextPageToken |
If the number of action types exceeded the requested page size, this field will be populated with a token to fetch the next page on a subsequent call to |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.
PlaceActionTypeMetadata
Metadata for supported place action types.
JSON representation |
---|
{
"placeActionType": enum ( |
Fields | |
---|---|
placeActionType |
The place action type. |
displayName |
The localized display name for the attribute, if available; otherwise, the English display name. |