A API
Google Business Performance tem um
NOVO método de API que permite buscar várias "DailyMetrics" em uma única solicitação de API.
Confira a
programação de descontinuação e instruções para migrar do método de API reportInsights v4 para a API Google Business Profile Performance.
REST Resource: chains
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003eA Chain represents a brand with which your business locations can be affiliated, containing information like name, websites, and location count.\u003c/p\u003e\n"],["\u003cp\u003eChains can be identified by a unique resource name and have multiple display names in different languages.\u003c/p\u003e\n"],["\u003cp\u003eYou can programmatically access chain information using the provided methods: \u003ccode\u003eget\u003c/code\u003e to retrieve a specific chain and \u003ccode\u003esearch\u003c/code\u003e to find chains based on name.\u003c/p\u003e\n"],["\u003cp\u003eChain information includes \u003ccode\u003ewebsites\u003c/code\u003e represented as URIs for online presence and \u003ccode\u003echainNames\u003c/code\u003e for display purposes with language specifications.\u003c/p\u003e\n"]]],["The content describes the structure of a \"Chain\" resource, which represents a brand affiliated with business locations. A Chain has a resource name, a list of `chainNames` (display names with language codes), and `websites` (URLs). It also includes a `locationCount` which is an integer of how many locations are in the chain. `ChainName` and `ChainUri` provide display and url information. Two methods are available: `get` to retrieve a specific chain, and `search` to find chains by name.\n"],null,["# REST Resource: chains\n\n- [Resource: Chain](#Chain)\n - [JSON representation](#Chain.SCHEMA_REPRESENTATION)\n- [ChainName](#ChainName)\n - [JSON representation](#ChainName.SCHEMA_REPRESENTATION)\n- [ChainUri](#ChainUri)\n - [JSON representation](#ChainUri.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Chain\n---------------\n\nA chain is a brand that your business's locations can be affiliated with.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"chainNames\": [ { object (/my-business/reference/businessinformation/rest/v1/chains#ChainName) } ], \"websites\": [ { object (/my-business/reference/businessinformation/rest/v1/chains#ChainUri) } ], \"locationCount\": integer } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The chain's resource name, in the format `chains/{chain_id}`. |\n| `chainNames[]` | `object (`[ChainName](/my-business/reference/businessinformation/rest/v1/chains#ChainName)`)` Names of the chain. |\n| `websites[]` | `object (`[ChainUri](/my-business/reference/businessinformation/rest/v1/chains#ChainUri)`)` Websites of the chain. |\n| `locationCount` | `integer` Number of locations that are part of this chain. |\n\nChainName\n---------\n\nName to be used when displaying the chain.\n\n| JSON representation |\n|-----------------------------------------------------------|\n| ``` { \"displayName\": string, \"languageCode\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------|\n| `displayName` | `string` The display name for this chain. |\n| `languageCode` | `string` The BCP 47 code of language of the name. |\n\nChainUri\n--------\n\nUrl to be used when displaying the chain.\n\n| JSON representation |\n|---------------------------|\n| ``` { \"uri\": string } ``` |\n\n| Fields ||\n|-------|----------------------------------|\n| `uri` | `string` The uri for this chain. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------|-----------------------------------------|\n| ### [get](/my-business/reference/businessinformation/rest/v1/chains/get) | Gets the specified chain. |\n| ### [search](/my-business/reference/businessinformation/rest/v1/chains/search) | Searches the chain based on chain name. |"]]