Update your Google Business Profile API integration before critical endpoints are disabled. Review the deprecation schedule and instructions to avoid disruptions starting in April 2022.
The Business Profile Performance API is now launched! Migration work is required.

BusinessCallsSettings

Business calls settings for a location.

JSON representation
{
  "name": string,
  "callsState": enum (CallsState),
  "consentTime": string
}
Fields
name

string

Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings

callsState

enum (CallsState)

Required. The state of this location's enrollment in Business calls.

consentTime

string (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.