Beispiel #1
0
 /// <summary>Snippet for UpdateNotificationChannel</summary>
 public void UpdateNotificationChannel()
 {
     // Snippet: UpdateNotificationChannel(FieldMask,NotificationChannel,CallSettings)
     // Create client
     NotificationChannelServiceClient notificationChannelServiceClient = NotificationChannelServiceClient.Create();
     // Initialize request argument(s)
     FieldMask           updateMask          = new FieldMask();
     NotificationChannel notificationChannel = new NotificationChannel();
     // Make the request
     NotificationChannel response = notificationChannelServiceClient.UpdateNotificationChannel(updateMask, notificationChannel);
     // End snippet
 }
Beispiel #2
0
 /// <summary>Snippet for UpdateNotificationChannel</summary>
 public void UpdateNotificationChannel_RequestObject()
 {
     // Snippet: UpdateNotificationChannel(UpdateNotificationChannelRequest,CallSettings)
     // Create client
     NotificationChannelServiceClient notificationChannelServiceClient = NotificationChannelServiceClient.Create();
     // Initialize request argument(s)
     UpdateNotificationChannelRequest request = new UpdateNotificationChannelRequest
     {
         NotificationChannel = new NotificationChannel(),
     };
     // Make the request
     NotificationChannel response = notificationChannelServiceClient.UpdateNotificationChannel(request);
     // End snippet
 }