Class: Google::Cloud::Compute::V1::ResourcePolicySnapshotSchedulePolicyRetentionPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Policy for retention of scheduled snapshots.

Defined Under Namespace

Modules: OnSourceDiskDelete

Instance Attribute Summary collapse

Instance Attribute Details

#max_retention_days::Integer



23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23399

class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
  module OnSourceDiskDelete
    # A value indicating that the enum field is not set.
    UNDEFINED_ON_SOURCE_DISK_DELETE = 0

    APPLY_RETENTION_POLICY = 535_071_332

    KEEP_AUTO_SNAPSHOTS = 258_925_689

    UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239_140_769
  end
end

#on_source_disk_delete::String



23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 23399

class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
  module OnSourceDiskDelete
    # A value indicating that the enum field is not set.
    UNDEFINED_ON_SOURCE_DISK_DELETE = 0

    APPLY_RETENTION_POLICY = 535_071_332

    KEEP_AUTO_SNAPSHOTS = 258_925_689

    UNSPECIFIED_ON_SOURCE_DISK_DELETE = 239_140_769
  end
end