My Business Verifications API . verificationTokens

Instance Methods

close()

Close httplib2 connections.

generate(body=None, x__xgafv=None)

Generate a token for the provided location data to verify the location.

Method Details

close()
Close httplib2 connections.
generate(body=None, x__xgafv=None)
Generate a token for the provided location data to verify the location.

Args:
  body: object, The request body.
    The object takes the form of:

{ # Request message for Verifications.GenerateInstantVerificationToken.
  "locationId": "A String", # The location identifier associated with an unverified listing. This is the location id generated at the time that the listing was originally created. It is the final portion of a location resource name as generated by the Google My Business API. Note: the caller must be an owner or manager of this listing in order to generate a verification token. See the [location resource](/my-business/reference/rest/v4/accounts.locations) documentation for more information.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for Verifications.GenerateInstantVerificationToken.
  "instantVerificationToken": "A String", # The generated instant verification token.
  "result": "A String", # Output only. The result of the instant verification token generation.
}