始める
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
RBM Operations API にアクセスする手順は次のとおりです。
Google Cloud プロジェクトを作成する
Google Cloud コンソールから API にアクセスするための Google Cloud プロジェクトを作成します。この API は無料で使用できます。
サービス アカウントを作成する
Google Cloud プロジェクトでサービス アカウントを作成します。
Google Cloud コンソールでサービス アカウントを作成し、次の情報を入力します。
- サービス アカウント名 - 例: RBM Ops API アクセス
- サービス アカウント ID - 例: rbmopsapi-service-account
[作成して続行] をクリックします。
[完了] をクリックします。
API アクセスのリクエスト
Google が API アクセスを構成できるように、Google の技術担当者に次の情報を提供します。
- このアクティビティ用に作成した Google Cloud プロジェクトのプロジェクト ID
- お客様が代理を務める、または代理で開発を行っている運送業者
API アクセスのリクエスト
Google の技術担当者が @google.com アカウントを提供します。このアカウントをプロジェクトに追加して、Google が正しい API アクセス権を持つようにプロジェクトを設定できるようにします。次の手順でアカウントを追加します。
- Google Cloud コンソールの IAM 管理ページを開きます。
- 正しい Google Cloud プロジェクトが選択されていることを確認します。
- [アクセスを許可] をクリックします。
- [新しいプリンシパル] としてメールアドレスを入力します。
- [ロール] を [Service Usage 管理者] に設定します。
- [保存] をクリックします。
これらの手順を完了したら、Google の技術担当者に API アクセスの構成を完了してもらいます。
サンプルコードを使用する
RBM Operations API の使用方法を理解するには、JavaScript と Curl の例をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-04-08 UTC。
[null,null,["最終更新日 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."]]