Memulai
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Untuk mendapatkan akses ke RBM Operations API, selesaikan langkah-langkah
berikut:
Membuat project Google Cloud
Buat project Google Cloud untuk mengakses API melalui Google Cloud Console. API ini
gratis digunakan.
Membuat akun layanan
Buat akun layanan di project Google Cloud Anda:
Buat akun layanan di Konsol Google Cloud dan berikan:
- Nama akun layanan - contoh: RBM Ops API Access
- ID akun layanan - contoh: rbmopsapi-service-account
Klik CREATE AND CONTINUE.
Klik SELESAI.
Meminta akses API
Berikan informasi berikut kepada kontak teknis Google Anda agar Google dapat mengonfigurasi akses API untuk Anda:
- Project ID dari project Google Cloud yang Anda buat untuk aktivitas ini
- Operator yang Anda wakili atau dikembangkan atas nama
Meminta akses API
Kontak teknis Google akan memberi Anda akun @google.com
yang harus ditambahkan ke project agar Google dapat mengonfigurasi project
dengan akses API yang benar. Tambahkan akun menggunakan langkah-langkah berikut:
- Buka halaman IAM Admin
Konsol Google Cloud.
- Pastikan project Google Cloud yang benar dipilih.
- Klik BERIKAN AKSES.
- Masukkan alamat email sebagai Akun utama baru.
- Tetapkan role ke Service Usage Admin.
- Klik SIMPAN.
Setelah langkah-langkah ini selesai, beri tahu kontak teknis Google Anda agar mereka
dapat menyelesaikan konfigurasi akses API.
Memahami kode contoh kami
Baca contoh JavaScript
dan Curl
kami untuk lebih memahami cara menggunakan RBM Operations API.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-04-08 UTC.
[null,null,["Terakhir diperbarui pada 2024-04-08 UTC."],[[["\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."]]