Package com.google.cloud.compute.v1
Interface ResourcePolicySnapshotSchedulePolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourcePolicySnapshotSchedulePolicy
,ResourcePolicySnapshotSchedulePolicy.Builder
public interface ResourcePolicySnapshotSchedulePolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourcePolicySnapshotSchedulePolicyRetentionPolicy
getRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder
getRetentionPolicyOrBuilder()
Retention policy applied to snapshots created by this resource policy.ResourcePolicySnapshotSchedulePolicySchedule
getSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder
getScheduleOrBuilder()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.ResourcePolicySnapshotSchedulePolicySnapshotProperties
getSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder
getSnapshotPropertiesOrBuilder()
Properties with which snapshots are created such as labels, encryption keys.boolean
hasRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.boolean
hasSchedule()
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.boolean
hasSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRetentionPolicy
boolean hasRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
- Returns:
- Whether the retentionPolicy field is set.
-
getRetentionPolicy
ResourcePolicySnapshotSchedulePolicyRetentionPolicy getRetentionPolicy()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
- Returns:
- The retentionPolicy.
-
getRetentionPolicyOrBuilder
ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder getRetentionPolicyOrBuilder()
Retention policy applied to snapshots created by this resource policy.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy retention_policy = 68625779;
-
hasSchedule
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:
- Whether the schedule field is set.
-
getSchedule
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:
- The schedule.
-
getScheduleOrBuilder
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;
-
hasSnapshotProperties
boolean hasSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
- Returns:
- Whether the snapshotProperties field is set.
-
getSnapshotProperties
ResourcePolicySnapshotSchedulePolicySnapshotProperties getSnapshotProperties()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
- Returns:
- The snapshotProperties.
-
getSnapshotPropertiesOrBuilder
ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder getSnapshotPropertiesOrBuilder()
Properties with which snapshots are created such as labels, encryption keys.
optional .google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties snapshot_properties = 185371278;
-
-