Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
BusinessCallsSettings
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تنظیمات تماس های تجاری برای یک مکان.
نمایندگی JSON |
---|
{
"name": string,
"callsState": enum (CallsState ),
"consentTime": string
} |
فیلدها |
---|
name | string مورد نیاز. نام منبع تنظیمات تماس. قالب: مکانها/{location}/businesscallssettings |
callsState | enum ( CallsState ) مورد نیاز. وضعیت ثبتنام این مکان در تماسهای تجاری. |
consentTime | string ( Timestamp format) فقط ورودی زمانی که کاربر نهایی رضایت کاربر API را برای فعال کردن تماس های تجاری ارائه کرد. یک مهر زمانی در قالب RFC3339 UTC "Zulu"، با وضوح نانوثانیه و حداکثر نه رقم کسری. مثالها: "2014-10-02T15:01:23Z" و "2014-10-02T15:01:23.045123456Z" . |
CallsState
حالت های احتمالی یک مکان در تماس های تجاری. حالت ها را می توان فقط به فعال یا غیرفعال به روز کرد. هر چیز دیگری خطای PRECONDITION_FAILED را برمیگرداند.
Enums |
---|
CALLS_STATE_UNSPECIFIED | نامشخص |
ENABLED | تماس های تجاری برای مکان فعال است. |
DISABLED | تماسهای تجاری برای مکان غیرفعال است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eBusiness calls settings allow managing call handling for a specific location.\u003c/p\u003e\n"],["\u003cp\u003eSettings include the location's call state (enabled/disabled) and the time of user consent for business calls.\u003c/p\u003e\n"],["\u003cp\u003eCall states can only be updated to "enabled" or "disabled" to avoid errors.\u003c/p\u003e\n"],["\u003cp\u003eJSON representation provides a structured format for accessing and modifying call settings data.\u003c/p\u003e\n"]]],[],null,["# BusinessCallsSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [CallsState](#CallsState)\n\nBusiness calls settings for a location.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"callsState\": enum (/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings#CallsState), \"consentTime\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings |\n| `callsState` | `enum (`[CallsState](/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings#CallsState)`)` Required. The state of this location's enrollment in Business calls. |\n| `consentTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Input only. Time when the end user provided consent to the API user to enable business calls. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\nCallsState\n----------\n\nThe possible states of a location in business calls. The states can be updated to only ENABLED or DISABLED. Anything else will return PRECONDITION_FAILED error.\n\n| Enums ||\n|---------------------------|----------------------------------------------|\n| `CALLS_STATE_UNSPECIFIED` | Unspecified. |\n| `ENABLED` | Business calls is enabled for the location. |\n| `DISABLED` | Business calls is disabled for the location. |"]]