public class PeopleService.ContactGroups
extends java.lang.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 |
|---|
PeopleService.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(java.lang.String resourceName)
Delete an existing contact group owned by the authenticated user by specifying a contact group
resource name.
|
PeopleService.ContactGroups.Get |
get(java.lang.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(java.lang.String resourceName,
UpdateContactGroupRequest content)
Update the name of an existing contact group owned by the authenticated user.
|
public PeopleService.ContactGroups.BatchGet batchGet() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic PeopleService.ContactGroups.Create create(CreateContactGroupRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the CreateContactGroupRequestjava.io.IOExceptionpublic PeopleService.ContactGroups.Delete delete(java.lang.String resourceName) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceName - The resource name of the contact group to delete.java.io.IOExceptionpublic PeopleService.ContactGroups.Get get(java.lang.String resourceName) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resourceName - The resource name of the contact group to get.java.io.IOExceptionpublic PeopleService.ContactGroups.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.java.io.IOExceptionpublic PeopleService.ContactGroups.Update update(java.lang.String resourceName, UpdateContactGroupRequest content) throws java.io.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 UpdateContactGroupRequestjava.io.IOExceptionpublic PeopleService.ContactGroups.Members members()
The typical use is:
PeopleService people = new PeopleService(...);PeopleService.Members.List request = people.members().list(parameters ...)