NAME
Google::Cloud::Eventarc::V1::Discovery - Compiled Protocol Buffers messages for google/cloud/eventarc/v1/discovery.proto
SYNOPSIS
use Google::Cloud::Eventarc::V1::Discovery;
my $msg = Google::Cloud::Eventarc::V1::Discovery::Provider->new({
name => $name,
display_name => $display_name,
event_types => $event_types,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Eventarc::V1::Discovery::Provider->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/eventarc/v1/discovery.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::Discovery::Provider
A representation of the Provider resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. In `projects/{project}/locations/{location}/providers/{provider_id}` format.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. Human friendly name for the Provider. For example "Cloud Storage".
$msg->event_types()/$msg->event_types($value)Type:
Message(Google::Cloud::Eventarc::V1::Discovery::EventType)Output only. Event types for this provider.
Google::Cloud::Eventarc::V1::Discovery::EventType
A representation of the event type resource.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
StringOutput only. The full name of the event type (for example, "google.cloud.storage.object.v1.finalized"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match.
$msg->description()/$msg->description($value)Type:
StringOutput only. Human friendly description of what the event type is about. For example "Bucket created in Cloud Storage".
$msg->filtering_attributes()/$msg->filtering_attributes($value)Type:
Message(Google::Cloud::Eventarc::V1::Discovery::FilteringAttribute)Output only. Filtering attributes for the event type.
$msg->event_schema_uri()/$msg->event_schema_uri($value)Type:
StringOutput only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto"
Google::Cloud::Eventarc::V1::Discovery::FilteringAttribute
A representation of the FilteringAttribute resource. Filtering attributes are per event type.
Inherits from Protobuf::Message.
Accessors
$msg->attribute()/$msg->attribute($value)Type:
StringOutput only. Attribute used for filtering the event type.
$msg->description()/$msg->description($value)Type:
StringOutput only. Description of the purpose of the attribute.
$msg->required()/$msg->required($value)Type:
BoolOutput only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise.
$msg->path_pattern_supported()/$msg->path_pattern_supported($value)Type:
BoolOutput only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Eventarc::V1::Discovery::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.