NAME
Google::Cloud::Support::V2beta::SupportEventSubscription - Compiled Protocol Buffers messages for google/cloud/support/v2beta/support_event_subscription.proto
SYNOPSIS
use Google::Cloud::Support::V2beta::SupportEventSubscription;
my $msg = Google::Cloud::Support::V2beta::SupportEventSubscription::SupportEventSubscription->new({
name => $name,
pub_sub_topic => $pub_sub_topic,
state => $state,
failure_reason => $failure_reason,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Support::V2beta::SupportEventSubscription::SupportEventSubscription->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/support/v2beta/support_event_subscription.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::Support::V2beta::SupportEventSubscription::SupportEventSubscription
A support event subscription.
You can also manage support event subscriptions using other tools:
* [`gcloud support support-event-subscriptions`](/sdk/gcloud/reference/support/support-event-subscriptions) (or [`gcloud beta`](/sdk/gcloud/reference/beta/support/support-event-subscriptions) for beta) * [Terraform `google_cloud_support_support_event_subscription`](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloud_support_support_event_subscription) (or [google-beta provider](https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/cloud_support_support_event_subscription) for beta)
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the support event subscription.
$msg->pub_sub_topic()/$msg->pub_sub_topic($value)Type:
StringRequired. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Support::V2beta::SupportEventSubscription::State)Output only. The state of the subscription.
$msg->failure_reason()/$msg->failure_reason($value)Type:
Enum(Google::Cloud::Support::V2beta::SupportEventSubscription::FailureReason)Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the subscription was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the subscription was last updated.
$msg->delete_time()/$msg->delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the subscription was deleted.
$msg->purge_time()/$msg->purge_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time at which the subscription will be purged.
Enum: SupportEventSubscription::State
STATE_UNSPECIFIED=>0WORKING=>1FAILING=>2DELETED=>3
Enum: SupportEventSubscription::FailureReason
FAILURE_REASON_UNSPECIFIED=>0PERMISSION_DENIED=>1TOPIC_NOT_FOUND=>2OTHER=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Support::V2beta::SupportEventSubscription::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.