/// <summary>Snippet for DeleteGameServerConfigAsync</summary>
        public async Task DeleteGameServerConfigRequestObjectAsync()
        {
            // Snippet: DeleteGameServerConfigAsync(DeleteGameServerConfigRequest, CallSettings)
            // Additional: DeleteGameServerConfigAsync(DeleteGameServerConfigRequest, CancellationToken)
            // Create client
            GameServerConfigsServiceClient gameServerConfigsServiceClient = await GameServerConfigsServiceClient.CreateAsync();

            // Initialize request argument(s)
            DeleteGameServerConfigRequest request = new DeleteGameServerConfigRequest
            {
                GameServerConfigName = GameServerConfigName.FromProjectLocationDeploymentConfig("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]", "[CONFIG]"),
            };
            // Make the request
            Operation <GameServerConfig, OperationMetadata> response = await gameServerConfigsServiceClient.DeleteGameServerConfigAsync(request);

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

            // Retrieve the operation result
            GameServerConfig 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 <GameServerConfig, OperationMetadata> retrievedResponse = await gameServerConfigsServiceClient.PollOnceDeleteGameServerConfigAsync(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                GameServerConfig retrievedResult = retrievedResponse.Result;
            }
            // End snippet
        }
    public void DeleteConfig(
        string projectId, string regionId, string deploymentId, string configId)
    {
        // Create the client.
        GameServerConfigsServiceClient client = GameServerConfigsServiceClient.Create();

        DeleteGameServerConfigRequest request = new DeleteGameServerConfigRequest
        {
            GameServerConfigName = GameServerConfigName.FromProjectLocationDeploymentConfig(projectId, regionId, deploymentId, configId)
        };

        // Make the request.
        Operation <Empty, OperationMetadata> response = client.DeleteGameServerConfig(request);

        // Poll until the returned long-running operation is complete.
        response.PollUntilCompleted();
    }