/// <summary>Snippet for ResolveServiceAsync</summary>
        public async Task ResolveServiceRequestObjectAsync()
        {
            // Snippet: ResolveServiceAsync(ResolveServiceRequest, CallSettings)
            // Additional: ResolveServiceAsync(ResolveServiceRequest, CancellationToken)
            // Create client
            LookupServiceClient lookupServiceClient = await LookupServiceClient.CreateAsync();

            // Initialize request argument(s)
            ResolveServiceRequest request = new ResolveServiceRequest
            {
                ServiceName    = ServiceName.FromProjectLocationNamespaceService("[PROJECT]", "[LOCATION]", "[NAMESPACE]", "[SERVICE]"),
                MaxEndpoints   = 0,
                EndpointFilter = "",
            };
            // Make the request
            ResolveServiceResponse response = await lookupServiceClient.ResolveServiceAsync(request);

            // End snippet
        }