public async Task CreateSinkAsync()
        {
            // Snippet: CreateSinkAsync(string,LogSink,CallSettings)
            // Additional: CreateSinkAsync(string,LogSink,CancellationToken)
            // Create client
            ConfigServiceV2Client configServiceV2Client = ConfigServiceV2Client.Create();
            // Initialize request argument(s)
            string  formattedParent = ConfigServiceV2Client.FormatParentName("[PROJECT]");
            LogSink sink            = new LogSink();
            // Make the request
            LogSink response = await configServiceV2Client.CreateSinkAsync(formattedParent, sink);

            // End snippet
        }
        /// <summary>Snippet for CreateSinkAsync</summary>
        public async Task CreateSinkAsync()
        {
            // Snippet: CreateSinkAsync(ParentNameOneof,LogSink,CallSettings)
            // Additional: CreateSinkAsync(ParentNameOneof,LogSink,CancellationToken)
            // Create client
            ConfigServiceV2Client configServiceV2Client = await ConfigServiceV2Client.CreateAsync();

            // Initialize request argument(s)
            ParentNameOneof parent = ParentNameOneof.From(new ProjectName("[PROJECT]"));
            LogSink         sink   = new LogSink();
            // Make the request
            LogSink response = await configServiceV2Client.CreateSinkAsync(parent, sink);

            // End snippet
        }
        /// <summary>Snippet for CreateSinkAsync</summary>
        public async Task CreateSinkAsync_RequestObject()
        {
            // Snippet: CreateSinkAsync(CreateSinkRequest,CallSettings)
            // Create client
            ConfigServiceV2Client configServiceV2Client = await ConfigServiceV2Client.CreateAsync();

            // Initialize request argument(s)
            CreateSinkRequest request = new CreateSinkRequest
            {
                ParentAsParentNameOneof = ParentNameOneof.From(new ProjectName("[PROJECT]")),
                Sink = new LogSink(),
            };
            // Make the request
            LogSink response = await configServiceV2Client.CreateSinkAsync(request);

            // End snippet
        }