/// <summary>Snippet for RemovePublicKeyAsync</summary>
        public async Task RemovePublicKeyRequestObjectAsync()
        {
            // Snippet: RemovePublicKeyAsync(RemovePublicKeyRequest, CallSettings)
            // Additional: RemovePublicKeyAsync(RemovePublicKeyRequest, CancellationToken)
            // Create client
            CloudShellServiceClient cloudShellServiceClient = await CloudShellServiceClient.CreateAsync();

            // Initialize request argument(s)
            RemovePublicKeyRequest request = new RemovePublicKeyRequest
            {
                Environment = "",
                Key         = "",
            };
            // Make the request
            Operation <RemovePublicKeyResponse, RemovePublicKeyMetadata> response = await cloudShellServiceClient.RemovePublicKeyAsync(request);

            // Poll until the returned long-running operation is complete
            Operation <RemovePublicKeyResponse, RemovePublicKeyMetadata> completedResponse = await response.PollUntilCompletedAsync();

            // Retrieve the operation result
            RemovePublicKeyResponse result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
            Operation <RemovePublicKeyResponse, RemovePublicKeyMetadata> retrievedResponse = await cloudShellServiceClient.PollOnceRemovePublicKeyAsync(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                RemovePublicKeyResponse retrievedResult = retrievedResponse.Result;
            }
            // End snippet
        }