NAME

Google::Cloud::Eventarc::V1::GoogleChannelConfig - Compiled Protocol Buffers messages for google/cloud/eventarc/v1/google_channel_config.proto

SYNOPSIS

use Google::Cloud::Eventarc::V1::GoogleChannelConfig;

my $msg = Google::Cloud::Eventarc::V1::GoogleChannelConfig::GoogleChannelConfig->new({
    name => $name,
    update_time => $update_time,
    crypto_key_name => $crypto_key_name,
    labels => $labels,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Eventarc::V1::GoogleChannelConfig::GoogleChannelConfig->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/eventarc/v1/google_channel_config.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::Eventarc::V1::GoogleChannelConfig::GoogleChannelConfig

A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region. Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.

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

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

    Output only. The last-modified time.

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

    Type: String

    Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data.

    It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.

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

    Type: Message (Google::Cloud::Eventarc::V1::GoogleChannelConfig::GoogleChannelConfig::LabelsEntry)

    Optional. Resource labels.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Eventarc::V1::GoogleChannelConfig::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.