new_releases Güncellemeler: Yeni özellikler ve ürün güncellemeleri için
sürüm notlarına bakın.
Operatörleri listeleyin (bölgeler)
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
RBM aracısının başlatılabileceği operatör ağları, RBM Management API'de "bölgeler" olarak tanımlanır.
RBM Destek Ekibi, daha fazla operatör RBM'yi benimsedikçe büyüyen güncel bir operatör listesi tutar.
Bu sayfadaki kod snippet'leri Java örneklerinden ve Node.js örneklerinden alınmıştır.
Bölgeleri listeleme
Temsilciyi kullanıma sunmak için göndermeden önce kullanıma sunulacak bölgelerin listesini almanız gerekir. Daha fazla bilgi için regions.list
başlıklı makaleyi inceleyin.
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);
});
Java
List<RcsBusinessMessagingRegion> regions = api.listAllRbmLaunchRegions();
List<String> regionIds = regions.stream().map(RcsBusinessMessagingRegion::getName).sorted()
.collect(Collectors.toList());
logger.info("Fetched region Ids: " + regionIds);
Bu kod, bir temsilcinin lansman için gönderilebileceği tüm operatörlerin listesini döndürür:
{
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
olarak listelenen operatörler kendi onay süreçlerini yürütür ve abonelerine RBM mesajlarının teslimi için ücret alır. Abonelerine RBM mesajları yayınlayabilmeniz için doğrudan bu operatörlerle ticari bir sözleşmeniz olmalıdır.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-16 UTC.
[null,null,["Son güncelleme tarihi: 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."]]