diff --git a/protos/google/cloud/documentai/v1beta2/document_understanding.proto b/protos/google/cloud/documentai/v1beta2/document_understanding.proto index cf336f014..137ba5e31 100644 --- a/protos/google/cloud/documentai/v1beta2/document_understanding.proto +++ b/protos/google/cloud/documentai/v1beta2/document_understanding.proto @@ -36,7 +36,7 @@ option ruby_package = "Google::Cloud::DocumentAI::V1beta2"; // documents using state-of-the-art Google AI such as natural language, // computer vision, and translation. service DocumentUnderstandingService { - 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"; // LRO endpoint to batch process many documents. The output is written diff --git a/protos/protos.json b/protos/protos.json index b7abceda7..04a286de0 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -2802,7 +2802,7 @@ }, "DocumentUnderstandingService": { "options": { - "(google.api.default_host)": "us-documentai.googleapis.com", + "(google.api.default_host)": "documentai.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { diff --git a/src/v1beta2/document_understanding_service_client.ts b/src/v1beta2/document_understanding_service_client.ts index ca4fb252d..62ce5d4ca 100644 --- a/src/v1beta2/document_understanding_service_client.ts +++ b/src/v1beta2/document_understanding_service_client.ts @@ -265,7 +265,7 @@ export class DocumentUnderstandingServiceClient { * @returns {string} The DNS address for this service. */ static get servicePath() { - return 'us-documentai.googleapis.com'; + return 'documentai.googleapis.com'; } /** @@ -274,7 +274,7 @@ export class DocumentUnderstandingServiceClient { * @returns {string} The DNS address for this service. */ static get apiEndpoint() { - return 'us-documentai.googleapis.com'; + return 'documentai.googleapis.com'; } /**