البدء
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
للوصول إلى واجهة برمجة تطبيقات عمليات RBM، أكمِل الخطوات التالية:
إنشاء مشروع على Google Cloud
أنشِئ مشروعًا على Google Cloud للوصول إلى واجهة برمجة التطبيقات من خلال Google Cloud Console. واجهة برمجة التطبيقات
مجانية الاستخدام.
إنشاء حساب خدمة
أنشئ حساب خدمة في مشروعك على Google Cloud:
أنشئ حساب خدمة
في Google Cloud Console وقدِّم ما يلي:
- اسم حساب الخدمة، مثل: RBM Ops API Access
- رقم تعريف حساب الخدمة، مثل: rbmopsapi-service-account
انقر على إنشاء ومتابعة.
انقر على تمّ.
طلب الوصول إلى واجهة برمجة التطبيقات
زوِّد جهة الاتصال الفنية في Google بالمعلومات التالية
لتتمكّن Google من إعداد الوصول إلى واجهة برمجة التطبيقات لك:
- رقم تعريف المشروع على Google Cloud الذي أنشأته لهذا النشاط
- مشغِّل شبكة الجوّال الذي تمثّله أو تعمل على تطويره بالنيابة عن
طلب الوصول إلى واجهة برمجة التطبيقات
ستزودك جهة الاتصال الفنية في Google بحساب @google.com
عليك إضافته إلى مشروعك حتى تتمكّن Google من إعداد المشروع
من خلال الوصول الصحيح إلى واجهة برمجة التطبيقات. أضِف الحساب باتّباع الخطوات التالية:
- افتح صفحة مشرف إدارة الهوية وإمكانية الوصول (IAM) في Google Cloud Console.
- تأكَّد من اختيار المشروع الصحيح على Google Cloud.
- انقر على منح إذن الوصول.
- أدخِل عنوان البريد الإلكتروني باعتباره المدير الجديد.
- اضبط دور على مشرف استخدام الخدمة.
- انقر على حفظ.
بعد إكمال هذه الخطوات، يُرجى إبلاغ جهة الاتصال الفنية في Google لكي يتمكنوا من إكمال إعداد الوصول إلى واجهة برمجة التطبيقات.
استخدام نموذج التعليمات البرمجية
اقرأ أمثلة JavaScript
وCurl
لفهم كيفية استخدام واجهة برمجة تطبيقات عمليات RBM بشكل أفضل.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-04-08 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-04-08 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eA Google Cloud project is required to access the free RBM Operations API, which is accessed through the Google Cloud Console.\u003c/p\u003e\n"],["\u003cp\u003eYou must create a service account within your Google Cloud project, providing a name and ID for that account.\u003c/p\u003e\n"],["\u003cp\u003eTo request API access, you need to provide your Google technical contact with your Google Cloud project ID and the carrier you represent.\u003c/p\u003e\n"],["\u003cp\u003eA Google-provided @google.com account must be added to your project with "Service Usage Admin" role to complete the API access configuration.\u003c/p\u003e\n"],["\u003cp\u003eSample Javascript and Curl code examples are provided to help understand how to use the RBM Operations API.\u003c/p\u003e\n"]]],[],null,["# Get started\n\nTo gain access to the RBM Operations API, complete the following\nsteps:\n\nCreate a Google Cloud project\n-----------------------------\n\nCreate a Google Cloud project to access the API through the\n[Google Cloud Console](https://console.cloud.google.com/). The API\nis free to use.\n\nCreate a service account\n------------------------\n\nCreate a service account in your Google Cloud project:\n\n1. [Create a service account](https://console.cloud.google.com/iam-admin/serviceaccounts/create)\n in the Google Cloud Console and provide:\n\n - Service account name - example: **RBM Ops API Access**\n - Service account ID - example: **rbmopsapi-service-account**\n2. Click **CREATE AND CONTINUE**.\n\n3. Click **DONE**.\n\nRequest API access\n------------------\n\nProvide your Google technical contact with the following\ninformation so Google can configure API access for you:\n\n- The project ID of the Google Cloud project you have created for this activity\n- The carrier that you represent or are developing on behalf of\n\nRequest API access\n------------------\n\nYour Google technical contact will provide you with an **@google.com** account\nthat you must add to your project so that Google can configure the project\nwith the correct API access. Add the account using the following steps:\n\n1. Open the Google Cloud Console [IAM Admin](https://console.cloud.google.com/iam-admin/) page.\n2. Ensure the correct Google Cloud project is selected.\n3. Click **GRANT ACCESS**.\n4. Enter the email address as the **New principal**.\n5. Set **role** to **Service Usage Admin**.\n6. Click **SAVE**.\n\nOnce these steps are complete, inform your Google technical contact so they\ncan complete API access configuration.\n\nWork through our sample code\n----------------------------\n\nRead our [Javascript](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/nodejs/rbm-ops-api)\nand [Curl](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/curl/rbm-ops-api)\nexamples to better understand how to use the RBM Operations API."]]