Struct google_people1::api::BatchCreateContactsRequest
source · pub struct BatchCreateContactsRequest {
pub contacts: Option<Vec<ContactToCreate>>,
pub read_mask: Option<FieldMask>,
pub sources: Option<Vec<String>>,
}
Expand description
A request to create a batch of contacts.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- batch create contacts people (request)
Fields§
§contacts: Option<Vec<ContactToCreate>>
Required. The contact to create. Allows up to 200 contacts in a single request.
read_mask: Option<FieldMask>
Required. A field mask to restrict which fields on each person are returned in the response. Multiple fields can be specified by separating them with commas. If read mask is left empty, the post-mutate-get is skipped and no data will be returned in the response. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
sources: Option<Vec<String>>
Optional. A mask of what source types to return in the post mutate read. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
Trait Implementations§
source§impl Clone for BatchCreateContactsRequest
impl Clone for BatchCreateContactsRequest
source§fn clone(&self) -> BatchCreateContactsRequest
fn clone(&self) -> BatchCreateContactsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more