/// <summary>Snippet for SetBackendServiceAsync</summary> public async Task SetBackendServiceAsync() { // Snippet: SetBackendServiceAsync(string, string, TargetSslProxiesSetBackendServiceRequest, CallSettings) // Additional: SetBackendServiceAsync(string, string, TargetSslProxiesSetBackendServiceRequest, CancellationToken) // Create client TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync(); // Initialize request argument(s) string project = ""; string targetSslProxy = ""; TargetSslProxiesSetBackendServiceRequest targetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest(); // Make the request Operation response = await targetSslProxiesClient.SetBackendServiceAsync(project, targetSslProxy, targetSslProxiesSetBackendServiceRequestResource); // End snippet }
/// <summary>Snippet for SetBackendServiceAsync</summary> public async Task SetBackendServiceRequestObjectAsync() { // Snippet: SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, CallSettings) // Additional: SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, CancellationToken) // Create client TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync(); // Initialize request argument(s) SetBackendServiceTargetSslProxyRequest request = new SetBackendServiceTargetSslProxyRequest { RequestId = "", TargetSslProxiesSetBackendServiceRequestResource = new TargetSslProxiesSetBackendServiceRequest(), Project = "", TargetSslProxy = "", }; // Make the request Operation response = await targetSslProxiesClient.SetBackendServiceAsync(request); // End snippet }