AI-generated Key Takeaways
-
This document details how to update a specific question using the
PATCHHTTP request method and provides the necessary request structure. -
The request requires path parameters to specify the question's location and a request body containing the updated question data in the
Questionformat. -
A successful update will return the updated question data in the response body, also in the
Questionformat. -
Authorization is required using specific OAuth scopes for managing business data.
Updates a specific question written by the current user.
HTTP request
PATCH https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/questions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
The name of the question to update. |
Request body
The request body contains an instance of Question.
Response body
If successful, the response body contains an instance of Question.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/plus.business.managehttps://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.