All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.people.v1.PeopleService.People.Connections.html Maven / Gradle / Ivy







PeopleService.People.Connections (People API v1-rev20210330-1.31.0)












com.google.api.services.people.v1

Class PeopleService.People.Connections

  • java.lang.Object
    • com.google.api.services.people.v1.PeopleService.People.Connections
  • Enclosing class:
    PeopleService.People


    public class PeopleService.People.Connections
    extends Object
    The "connections" collection of methods.
    • Constructor Detail

      • Connections

        public Connections()
    • Method Detail

      • list

        public PeopleService.People.Connections.List list(String resourceName)
                                                   throws IOException
        Provides a list of the authenticated user's contacts. The request returns a 400 error if `personFields` is not specified. The request returns a 410 error if `sync_token` is specified and is expired. Sync tokens expire after 7 days to prevent data drift between clients and the server. To handle a sync token expired error, a request should be sent without `sync_token` to get all contacts. Create a request for the method "connections.list". This request holds the parameters needed by the people server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        resourceName - Required. The resource name to return connections for. Only `people/me` is valid.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy