Struct google_people1::api::ContactGroup
source · pub struct ContactGroup {
pub client_data: Option<Vec<GroupClientData>>,
pub etag: Option<String>,
pub formatted_name: Option<String>,
pub group_type: Option<String>,
pub member_count: Option<i32>,
pub member_resource_names: Option<Vec<String>>,
pub metadata: Option<ContactGroupMetadata>,
pub name: Option<String>,
pub resource_name: Option<String>,
}
Expand description
A contact group.
§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).
- members modify contact groups (none)
- batch get contact groups (none)
- create contact groups (response)
- delete contact groups (none)
- get contact groups (response)
- list contact groups (none)
- update contact groups (response)
Fields§
§client_data: Option<Vec<GroupClientData>>
The group’s client data.
etag: Option<String>
The HTTP entity tag of the resource. Used for web cache validation.
formatted_name: Option<String>
Output only. The name translated and formatted in the viewer’s account locale or the Accept-Language
HTTP header locale for system groups names. Group names set by the owner are the same as name.
group_type: Option<String>
Output only. The contact group type.
member_count: Option<i32>
Output only. The total number of contacts in the group irrespective of max members in specified in the request.
member_resource_names: Option<Vec<String>>
Output only. The list of contact person resource names that are members of the contact group. The field is only populated for GET requests and will only return as many members as maxMembers
in the get request.
metadata: Option<ContactGroupMetadata>
Output only. Metadata about the contact group.
name: Option<String>
The contact group name set by the group owner or a system provided name for system groups. For contactGroups.create
or contactGroups.update
the name must be unique to the users contact groups. Attempting to create a group with a duplicate name will return a HTTP 409 error.
resource_name: Option<String>
The resource name for the contact group, assigned by the server. An ASCII string, in the form of contactGroups/{contact_group_id}
.
Trait Implementations§
source§impl Clone for ContactGroup
impl Clone for ContactGroup
source§fn clone(&self) -> ContactGroup
fn clone(&self) -> ContactGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more