feat: Use non-regionalized default host name for documentai.googleapis.com

PiperOrigin-RevId: 373516134
pull/653/head
Google APIs 4 years ago committed by Copybara-Service
parent ac0cf1769f
commit b29fb6b9fc
  1. 2
      google/cloud/documentai/v1/document_processor_service.proto
  2. 2
      google/cloud/documentai/v1beta3/document_processor_service.proto

@ -52,7 +52,7 @@ option (google.api.resource_definition) = {
// AI such as natural language, computer vision, and translation to extract
// structured information from unstructured or semi-structured documents.
service DocumentProcessorService {
option (google.api.default_host) = "us-documentai.googleapis.com";
option (google.api.default_host) = "documentai.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
// Processes a single document.

@ -57,7 +57,7 @@ option (google.api.resource_definition) = {
// AI such as natural language, computer vision, and translation to extract
// structured information from unstructured or semi-structured documents.
service DocumentProcessorService {
option (google.api.default_host) = "us-documentai.googleapis.com";
option (google.api.default_host) = "documentai.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
// Processes a single document.

Loading…
Cancel
Save