View Source GoogleApi.MyBusinessPlaceActions.V1.Api.PlaceActionTypeMetadata (google_api_my_business_place_actions v0.3.0)

API calls for all endpoints tagged PlaceActionTypeMetadata.

Summary

Functions

Returns the list of available place action types for a location or country.

Functions

Link to this function

mybusinessplaceactions_place_action_type_metadata_list(connection, optional_params \\ [], opts \\ [])

View Source
@spec mybusinessplaceactions_place_action_type_metadata_list(
  Tesla.Env.client(),
  keyword(),
  keyword()
) ::
  {:ok,
   GoogleApi.MyBusinessPlaceActions.V1.Model.ListPlaceActionTypeMetadataResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Returns the list of available place action types for a location or country.

Parameters

  • connection (type: GoogleApi.MyBusinessPlaceActions.V1.Connection.t) - Connection to server
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
    • :filter (type: String.t) - 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 (type: String.t) - 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 (type: integer()) - Optional. How many action types to include per page. Default is 10, minimum is 1.
    • :pageToken (type: String.t) - 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.
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.MyBusinessPlaceActions.V1.Model.ListPlaceActionTypeMetadataResponse{}} on success
  • {:error, info} on failure