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」形式のタイムスタンプ。精度はナノ秒まで、小数点以下は最大 9 桁。例: "2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 。
|
CallsState
ビジネス通話におけるビジネスの州です。状態は ENABLED または DISABLED にのみ更新できます。それ以外の場合、PRECONDITION_FAILED エラーが返されます。
列挙型 |
CALLS_STATE_UNSPECIFIED |
(指定なし) |
ENABLED |
ビジネス拠点でビジネス通話が有効になっている。 |
DISABLED |
このビジネスではビジネス通話が無効になっています。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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. |"]]