# frozen_string_literal: true

# Copyright 2025 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 Cloud
    module Support
      module V2beta
        # An email associated with a support case.
        # @!attribute [rw] name
        #   @return [::String]
        #     Identifier. Resource name for the email message.
        # @!attribute [r] create_time
        #   @return [::Google::Protobuf::Timestamp]
        #     Output only. Time when this email message object was created.
        # @!attribute [r] actor
        #   @return [::Google::Cloud::Support::V2beta::Actor]
        #     Output only. The user or Google Support agent that created this email
        #     message. This is inferred from the headers on the email message.
        # @!attribute [r] subject
        #   @return [::String]
        #     Output only. Subject of the email.
        # @!attribute [r] recipient_email_addresses
        #   @return [::Array<::String>]
        #     Output only. Email addresses the email was sent to.
        # @!attribute [r] cc_email_addresses
        #   @return [::Array<::String>]
        #     Output only. Email addresses CCed on the email.
        # @!attribute [r] body_content
        #   @return [::Google::Cloud::Support::V2beta::TextContent]
        #     Output only. The full email message body. A best-effort attempt is made to
        #     remove extraneous reply threads.
        class EmailMessage
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
