Class RCSBusinessMessaging.Phones.Testers

  • Enclosing class:
    RCSBusinessMessaging.Phones

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

      • Testers

        public Testers()
    • Method Detail

      • create

        public RCSBusinessMessaging.Phones.Testers.Create create​(java.lang.String parent,
                                                                 Tester content)
                                                          throws java.io.IOException
        Invites a user to test an agent. The invited user must be RCS-enabled and reachable by the RBM platform. When an agent invites a user to become a tester, an RBM platform management agent sends a message to the user asking for confirmation that she wants to be a tester of the agent. Once the user confirms, she becomes a tester. An agent that has not yet launched can only interact with users who are testers of that agent. If an unlaunched agent attempts to send a message, event, or capability callback to a non-tester, the RBM platform returns a `403 PERMISSION_DENIED` error. An agent can send 20 tester requests each day with a total maximum of 200 tester requests. If you send tester requests above those limits, the RBM platform returns a `429 RESOURCE_EXHAUSTED` response. Create a request for the method "testers.create". 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:
        parent - "phones/{E.164}", where {E.164} is the user's phone number in E.164 format. For example, with the US phone number +1-222-333-4444, the resulting endpoint would be https://rcsbusinessmessaging.googleapis.com/v1/phones/+12223334444/testers/.
        content - the Tester
        Returns:
        the request
        Throws:
        java.io.IOException