NAME
Google::Cloud::Channel::V1::SubscriberEvent - Compiled Protocol Buffers messages for google/cloud/channel/v1/subscriber_event.proto
SYNOPSIS
use Google::Cloud::Channel::V1::SubscriberEvent;
my $msg = Google::Cloud::Channel::V1::SubscriberEvent::CustomerEvent->new({
customer => $customer,
event_type => $event_type,
});
# Read or update a field
my $val = $msg->customer();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Channel::V1::SubscriberEvent::CustomerEvent->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/channel/v1/subscriber_event.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::Channel::V1::SubscriberEvent::CustomerEvent
Represents Pub/Sub message content describing customer update.
Inherits from Protobuf::Message.
Accessors
$msg->customer()/$msg->customer($value)Type:
StringResource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
$msg->event_type()/$msg->event_type($value)Type:
Enum(Google::Cloud::Channel::V1::CustomerEvent::Type)Type of event which happened for the customer.
Enum: CustomerEvent::Type
TYPE_UNSPECIFIED=>0PRIMARY_DOMAIN_CHANGED=>1PRIMARY_DOMAIN_VERIFIED=>2
Google::Cloud::Channel::V1::SubscriberEvent::EntitlementEvent
Represents Pub/Sub message content describing entitlement update.
Inherits from Protobuf::Message.
Accessors
$msg->entitlement()/$msg->entitlement($value)Type:
StringResource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
$msg->event_type()/$msg->event_type($value)Type:
Enum(Google::Cloud::Channel::V1::EntitlementEvent::Type)Type of event which happened for the entitlement.
Enum: EntitlementEvent::Type
TYPE_UNSPECIFIED=>0CREATED=>1PRICE_PLAN_SWITCHED=>3COMMITMENT_CHANGED=>4RENEWED=>5SUSPENDED=>6ACTIVATED=>7CANCELLED=>8SKU_CHANGED=>9RENEWAL_SETTING_CHANGED=>10PAID_SERVICE_STARTED=>11LICENSE_ASSIGNMENT_CHANGED=>12LICENSE_CAP_CHANGED=>13
Google::Cloud::Channel::V1::SubscriberEvent::SubscriberEvent
Represents information which resellers will get as part of notification from Pub/Sub.
Inherits from Protobuf::Message.
Accessors
$msg->customer_event()/$msg->customer_event($value)Type:
Message(Google::Cloud::Channel::V1::SubscriberEvent::CustomerEvent)Customer event sent as part of Pub/Sub event to partners.
$msg->entitlement_event()/$msg->entitlement_event($value)Type:
Message(Google::Cloud::Channel::V1::SubscriberEvent::EntitlementEvent)Entitlement event sent as part of Pub/Sub event to partners.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Channel::V1::SubscriberEvent::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.