/// <summary>Snippet for GetExclusion</summary> public void GetExclusion() { // Snippet: GetExclusion(ExclusionNameOneof,CallSettings) // Create client ConfigServiceV2Client configServiceV2Client = ConfigServiceV2Client.Create(); // Initialize request argument(s) ExclusionNameOneof name = ExclusionNameOneof.From(new ExclusionName("[PROJECT]", "[EXCLUSION]")); // Make the request LogExclusion response = configServiceV2Client.GetExclusion(name); // End snippet }
/// <summary>Snippet for GetExclusion</summary> public void GetExclusion_RequestObject() { // Snippet: GetExclusion(GetExclusionRequest,CallSettings) // Create client ConfigServiceV2Client configServiceV2Client = ConfigServiceV2Client.Create(); // Initialize request argument(s) GetExclusionRequest request = new GetExclusionRequest { ExclusionNameOneof = ExclusionNameOneof.From(new ExclusionName("[PROJECT]", "[EXCLUSION]")), }; // Make the request LogExclusion response = configServiceV2Client.GetExclusion(request); // End snippet }