My Business Verifications API . locations . verifications

Instance Methods

close()

Close httplib2 connections.

complete(name, body=None, x__xgafv=None)

Completes a `PENDING` verification. It is only necessary for non `AUTO` verification methods. `AUTO` verification request is instantly `VERIFIED` upon creation.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

List verifications of a location, ordered by create time.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
complete(name, body=None, x__xgafv=None)
Completes a `PENDING` verification. It is only necessary for non `AUTO` verification methods. `AUTO` verification request is instantly `VERIFIED` upon creation.

Args:
  name: string, Required. Resource name of the verification to complete. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for Verifications.CompleteVerificationAction.
  "pin": "A String", # Required. PIN code received by the merchant to complete the verification.
}

  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.CompleteVerificationAction.
  "verification": { # A verification represents a verification attempt on a location. # The completed verification.
    "announcement": "A String", # Optional. Response announcement set only if the method is VETTED_PARTNER.
    "createTime": "A String", # The timestamp when the verification is requested.
    "method": "A String", # The method of the verification.
    "name": "A String", # Resource name of the verification.
    "state": "A String", # The state of the verification.
  },
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List verifications of a location, ordered by create time.

Args:
  parent: string, Required. Resource name of the location that verification requests belong to. (required)
  pageSize: integer, How many verification to include per page. Minimum is 1, and the default and maximum page size is 100.
  pageToken: string, If specified, returns the next page of verifications.
  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.ListVerifications.
  "nextPageToken": "A String", # If the number of verifications exceeded the requested page size, this field will be populated with a token to fetch the next page of verification on a subsequent call. If there are no more attributes, this field will not be present in the response.
  "verifications": [ # List of the verifications.
    { # A verification represents a verification attempt on a location.
      "announcement": "A String", # Optional. Response announcement set only if the method is VETTED_PARTNER.
      "createTime": "A String", # The timestamp when the verification is requested.
      "method": "A String", # The method of the verification.
      "name": "A String", # Resource name of the verification.
      "state": "A String", # The state of the verification.
    },
  ],
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.