/// <summary>Snippet for SetSslCertificates</summary> public void SetSslCertificatesRequestObject() { // Snippet: SetSslCertificates(SetSslCertificatesTargetSslProxyRequest, CallSettings) // Create client TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.Create(); // Initialize request argument(s) SetSslCertificatesTargetSslProxyRequest request = new SetSslCertificatesTargetSslProxyRequest { RequestId = "", TargetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest(), Project = "", TargetSslProxy = "", }; // Make the request Operation response = targetSslProxiesClient.SetSslCertificates(request); // End snippet }
/// <summary>Snippet for SetSslCertificatesAsync</summary> public async Task SetSslCertificatesRequestObjectAsync() { // Snippet: SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, CallSettings) // Additional: SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, CancellationToken) // Create client TargetSslProxiesClient targetSslProxiesClient = await TargetSslProxiesClient.CreateAsync(); // Initialize request argument(s) SetSslCertificatesTargetSslProxyRequest request = new SetSslCertificatesTargetSslProxyRequest { RequestId = "", TargetSslProxiesSetSslCertificatesRequestResource = new TargetSslProxiesSetSslCertificatesRequest(), Project = "", TargetSslProxy = "", }; // Make the request Operation response = await targetSslProxiesClient.SetSslCertificatesAsync(request); // End snippet }