NAME

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

SYNOPSIS

use Google::Cloud::Eventarc::V1::Enrollment;

my $msg = Google::Cloud::Eventarc::V1::Enrollment::Enrollment->new({
    name => $name,
    uid => $uid,
    etag => $etag,
    create_time => $create_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/eventarc/v1/enrollment.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::Enrollment::Enrollment

An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria for messages on the bus and the subscriber endpoint where matched messages should be delivered.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}

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

    Type: String

    Output 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->etag() / $msg->etag($value)

    Type: String

    Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.

  • $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->labels() / $msg->labels($value)

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

    Optional. Resource labels.

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

    Type: Message (Google::Cloud::Eventarc::V1::Enrollment::Enrollment::AnnotationsEntry)

    Optional. Resource annotations.

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

    Type: String

    Optional. Resource display name.

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

    Type: String

    Required. A CEL expression identifying which messages this enrollment applies to.

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

    Type: String

    Required. Immutable. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}.

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

    Type: String

    Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.