Struct google_people1::ContactGroupMethods[][src]

pub struct ContactGroupMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

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]

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.

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.

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.

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 of contactGroups/contact_group_id.

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.

Create a builder to help you perform the following task:

Modify the members of a contact group owned by the authenticated user.

Arguments

  • request - No description provided.
  • resourceName - The resource name of the contact group to modify.

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> !Sync for ContactGroupMethods<'a, C, A>