1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Google Cloud Support v2 API class SupportEventSubscription.

A support event subscription.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.SupportEventSubscription.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.SupportEventSubscription.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.SupportEventSubscription.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Support.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.md.txt)

## Assembly

Google.Cloud.Support.V2.dll

## Constructors

### SupportEventSubscription()

    public SupportEventSubscription()

### SupportEventSubscription(SupportEventSubscription)

    public SupportEventSubscription(SupportEventSubscription other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SupportEventSubscription` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time at which the subscription was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### DeleteTime

    public Timestamp DeleteTime { get; set; }

Output only. The time at which the subscription was deleted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### FailureReason

    public SupportEventSubscription.Types.FailureReason FailureReason { get; set; }

Output only. Reason why subscription is failing. State of subscription
must be FAILING in order for this to have a value.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SupportEventSubscriptionTypesFailureReason` |   |

### Name

    public string Name { get; set; }

Identifier. The resource name of the support event subscription.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PubSubTopic

    public string PubSubTopic { get; set; }

Required. The name of the Pub/Sub topic to publish notifications to.
Format: projects/{project}/topics/{topic}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### PurgeTime

    public Timestamp PurgeTime { get; set; }

Output only. The time at which the subscription will be purged.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### State

    public SupportEventSubscription.Types.State State { get; set; }

Output only. The state of the subscription.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SupportEventSubscriptionTypesState` |   |

### SupportEventSubscriptionName

    public SupportEventSubscriptionName SupportEventSubscriptionName { get; set; }

[SupportEventSubscriptionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.SupportEventSubscriptionName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2/latest/Google.Cloud.Support.V2.SupportEventSubscription.md.txt#Google_Cloud_Support_V2_SupportEventSubscription_Name) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SupportEventSubscriptionName` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The time at which the subscription was last updated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |