[−][src]Struct google_people1::ContactGroupMethods
A builder providing access to all methods supported on contactGroup resources.
It is not used directly, but through the PeopleService
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_people1 as people1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use people1::PeopleService; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = PeopleService::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `batch_get(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `members_modify(...)` and `update(...)` // to build up your call. let rb = hub.contact_groups();
Methods
impl<'a, C, A> ContactGroupMethods<'a, C, A>
[src]
pub fn batch_get(&self) -> ContactGroupBatchGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
pub fn list(&self) -> ContactGroupListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
List all contact groups owned by the authenticated user. Members of the contact groups are not populated.
pub fn create(
&self,
request: CreateContactGroupRequest
) -> ContactGroupCreateCall<'a, C, A>
[src]
&self,
request: CreateContactGroupRequest
) -> ContactGroupCreateCall<'a, C, A>
Create a builder to help you perform the following task:
Create a new contact group owned by the authenticated user.
Arguments
request
- No description provided.
pub fn update(
&self,
request: UpdateContactGroupRequest,
resource_name: &str
) -> ContactGroupUpdateCall<'a, C, A>
[src]
&self,
request: UpdateContactGroupRequest,
resource_name: &str
) -> ContactGroupUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Update the name of an existing contact group owned by the authenticated user.
Arguments
request
- No description provided.resourceName
- The resource name for the contact group, assigned by the server. An ASCII string, in the form ofcontactGroups/
contact_group_id.
pub fn delete(&self, resource_name: &str) -> ContactGroupDeleteCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.
Arguments
resourceName
- The resource name of the contact group to delete.
pub fn members_modify(
&self,
request: ModifyContactGroupMembersRequest,
resource_name: &str
) -> ContactGroupMemberModifyCall<'a, C, A>
[src]
&self,
request: ModifyContactGroupMembersRequest,
resource_name: &str
) -> ContactGroupMemberModifyCall<'a, C, A>
Create a builder to help you perform the following task:
Modify the members of a contact group owned by the authenticated user.
The only system contact groups that can have members added are
contactGroups/myContacts
and contactGroups/starred
. Other system
contact groups are deprecated and can only have contacts removed.
Arguments
request
- No description provided.resourceName
- The resource name of the contact group to modify.
pub fn get(&self, resource_name: &str) -> ContactGroupGetCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Get a specific contact group owned by the authenticated user by specifying a contact group resource name.
Arguments
resourceName
- The resource name of the contact group to get.
Trait Implementations
impl<'a, C, A> MethodsBuilder for ContactGroupMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for ContactGroupMethods<'a, C, A>
impl<'a, C, A> Unpin for ContactGroupMethods<'a, C, A>
impl<'a, C, A> !Sync for ContactGroupMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for ContactGroupMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for ContactGroupMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,