/// <summary>Snippet for GetExclusionAsync</summary>
        public async Task GetExclusionAsync()
        {
            // Snippet: GetExclusionAsync(ExclusionNameOneof,CallSettings)
            // Additional: GetExclusionAsync(ExclusionNameOneof,CancellationToken)
            // Create client
            ConfigServiceV2Client configServiceV2Client = await ConfigServiceV2Client.CreateAsync();

            // Initialize request argument(s)
            ExclusionNameOneof name = ExclusionNameOneof.From(new ExclusionName("[PROJECT]", "[EXCLUSION]"));
            // Make the request
            LogExclusion response = await configServiceV2Client.GetExclusionAsync(name);

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

            // Initialize request argument(s)
            GetExclusionRequest request = new GetExclusionRequest
            {
                ExclusionNameOneof = ExclusionNameOneof.From(new ExclusionName("[PROJECT]", "[EXCLUSION]")),
            };
            // Make the request
            LogExclusion response = await configServiceV2Client.GetExclusionAsync(request);

            // End snippet
        }