Google বিজনেস পারফরম্যান্স API-এর একটি
নতুন API পদ্ধতি রয়েছে যা একটি একক API অনুরোধে একাধিক `DailyMetrics` আনার অনুমতি দেয়। v4 reportInsights API পদ্ধতি থেকে Google Business Profile Performance API-এ স্থানান্তরিত করার জন্য
অবচয়ের সময়সূচী এবং নির্দেশাবলী পর্যালোচনা করুন।
Method: accounts.locations.updateServiceList
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি অবস্থানের নির্দিষ্ট পরিষেবা তালিকা আপডেট করে।
HTTP অনুরোধ
PATCH https://mybusiness.googleapis.com/v4/{serviceList.name=accounts/*/locations/*/serviceList}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
serviceList.name | string প্রয়োজন। ফর্মে এই অবস্থানের জন্য Google শনাক্তকারী: accounts/{accountId}/locations/{locationId}/serviceList |
ক্যোয়ারী প্যারামিটার
পরামিতি |
---|
updateMask | string ( FieldMask format) ঐচ্ছিক। আপডেট করার জন্য নির্দিষ্ট ক্ষেত্র। যদি কোনো মাস্ক নির্দিষ্ট করা না থাকে, তাহলে এটিকে সম্পূর্ণ আপডেট হিসেবে গণ্য করা হয় এবং সমস্ত ক্ষেত্র পাস করা মানগুলিতে সেট করা হয়, যাতে অনুরোধে খালি ক্ষেত্রগুলি আনসেট করা অন্তর্ভুক্ত থাকতে পারে। বারবার ক্ষেত্র আইটেম পৃথকভাবে আপডেট করা যাবে না. এটি ক্ষেত্রগুলির সম্পূর্ণরূপে যোগ্য নামের একটি কমা দ্বারা পৃথক করা তালিকা৷ উদাহরণ: "user.displayName,photo" । |
শরীরের অনুরোধ
অনুরোধের অংশে ServiceList
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে ServiceList
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/plus.business.manage
-
https://www.googleapis.com/auth/business.manage
আরও তথ্যের জন্য, OAuth 2.0 ওভারভিউ দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis document outlines how to update a location's service list using the \u003ccode\u003ePATCH\u003c/code\u003e method and provides details about the request structure.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the service list name in the path and allows for partial updates through the \u003ccode\u003eupdateMask\u003c/code\u003e query parameter.\u003c/p\u003e\n"],["\u003cp\u003eBoth request and response bodies utilize the \u003ccode\u003eServiceList\u003c/code\u003e object, detailed further in external documentation.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary and can be achieved using either \u003ccode\u003ehttps://www.googleapis.com/auth/plus.business.manage\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.locations.updateServiceList\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nUpdates the specified service list of a location.\n\n### HTTP request\n\n`PATCH https://mybusiness.googleapis.com/v4/{serviceList.name=accounts/*/locations/*/serviceList}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `serviceList.name` | `string` Required. Google identifier for this location in the form: `accounts/{accountId}/locations/{locationId}/serviceList` |\n\n### Query parameters\n\n| Parameters ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Optional. The specific fields to update. If no mask is specified, then this is treated as a full update and all fields are set to the values passed in, which may include unsetting empty fields in the request. Repeated field items can not be individually updated. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [ServiceList](/my-business/reference/rest/v4/ServiceList).\n\n### Response body\n\nIf successful, the response body contains an instance of [ServiceList](/my-business/reference/rest/v4/ServiceList).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/plus.business.manage`\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]