# Cloud Channel v1 API - Class CustomerEvent (2.17.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.17.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent)
- [2.16.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.16.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.15.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.15.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.14.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.14.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.13.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.13.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.12.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.12.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.11.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.11.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.10.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.9.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.8.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.7.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.6.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.5.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.4.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.3.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.2.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.1.0/Google.Cloud.Channel.V1.CustomerEvent)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/2.0.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.7.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.6.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.5.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.4.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.3.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.2.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.1.0/Google.Cloud.Channel.V1.CustomerEvent)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/1.0.0/Google.Cloud.Channel.V1.CustomerEvent)

    public sealed class CustomerEvent : IMessage<CustomerEvent>, IEquatable<CustomerEvent>, IDeepCloneable<CustomerEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Channel v1 API class CustomerEvent.

Represents Pub/Sub message content describing customer update.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CustomerEvent

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CustomerEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CustomerEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CustomerEvent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Channel.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1)

## Assembly

Google.Cloud.Channel.V1.dll

## Constructors

### CustomerEvent()

    public CustomerEvent()

### CustomerEvent(CustomerEvent)

    public CustomerEvent(CustomerEvent other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent` |

## Properties

### Customer

    public string Customer { get; set; }

Resource name of the customer.
Format: accounts/{account_id}/customers/{customer_id}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CustomerAsCustomerName

    public CustomerName CustomerAsCustomerName { get; set; }

[CustomerName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerName)-typed view over the [Customer](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent#Google_Cloud_Channel_V1_CustomerEvent_Customer) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerName` |   |

### EventType

    public CustomerEvent.Types.Type EventType { get; set; }

Type of event which happened for the customer.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEventhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Channel.V1/latest/Google.Cloud.Channel.V1.CustomerEvent.Types.Type` |   |