Interface ResourcePolicySnapshotSchedulePolicyOrBuilder (1.63.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the snapshotProperties field is set.