1.0.0-beta05 (latest) 1.0.0-beta04

    [BindServiceMethod(typeof(SupportEventSubscriptionService), "BindService")]
    public abstract class SupportEventSubscriptionService.SupportEventSubscriptionServiceBase

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

Base class for server-side implementations of SupportEventSubscriptionService

## Inheritance

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

## 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)

## 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

## Methods

### CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest, ServerCallContext)

    public virtual Task<SupportEventSubscription> CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest, ServerCallContext)

    public virtual Task<SupportEventSubscription> DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ExpungeSupportEventSubscription(ExpungeSupportEventSubscriptionRequest, ServerCallContext)

    public virtual Task<Empty> ExpungeSupportEventSubscription(ExpungeSupportEventSubscriptionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### GetSupportEventSubscription(GetSupportEventSubscriptionRequest, ServerCallContext)

    public virtual Task<SupportEventSubscription> GetSupportEventSubscription(GetSupportEventSubscriptionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest, ServerCallContext)

    public virtual Task<ListSupportEventSubscriptionsResponse> ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ListSupportEventSubscriptionsResponse` | The response to send back to the client (wrapped by a task). |

### UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest, ServerCallContext)

    public virtual Task<SupportEventSubscription> UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |

### UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest, ServerCallContext)

    public virtual Task<SupportEventSubscription> UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest request, ServerCallContext context)

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 received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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` | The response to send back to the client (wrapped by a task). |