Google Cloud Support v2beta API - Class SupportEventSubscriptionService.SupportEventSubscriptionServiceClient (1.0.0-beta04)

public class SupportEventSubscriptionService.SupportEventSubscriptionServiceClient : ClientBase<SupportEventSubscriptionService.SupportEventSubscriptionServiceClient>

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

Client for SupportEventSubscriptionService

Inheritance

object > ClientBase > ClientBaseSupportEventSubscriptionServiceSupportEventSubscriptionServiceClient > SupportEventSubscriptionService.SupportEventSubscriptionServiceClient

Namespace

Google.Cloud.Support.V2Beta

Assembly

Google.Cloud.Support.V2Beta.dll

Constructors

SupportEventSubscriptionServiceClient()

protected SupportEventSubscriptionServiceClient()

Protected parameterless constructor to allow creation of test doubles.

SupportEventSubscriptionServiceClient(CallInvoker)

public SupportEventSubscriptionServiceClient(CallInvoker callInvoker)

Creates a new client for SupportEventSubscriptionService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SupportEventSubscriptionServiceClient(ChannelBase)

public SupportEventSubscriptionServiceClient(ChannelBase channel)

Creates a new client for SupportEventSubscriptionService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SupportEventSubscriptionServiceClient(ClientBaseConfiguration)

protected SupportEventSubscriptionServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest, CallOptions)

public virtual SupportEventSubscription CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest request, CallOptions options)

Creates a support event subscription for an organization.

Parameters
Name Description
request CreateSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual SupportEventSubscription CreateSupportEventSubscription(CreateSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a support event subscription for an organization.

Parameters
Name Description
request CreateSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<SupportEventSubscription> CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest request, CallOptions options)

Creates a support event subscription for an organization.

Parameters
Name Description
request CreateSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SupportEventSubscription> CreateSupportEventSubscriptionAsync(CreateSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a support event subscription for an organization.

Parameters
Name Description
request CreateSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest, CallOptions)

public virtual SupportEventSubscription DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest request, CallOptions options)

Soft deletes a support event subscription.

Parameters
Name Description
request DeleteSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual SupportEventSubscription DeleteSupportEventSubscription(DeleteSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Soft deletes a support event subscription.

Parameters
Name Description
request DeleteSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest request, CallOptions options)

Soft deletes a support event subscription.

Parameters
Name Description
request DeleteSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SupportEventSubscription> DeleteSupportEventSubscriptionAsync(DeleteSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Soft deletes a support event subscription.

Parameters
Name Description
request DeleteSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

GetSupportEventSubscription(GetSupportEventSubscriptionRequest, CallOptions)

public virtual SupportEventSubscription GetSupportEventSubscription(GetSupportEventSubscriptionRequest request, CallOptions options)

Gets a support event subscription.

Parameters
Name Description
request GetSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

GetSupportEventSubscription(GetSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual SupportEventSubscription GetSupportEventSubscription(GetSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a support event subscription.

Parameters
Name Description
request GetSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<SupportEventSubscription> GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest request, CallOptions options)

Gets a support event subscription.

Parameters
Name Description
request GetSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SupportEventSubscription> GetSupportEventSubscriptionAsync(GetSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a support event subscription.

Parameters
Name Description
request GetSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest, CallOptions)

public virtual ListSupportEventSubscriptionsResponse ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest request, CallOptions options)

Lists support event subscriptions.

Parameters
Name Description
request ListSupportEventSubscriptionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSupportEventSubscriptionsResponse

The response received from the server.

ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSupportEventSubscriptionsResponse ListSupportEventSubscriptions(ListSupportEventSubscriptionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists support event subscriptions.

Parameters
Name Description
request ListSupportEventSubscriptionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListSupportEventSubscriptionsResponse

The response received from the server.

ListSupportEventSubscriptionsAsync(ListSupportEventSubscriptionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSupportEventSubscriptionsResponse> ListSupportEventSubscriptionsAsync(ListSupportEventSubscriptionsRequest request, CallOptions options)

Lists support event subscriptions.

Parameters
Name Description
request ListSupportEventSubscriptionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSupportEventSubscriptionsResponse

The call object.

ListSupportEventSubscriptionsAsync(ListSupportEventSubscriptionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSupportEventSubscriptionsResponse> ListSupportEventSubscriptionsAsync(ListSupportEventSubscriptionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists support event subscriptions.

Parameters
Name Description
request ListSupportEventSubscriptionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSupportEventSubscriptionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override SupportEventSubscriptionService.SupportEventSubscriptionServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SupportEventSubscriptionServiceSupportEventSubscriptionServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Support.V2Beta.SupportEventSubscriptionService.SupportEventSubscriptionServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest, CallOptions)

public virtual SupportEventSubscription UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest request, CallOptions options)

Undeletes a support event subscription.

Parameters
Name Description
request UndeleteSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual SupportEventSubscription UndeleteSupportEventSubscription(UndeleteSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Undeletes a support event subscription.

Parameters
Name Description
request UndeleteSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<SupportEventSubscription> UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest request, CallOptions options)

Undeletes a support event subscription.

Parameters
Name Description
request UndeleteSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SupportEventSubscription> UndeleteSupportEventSubscriptionAsync(UndeleteSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Undeletes a support event subscription.

Parameters
Name Description
request UndeleteSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest, CallOptions)

public virtual SupportEventSubscription UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest request, CallOptions options)

Updates a support event subscription.

Parameters
Name Description
request UpdateSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual SupportEventSubscription UpdateSupportEventSubscription(UpdateSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a support event subscription.

Parameters
Name Description
request UpdateSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SupportEventSubscription

The response received from the server.

UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<SupportEventSubscription> UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest request, CallOptions options)

Updates a support event subscription.

Parameters
Name Description
request UpdateSupportEventSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.

UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SupportEventSubscription> UpdateSupportEventSubscriptionAsync(UpdateSupportEventSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a support event subscription.

Parameters
Name Description
request UpdateSupportEventSubscriptionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSupportEventSubscription

The call object.