NAME

Google::Cloud::Support::V2beta::EmailMessage - Compiled Protocol Buffers messages for google/cloud/support/v2beta/email_message.proto

SYNOPSIS

use Google::Cloud::Support::V2beta::EmailMessage;

my $msg = Google::Cloud::Support::V2beta::EmailMessage::EmailMessage->new({
    name => $name,
    create_time => $create_time,
    actor => $actor,
    subject => $subject,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Support::V2beta::EmailMessage::EmailMessage->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/support/v2beta/email_message.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Support::V2beta::EmailMessage::EmailMessage

An email associated with a support case.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name for the email message.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Time when this email message object was created.

  • $msg->actor() / $msg->actor($value)

    Type: Message (Google::Cloud::Support::V2beta::Actor::Actor)

    Output only. The user or Google Support agent that created this email message. This is inferred from the headers on the email message.

  • $msg->subject() / $msg->subject($value)

    Type: String

    Output only. Subject of the email.

  • $msg->recipient_email_addresses() / $msg->recipient_email_addresses($value)

    Type: String

    Output only. Email addresses the email was sent to.

  • $msg->cc_email_addresses() / $msg->cc_email_addresses($value)

    Type: String

    Output only. Email addresses CCed on the email.

  • $msg->body_content() / $msg->body_content($value)

    Type: Message (Google::Cloud::Support::V2beta::Content::TextContent)

    Output only. The full email message body. A best-effort attempt is made to remove extraneous reply threads.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Support::V2beta::EmailMessage::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.