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 |
---|
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.IOException
public PeopleService.ContactGroups.Create create(CreateContactGroupRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the CreateContactGroupRequest
java.io.IOException
public PeopleService.ContactGroups.Delete delete(java.lang.String resourceName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resourceName
- Required. The resource name of the contact group to delete.java.io.IOException
public PeopleService.ContactGroups.Get get(java.lang.String resourceName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.resourceName
- Required. The resource name of the contact group to get.java.io.IOException
public PeopleService.ContactGroups.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.java.io.IOException
public 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 UpdateContactGroupRequest
java.io.IOException
public PeopleService.ContactGroups.Members members()
The typical use is:
PeopleService people = new PeopleService(...);
PeopleService.Members.List request = people.members().list(parameters ...)