public class NotificationChannelServiceClient : ClientBase<NotificationChannelService.NotificationChannelServiceClient>
Client for NotificationChannelService
Inheritance
Object > ClientBase > ClientBase<NotificationChannelService.NotificationChannelServiceClient> > NotificationChannelService.NotificationChannelServiceClientNamespace
Google.Cloud.Monitoring.V3Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
NotificationChannelServiceClient(ChannelBase)
public NotificationChannelServiceClient(ChannelBase channel)
Creates a new client for NotificationChannelService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
request | CreateNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationChannel | The response received from the server. |
CreateNotificationChannel(CreateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationChannel CreateNotificationChannel(CreateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | CreateNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | CreateNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationChannel> | The call object. |
CreateNotificationChannelAsync(CreateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationChannel> CreateNotificationChannelAsync(CreateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | CreateNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
AsyncUnaryCall<NotificationChannel> | The call object. |
DeleteNotificationChannel(DeleteNotificationChannelRequest, CallOptions)
public virtual Empty DeleteNotificationChannel(DeleteNotificationChannelRequest request, CallOptions options)
Deletes a notification channel.
Parameters | |
---|---|
Name | Description |
request | DeleteNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
DeleteNotificationChannel(DeleteNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty DeleteNotificationChannel(DeleteNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a notification channel.
Parameters | |
---|---|
Name | Description |
request | DeleteNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
Empty | The response received from the server. |
DeleteNotificationChannelAsync(DeleteNotificationChannelRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteNotificationChannelAsync(DeleteNotificationChannelRequest request, CallOptions options)
Deletes a notification channel.
Parameters | |
---|---|
Name | Description |
request | DeleteNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
DeleteNotificationChannelAsync(DeleteNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteNotificationChannelAsync(DeleteNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes a notification channel.
Parameters | |
---|---|
Name | Description |
request | DeleteNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationChannel | The response received from the server. |
GetNotificationChannel(GetNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationChannel GetNotificationChannel(GetNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationChannel> | The call object. |
GetNotificationChannelAsync(GetNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationChannel> GetNotificationChannelAsync(GetNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetNotificationChannelDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationChannelDescriptor | The response received from the server. |
GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationChannelDescriptor GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetNotificationChannelDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetNotificationChannelDescriptorRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationChannelDescriptor> | The call object. |
GetNotificationChannelDescriptorAsync(GetNotificationChannelDescriptorRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationChannelDescriptor> GetNotificationChannelDescriptorAsync(GetNotificationChannelDescriptorRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetNotificationChannelDescriptorRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetNotificationChannelVerificationCodeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GetNotificationChannelVerificationCodeResponse | The response received from the server. |
GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual GetNotificationChannelVerificationCodeResponse GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetNotificationChannelVerificationCodeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | GetNotificationChannelVerificationCodeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<GetNotificationChannelVerificationCodeResponse> | The call object. |
GetNotificationChannelVerificationCodeAsync(GetNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<GetNotificationChannelVerificationCodeResponse> GetNotificationChannelVerificationCodeAsync(GetNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | GetNotificationChannelVerificationCodeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListNotificationChannelDescriptorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListNotificationChannelDescriptorsResponse | The response received from the server. |
ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListNotificationChannelDescriptorsResponse ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | ListNotificationChannelDescriptorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListNotificationChannelDescriptorsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListNotificationChannelDescriptorsResponse> | The call object. |
ListNotificationChannelDescriptorsAsync(ListNotificationChannelDescriptorsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListNotificationChannelDescriptorsResponse> ListNotificationChannelDescriptorsAsync(ListNotificationChannelDescriptorsRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | ListNotificationChannelDescriptorsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListNotificationChannelsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListNotificationChannelsResponse | The response received from the server. |
ListNotificationChannels(ListNotificationChannelsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListNotificationChannelsResponse ListNotificationChannels(ListNotificationChannelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists the notification channels that have been created for the project.
Parameters | |
---|---|
Name | Description |
request | ListNotificationChannelsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | ListNotificationChannelsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListNotificationChannelsResponse> | The call object. |
ListNotificationChannelsAsync(ListNotificationChannelsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListNotificationChannelsResponse> ListNotificationChannelsAsync(ListNotificationChannelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists the notification channels that have been created for the project.
Parameters | |
---|---|
Name | Description |
request | ListNotificationChannelsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
NotificationChannelService.NotificationChannelServiceClient |
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 | |
---|---|
Name | Description |
request | SendNotificationChannelVerificationCodeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty | The response received from the server. |
SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Empty SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | SendNotificationChannelVerificationCodeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | SendNotificationChannelVerificationCodeRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Empty> | The call object. |
SendNotificationChannelVerificationCodeAsync(SendNotificationChannelVerificationCodeRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Empty> SendNotificationChannelVerificationCodeAsync(SendNotificationChannelVerificationCodeRequest request, Metadata headers = null, DateTime? deadline = null, 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 | |
---|---|
Name | Description |
request | SendNotificationChannelVerificationCodeRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | UpdateNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationChannel | The response received from the server. |
UpdateNotificationChannel(UpdateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationChannel UpdateNotificationChannel(UpdateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a notification channel. Fields not specified in the field mask remain unchanged.
Parameters | |
---|---|
Name | Description |
request | UpdateNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | UpdateNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationChannel> | The call object. |
UpdateNotificationChannelAsync(UpdateNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationChannel> UpdateNotificationChannelAsync(UpdateNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates a notification channel. Fields not specified in the field mask remain unchanged.
Parameters | |
---|---|
Name | Description |
request | UpdateNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | VerifyNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
NotificationChannel | The response received from the server. |
VerifyNotificationChannel(VerifyNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual NotificationChannel VerifyNotificationChannel(VerifyNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Verifies a NotificationChannel
by proving receipt of the code
delivered to the channel as a result of calling
SendNotificationChannelVerificationCode
.
Parameters | |
---|---|
Name | Description |
request | VerifyNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
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 | |
---|---|
Name | Description |
request | VerifyNotificationChannelRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<NotificationChannel> | The call object. |
VerifyNotificationChannelAsync(VerifyNotificationChannelRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<NotificationChannel> VerifyNotificationChannelAsync(VerifyNotificationChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Verifies a NotificationChannel
by proving receipt of the code
delivered to the channel as a result of calling
SendNotificationChannelVerificationCode
.
Parameters | |
---|---|
Name | Description |
request | VerifyNotificationChannelRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<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 |
AsyncUnaryCall<NotificationChannel> | The call object. |