My Business Business Calls API . locations

Instance Methods

businesscallsinsights()

Returns the businesscallsinsights Resource.

close()

Close httplib2 connections.

getBusinesscallssettings(name, x__xgafv=None)

Returns the Business calls settings resource for the given location.

updateBusinesscallssettings(name, body=None, updateMask=None, x__xgafv=None)

Updates the Business call settings for the specified location.

Method Details

close()
Close httplib2 connections.
getBusinesscallssettings(name, x__xgafv=None)
Returns the Business calls settings resource for the given location.

Args:
  name: string, Required. The BusinessCallsSettings to get. The `name` field is used to identify the business call settings to get. Format: locations/{location_id}/businesscallssettings. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Business calls settings for a location.
  "callsState": "A String", # Required. The state of this location's enrollment in Business calls.
  "consentTime": "A String", # Input only. Time when the end user provided consent to the API user to enable business calls.
  "name": "A String", # Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings
}
updateBusinesscallssettings(name, body=None, updateMask=None, x__xgafv=None)
Updates the Business call settings for the specified location.

Args:
  name: string, Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings (required)
  body: object, The request body.
    The object takes the form of:

{ # Business calls settings for a location.
  "callsState": "A String", # Required. The state of this location's enrollment in Business calls.
  "consentTime": "A String", # Input only. Time when the end user provided consent to the API user to enable business calls.
  "name": "A String", # Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings
}

  updateMask: string, Required. The list of fields to update.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Business calls settings for a location.
  "callsState": "A String", # Required. The state of this location's enrollment in Business calls.
  "consentTime": "A String", # Input only. Time when the end user provided consent to the API user to enable business calls.
  "name": "A String", # Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings
}