Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
REST Resource: attributes
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
روش ها |
---|
| فهرستی از ویژگیهای موجود را که برای مکانی با دسته و کشور اصلی داده شده در دسترس است، برمیگرداند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]