Beispiel #1
0
 /// <summary>Snippet for Get</summary>
 public void Get()
 {
     // Snippet: Get(string, string, string, CallSettings)
     // Create client
     TargetVpnGatewaysClient targetVpnGatewaysClient = TargetVpnGatewaysClient.Create();
     // Initialize request argument(s)
     string project          = "";
     string region           = "";
     string targetVpnGateway = "";
     // Make the request
     TargetVpnGateway response = targetVpnGatewaysClient.Get(project, region, targetVpnGateway);
     // End snippet
 }
 /// <summary>Snippet for Get</summary>
 public void GetRequestObject()
 {
     // Snippet: Get(GetTargetVpnGatewayRequest, CallSettings)
     // Create client
     TargetVpnGatewaysClient targetVpnGatewaysClient = TargetVpnGatewaysClient.Create();
     // Initialize request argument(s)
     GetTargetVpnGatewayRequest request = new GetTargetVpnGatewayRequest
     {
         Region           = "",
         Project          = "",
         TargetVpnGateway = "",
     };
     // Make the request
     TargetVpnGateway response = targetVpnGatewaysClient.Get(request);
     // End snippet
 }