Class Hold
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.
Implements
Inherited Members
Namespace: Google.Apis.Vault.v1.Data
Assembly: Google.Apis.Vault.v1.dll
Syntax
public class Hold : IDirectResponseSchema
Properties
Accounts
If set, the hold applies to the specified accounts and orgUnit must be empty.
Declaration
[JsonProperty("accounts")]
public virtual IList<HeldAccount> Accounts { get; set; }
Property Value
Type | Description |
---|---|
IList<HeldAccount> |
Corpus
The service to be searched.
Declaration
[JsonProperty("corpus")]
public virtual string Corpus { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HoldId
The unique immutable ID of the hold. Assigned during creation.
Declaration
[JsonProperty("holdId")]
public virtual string HoldId { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of the hold.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrgUnit
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.
Declaration
[JsonProperty("orgUnit")]
public virtual HeldOrgUnit OrgUnit { get; set; }
Property Value
Type | Description |
---|---|
HeldOrgUnit |
Query
Service-specific options. If set, CorpusQuery must match CorpusType.
Declaration
[JsonProperty("query")]
public virtual CorpusQuery Query { get; set; }
Property Value
Type | Description |
---|---|
CorpusQuery |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
The last time this hold was modified.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |