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: attributes
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Metodi |
|
Restituisce l'elenco degli attributi disponibili che sarebbero disponibili per una località con il paese e la categoria principali specificati. |
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\u003e\u003cstrong\u003eAttributeMetadata\u003c/strong\u003e provides display information for attributes, such as localized names and grouping headings, including details like value type, whether it's repeatable, and supported values.\u003c/p\u003e\n"],["\u003cp\u003e\u003cstrong\u003eAttributeValueMetadata\u003c/strong\u003e offers metadata for supported attribute values, including the value itself and its localized display name, meant to be used in conjunction with the attribute display name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eattributes\u003c/code\u003e resource allows you to list available attributes based on a location's primary category and country using the \u003ccode\u003elist\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# REST Resource: attributes\n\n- [Resource: AttributeMetadata](#AttributeMetadata)\n - [JSON representation](#AttributeMetadata.SCHEMA_REPRESENTATION)\n- [AttributeValueMetadata](#AttributeValueMetadata)\n - [JSON representation](#AttributeValueMetadata.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AttributeMetadata\n---------------------------\n\nMetadata for an attribute. Contains display information for the attribute, including a localized name and a heading for grouping related attributes together.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"attributeId\": string, \"valueType\": enum (/my-business/reference/rest/v4/AttributeValueType), \"displayName\": string, \"groupDisplayName\": string, \"isRepeatable\": boolean, \"valueMetadata\": [ { object (/my-business/reference/rest/v4/attributes#AttributeValueMetadata) } ], \"isDeprecated\": boolean } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `attributeId` | `string` The ID of the attribute. |\n| `valueType` | `enum (`[AttributeValueType](/my-business/reference/rest/v4/AttributeValueType)`)` The value type for the attribute. Values set and retrieved should be expected to be of this type. |\n| `displayName` | `string` The localized display name for the attribute, if available; otherwise, the English display name. |\n| `groupDisplayName` | `string` The localized display name of the group that contains this attribute, if available; otherwise, the English group name. Related attributes are collected into a group and should be displayed together under the heading given here. |\n| `isRepeatable` | `boolean` If true, the attribute supports multiple values. If false, only a single value should be provided. |\n| `valueMetadata[]` | `object (`[AttributeValueMetadata](/my-business/reference/rest/v4/attributes#AttributeValueMetadata)`)` For some types of attributes (for example, enums), a list of supported values and corresponding display names for those values is provided. |\n| `isDeprecated` | `boolean` If true, the attribute is deprecated and should no longer be used. If deprecated, updating this attribute will not result in an error, but updates will not be saved. At some point after being deprecated, the attribute will be removed entirely and it will become an error. |\n\nAttributeValueMetadata\n----------------------\n\nMetadata for supported attribute values.\n\n| JSON representation ||\n|---------------------------------------------------|---|\n| ``` { \"value\": value, \"displayName\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `value` | `value (`[Value](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value)` format)` The attribute value. |\n| `displayName` | `string` The display name for this value, localized where available; otherwise, in English. The value display name is intended to be used in context with the attribute display name. For example, for a \"WiFi\" enum attribute, this could contain \"Paid\" to represent paid Wi-Fi. |\n\n| Methods ------- ||\n|------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| ### [list](/my-business/reference/rest/v4/attributes/list) | Returns the list of available attributes that would be available for a location with the given primary category and country. |"]]