Class SnapshotRecycleBinPolicy
Represents the singleton resource Snapshot Recycle Bin Policy that configures the retention duration for snapshots in the recycle bin. You can configure the retention duration for snapshots in the recycle bin at the project or organization level. If you configure the policy at the organization level, all projects in that organization will share the same policy. If you configure the policy at the project level it will be merged with org level policy (if any) and the snapshots in that project will use that policy.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class SnapshotRecycleBinPolicy : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rules
The rules for the snapshot recycle bin policy. The key is either 'default' or namespacedName of the TagValue
which can be in the format: {organization_id}/{tag_key_short_name}/{tag_value_short_name} or
{project_id}/{tag_key_short_name}/{tag_value_short_name} or
{project_number}/{tag_key_short_name}/{tag_value_short_name}. The default rule is applied if snapshots do
not have any of these tags. The value is the rule for the key.
Declaration
[JsonProperty("rules")]
public virtual IDictionary<string, SnapshotRecycleBinPolicyRule> Rules { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, SnapshotRecycleBinPolicyRule> |