/// <summary>Snippet for DeleteSink</summary>
        public void DeleteSink()
        {
            // Snippet: DeleteSink(SinkNameOneof,CallSettings)
            // Create client
            ConfigServiceV2Client configServiceV2Client = ConfigServiceV2Client.Create();
            // Initialize request argument(s)
            SinkNameOneof sinkName = SinkNameOneof.From(new SinkName("[PROJECT]", "[SINK]"));

            // Make the request
            configServiceV2Client.DeleteSink(sinkName);
            // End snippet
        }
        public void DeleteSink()
        {
            // Snippet: DeleteSink(string,CallSettings)
            // Create client
            ConfigServiceV2Client configServiceV2Client = ConfigServiceV2Client.Create();
            // Initialize request argument(s)
            string formattedSinkName = ConfigServiceV2Client.FormatSinkName("[PROJECT]", "[SINK]");

            // Make the request
            configServiceV2Client.DeleteSink(formattedSinkName);
            // End snippet
        }
        /// <summary>Snippet for DeleteSink</summary>
        public void DeleteSink_RequestObject()
        {
            // Snippet: DeleteSink(DeleteSinkRequest,CallSettings)
            // Create client
            ConfigServiceV2Client configServiceV2Client = ConfigServiceV2Client.Create();
            // Initialize request argument(s)
            DeleteSinkRequest request = new DeleteSinkRequest
            {
                SinkNameAsSinkNameOneof = SinkNameOneof.From(new SinkName("[PROJECT]", "[SINK]")),
            };

            // Make the request
            configServiceV2Client.DeleteSink(request);
            // End snippet
        }