Google Business Profile एपीआई में
एपीआई का नया तरीका है. इसकी मदद से, एक ही एपीआई अनुरोध में कई `डेली मेट्रिक` फ़ेच की जा सकती हैं.
सेवा बंद होने का शेड्यूल देखें. साथ ही, v4 reportInsights API वाले तरीके से Google Business Profile की परफ़ॉर्मेंस एपीआई में माइग्रेट करने के बारे में निर्देश देखें.
REST Resource: accounts.locations.questions
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: सवाल
यह एक सवाल और उसके कुछ जवाबों के बारे में बताता है.
JSON के काेड में दिखाना |
{
"name": string,
"author": {
object (Author )
},
"upvoteCount": integer,
"text": string,
"createTime": string,
"updateTime": string,
"topAnswers": [
{
object (Answer )
}
],
"totalAnswerCount": integer
} |
फ़ील्ड |
name |
string
सिर्फ़ आउटपुट के लिए. सवाल का यूनीक नाम. accounts/*/locations/*/questions/*
|
author |
object (Author )
सिर्फ़ आउटपुट के लिए. सवाल लिखने वाला व्यक्ति.
|
upvoteCount |
integer
सिर्फ़ आउटपुट के लिए. सवाल को कितनी बार पसंद किया गया.
|
text |
string
सवाल का टेक्स्ट. इसमें कम से कम तीन शब्द होने चाहिए और कुल लंबाई 10 वर्णों से ज़्यादा या उसके बराबर होनी चाहिए. ज़्यादा से ज़्यादा 4,096 वर्ण इस्तेमाल किए जा सकते हैं.
|
createTime |
string (Timestamp format)
सिर्फ़ आउटपुट के लिए. सवाल लिखे जाने के समय का टाइमस्टैंप. आरएफ़सी3339 यूटीसी "ज़ुलु" में टाइमस्टैंप फ़ॉर्मैट, नैनोसेकंड रिज़ॉल्यूशन और ज़्यादा से ज़्यादा नौ फ़्रैक्शनल अंकों के साथ हो सकता है. उदाहरण: "2014-10-02T15:01:23Z" और "2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
सिर्फ़ आउटपुट के लिए. सवाल में पिछली बार कब बदलाव किया गया, इसका टाइमस्टैंप. आरएफ़सी3339 यूटीसी "ज़ुलु" में टाइमस्टैंप फ़ॉर्मैट, नैनोसेकंड रिज़ॉल्यूशन और ज़्यादा से ज़्यादा नौ फ़्रैक्शनल अंकों के साथ हो सकता है. उदाहरण: "2014-10-02T15:01:23Z" और "2014-10-02T15:01:23.045123456Z" .
|
topAnswers[] |
object (Answer )
सिर्फ़ आउटपुट के लिए. सवाल के जवाबों की सूची, जिसे पसंद किए जाने की संख्या के हिसाब से क्रम में लगाया जाता है. यह अनुरोध पैरामीटर (answersPerQuestion) के आधार पर शायद जवाबों की पूरी सूची न हो
|
totalAnswerCount |
integer
सिर्फ़ आउटपुट के लिए. इस सवाल के लिए पोस्ट किए गए जवाबों की कुल संख्या.
|
तरीके |
|
बताई गई जगह के लिए सवाल जोड़ता है. |
|
मौजूदा उपयोगकर्ता के लिखे गए किसी सवाल को मिटा देता है. |
|
यह फ़ंक्शन किसी खास जगह के लिए, सवालों की पेजों वाली सूची और उसके कुछ जवाबों को दिखाता है. |
|
मौजूदा उपयोगकर्ता की ओर से लिखे गए किसी खास सवाल को अपडेट करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Question resource represents a single question asked about a specific location, including details like the author, text, upvotes, and answers.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields for tracking creation and update times, along with the total number of answers received.\u003c/p\u003e\n"],["\u003cp\u003eQuestions can be created, deleted, listed, and updated through dedicated methods provided in the API.\u003c/p\u003e\n"],["\u003cp\u003eAnswers to questions are sorted by upvotes and a limited number are returned based on request parameters.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.locations.questions\n\n- [Resource: Question](#Question)\n - [JSON representation](#Question.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Question\n------------------\n\nRepresents a single question and some of its answers.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"author\": { object (/my-business/reference/rest/v4/Author) }, \"upvoteCount\": integer, \"text\": string, \"createTime\": string, \"updateTime\": string, \"topAnswers\": [ { object (/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer) } ], \"totalAnswerCount\": integer } ``` |\n\n| Fields ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The unique name for the question. accounts/\\*/locations/\\*/questions/\\* |\n| `author` | `object (`[Author](/my-business/reference/rest/v4/Author)`)` Output only. The author of the question. |\n| `upvoteCount` | `integer` Output only. The number of upvotes for the question. |\n| `text` | `string` The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. The timestamp for when the question was written. 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\"`. |\n| `updateTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. The timestamp for when the question was last modified. 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\"`. |\n| `topAnswers[]` | `object (`[Answer](/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer)`)` Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answersPerQuestion) |\n| `totalAnswerCount` | `integer` Output only. The total number of answers posted for this question. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| ### [create](/my-business/reference/rest/v4/accounts.locations.questions/create) | Adds a question for the specified location. |\n| ### [delete](/my-business/reference/rest/v4/accounts.locations.questions/delete) | Deletes a specific question written by the current user. |\n| ### [list](/my-business/reference/rest/v4/accounts.locations.questions/list) | Returns the paginated list of questions and some of its answers for a specified location. |\n| ### [patch](/my-business/reference/rest/v4/accounts.locations.questions/patch) | Updates a specific question written by the current user. |"]]