# frozen_string_literal: true

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Apps
    module Chat
      module V1
        # The history state for messages and spaces. Specifies how long messages and
        # conversation threads are kept after creation.
        module HistoryState
          # Default value. Do not use.
          HISTORY_STATE_UNSPECIFIED = 0

          # History off. [Messages and threads are kept for 24
          # hours](https://support.google.com/chat/answer/7664687).
          HISTORY_OFF = 1

          # History on. The organization's [Vault retention
          # rules](https://support.google.com/vault/answer/7657597) specify for
          # how long messages and threads are kept.
          HISTORY_ON = 2
        end
      end
    end
  end
end
