Interface ResourcePolicySnapshotSchedulePolicyOrBuilder

    • 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;