Skip to main content

Gcp/vault

@swamp/gcp/vaultv2026.06.01.1· 2d agoMODELS
01README

Google Cloud vault infrastructure models

02Release Notes
  • Updated: matters_exports
03Models5
@swamp/gcp/vault/mattersv2026.05.25.2matters.ts

Global Arguments

ArgumentTypeDescription
description?stringAn optional description for the matter.
matterId?stringThe matter ID, which is generated by the server. Leave blank when creating a matter.
matterPermissions?arrayLists the users and their permission for the matter. Currently there is no programmer defined limit on the number of permissions a matter can have.
matterRegion?enumOptional. The requested data region for the matter.
name?stringThe name of the matter.
state?enumThe state of the matter.
fn create()
Create a matters
fn get(identifier: string)
Get a matters
ArgumentTypeDescription
identifierstringThe name of the matters
fn update()
Update matters attributes
fn delete(identifier: string)
Delete the matters
ArgumentTypeDescription
identifierstringThe name of the matters
fn sync()
Sync matters state from GCP
fn list(pageSize?: number, state?: string, view?: string, maxPages?: number)
List matters resources
ArgumentTypeDescription
pageSize?numberThe number of matters to return in the response. Default and maximum are 100.
state?stringIf set, lists only matters with the specified state. The default lists matters of all states.
view?stringSpecifies how much information about the matter to return in response.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn add_permissions(ccMe?: any, matterPermission?: any, sendEmails?: any)
add permissions
ArgumentTypeDescription
ccMe?any
matterPermission?any
sendEmails?any
fn close()
close
fn count(query?: any, view?: any)
count
ArgumentTypeDescription
query?any
view?any
fn reopen()
reopen
fn undelete()
undelete

Resources

state(infinite)— Represents a matter. To work with Vault resources, the account must have the ...
@swamp/gcp/vault/matters-exportsv2026.06.01.1matters_exports.ts

Global Arguments

ArgumentTypeDescription
cloudStorageSink?objectExport sink for Cloud Storage files.
exportOptions?objectAdditional options for exports
matterId?stringOutput only. The matter ID.
name?stringThe export name. Don't use special characters (~!$'(),;@:/?) in the name, they can prevent you from downloading exports.
query?objectThe query definition used for search and export.
requester?objectUser's information.
stats?objectProgress information for an export.
fn create(waitForReady?: boolean)
Create a exports
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a exports
ArgumentTypeDescription
identifierstringThe name of the exports
fn delete(identifier: string)
Delete the exports
ArgumentTypeDescription
identifierstringThe name of the exports
fn sync()
Sync exports state from GCP
fn list(pageSize?: number, maxPages?: number)
List exports resources
ArgumentTypeDescription
pageSize?numberThe number of exports to return in the response.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— An export. To work with Vault resources, the account must have the [required ...
@swamp/gcp/vault/matters-holdsv2026.05.25.1matters_holds.ts

Global Arguments

ArgumentTypeDescription
accounts?arrayIf set, the hold applies to the specified accounts and **orgUnit** must be empty.
corpus?enumThe service to be searched.
holdId?stringThe unique immutable ID of the hold. Assigned during creation.
name?stringThe name of the hold.
orgUnit?objectThe organizational unit covered by a hold. This structure is immutable.
query?objectService-specific options for holds.
updateTime?stringThe last time this hold was modified.
matterIdstringThe matter ID.
fn create()
Create a holds
fn get(identifier: string)
Get a holds
ArgumentTypeDescription
identifierstringThe name of the holds
fn update()
Update holds attributes
fn delete(identifier: string)
Delete the holds
ArgumentTypeDescription
identifierstringThe name of the holds
fn sync()
Sync holds state from GCP
fn list(pageSize?: number, view?: string, maxPages?: number)
List holds resources
ArgumentTypeDescription
pageSize?numberThe number of holds to return in the response, between 0 and 100 inclusive. Leaving this empty, or as 0, is the same as **page_size** = 100.
view?stringThe amount of detail to return for a hold.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn add_held_accounts(accountIds?: any, emails?: any)
add held accounts
ArgumentTypeDescription
accountIds?any
emails?any

Resources

state(infinite)— A hold. A hold prevents the specified Google Workspace service from purging d...
@swamp/gcp/vault/matters-holds-accountsv2026.05.25.2matters_holds_accounts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accountId?stringThe account ID, as provided by the [Admin SDK](https://developers.google.com/admin-sdk/).
email?stringThe primary email address of the account. If used as an input, this takes precedence over **accountId**.
matterIdstringThe matter ID.
holdIdstringThe hold ID.
fn create()
Create a accounts
fn get(identifier: string)
Get a accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
fn delete(identifier: string)
Delete the accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
fn sync()
Sync accounts state from GCP
fn list(maxPages?: number)
List accounts resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— An account covered by a hold. This structure is immutable. It can be an indiv...
@swamp/gcp/vault/matters-savedqueriesv2026.05.25.1matters_savedqueries.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
displayName?stringThe name of the saved query.
matterId?stringOutput only. The matter ID of the matter the saved query is saved in. The server does not use this field during create and always uses matter ID in the URL.
query?objectThe query definition used for search and export.
savedQueryId?stringA unique identifier for the saved query.
fn create()
Create a savedQueries
fn get(identifier: string)
Get a savedQueries
ArgumentTypeDescription
identifierstringThe name of the savedQueries
fn delete(identifier: string)
Delete the savedQueries
ArgumentTypeDescription
identifierstringThe name of the savedQueries
fn sync()
Sync savedQueries state from GCP
fn list(pageSize?: number, maxPages?: number)
List savedQueries resources
ArgumentTypeDescription
pageSize?numberThe maximum number of saved queries to return.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— The definition of a saved query. To work with Vault resources, the account mu...
04Previous Versions11
2026.05.25.3May 25, 2026
  • Updated: matters_holds_accounts

Modified 5 models

2026.05.24.1May 24, 2026
  • Updated: matters, matters_exports, matters_holds, matters_holds_accounts, matters_savedqueries
2026.05.21.2May 21, 2026
  • Updated: matters, matters_exports, matters_holds, matters_holds_accounts, matters_savedqueries
2026.05.21.1May 21, 2026
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.04.23.1Apr 23, 2026
2026.04.03.3Apr 3, 2026
  • Updated: matters, matters_exports, matters_holds, matters_holds_accounts, matters_savedqueries
2026.04.03.1Apr 3, 2026
  • Updated: matters, matters_exports, matters_holds, matters_holds_accounts, matters_savedqueries
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
  • Added: matters, matters_exports, matters_holds, matters_holds_accounts, matters_savedqueries
05Stats
A
100 / 100
Downloads
0
Archive size
69.1 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels