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: String

    Resource 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 => 0

  • PRIMARY_DOMAIN_CHANGED => 1

  • PRIMARY_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: String

    Resource 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 => 0

  • CREATED => 1

  • PRICE_PLAN_SWITCHED => 3

  • COMMITMENT_CHANGED => 4

  • RENEWED => 5

  • SUSPENDED => 6

  • ACTIVATED => 7

  • CANCELLED => 8

  • SKU_CHANGED => 9

  • RENEWAL_SETTING_CHANGED => 10

  • PAID_SERVICE_STARTED => 11

  • LICENSE_ASSIGNMENT_CHANGED => 12

  • LICENSE_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

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.