1.0.0-beta05 (latest) 1.0.0-beta04

    public abstract class SupportEventSubscriptionServiceClient

Reference documentation and code samples for the Google Cloud Support v2beta API class SupportEventSubscriptionServiceClient.

SupportEventSubscriptionService client wrapper, for convenient use.

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

[SupportEventSubscriptionServiceClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClientImpl)

## Namespace

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

## Assembly

Google.Cloud.Support.V2Beta.dll

## Remarks

Service for managing customer support event subscriptions.

## Properties

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the SupportEventSubscriptionService service, which is a host of
"cloudsupport.googleapis.com" and a port of 443.

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

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default SupportEventSubscriptionService scopes.

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

**Remarks** The default SupportEventSubscriptionService scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

### GrpcClient

    public virtual SupportEventSubscriptionService.SupportEventSubscriptionServiceClient GrpcClient { get; }

The underlying gRPC SupportEventSubscriptionService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionService.SupportEventSubscriptionServiceClient` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

## Methods

### Create()

    public static SupportEventSubscriptionServiceClient Create()

Synchronously creates a [SupportEventSubscriptionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient) using the default credentials,
endpoint and settings. To specify custom credentials or other settings, use
[SupportEventSubscriptionServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient` | The created [SupportEventSubscriptionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient). |

### CreateAsync(CancellationToken)

    public static Task<SupportEventSubscriptionServiceClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [SupportEventSubscriptionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient) using the default credentials,
endpoint and settings. To specify custom credentials or other settings, use
[SupportEventSubscriptionServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient` | The task representing the created [SupportEventSubscriptionServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient). |

### CreateSupportEventSubscription(OrganizationName, SupportEventSubscription, CallSettings)

    public virtual SupportEventSubscription CreateSupportEventSubscription(OrganizationName parent, SupportEventSubscription supportEventSubscription, CallSettings callSettings = null)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.OrganizationName.html` Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The Pub/Sub configuration to create. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    OrganizationName parent = OrganizationName.FromOrganization("[ORGANIZATION]");
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.CreateSupportEventSubscription(parent, supportEventSubscription);

### CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest, CallSettings)

    public virtual SupportEventSubscription CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CreateSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    CreateSupportEventSubscriptionRequest request = new CreateSupportEventSubscriptionRequest
    {
        ParentAsOrganizationName = OrganizationName.FromOrganization("[ORGANIZATION]"),
        SupportEventSubscription = new SupportEventSubscription(),
    };
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.CreateSupportEventSubscription(request);

### CreateSupportEventSubscription(string, SupportEventSubscription, CallSettings)

    public virtual SupportEventSubscription CreateSupportEventSubscription(string parent, SupportEventSubscription supportEventSubscription, CallSettings callSettings = null)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The Pub/Sub configuration to create. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    string parent = "organizations/[ORGANIZATION]";
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.CreateSupportEventSubscription(parent, supportEventSubscription);

### CreateSupportEventSubscriptionAsync(OrganizationName, SupportEventSubscription, CallSettings)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscriptionAsync(OrganizationName parent, SupportEventSubscription supportEventSubscription, CallSettings callSettings = null)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.OrganizationName.html` Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The Pub/Sub configuration to create. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    OrganizationName parent = OrganizationName.FromOrganization("[ORGANIZATION]");
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.CreateSupportEventSubscriptionAsync(parent, supportEventSubscription);

### CreateSupportEventSubscriptionAsync(OrganizationName, SupportEventSubscription, CancellationToken)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscriptionAsync(OrganizationName parent, SupportEventSubscription supportEventSubscription, CancellationToken cancellationToken)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.OrganizationName.html` Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The Pub/Sub configuration to create. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    OrganizationName parent = OrganizationName.FromOrganization("[ORGANIZATION]");
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.CreateSupportEventSubscriptionAsync(parent, supportEventSubscription);

### CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest, CallSettings)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CreateSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateSupportEventSubscriptionRequest request = new CreateSupportEventSubscriptionRequest
    {
        ParentAsOrganizationName = OrganizationName.FromOrganization("[ORGANIZATION]"),
        SupportEventSubscription = new SupportEventSubscription(),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.CreateSupportEventSubscriptionAsync(request);

### CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest, CancellationToken)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest request, CancellationToken cancellationToken)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.CreateSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateSupportEventSubscriptionRequest request = new CreateSupportEventSubscriptionRequest
    {
        ParentAsOrganizationName = OrganizationName.FromOrganization("[ORGANIZATION]"),
        SupportEventSubscription = new SupportEventSubscription(),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.CreateSupportEventSubscriptionAsync(request);

### CreateSupportEventSubscriptionAsync(string, SupportEventSubscription, CallSettings)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscriptionAsync(string parent, SupportEventSubscription supportEventSubscription, CallSettings callSettings = null)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The Pub/Sub configuration to create. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "organizations/[ORGANIZATION]";
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.CreateSupportEventSubscriptionAsync(parent, supportEventSubscription);

### CreateSupportEventSubscriptionAsync(string, SupportEventSubscription, CancellationToken)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscriptionAsync(string parent, SupportEventSubscription supportEventSubscription, CancellationToken cancellationToken)

Creates a support event subscription for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The Pub/Sub configuration to create. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "organizations/[ORGANIZATION]";
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.CreateSupportEventSubscriptionAsync(parent, supportEventSubscription);

### DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest, CallSettings)

    public virtual SupportEventSubscription DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.DeleteSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    DeleteSupportEventSubscriptionRequest request = new DeleteSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.DeleteSupportEventSubscription(request);

### DeleteSupportEventSubscription(SupportEventSubscriptionName, CallSettings)

    public virtual SupportEventSubscription DeleteSupportEventSubscription(SupportEventSubscriptionName name, CallSettings callSettings = null)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.DeleteSupportEventSubscription(name);

### DeleteSupportEventSubscription(string, CallSettings)

    public virtual SupportEventSubscription DeleteSupportEventSubscription(string name, CallSettings callSettings = null)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.DeleteSupportEventSubscription(name);

### DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest, CallSettings)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.DeleteSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteSupportEventSubscriptionRequest request = new DeleteSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.DeleteSupportEventSubscriptionAsync(request);

### DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest, CancellationToken)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest request, CancellationToken cancellationToken)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.DeleteSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteSupportEventSubscriptionRequest request = new DeleteSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.DeleteSupportEventSubscriptionAsync(request);

### DeleteSupportEventSubscriptionAsync(SupportEventSubscriptionName, CallSettings)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(SupportEventSubscriptionName name, CallSettings callSettings = null)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.DeleteSupportEventSubscriptionAsync(name);

### DeleteSupportEventSubscriptionAsync(SupportEventSubscriptionName, CancellationToken)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(SupportEventSubscriptionName name, CancellationToken cancellationToken)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.DeleteSupportEventSubscriptionAsync(name);

### DeleteSupportEventSubscriptionAsync(string, CallSettings)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(string name, CallSettings callSettings = null)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.DeleteSupportEventSubscriptionAsync(name);

### DeleteSupportEventSubscriptionAsync(string, CancellationToken)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(string name, CancellationToken cancellationToken)

Soft deletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.DeleteSupportEventSubscriptionAsync(name);

### ExpungeSupportEventSubscription(ExpungeSupportEventSubscriptionRequest, CallSettings)

    public virtual void ExpungeSupportEventSubscription(ExpungeSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ExpungeSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    ExpungeSupportEventSubscriptionRequest request = new ExpungeSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    supportEventSubscriptionServiceClient.ExpungeSupportEventSubscription(request);

### ExpungeSupportEventSubscription(SupportEventSubscriptionName, CallSettings)

    public virtual void ExpungeSupportEventSubscription(SupportEventSubscriptionName name, CallSettings callSettings = null)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to expunge. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    supportEventSubscriptionServiceClient.ExpungeSupportEventSubscription(name);

### ExpungeSupportEventSubscription(string, CallSettings)

    public virtual void ExpungeSupportEventSubscription(string name, CallSettings callSettings = null)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to expunge. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    supportEventSubscriptionServiceClient.ExpungeSupportEventSubscription(name);

### ExpungeSupportEventSubscriptionAsync(ExpungeSupportEventSubscriptionRequest, CallSettings)

    public virtual Task ExpungeSupportEventSubscriptionAsync(ExpungeSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ExpungeSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    ExpungeSupportEventSubscriptionRequest request = new ExpungeSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    await supportEventSubscriptionServiceClient.ExpungeSupportEventSubscriptionAsync(request);

### ExpungeSupportEventSubscriptionAsync(ExpungeSupportEventSubscriptionRequest, CancellationToken)

    public virtual Task ExpungeSupportEventSubscriptionAsync(ExpungeSupportEventSubscriptionRequest request, CancellationToken cancellationToken)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ExpungeSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    ExpungeSupportEventSubscriptionRequest request = new ExpungeSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    await supportEventSubscriptionServiceClient.ExpungeSupportEventSubscriptionAsync(request);

### ExpungeSupportEventSubscriptionAsync(SupportEventSubscriptionName, CallSettings)

    public virtual Task ExpungeSupportEventSubscriptionAsync(SupportEventSubscriptionName name, CallSettings callSettings = null)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to expunge. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    await supportEventSubscriptionServiceClient.ExpungeSupportEventSubscriptionAsync(name);

### ExpungeSupportEventSubscriptionAsync(SupportEventSubscriptionName, CancellationToken)

    public virtual Task ExpungeSupportEventSubscriptionAsync(SupportEventSubscriptionName name, CancellationToken cancellationToken)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to expunge. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    await supportEventSubscriptionServiceClient.ExpungeSupportEventSubscriptionAsync(name);

### ExpungeSupportEventSubscriptionAsync(string, CallSettings)

    public virtual Task ExpungeSupportEventSubscriptionAsync(string name, CallSettings callSettings = null)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to expunge. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    await supportEventSubscriptionServiceClient.ExpungeSupportEventSubscriptionAsync(name);

### ExpungeSupportEventSubscriptionAsync(string, CancellationToken)

    public virtual Task ExpungeSupportEventSubscriptionAsync(string name, CancellationToken cancellationToken)

Expunges a support event subscription.

EXAMPLES:

cURL:

    support_event_subscription="organizations/123456789/supportEventSubscriptions/abcdef123456"
    curl \
    --request POST \
    --header "Authorization: Bearer $(gcloud auth print-access-token)" \
    "https://cloudsupport.googleapis.com/v2beta/$support_event_subscription:expunge"

Python:

    import googleapiclient.discovery

    api_version = "v2beta"
    supportApiService = googleapiclient.discovery.build(
    serviceName="cloudsupport",
    version=api_version,
    discoveryServiceUrl=f"https://cloudsupport.googleapis.com/$discovery/rest?version={api_version}",
    )

    request = supportApiService.supportEventSubscriptions().expunge(
    name="organizations/123456789/supportEventSubscriptions/abcdef123456"
    )
    print(request.execute())

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to expunge. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    await supportEventSubscriptionServiceClient.ExpungeSupportEventSubscriptionAsync(name);

### GetSupportEventSubscription(GetSupportEventSubscriptionRequest, CallSettings)

    public virtual SupportEventSubscription GetSupportEventSubscription(GetSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.GetSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    GetSupportEventSubscriptionRequest request = new GetSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.GetSupportEventSubscription(request);

### GetSupportEventSubscription(SupportEventSubscriptionName, CallSettings)

    public virtual SupportEventSubscription GetSupportEventSubscription(SupportEventSubscriptionName name, CallSettings callSettings = null)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.GetSupportEventSubscription(name);

### GetSupportEventSubscription(string, CallSettings)

    public virtual SupportEventSubscription GetSupportEventSubscription(string name, CallSettings callSettings = null)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.GetSupportEventSubscription(name);

### GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest, CallSettings)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.GetSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetSupportEventSubscriptionRequest request = new GetSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.GetSupportEventSubscriptionAsync(request);

### GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest, CancellationToken)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest request, CancellationToken cancellationToken)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.GetSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetSupportEventSubscriptionRequest request = new GetSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.GetSupportEventSubscriptionAsync(request);

### GetSupportEventSubscriptionAsync(SupportEventSubscriptionName, CallSettings)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscriptionAsync(SupportEventSubscriptionName name, CallSettings callSettings = null)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.GetSupportEventSubscriptionAsync(name);

### GetSupportEventSubscriptionAsync(SupportEventSubscriptionName, CancellationToken)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscriptionAsync(SupportEventSubscriptionName name, CancellationToken cancellationToken)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionName` Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscriptionName name = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]");
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.GetSupportEventSubscriptionAsync(name);

### GetSupportEventSubscriptionAsync(string, CallSettings)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscriptionAsync(string name, CallSettings callSettings = null)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.GetSupportEventSubscriptionAsync(name);

### GetSupportEventSubscriptionAsync(string, CancellationToken)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscriptionAsync(string name, CancellationToken cancellationToken)

Gets a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "organizations/[ORGANIZATION]/supportEventSubscriptions/[SUPPORT_EVENT_SUBSCRIPTION]";
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.GetSupportEventSubscriptionAsync(name);

### ListSupportEventSubscriptions(OrganizationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> ListSupportEventSubscriptions(OrganizationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists support event subscriptions for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.OrganizationName.html` Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id} |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A pageable sequence of [SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription) resources. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    OrganizationName parent = OrganizationName.FromOrganization("[ORGANIZATION]");
    // Make the request
    PagedEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> response = supportEventSubscriptionServiceClient.ListSupportEventSubscriptions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (SupportEventSubscription item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListSupportEventSubscriptionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SupportEventSubscription item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SupportEventSubscription> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SupportEventSubscription item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest, CallSettings)

    public virtual PagedEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest request, CallSettings callSettings = null)

Lists support event subscriptions for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A pageable sequence of [SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription) resources. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    ListSupportEventSubscriptionsRequest request = new ListSupportEventSubscriptionsRequest
    {
        ParentAsOrganizationName = OrganizationName.FromOrganization("[ORGANIZATION]"),
        Filter = "",
        ShowDeleted = false,
    };
    // Make the request
    PagedEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> response = supportEventSubscriptionServiceClient.ListSupportEventSubscriptions(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (SupportEventSubscription item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListSupportEventSubscriptionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SupportEventSubscription item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SupportEventSubscription> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SupportEventSubscription item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSupportEventSubscriptions(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> ListSupportEventSubscriptions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists support event subscriptions for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id} |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A pageable sequence of [SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription) resources. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    string parent = "organizations/[ORGANIZATION]";
    // Make the request
    PagedEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> response = supportEventSubscriptionServiceClient.ListSupportEventSubscriptions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (SupportEventSubscription item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListSupportEventSubscriptionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SupportEventSubscription item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SupportEventSubscription> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SupportEventSubscription item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSupportEventSubscriptionsAsync(OrganizationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> ListSupportEventSubscriptionsAsync(OrganizationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists support event subscriptions for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.OrganizationName.html` Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id} |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A pageable asynchronous sequence of [SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription) resources. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    OrganizationName parent = OrganizationName.FromOrganization("[ORGANIZATION]");
    // Make the request
    PagedAsyncEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> response = supportEventSubscriptionServiceClient.ListSupportEventSubscriptionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (SupportEventSubscription item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListSupportEventSubscriptionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SupportEventSubscription item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SupportEventSubscription> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SupportEventSubscription item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSupportEventSubscriptionsAsync(ListSupportEventSubscriptionsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> ListSupportEventSubscriptionsAsync(ListSupportEventSubscriptionsRequest request, CallSettings callSettings = null)

Lists support event subscriptions for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A pageable asynchronous sequence of [SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription) resources. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListSupportEventSubscriptionsRequest request = new ListSupportEventSubscriptionsRequest
    {
        ParentAsOrganizationName = OrganizationName.FromOrganization("[ORGANIZATION]"),
        Filter = "",
        ShowDeleted = false,
    };
    // Make the request
    PagedAsyncEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> response = supportEventSubscriptionServiceClient.ListSupportEventSubscriptionsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (SupportEventSubscription item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListSupportEventSubscriptionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SupportEventSubscription item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SupportEventSubscription> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SupportEventSubscription item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListSupportEventSubscriptionsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> ListSupportEventSubscriptionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists support event subscriptions for an organization.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id} |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.ListSupportEventSubscriptionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A pageable asynchronous sequence of [SupportEventSubscription](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription) resources. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "organizations/[ORGANIZATION]";
    // Make the request
    PagedAsyncEnumerable<ListSupportEventSubscriptionsResponse, SupportEventSubscription> response = supportEventSubscriptionServiceClient.ListSupportEventSubscriptionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (SupportEventSubscription item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListSupportEventSubscriptionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (SupportEventSubscription item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<SupportEventSubscription> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (SupportEventSubscription item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient#Google_Cloud_Support_V2Beta_SupportEventSubscriptionServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient#Google_Cloud_Support_V2Beta_SupportEventSubscriptionServiceClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient#Google_Cloud_Support_V2Beta_SupportEventSubscriptionServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscriptionServiceClient#Google_Cloud_Support_V2Beta_SupportEventSubscriptionServiceClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest, CallSettings)

    public virtual SupportEventSubscription UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Undeletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UndeleteSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    UndeleteSupportEventSubscriptionRequest request = new UndeleteSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.UndeleteSupportEventSubscription(request);

### UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest, CallSettings)

    public virtual Task<SupportEventSubscription> UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Undeletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UndeleteSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    UndeleteSupportEventSubscriptionRequest request = new UndeleteSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.UndeleteSupportEventSubscriptionAsync(request);

### UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest, CancellationToken)

    public virtual Task<SupportEventSubscription> UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest request, CancellationToken cancellationToken)

Undeletes a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UndeleteSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    UndeleteSupportEventSubscriptionRequest request = new UndeleteSupportEventSubscriptionRequest
    {
        SupportEventSubscriptionName = SupportEventSubscriptionName.FromOrganizationSupportEventSubscription("[ORGANIZATION]", "[SUPPORT_EVENT_SUBSCRIPTION]"),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.UndeleteSupportEventSubscriptionAsync(request);

### UpdateSupportEventSubscription(SupportEventSubscription, FieldMask, CallSettings)

    public virtual SupportEventSubscription UpdateSupportEventSubscription(SupportEventSubscription supportEventSubscription, FieldMask updateMask, CallSettings callSettings = null)

Updates a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The support event subscription to update. The `name` field is used to identify the configuration to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The list of fields to update. The only supported value is pub_sub_topic. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    FieldMask updateMask = new FieldMask();
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.UpdateSupportEventSubscription(supportEventSubscription, updateMask);

### UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest, CallSettings)

    public virtual SupportEventSubscription UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Updates a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UpdateSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | The RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = SupportEventSubscriptionServiceClient.Create();
    // Initialize request argument(s)
    UpdateSupportEventSubscriptionRequest request = new UpdateSupportEventSubscriptionRequest
    {
        SupportEventSubscription = new SupportEventSubscription(),
        UpdateMask = new FieldMask(),
    };
    // Make the request
    SupportEventSubscription response = supportEventSubscriptionServiceClient.UpdateSupportEventSubscription(request);

### UpdateSupportEventSubscriptionAsync(SupportEventSubscription, FieldMask, CallSettings)

    public virtual Task<SupportEventSubscription> UpdateSupportEventSubscriptionAsync(SupportEventSubscription supportEventSubscription, FieldMask updateMask, CallSettings callSettings = null)

Updates a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The support event subscription to update. The `name` field is used to identify the configuration to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The list of fields to update. The only supported value is pub_sub_topic. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    FieldMask updateMask = new FieldMask();
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.UpdateSupportEventSubscriptionAsync(supportEventSubscription, updateMask);

### UpdateSupportEventSubscriptionAsync(SupportEventSubscription, FieldMask, CancellationToken)

    public virtual Task<SupportEventSubscription> UpdateSupportEventSubscriptionAsync(SupportEventSubscription supportEventSubscription, FieldMask updateMask, CancellationToken cancellationToken)

Updates a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `supportEventSubscription` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` Required. The support event subscription to update. The `name` field is used to identify the configuration to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The list of fields to update. The only supported value is pub_sub_topic. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    SupportEventSubscription supportEventSubscription = new SupportEventSubscription();
    FieldMask updateMask = new FieldMask();
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.UpdateSupportEventSubscriptionAsync(supportEventSubscription, updateMask);

### UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest, CallSettings)

    public virtual Task<SupportEventSubscription> UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest request, CallSettings callSettings = null)

Updates a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UpdateSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateSupportEventSubscriptionRequest request = new UpdateSupportEventSubscriptionRequest
    {
        SupportEventSubscription = new SupportEventSubscription(),
        UpdateMask = new FieldMask(),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.UpdateSupportEventSubscriptionAsync(request);

### UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest, CancellationToken)

    public virtual Task<SupportEventSubscription> UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest request, CancellationToken cancellationToken)

Updates a support event subscription.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.UpdateSupportEventSubscriptionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Support.V2Beta/latest/Google.Cloud.Support.V2Beta.SupportEventSubscription` | A Task containing the RPC response. |

**Example**

    // Create client
    SupportEventSubscriptionServiceClient supportEventSubscriptionServiceClient = await SupportEventSubscriptionServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateSupportEventSubscriptionRequest request = new UpdateSupportEventSubscriptionRequest
    {
        SupportEventSubscription = new SupportEventSubscription(),
        UpdateMask = new FieldMask(),
    };
    // Make the request
    SupportEventSubscription response = await supportEventSubscriptionServiceClient.UpdateSupportEventSubscriptionAsync(request);