تتضمّن واجهة برمجة التطبيقات
لأداء الأعمال في Google طريقة واجهة برمجة تطبيقات
جديدة تتيح جلب عدة "مقاييس يومية" في طلب واحد لواجهة برمجة التطبيقات.
يُرجى مراجعة
الجدول الزمني للإيقاف وتعليمات نقل البيانات من طريقة v4 reportInsights API إلى واجهة برمجة التطبيقات الخاصة بأداء "الملف التجاري على Google".
Method: locations.updateBusinesscallssettings
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
لتعديل إعدادات مكالمة النشاط التجاري للموقع الجغرافي المحدّد
طلب HTTP
PATCH https://mybusinessbusinesscalls.googleapis.com/v1/{businessCallsSettings.name=locations/*/businesscallssettings}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المَعلمات |
businessCallsSettings.name |
string
مطلوبة. اسم المورد لإعدادات المكالمات. التنسيق: المواقع/{location}/businesscallssettings
|
معلمات طلب البحث
المَعلمات |
updateMask |
string (FieldMask format)
مطلوبة. قائمة الحقول المطلوب تعديلها. هذه قائمة مفصولة بفواصل تضم أسماء الحقول المؤهلة بالكامل. مثال: "user.displayName,photo"
|
نص الطلب
يحتوي نص الطلب على مثال BusinessCallsSettings
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال BusinessCallsSettings
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/business.manage
لمزيد من المعلومات، راجِع نظرة عامة على بروتوكول OAuth 2.0.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eUpdates the Business call settings for a specified location using a PATCH request.\u003c/p\u003e\n"],["\u003cp\u003eRequires a \u003ccode\u003ebusinessCallsSettings.name\u003c/code\u003e path parameter to identify the settings and an \u003ccode\u003eupdateMask\u003c/code\u003e query parameter specifying the fields to update.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eBusinessCallsSettings\u003c/code\u003e object with the desired updates.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns the updated \u003ccode\u003eBusinessCallsSettings\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This describes how to update Business call settings for a specific location using a PATCH request to the provided URL. The location is identified via the `businessCallsSettings.name` path parameter. The `updateMask` query parameter is required, specifying which fields to modify. The request and response bodies are instances of `BusinessCallsSettings`. Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope. The url uses gRPC Transcoding syntax.\n"],null,["# Method: locations.updateBusinesscallssettings\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 Business call settings for the specified location.\n\n### HTTP request\n\n`PATCH https://mybusinessbusinesscalls.googleapis.com/v1/{businessCallsSettings.name=locations/*/businesscallssettings}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------------|----------------------------------------------------------------------------------------------------------------|\n| `businessCallsSettings.name` | `string` Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings |\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)` Required. The list of fields to update. 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 [BusinessCallsSettings](/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings).\n\n### Response body\n\nIf successful, the response body contains an instance of [BusinessCallsSettings](/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\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)."]]