L'API
Google Business Performance ha un metodo
NOVITÀ che consente di recuperare più `dailyMetrics` in un'unica richiesta API.
Consulta il
calendario del ritiro e le istruzioni per eseguire la migrazione dal metodo API ReportInsights della versione 4 all'API Performance di Google Profilo.
REST Resource: chains
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: catena
Una catena è un brand con cui possono essere affiliate le sedi della tua attività.
Rappresentazione JSON |
{
"name": string,
"chainNames": [
{
object (ChainName )
}
],
"websites": [
{
object (ChainUrl )
}
],
"locationCount": integer
} |
Campi |
name |
string
Il nome della risorsa della catena, nel formato chains/{chain_place_id} .
|
chainNames[] |
object (ChainName )
Nomi della catena.
|
websites[] |
object (ChainUrl )
Siti web della catena.
|
locationCount |
integer
Numero di sedi che fanno parte di questa catena.
|
ChainName
Nome da utilizzare durante la visualizzazione della catena.
Rappresentazione JSON |
{
"displayName": string,
"languageCode": string
} |
Campi |
displayName |
string
Il nome visualizzato di questa catena.
|
languageCode |
string
Il codice BCP 47 della lingua del nome.
|
ChainUrl
URL da utilizzare per la visualizzazione della catena.
Rappresentazione JSON |
{
"url": string
} |
Campi |
url |
string
L'URL di questa catena.
|
Metodi |
|
Restituisce la catena specificata. |
|
Cerca la catena in base al nome. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eA \u003ccode\u003eChain\u003c/code\u003e represents a brand with multiple business locations, containing information like name, websites, and location count.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eChain\u003c/code\u003e data includes \u003ccode\u003eChainName\u003c/code\u003e for display purposes and \u003ccode\u003eChainUrl\u003c/code\u003e for website links.\u003c/p\u003e\n"],["\u003cp\u003eYou can programmatically access chain data using the \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003esearch\u003c/code\u003e methods provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChain\u003c/code\u003e resource uses JSON for data representation and includes fields for identifying the chain and related information.\u003c/p\u003e\n"]]],["The content describes the \"Chain\" resource, representing a brand that businesses can affiliate with. Key components include: a chain's `name`, `chainNames` (display names and language codes), `websites` (URLs), and `locationCount`. The `ChainName` provides a `displayName` and `languageCode`. `ChainUrl` contains a simple `url`. Two main methods are detailed, `get` to retrieve a specific chain, and `search` to find a chain by its 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- [ChainUrl](#ChainUrl)\n - [JSON representation](#ChainUrl.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/rest/v4/chains#ChainName) } ], \"websites\": [ { object (/my-business/reference/rest/v4/chains#ChainUrl) } ], \"locationCount\": integer } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------|\n| `name` | `string` The chain's resource name, in the format `chains/{chain_place_id}`. |\n| `chainNames[]` | `object (`[ChainName](/my-business/reference/rest/v4/chains#ChainName)`)` Names of the chain. |\n| `websites[]` | `object (`[ChainUrl](/my-business/reference/rest/v4/chains#ChainUrl)`)` 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\nChainUrl\n--------\n\nUrl to be used when displaying the chain.\n\n| JSON representation ||\n|---------------------------|---|\n| ``` { \"url\": string } ``` |\n\n| Fields ||\n|-------|----------------------------------|\n| `url` | `string` The url for this chain. |\n\n| Methods ------- ||\n|------------------------------------------------------------|-----------------------------------------|\n| ### [get](/my-business/reference/rest/v4/chains/get) | Gets the specified chain. |\n| ### [search](/my-business/reference/rest/v4/chains/search) | Searches the chain based on chain name. |"]]