PeopleResource class

Constructors

PeopleResource(ApiRequester client)

Properties

connections PeopleConnectionsResource
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

batchCreateContacts(BatchCreateContactsRequest request, {String? $fields}) Future<BatchCreateContactsResponse>
Create a batch of new contacts and return the PersonResponses for the newly Mutate requests for the same user should be sent sequentially to avoid increased latency and failures.
batchDeleteContacts(BatchDeleteContactsRequest request, {String? $fields}) Future<Empty>
Delete a batch of contacts.
batchUpdateContacts(BatchUpdateContactsRequest request, {String? $fields}) Future<BatchUpdateContactsResponse>
Update a batch of contacts and return a map of resource names to PersonResponses for the updated contacts.
createContact(Person request, {String? personFields, List<String>? sources, String? $fields}) Future<Person>
Create a new contact and return the person resource for that contact.
deleteContact(String resourceName, {String? $fields}) Future<Empty>
Delete a contact person.
deleteContactPhoto(String resourceName, {String? personFields, List<String>? sources, String? $fields}) Future<DeleteContactPhotoResponse>
Delete a contact's photo.
get(String resourceName, {String? personFields, String? requestMask_includeField, List<String>? sources, String? $fields}) Future<Person>
Provides information about a person by specifying a resource name.
getBatchGet({String? personFields, String? requestMask_includeField, List<String>? resourceNames, List<String>? sources, String? $fields}) Future<GetPeopleResponse>
Provides information about a list of specific people by specifying a list of requested resource names.
listDirectoryPeople({List<String>? mergeSources, int? pageSize, String? pageToken, String? readMask, bool? requestSyncToken, List<String>? sources, String? syncToken, String? $fields}) Future<ListDirectoryPeopleResponse>
Provides a list of domain profiles and domain contacts in the authenticated user's domain directory.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchContacts({int? pageSize, String? query, String? readMask, List<String>? sources, String? $fields}) Future<SearchResponse>
Provides a list of contacts in the authenticated user's grouped contacts that matches the search query.
searchDirectoryPeople({List<String>? mergeSources, int? pageSize, String? pageToken, String? query, String? readMask, List<String>? sources, String? $fields}) Future<SearchDirectoryPeopleResponse>
Provides a list of domain profiles and domain contacts in the authenticated user's domain directory that match the search query.
toString() String
A string representation of this object.
inherited
updateContact(Person request, String resourceName, {String? personFields, List<String>? sources, String? updatePersonFields, String? $fields}) Future<Person>
Update contact data for an existing contact person.
updateContactPhoto(UpdateContactPhotoRequest request, String resourceName, {String? $fields}) Future<UpdateContactPhotoResponse>
Update a contact's photo.

Operators

operator ==(Object other) bool
The equality operator.
inherited