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 ResourcePolicySnapshotSchedulePolicyRetentionPolicygetRetentionPolicy()Retention policy applied to snapshots created by this resource policy.ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuildergetRetentionPolicyOrBuilder()Retention policy applied to snapshots created by this resource policy.ResourcePolicySnapshotSchedulePolicySchedulegetSchedule()A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.ResourcePolicySnapshotSchedulePolicyScheduleOrBuildergetScheduleOrBuilder()A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesgetSnapshotProperties()Properties with which snapshots are created such as labels, encryption keys.ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuildergetSnapshotPropertiesOrBuilder()Properties with which snapshots are created such as labels, encryption keys.booleanhasRetentionPolicy()Retention policy applied to snapshots created by this resource policy.booleanhasSchedule()A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when.booleanhasSnapshotProperties()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;
-
-