Method: chains.get

  • Retrieves a specified chain's details using its unique identifier.

  • Requires authorization with the https://www.googleapis.com/auth/business.manage scope.

  • Returns a NOT_FOUND error if the requested chain does not exist.

  • Uses a GET request with the chain's resource name as a path parameter.

  • Provides the chain's information in the response body if the request is successful.

Gets the specified chain. Returns NOT_FOUND if the chain does not exist.

HTTP request

GET https://mybusinessbusinessinformation.googleapis.com/v1/{name=chains/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The chain's resource name, in the format chains/{chain_place_id}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Chain.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.