Close httplib2 connections.
list(filter=None, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)
Returns the list of available place action types for a location or country.
Retrieves the next page of results.
close()
Close httplib2 connections.
list(filter=None, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)
Returns the list of available place action types for a location or country.
Args:
filter: string, 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 `locations/{location_id}`. 2. region_code=XYZ where XYZ is a Unicode CLDR region code to find available action types. If no filter is provided, all place action types are returned.
languageCode: string, 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: integer, Optional. How many action types to include per page. Default is 10, minimum is 1.
pageToken: string, Optional. If specified, the next page of place action type metadata is retrieved. The `pageToken` is returned when a call to `placeActionTypeMetadata.list` returns more results than can fit into the requested page size.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for PlaceActions.ListPlaceActionTypeMetadata.
"nextPageToken": "A String", # 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 `placeActionTypeMetadata.list`. If there are no more results, this field will not be present in the response.
"placeActionTypeMetadata": [ # A collection of metadata for the available place action types.
{ # Metadata for supported place action types.
"displayName": "A String", # The localized display name for the attribute, if available; otherwise, the English display name.
"placeActionType": "A String", # The place action type.
},
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.