public class PeopleService.ContactGroups extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
PeopleService.ContactGroups.BatchGet |
class |
PeopleService.ContactGroups.Create |
class |
PeopleService.ContactGroups.Delete |
class |
PeopleService.ContactGroups.Get |
class |
PeopleService.ContactGroups.List |
class |
PeopleService.ContactGroups.Members
The "members" collection of methods.
|
class |
PeopleService.ContactGroups.Update |
| Constructor and Description |
|---|
ContactGroups() |
| Modifier and Type | Method and Description |
|---|---|
PeopleService.ContactGroups.BatchGet |
batchGet()
Get a list of contact groups owned by the authenticated user by specifying a list of contact
group resource names.
|
PeopleService.ContactGroups.Create |
create(CreateContactGroupRequest content)
Create a new contact group owned by the authenticated user.
|
PeopleService.ContactGroups.Delete |
delete(String resourceName)
Delete an existing contact group owned by the authenticated user by specifying a contact group
resource name.
|
PeopleService.ContactGroups.Get |
get(String resourceName)
Get a specific contact group owned by the authenticated user by specifying a contact group
resource name.
|
PeopleService.ContactGroups.List |
list()
List all contact groups owned by the authenticated user.
|
PeopleService.ContactGroups.Members |
members()
An accessor for creating requests from the Members collection.
|
PeopleService.ContactGroups.Update |
update(String resourceName,
UpdateContactGroupRequest content)
Update the name of an existing contact group owned by the authenticated user.
|
public PeopleService.ContactGroups.BatchGet batchGet() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic PeopleService.ContactGroups.Create create(CreateContactGroupRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the CreateContactGroupRequestIOExceptionpublic PeopleService.ContactGroups.Delete delete(String resourceName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceName - Required. The resource name of the contact group to delete.IOExceptionpublic PeopleService.ContactGroups.Get get(String resourceName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceName - Required. The resource name of the contact group to get.IOExceptionpublic PeopleService.ContactGroups.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic PeopleService.ContactGroups.Update update(String resourceName, UpdateContactGroupRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceName - The resource name for the contact group, assigned by the server. An ASCII string, in the form of
`contactGroups/{contact_group_id}`.content - the UpdateContactGroupRequestIOExceptionpublic PeopleService.ContactGroups.Members members()
The typical use is:
PeopleService people = new PeopleService(...);PeopleService.Members.List request = people.members().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.