Example #1
0
 /// <summary>Snippet for Delete</summary>
 public void DeleteRequestObject()
 {
     // Snippet: Delete(DeleteTargetHttpsProxyRequest, CallSettings)
     // Create client
     TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.Create();
     // Initialize request argument(s)
     DeleteTargetHttpsProxyRequest request = new DeleteTargetHttpsProxyRequest
     {
         RequestId        = "",
         TargetHttpsProxy = "",
         Project          = "",
     };
     // Make the request
     Operation response = targetHttpsProxiesClient.Delete(request);
     // End snippet
 }
Example #2
0
        /// <summary>Snippet for DeleteAsync</summary>
        public async Task DeleteRequestObjectAsync()
        {
            // Snippet: DeleteAsync(DeleteTargetHttpsProxyRequest, CallSettings)
            // Additional: DeleteAsync(DeleteTargetHttpsProxyRequest, CancellationToken)
            // Create client
            TargetHttpsProxiesClient targetHttpsProxiesClient = await TargetHttpsProxiesClient.CreateAsync();

            // Initialize request argument(s)
            DeleteTargetHttpsProxyRequest request = new DeleteTargetHttpsProxyRequest
            {
                RequestId        = "",
                TargetHttpsProxy = "",
                Project          = "",
            };
            // Make the request
            Operation response = await targetHttpsProxiesClient.DeleteAsync(request);

            // End snippet
        }