Interface ResourcePolicySnapshotSchedulePolicyOrBuilder (1.51.0)

public interface ResourcePolicySnapshotSchedulePolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRetentionPolicy()

public abstract ResourcePolicySnapshotSchedulePolicyRetentionPolicy getRetentionPolicy()

Retention policy applied to snapshots created by this resource policy.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;

Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicyRetentionPolicy

The retentionPolicy.

getRetentionPolicyOrBuilder()

public abstract ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder getRetentionPolicyOrBuilder()

Retention policy applied to snapshots created by this resource policy.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;

Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder

getSchedule()

public abstract ResourcePolicySnapshotSchedulePolicySchedule getSchedule()

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.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;

Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule

The schedule.

getScheduleOrBuilder()

public abstract ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder getScheduleOrBuilder()

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.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;

Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder

getSnapshotProperties()

public abstract ResourcePolicySnapshotSchedulePolicySnapshotProperties getSnapshotProperties()

Properties with which snapshots are created such as labels, encryption keys.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;

Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySnapshotProperties

The snapshotProperties.

getSnapshotPropertiesOrBuilder()

public abstract ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder getSnapshotPropertiesOrBuilder()

Properties with which snapshots are created such as labels, encryption keys.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;

Returns
TypeDescription
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder

hasRetentionPolicy()

public abstract boolean hasRetentionPolicy()

Retention policy applied to snapshots created by this resource policy.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;

Returns
TypeDescription
boolean

Whether the retentionPolicy field is set.

hasSchedule()

public abstract boolean hasSchedule()

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.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule schedule = 375820951;

Returns
TypeDescription
boolean

Whether the schedule field is set.

hasSnapshotProperties()

public abstract boolean hasSnapshotProperties()

Properties with which snapshots are created such as labels, encryption keys.

optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;

Returns
TypeDescription
boolean

Whether the snapshotProperties field is set.