Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
BusinessCallsSettings
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
İşletme, bir konumla ilgili ayarları arar.
JSON gösterimi |
{
"name": string,
"callsState": enum (CallsState ),
"consentTime": string
} |
Alanlar |
name |
string
Zorunlu. Çağrı ayarlarının kaynak adı. Biçim: konumlar/{location}/businesscallssettings
|
callsState |
enum (CallsState )
Zorunlu. Bu konumun iş görüşmelerine kaydının durumu.
|
consentTime |
string (Timestamp format)
Yalnızca giriş. Son kullanıcının, iş çağrılarını etkinleştirmesi için API kullanıcısına izin verdiği zaman. RFC3339 UTC "Zulu" zaman damgası biçiminde olmalıdır. Örnekler: "2014-10-02T15:01:23Z" ve "2014-10-02T15:01:23.045123456Z" .
|
CallsState
İş görüşmelerinde bir konumun olası durumları. Durumlar yalnızca ETKİN veya DEVRE DIŞI olarak güncellenebilir. Diğer tüm komutlar PRETERMS_FAILED hatasını döndürür.
Sıralamalar |
CALLS_STATE_UNSPECIFIED |
Belirtilmedi. |
ENABLED |
İşletme aramaları konum için etkinleştirildi. |
DISABLED |
İş aramaları bu konum için devre dışı bırakıldı. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\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. |"]]