NAME
Google::Cloud::Eventarc::V1::GoogleApiSource - Compiled Protocol Buffers messages for google/cloud/eventarc/v1/google_api_source.proto
SYNOPSIS
use Google::Cloud::Eventarc::V1::GoogleApiSource;
my $msg = Google::Cloud::Eventarc::V1::GoogleApiSource::GoogleApiSource->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::GoogleApiSource::GoogleApiSource->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/eventarc/v1/google_api_source.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::GoogleApiSource::GoogleApiSource
A GoogleApiSource represents a subscription of 1P events from a MessageBus.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
$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->etag()/$msg->etag($value)Type:
StringOutput 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::GoogleApiSource::GoogleApiSource::LabelsEntry)Optional. Resource labels.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Eventarc::V1::GoogleApiSource::GoogleApiSource::AnnotationsEntry)Optional. Resource annotations.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. Resource display name.
$msg->destination()/$msg->destination($value)Type:
StringRequired. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)
$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->logging_config()/$msg->logging_config($value)Type:
Message(Google::Cloud::Eventarc::V1::LoggingConfig::LoggingConfig)Optional. Config to control Platform logging for the GoogleApiSource.
$msg->organization_subscription()/$msg->organization_subscription($value)Type:
Message(Google::Cloud::Eventarc::V1::GoogleApiSource::GoogleApiSource::OrganizationSubscription)Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org.
$msg->project_subscriptions()/$msg->project_subscriptions($value)Type:
Message(Google::Cloud::Eventarc::V1::GoogleApiSource::GoogleApiSource::ProjectSubscriptions)Optional. Config to enable subscribing to all events from a list of projects.
All the projects must be in the same org as the GoogleApiSource.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Eventarc::V1::GoogleApiSource::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.