The Business Profile Performance API is now launched! Migration work is required.
Review the deprecation schedule and instructions to migrate over to new v1 APIs from older deprecated v4 API.
Help us improve the food menu experience by filling in this survey to better understand what place, menu, and dish attributes you can provide about the merchants you support

Method: media.upload

Stay organized with collections Save and categorize content based on your preferences.

Uploads media. Upload is supported on the URI /upload/v1/media/{+name}.

HTTP request

  • Upload URI, for media upload requests:
    POST https://mybusiness.googleapis.com/upload/v1/media/{resourceName=**}
  • Metadata URI, for metadata-only requests:
    POST https://mybusiness.googleapis.com/v1/media/{resourceName=**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resourceName

string

Name of the media that is being downloaded. See ReadRequest.resource_name.

Request body

The request body contains an instance of Media.

Response body

If successful, the response body contains data with the following structure:

Media resource.

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

Name of the media resource.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/plus.business.manage
  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.