Struct google_people1::api::BatchCreateContactsRequest [−][src]
pub struct BatchCreateContactsRequest {
pub contacts: Option<Vec<ContactToCreate>>,
pub read_mask: Option<String>,
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<String>
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for BatchCreateContactsRequest
impl Send for BatchCreateContactsRequest
impl Sync for BatchCreateContactsRequest
impl Unpin for BatchCreateContactsRequest
impl UnwindSafe for BatchCreateContactsRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more