NAME

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

SYNOPSIS

use Google::Cloud::Eventarc::V1::MessageBus;

my $msg = Google::Cloud::Eventarc::V1::MessageBus::MessageBus->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::MessageBus::MessageBus->parse($bytes);

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

DESCRIPTION

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

MessageBus for the messages flowing through the system. The admin has visibility and control over the messages being published and consumed and can restrict publishers and subscribers to only a subset of data available in the system by defining authorization policies.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}

  • $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::MessageBus::MessageBus::LabelsEntry)

    Optional. Resource labels.

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

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

    Optional. Resource annotations.

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

    Type: String

    Optional. Resource display name.

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

    Type: Message (Google::Cloud::Eventarc::V1::LoggingConfig::LoggingConfig)

    Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.