NAME
Google::Cloud::Eventarc::V1::Channel - Compiled Protocol Buffers messages for google/cloud/eventarc/v1/channel.proto
SYNOPSIS
use Google::Cloud::Eventarc::V1::Channel;
my $msg = Google::Cloud::Eventarc::V1::Channel::Channel->new({
name => $name,
uid => $uid,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Eventarc::V1::Channel::Channel->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/eventarc/v1/channel.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::Channel::Channel
A representation of the Channel resource. A Channel is a resource on which event providers publish their events. The published events are delivered through the transport associated with the channel. Note that a channel is associated with exactly one event provider.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The creation time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last-modified time.
$msg->provider()/$msg->provider($value)Type:
StringThe name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
$msg->pubsub_topic()/$msg->pubsub_topic($value)Type:
StringOutput only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Eventarc::V1::Channel::State)Output only. The state of a Channel.
$msg->activation_token()/$msg->activation_token($value)Type:
StringOutput only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
$msg->crypto_key_name()/$msg->crypto_key_name($value)Type:
StringOptional. 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->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Whether or not this Channel satisfies the requirements of physical zone separation
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Eventarc::V1::Channel::Channel::LabelsEntry)Optional. Resource labels.
Enum: Channel::State
STATE_UNSPECIFIED=>0PENDING=>1ACTIVE=>2INACTIVE=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Eventarc::V1::Channel::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.