/// <summary>Snippet for GetSpecialistPoolAsync</summary> public async Task GetSpecialistPoolResourceNamesAsync() { // Snippet: GetSpecialistPoolAsync(SpecialistPoolName, CallSettings) // Additional: GetSpecialistPoolAsync(SpecialistPoolName, CancellationToken) // Create client SpecialistPoolServiceClient specialistPoolServiceClient = await SpecialistPoolServiceClient.CreateAsync(); // Initialize request argument(s) SpecialistPoolName name = SpecialistPoolName.FromProjectLocationSpecialistPool("[PROJECT]", "[LOCATION]", "[SPECIALIST_POOL]"); // Make the request SpecialistPool response = await specialistPoolServiceClient.GetSpecialistPoolAsync(name); // End snippet }
/// <summary>Snippet for GetSpecialistPoolAsync</summary> public async Task GetSpecialistPoolAsync() { // Snippet: GetSpecialistPoolAsync(string, CallSettings) // Additional: GetSpecialistPoolAsync(string, CancellationToken) // Create client SpecialistPoolServiceClient specialistPoolServiceClient = await SpecialistPoolServiceClient.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/locations/[LOCATION]/specialistPools/[SPECIALIST_POOL]"; // Make the request SpecialistPool response = await specialistPoolServiceClient.GetSpecialistPoolAsync(name); // End snippet }