Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the required Vault privileges 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.
This page contains information about getting started with the Google Vault API using the Google API Client Library for Java. In addition, you may be interested in the following documentation:
- Browse the Javadoc reference for the Google Vault API
- Read the Developer's Guide for the Google API Client Library for Java.
- Interact with this API in your browser using the APIs Explorer for the Google Vault API
Add the following lines to your pom.xml
file:
<project>
<dependencies>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-vault</artifactId>
<version>v1-rev20240806-2.0.0</version>
</dependency>
</dependencies>
</project>
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-vault:v1-rev20240806-2.0.0'
}