La API de
Google Business Performance tiene un método de API
NUEVO que permite recuperar varias métricas "DailyMetrics" en una sola solicitud a la API.
Revise el
programa de baja y las instrucciones para migrar del método de la API de reportInsights versión 4 a la API de rendimiento del Perfil de Negocio de Google.
REST Resource: chains
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 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. |"]]