class Vault extends Service (View source)

Service definition for Vault (v1).

Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them.

For more information about this service, see the API Documentation

Constants

EDISCOVERY

Manage your eDiscovery data.

EDISCOVERY_READONLY

View your eDiscovery data.

Properties

$matters
$matters_exports
$matters_holds
$matters_holds_accounts
$matters_savedQueries
$operations
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Vault service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Vault service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.