Class RCSBusinessMessaging.Phones
- java.lang.Object
-
- com.google.api.services.rcsbusinessmessaging.v1.RCSBusinessMessaging.Phones
-
- Enclosing class:
- RCSBusinessMessaging
public class RCSBusinessMessaging.Phones extends java.lang.ObjectThe "phones" collection of methods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRCSBusinessMessaging.Phones.AgentEventsThe "agentEvents" collection of methods.classRCSBusinessMessaging.Phones.AgentMessagesThe "agentMessages" collection of methods.classRCSBusinessMessaging.Phones.CapabilityThe "capability" collection of methods.classRCSBusinessMessaging.Phones.DialogflowMessagesThe "dialogflowMessages" collection of methods.classRCSBusinessMessaging.Phones.GetCapabilitiesclassRCSBusinessMessaging.Phones.TestersThe "testers" collection of methods.
-
Constructor Summary
Constructors Constructor Description Phones()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RCSBusinessMessaging.Phones.AgentEventsagentEvents()An accessor for creating requests from the AgentEvents collection.RCSBusinessMessaging.Phones.AgentMessagesagentMessages()An accessor for creating requests from the AgentMessages collection.RCSBusinessMessaging.Phones.Capabilitycapability()An accessor for creating requests from the Capability collection.RCSBusinessMessaging.Phones.DialogflowMessagesdialogflowMessages()An accessor for creating requests from the DialogflowMessages collection.RCSBusinessMessaging.Phones.GetCapabilitiesgetCapabilities(java.lang.String name)Get the RBM-related capabilities of a user.RCSBusinessMessaging.Phones.Testerstesters()An accessor for creating requests from the Testers collection.
-
-
-
Method Detail
-
getCapabilities
public RCSBusinessMessaging.Phones.GetCapabilities getCapabilities(java.lang.String name) throws java.io.IOException
Get the RBM-related capabilities of a user. The returned payload specifies whether a user can be reached with RBM and, if so, which RBM features the user supports. If the user can't be reached with RBM, the RBM platform returns `404 NOT_FOUND`. An agent that isn't launched can only request capabilities for users who are testers of that agent. If an unlaunched agent requests the capabilities of a non-tester, the RBM platform returns `403 PERMISSION_DENIED`. Create a request for the method "phones.getCapabilities". This request holds the parameters needed by the rcsbusinessmessaging server. After setting any optional parameters, call theAbstractGoogleClientRequest.execute()method to invoke the remote operation.- Parameters:
name- This field resolves to "phones/{E.164}/capabilities", where {E.164} is the user's phone number in E.164 format. For example, for a user with the US phone number +1-222-333-4444, the resulting endpoint is https://rcsbusinessmessaging.googleapis.com/v1/phones/+12223334444/capabilities.- Returns:
- the request
- Throws:
java.io.IOException
-
agentEvents
public RCSBusinessMessaging.Phones.AgentEvents agentEvents()
An accessor for creating requests from the AgentEvents collection.The typical use is:
RCSBusinessMessaging rcsbusinessmessaging = new RCSBusinessMessaging(...);RCSBusinessMessaging.AgentEvents.List request = rcsbusinessmessaging.agentEvents().list(parameters ...)- Returns:
- the resource collection
-
agentMessages
public RCSBusinessMessaging.Phones.AgentMessages agentMessages()
An accessor for creating requests from the AgentMessages collection.The typical use is:
RCSBusinessMessaging rcsbusinessmessaging = new RCSBusinessMessaging(...);RCSBusinessMessaging.AgentMessages.List request = rcsbusinessmessaging.agentMessages().list(parameters ...)- Returns:
- the resource collection
-
capability
public RCSBusinessMessaging.Phones.Capability capability()
An accessor for creating requests from the Capability collection.The typical use is:
RCSBusinessMessaging rcsbusinessmessaging = new RCSBusinessMessaging(...);RCSBusinessMessaging.Capability.List request = rcsbusinessmessaging.capability().list(parameters ...)- Returns:
- the resource collection
-
dialogflowMessages
public RCSBusinessMessaging.Phones.DialogflowMessages dialogflowMessages()
An accessor for creating requests from the DialogflowMessages collection.The typical use is:
RCSBusinessMessaging rcsbusinessmessaging = new RCSBusinessMessaging(...);RCSBusinessMessaging.DialogflowMessages.List request = rcsbusinessmessaging.dialogflowMessages().list(parameters ...)- Returns:
- the resource collection
-
testers
public RCSBusinessMessaging.Phones.Testers testers()
An accessor for creating requests from the Testers collection.The typical use is:
RCSBusinessMessaging rcsbusinessmessaging = new RCSBusinessMessaging(...);RCSBusinessMessaging.Testers.List request = rcsbusinessmessaging.testers().list(parameters ...)- Returns:
- the resource collection
-
-