Struct google_vault1::MatterMethods[][src]

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

A builder providing access to all methods supported on matter resources. It is not used directly, but through the Vault hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_vault1 as vault1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use vault1::Vault;
 
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 = Vault::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 `add_permissions(...)`, `close(...)`, `create(...)`, `delete(...)`, `exports_create(...)`, `exports_delete(...)`, `exports_get(...)`, `exports_list(...)`, `get(...)`, `holds_accounts_create(...)`, `holds_accounts_delete(...)`, `holds_accounts_list(...)`, `holds_add_held_accounts(...)`, `holds_create(...)`, `holds_delete(...)`, `holds_get(...)`, `holds_list(...)`, `holds_remove_held_accounts(...)`, `holds_update(...)`, `list(...)`, `remove_permissions(...)`, `reopen(...)`, `undelete(...)` and `update(...)`
// to build up your call.
let rb = hub.matters();

Methods

impl<'a, C, A> MatterMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

Removes a hold by ID. This will release any HeldAccounts on this Hold.

Arguments

  • matterId - The matter ID.
  • holdId - The hold ID.

Create a builder to help you perform the following task:

Lists holds within a matter. An empty page token in ListHoldsResponse denotes no more holds to list.

Arguments

  • matterId - The matter ID.

Create a builder to help you perform the following task:

Creates an Export.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Updates the specified matter. This updates only the name and description of the matter, identified by matter id. Changes to any other fields are ignored. Returns the default view of the matter.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Gets a hold by ID.

Arguments

  • matterId - The matter ID.
  • holdId - The hold ID.

Create a builder to help you perform the following task:

Lists HeldAccounts for a hold. This will only list individually specified held accounts. If the hold is on an OU, then use Admin SDK to enumerate its members.

Arguments

  • matterId - The matter ID.
  • holdId - The hold ID.

Create a builder to help you perform the following task:

Gets an Export.

Arguments

  • matterId - The matter ID.
  • exportId - The export ID.

Create a builder to help you perform the following task:

Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.

Arguments

  • request - No description provided.
  • matterId - The matter ID.
  • holdId - The hold ID.

Create a builder to help you perform the following task:

Undeletes the specified matter. Returns matter with updated state.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Removes an account as a matter collaborator.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.

Arguments

  • matterId - The matter ID.
  • holdId - The hold ID.
  • accountId - The ID of the account to remove from the hold.

Create a builder to help you perform the following task:

Adds an account as a matter collaborator.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.

Arguments

  • request - No description provided.
  • matterId - The matter ID.
  • holdId - The ID of the hold.

Create a builder to help you perform the following task:

Closes the specified matter. Returns matter with updated state.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Gets the specified matter.

Arguments

  • matterId - The matter ID.

Create a builder to help you perform the following task:

Creates a hold in the given matter.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Removes HeldAccounts from a hold. Returns a list of statuses in the same order as the request. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.

Arguments

  • request - No description provided.
  • matterId - The matter ID.
  • holdId - The hold ID.

Create a builder to help you perform the following task:

Creates a new matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view.

Arguments

  • request - No description provided.

Create a builder to help you perform the following task:

Lists matters the user has access to.

Create a builder to help you perform the following task:

Reopens the specified matter. Returns matter with updated state.

Arguments

  • request - No description provided.
  • matterId - The matter ID.

Create a builder to help you perform the following task:

Lists Exports.

Arguments

  • matterId - The matter ID.

Create a builder to help you perform the following task:

Deletes an Export.

Arguments

  • matterId - The matter ID.
  • exportId - The export ID.

Create a builder to help you perform the following task:

Adds a HeldAccount to a hold. Accounts can only be added to a hold that has no held_org_unit set. Attempting to add an account to an OU-based hold will result in an error.

Arguments

  • request - No description provided.
  • matterId - The matter ID.
  • holdId - The hold ID.

Create a builder to help you perform the following task:

Deletes the specified matter. Returns matter with updated state.

Arguments

  • matterId - The matter ID

Trait Implementations

impl<'a, C, A> MethodsBuilder for MatterMethods<'a, C, A>
[src]

Auto Trait Implementations

impl<'a, C, A> !Send for MatterMethods<'a, C, A>

impl<'a, C, A> !Sync for MatterMethods<'a, C, A>