ProjectsNotificationChannelsResource class Null safety


ProjectsNotificationChannelsResource(ApiRequester client)


hashCode int
The hash code for this object.
runtimeType Type
A representation of the runtime type of the object.


create(NotificationChannel request, String name, {String? $fields}) Future<NotificationChannel>
Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.Design your application to single-thread API calls that modify the state of notification channels in a single project.
delete(String name, {bool? force, String? $fields}) Future<Empty>
Deletes a notification channel.Design your application to single-thread API calls that modify the state of notification channels in a single project.
get(String name, {String? $fields}) Future<NotificationChannel>
Gets a single notification channel.
getVerificationCode(GetNotificationChannelVerificationCodeRequest request, String name, {String? $fields}) Future<GetNotificationChannelVerificationCodeResponse>
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.
list(String name, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListNotificationChannelsResponse>
Lists the notification channels that have been created for the project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
patch(NotificationChannel request, String name, {String? updateMask, String? $fields}) Future<NotificationChannel>
Updates a notification channel.
sendVerificationCode(SendNotificationChannelVerificationCodeRequest request, String name, {String? $fields}) Future<Empty>
Causes a verification code to be delivered to the channel.
toString() String
A string representation of this object.
verify(VerifyNotificationChannelRequest request, String name, {String? $fields}) Future<NotificationChannel>
Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.


operator ==(Object other) bool
The equality operator.