Пример #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     RegionNotificationEndpointsClient regionNotificationEndpointsClient = RegionNotificationEndpointsClient.Create();
     // Initialize request argument(s)
     string project = "";
     string region  = "";
     string notificationEndpoint = "";
     // Make the request
     NotificationEndpoint response = regionNotificationEndpointsClient.Get(project, region, notificationEndpoint);
     // End snippet
 }
Пример #2
0
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetRegionNotificationEndpointRequest, CallSettings)
     // Create client
     RegionNotificationEndpointsClient regionNotificationEndpointsClient = RegionNotificationEndpointsClient.Create();
     // Initialize request argument(s)
     GetRegionNotificationEndpointRequest request = new GetRegionNotificationEndpointRequest
     {
         Region  = "",
         Project = "",
         NotificationEndpoint = "",
     };
     // Make the request
     NotificationEndpoint response = regionNotificationEndpointsClient.Get(request);
     // End snippet
 }