Struct google_vault1::api::Hold
source · pub struct Hold {
pub accounts: Option<Vec<HeldAccount>>,
pub corpus: Option<String>,
pub hold_id: Option<String>,
pub name: Option<String>,
pub org_unit: Option<HeldOrgUnit>,
pub query: Option<CorpusQuery>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A hold. A hold prevents the specified Google Workspace service from purging data for specific accounts or all members of an organizational unit. 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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- holds create matters (request|response)
- holds get matters (response)
- holds update matters (request|response)
Fields§
§accounts: Option<Vec<HeldAccount>>
If set, the hold applies to the specified accounts and orgUnit must be empty.
corpus: Option<String>
The service to be searched.
hold_id: Option<String>
The unique immutable ID of the hold. Assigned during creation.
name: Option<String>
The name of the hold.
org_unit: Option<HeldOrgUnit>
If set, the hold applies to all members of the organizational unit and accounts must be empty. This property is mutable. For Groups holds, set accounts.
query: Option<CorpusQuery>
Service-specific options. If set, CorpusQuery must match CorpusType.
update_time: Option<DateTime<Utc>>
The last time this hold was modified.