Class RCSBusinessMessaging.Phones

  • Enclosing class:
    RCSBusinessMessaging

    public class RCSBusinessMessaging.Phones
    extends java.lang.Object
    The "phones" collection of methods.
    • Constructor Detail

      • Phones

        public Phones()
    • 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 the AbstractGoogleClientRequest.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