# BusinessCallsSettings

- [JSON representation](https://developers.google.com/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings#SCHEMA_REPRESENTATION)
- [CallsState](https://developers.google.com/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings#CallsState)

Business calls settings for a location.

| JSON representation |
|---|
| ``` { "name": string, "callsState": enum (`https://developers.google.com/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings#CallsState`), "consentTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings |
| `callsState` | ``enum (`https://developers.google.com/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings#CallsState`)`` Required. The state of this location's enrollment in Business calls. |
| `consentTime` | ``string (`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"`. |

## CallsState

The 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.

| Enums ||
|---|---|
| `CALLS_STATE_UNSPECIFIED` | Unspecified. |
| `ENABLED` | Business calls is enabled for the location. |
| `DISABLED` | Business calls is disabled for the location. |