/// <summary>Snippet for GetNotificationChannel</summary> public void GetNotificationChannel() { // Snippet: GetNotificationChannel(NotificationChannelName,CallSettings) // Create client NotificationChannelServiceClient notificationChannelServiceClient = NotificationChannelServiceClient.Create(); // Initialize request argument(s) NotificationChannelName name = new NotificationChannelName("[PROJECT]", "[NOTIFICATION_CHANNEL]"); // Make the request NotificationChannel response = notificationChannelServiceClient.GetNotificationChannel(name); // End snippet }
/// <summary>Snippet for GetNotificationChannel</summary> public void GetNotificationChannel_RequestObject() { // Snippet: GetNotificationChannel(GetNotificationChannelRequest,CallSettings) // Create client NotificationChannelServiceClient notificationChannelServiceClient = NotificationChannelServiceClient.Create(); // Initialize request argument(s) GetNotificationChannelRequest request = new GetNotificationChannelRequest { NotificationChannelName = new NotificationChannelName("[PROJECT]", "[NOTIFICATION_CHANNEL]"), }; // Make the request NotificationChannel response = notificationChannelServiceClient.GetNotificationChannel(request); // End snippet }