Class NotificationChannelService.NotificationChannelServiceClient (2.5.0)

public class NotificationChannelServiceClient : ClientBase<NotificationChannelService.NotificationChannelServiceClient>

Client for NotificationChannelService

Inheritance

Object > ClientBase > ClientBase<NotificationChannelService.NotificationChannelServiceClient> > NotificationChannelService.NotificationChannelServiceClient

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

NotificationChannelServiceClient()

protected NotificationChannelServiceClient()

Protected parameterless constructor to allow creation of test doubles.

NotificationChannelServiceClient(CallInvoker)

public NotificationChannelServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

NotificationChannelServiceClient(Channel)

[Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
public NotificationChannelServiceClient(Channel channel)

Creates a new client using a channel.

Parameter
NameDescription
channelGrpc.Core.Channel

The channel to use to make remote calls.

NotificationChannelServiceClient(ChannelBase)

public NotificationChannelServiceClient(ChannelBase channel)

Creates a new client for NotificationChannelService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

NotificationChannelServiceClient(ClientBase.ClientBaseConfiguration)

protected NotificationChannelServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateNotificationChannel(CreateNotificationChannelRequest, CallOptions)

public virtual NotificationChannel CreateNotificationChannel(CreateNotificationChannelRequest request, CallOptions options)

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.

Parameters
NameDescription
requestCreateNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

CreateNotificationChannel(CreateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NotificationChannel CreateNotificationChannel(CreateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.

Parameters
NameDescription
requestCreateNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

CreateNotificationChannelAsync(CreateNotificationChannelRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationChannel> CreateNotificationChannelAsync(CreateNotificationChannelRequest request, CallOptions options)

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.

Parameters
NameDescription
requestCreateNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

CreateNotificationChannelAsync(CreateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NotificationChannel> CreateNotificationChannelAsync(CreateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.

Parameters
NameDescription
requestCreateNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

DeleteNotificationChannel(DeleteNotificationChannelRequest, CallOptions)

public virtual Empty DeleteNotificationChannel(DeleteNotificationChannelRequest request, CallOptions options)

Deletes a notification channel.

Parameters
NameDescription
requestDeleteNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNotificationChannel(DeleteNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteNotificationChannel(DeleteNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a notification channel.

Parameters
NameDescription
requestDeleteNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteNotificationChannelAsync(DeleteNotificationChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteNotificationChannelAsync(DeleteNotificationChannelRequest request, CallOptions options)

Deletes a notification channel.

Parameters
NameDescription
requestDeleteNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteNotificationChannelAsync(DeleteNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteNotificationChannelAsync(DeleteNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a notification channel.

Parameters
NameDescription
requestDeleteNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetNotificationChannel(GetNotificationChannelRequest, CallOptions)

public virtual NotificationChannel GetNotificationChannel(GetNotificationChannelRequest request, CallOptions options)

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

Parameters
NameDescription
requestGetNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

GetNotificationChannel(GetNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NotificationChannel GetNotificationChannel(GetNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

Parameters
NameDescription
requestGetNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

GetNotificationChannelAsync(GetNotificationChannelRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationChannel> GetNotificationChannelAsync(GetNotificationChannelRequest request, CallOptions options)

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

Parameters
NameDescription
requestGetNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

GetNotificationChannelAsync(GetNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NotificationChannel> GetNotificationChannelAsync(GetNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

Parameters
NameDescription
requestGetNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest, CallOptions)

public virtual NotificationChannelDescriptor GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest request, CallOptions options)

Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.

Parameters
NameDescription
requestGetNotificationChannelDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationChannelDescriptor

The response received from the server.

GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NotificationChannelDescriptor GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.

Parameters
NameDescription
requestGetNotificationChannelDescriptorRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationChannelDescriptor

The response received from the server.

GetNotificationChannelDescriptorAsync(GetNotificationChannelDescriptorRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationChannelDescriptor> GetNotificationChannelDescriptorAsync(GetNotificationChannelDescriptorRequest request, CallOptions options)

Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.

Parameters
NameDescription
requestGetNotificationChannelDescriptorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannelDescriptor>

The call object.

GetNotificationChannelDescriptorAsync(GetNotificationChannelDescriptorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NotificationChannelDescriptor> GetNotificationChannelDescriptorAsync(GetNotificationChannelDescriptorRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.

Parameters
NameDescription
requestGetNotificationChannelDescriptorRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannelDescriptor>

The call object.

GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest, CallOptions)

public virtual GetNotificationChannelVerificationCodeResponse GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest request, CallOptions options)

Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. This makes it possible to copy a channel between projects without requiring manual reverification of the channel. If the channel is not in the verified state, this method will fail (in other words, this may only be used if the SendNotificationChannelVerificationCode and VerifyNotificationChannel paths have already been used to put the given channel into the verified state).

There is no guarantee that the verification codes returned by this method will be of a similar structure or form as the ones that are delivered to the channel via SendNotificationChannelVerificationCode; while VerifyNotificationChannel() will recognize both the codes delivered via SendNotificationChannelVerificationCode() and returned from GetNotificationChannelVerificationCode(), it is typically the case that the verification codes delivered via SendNotificationChannelVerificationCode() will be shorter and also have a shorter expiration (e.g. codes such as "G-123456") whereas GetVerificationCode() will typically return a much longer, websafe base 64 encoded string that has a longer expiration time.

Parameters
NameDescription
requestGetNotificationChannelVerificationCodeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse

The response received from the server.

GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual GetNotificationChannelVerificationCodeResponse GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. This makes it possible to copy a channel between projects without requiring manual reverification of the channel. If the channel is not in the verified state, this method will fail (in other words, this may only be used if the SendNotificationChannelVerificationCode and VerifyNotificationChannel paths have already been used to put the given channel into the verified state).

There is no guarantee that the verification codes returned by this method will be of a similar structure or form as the ones that are delivered to the channel via SendNotificationChannelVerificationCode; while VerifyNotificationChannel() will recognize both the codes delivered via SendNotificationChannelVerificationCode() and returned from GetNotificationChannelVerificationCode(), it is typically the case that the verification codes delivered via SendNotificationChannelVerificationCode() will be shorter and also have a shorter expiration (e.g. codes such as "G-123456") whereas GetVerificationCode() will typically return a much longer, websafe base 64 encoded string that has a longer expiration time.

Parameters
NameDescription
requestGetNotificationChannelVerificationCodeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse

The response received from the server.

GetNotificationChannelVerificationCodeAsync(GetNotificationChannelVerificationCodeRequest, CallOptions)

public virtual AsyncUnaryCall<GetNotificationChannelVerificationCodeResponse> GetNotificationChannelVerificationCodeAsync(GetNotificationChannelVerificationCodeRequest request, CallOptions options)

Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. This makes it possible to copy a channel between projects without requiring manual reverification of the channel. If the channel is not in the verified state, this method will fail (in other words, this may only be used if the SendNotificationChannelVerificationCode and VerifyNotificationChannel paths have already been used to put the given channel into the verified state).

There is no guarantee that the verification codes returned by this method will be of a similar structure or form as the ones that are delivered to the channel via SendNotificationChannelVerificationCode; while VerifyNotificationChannel() will recognize both the codes delivered via SendNotificationChannelVerificationCode() and returned from GetNotificationChannelVerificationCode(), it is typically the case that the verification codes delivered via SendNotificationChannelVerificationCode() will be shorter and also have a shorter expiration (e.g. codes such as "G-123456") whereas GetVerificationCode() will typically return a much longer, websafe base 64 encoded string that has a longer expiration time.

Parameters
NameDescription
requestGetNotificationChannelVerificationCodeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<GetNotificationChannelVerificationCodeResponse>

The call object.

GetNotificationChannelVerificationCodeAsync(GetNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<GetNotificationChannelVerificationCodeResponse> GetNotificationChannelVerificationCodeAsync(GetNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project. This makes it possible to copy a channel between projects without requiring manual reverification of the channel. If the channel is not in the verified state, this method will fail (in other words, this may only be used if the SendNotificationChannelVerificationCode and VerifyNotificationChannel paths have already been used to put the given channel into the verified state).

There is no guarantee that the verification codes returned by this method will be of a similar structure or form as the ones that are delivered to the channel via SendNotificationChannelVerificationCode; while VerifyNotificationChannel() will recognize both the codes delivered via SendNotificationChannelVerificationCode() and returned from GetNotificationChannelVerificationCode(), it is typically the case that the verification codes delivered via SendNotificationChannelVerificationCode() will be shorter and also have a shorter expiration (e.g. codes such as "G-123456") whereas GetVerificationCode() will typically return a much longer, websafe base 64 encoded string that has a longer expiration time.

Parameters
NameDescription
requestGetNotificationChannelVerificationCodeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<GetNotificationChannelVerificationCodeResponse>

The call object.

ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest, CallOptions)

public virtual ListNotificationChannelDescriptorsResponse ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest request, CallOptions options)

Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.

Parameters
NameDescription
requestListNotificationChannelDescriptorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

The response received from the server.

ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListNotificationChannelDescriptorsResponse ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.

Parameters
NameDescription
requestListNotificationChannelDescriptorsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

The response received from the server.

ListNotificationChannelDescriptorsAsync(ListNotificationChannelDescriptorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListNotificationChannelDescriptorsResponse> ListNotificationChannelDescriptorsAsync(ListNotificationChannelDescriptorsRequest request, CallOptions options)

Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.

Parameters
NameDescription
requestListNotificationChannelDescriptorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListNotificationChannelDescriptorsResponse>

The call object.

ListNotificationChannelDescriptorsAsync(ListNotificationChannelDescriptorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListNotificationChannelDescriptorsResponse> ListNotificationChannelDescriptorsAsync(ListNotificationChannelDescriptorsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.

Parameters
NameDescription
requestListNotificationChannelDescriptorsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListNotificationChannelDescriptorsResponse>

The call object.

ListNotificationChannels(ListNotificationChannelsRequest, CallOptions)

public virtual ListNotificationChannelsResponse ListNotificationChannels(ListNotificationChannelsRequest request, CallOptions options)

Lists the notification channels that have been created for the project.

Parameters
NameDescription
requestListNotificationChannelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListNotificationChannelsResponse

The response received from the server.

ListNotificationChannels(ListNotificationChannelsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListNotificationChannelsResponse ListNotificationChannels(ListNotificationChannelsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the notification channels that have been created for the project.

Parameters
NameDescription
requestListNotificationChannelsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListNotificationChannelsResponse

The response received from the server.

ListNotificationChannelsAsync(ListNotificationChannelsRequest, CallOptions)

public virtual AsyncUnaryCall<ListNotificationChannelsResponse> ListNotificationChannelsAsync(ListNotificationChannelsRequest request, CallOptions options)

Lists the notification channels that have been created for the project.

Parameters
NameDescription
requestListNotificationChannelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListNotificationChannelsResponse>

The call object.

ListNotificationChannelsAsync(ListNotificationChannelsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListNotificationChannelsResponse> ListNotificationChannelsAsync(ListNotificationChannelsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the notification channels that have been created for the project.

Parameters
NameDescription
requestListNotificationChannelsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListNotificationChannelsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override NotificationChannelService.NotificationChannelServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
NotificationChannelService.NotificationChannelServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Monitoring.V3.NotificationChannelService.NotificationChannelServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest, CallOptions)

public virtual Empty SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest request, CallOptions options)

Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.

Parameters
NameDescription
requestSendNotificationChannelVerificationCodeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.

Parameters
NameDescription
requestSendNotificationChannelVerificationCodeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

SendNotificationChannelVerificationCodeAsync(SendNotificationChannelVerificationCodeRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> SendNotificationChannelVerificationCodeAsync(SendNotificationChannelVerificationCodeRequest request, CallOptions options)

Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.

Parameters
NameDescription
requestSendNotificationChannelVerificationCodeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

SendNotificationChannelVerificationCodeAsync(SendNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> SendNotificationChannelVerificationCodeAsync(SendNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.

Parameters
NameDescription
requestSendNotificationChannelVerificationCodeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

UpdateNotificationChannel(UpdateNotificationChannelRequest, CallOptions)

public virtual NotificationChannel UpdateNotificationChannel(UpdateNotificationChannelRequest request, CallOptions options)

Updates a notification channel. Fields not specified in the field mask remain unchanged.

Parameters
NameDescription
requestUpdateNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

UpdateNotificationChannel(UpdateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NotificationChannel UpdateNotificationChannel(UpdateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates a notification channel. Fields not specified in the field mask remain unchanged.

Parameters
NameDescription
requestUpdateNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

UpdateNotificationChannelAsync(UpdateNotificationChannelRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationChannel> UpdateNotificationChannelAsync(UpdateNotificationChannelRequest request, CallOptions options)

Updates a notification channel. Fields not specified in the field mask remain unchanged.

Parameters
NameDescription
requestUpdateNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

UpdateNotificationChannelAsync(UpdateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NotificationChannel> UpdateNotificationChannelAsync(UpdateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates a notification channel. Fields not specified in the field mask remain unchanged.

Parameters
NameDescription
requestUpdateNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

VerifyNotificationChannel(VerifyNotificationChannelRequest, CallOptions)

public virtual NotificationChannel VerifyNotificationChannel(VerifyNotificationChannelRequest request, CallOptions options)

Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

Parameters
NameDescription
requestVerifyNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

VerifyNotificationChannel(VerifyNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual NotificationChannel VerifyNotificationChannel(VerifyNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

Parameters
NameDescription
requestVerifyNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
NotificationChannel

The response received from the server.

VerifyNotificationChannelAsync(VerifyNotificationChannelRequest, CallOptions)

public virtual AsyncUnaryCall<NotificationChannel> VerifyNotificationChannelAsync(VerifyNotificationChannelRequest request, CallOptions options)

Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

Parameters
NameDescription
requestVerifyNotificationChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.

VerifyNotificationChannelAsync(VerifyNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<NotificationChannel> VerifyNotificationChannelAsync(VerifyNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

Parameters
NameDescription
requestVerifyNotificationChannelRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<NotificationChannel>

The call object.