Class: Google::Cloud::AlloyDB::V1alpha::Instance::UpdatePolicy

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

Overview

Policy to be used while updating the instance.

Defined Under Namespace

Modules: Mode

Instance Attribute Summary collapse

Instance Attribute Details

#mode::Google::Cloud::AlloyDB::V1alpha::Instance::UpdatePolicy::Mode

Returns Mode for updating the instance.

Returns:



753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 753

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

  # Specifies the available modes of update.
  module Mode
    # Mode is unknown.
    MODE_UNSPECIFIED = 0

    # Least disruptive way to apply the update.
    DEFAULT = 1

    # Performs a forced update when applicable. This will be fast but may
    # incur a downtime.
    FORCE_APPLY = 2
  end
end