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:



938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 938

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