new_releases 업데이트:
출시 노트에서 새로운 기능 및 제품 업데이트를 확인하세요.
이동통신사 (지역) 나열
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
RBM 에이전트를 실행할 수 있는 이동통신사 네트워크는 RBM 관리 API에서 '지역'으로 정의됩니다.
RBM 지원팀은 최신 이동통신사 목록을 유지관리하며, 이 목록은 더 많은 이동통신사가 RBM을 채택함에 따라 늘어납니다.
이 페이지의 코드 스니펫은 Java 샘플 및 Node.js 샘플에서 가져온 것입니다.
리전 나열
출시할 에이전트를 제출하려면 먼저 출시 가능한 지역 목록을 가져와야 합니다. 자세한 내용은 regions.list
를 참조하세요.
Node.js
const businessCommunicationsApiHelper =
require('@google/rbm-businesscommunications');
const privateKey =
require('../../resources/businesscommunications-service-account-credentials.json');
businessCommunicationsApiHelper.initBusinessCommunucationsApi(privateKey);
businessCommunicationsApiHelper.listRegions().then((response) => {
console.log(response.data);
}).catch((err) => {
console.log(err);
});
자바
List<RcsBusinessMessagingRegion> regions = api.listAllRbmLaunchRegions();
List<String> regionIds = regions.stream().map(RcsBusinessMessagingRegion::getName).sorted()
.collect(Collectors.toList());
logger.info("Fetched region Ids: " + regionIds);
이 코드는 에이전트를 출시용으로 제출할 수 있는 모든 이동통신사의 목록을 반환합니다.
{
regions: [
{
name: '/v1/regions/dt-germany',
displayName: 'Germany: DT',
managementType: 'CARRIER_MANAGED'
},
{
name: '/v1/regions/9mobile-nigeria',
displayName: 'Nigeria: 9 Mobile',
managementType: 'GOOGLE_MANAGED'
},
...
...
]
}
CARRIER_MANAGED
로 표시된 이동통신사는 자체 승인 절차를 운영하고 구독자에게 RBM 메시지를 전송하는 데 요금을 청구합니다. 이러한 이동통신사의 구독자에게 RBM 메시지를 전송하려면 해당 이동통신사와 직접 상업 계약을 체결해야 합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-16(UTC)
[null,null,["최종 업데이트: 2025-01-16(UTC)"],[[["\u003cp\u003e"Regions" in the RBM Management API refer to the carrier networks where an RBM agent can be launched.\u003c/p\u003e\n"],["\u003cp\u003eThe RBM Support team keeps an updated list of carriers that support RBM, which is constantly expanding.\u003c/p\u003e\n"],["\u003cp\u003eYou must retrieve a list of launchable regions using the \u003ccode\u003eregions.list\u003c/code\u003e endpoint before you can submit an agent for launch.\u003c/p\u003e\n"],["\u003cp\u003eCode samples for listing regions are available in both Java and Node.js, and these examples demonstrate how to retrieve the available carrier networks.\u003c/p\u003e\n"],["\u003cp\u003eCarriers listed as \u003ccode\u003eCARRIER_MANAGED\u003c/code\u003e have their own approval process and require a commercial agreement before delivering RBM messages to their subscribers.\u003c/p\u003e\n"]]],[],null,["# List carriers (regions)\n\nThe carrier networks where an RBM agent can be launched are defined as \"regions\"\nin the RBM Management API.\n\nThe RBM Support team maintains an up-to-date carrier list, which grows as more\ncarriers adopt RBM.\n\nCode snippets on this page are taken from the [Java samples](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/java/rbm-mgmt-api)\nand [Node.js samples](https://github.com/rcs-business-messaging/rbm-api-examples/tree/master/nodejs/rbm-mgmt-api).\n\nList regions\n------------\n\nYou need to retrieve a list of the launchable regions before you can submit\nan agent for launch. For more details, see [`regions.list`](/business-communications/rcs-business-messaging/reference/business-communications/rest/v1/regions/list). \n\n### Node.js\n\n```javascript\nconst businessCommunicationsApiHelper =\n require('@google/rbm-businesscommunications');\n\nconst privateKey =\n require('../../resources/businesscommunications-service-account-credentials.json');\n\nbusinessCommunicationsApiHelper.initBusinessCommunucationsApi(privateKey);\n\nbusinessCommunicationsApiHelper.listRegions().then((response) =\u003e {\n console.log(response.data);\n}).catch((err) =\u003e {\n console.log(err);\n}); \n```\n\n### Java\n\n```java\nList\u003cRcsBusinessMessagingRegion\u003e regions = api.listAllRbmLaunchRegions();\nList\u003cString\u003e regionIds = regions.stream().map(RcsBusinessMessagingRegion::getName).sorted()\n .collect(Collectors.toList());\nlogger.info(\"Fetched region Ids: \" + regionIds);\n```\n\nThis code returns a list of all the carriers where an agent can be\nsubmitted for launch: \n\n {\n regions: [\n {\n name: '/v1/regions/dt-germany',\n displayName: 'Germany: DT',\n managementType: 'CARRIER_MANAGED'\n },\n {\n name: '/v1/regions/9mobile-nigeria',\n displayName: 'Nigeria: 9 Mobile',\n managementType: 'GOOGLE_MANAGED'\n },\n ...\n ...\n ]\n }\n\nCarriers which are listed as `CARRIER_MANAGED` operate their own approval\nprocess and charge for delivery of RBM messages to their subscribers. You\nneed to have a commercial agreement in place directly with these carriers\nbefore you can deliver RBM messages to their subscribers."]]