BusinessCallsSettings
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרות לשיחות עסקיות במיקום מסוים.
ייצוג JSON |
{
"name": string,
"callsState": enum (CallsState ),
"consentTime": string
} |
שדות |
name |
string
חובה. שם המשאב בהגדרות של הקריאות. פורמט: locations/{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.
טיפוסים בני מנייה (enum) |
CALLS_STATE_UNSPECIFIED |
לא צוין. |
ENABLED |
התכונה 'שיחות עסקיות' מופעלת במיקום הזה. |
DISABLED |
שיחות עסקיות מושבתות במיקום הזה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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. |"]]