google_api_compute v0.9.0 GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicy View Source
A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.
Attributes
- retentionPolicy (ResourcePolicySnapshotSchedulePolicyRetentionPolicy): Retention policy applied to snapshots created by this resource policy. Defaults to:
null. - schedule (ResourcePolicySnapshotSchedulePolicySchedule): A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy. Defaults to:
null. - snapshotProperties (ResourcePolicySnapshotSchedulePolicySnapshotProperties): Properties with which snapshots are created such as labels, encryption keys. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicy{
retentionPolicy:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.t(),
schedule:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicySchedule.t(),
snapshotProperties:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicySnapshotProperties.t()
}
t() :: %GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicy{
retentionPolicy:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.t(),
schedule:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicySchedule.t(),
snapshotProperties:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicySnapshotProperties.t()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.