Skip to content

Commit b29fb6b

Browse files
Google APIscopybara-github
authored andcommitted
feat: Use non-regionalized default host name for documentai.googleapis.com
PiperOrigin-RevId: 373516134
1 parent ac0cf17 commit b29fb6b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

google/cloud/documentai/v1/document_processor_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ option (google.api.resource_definition) = {
5252
// AI such as natural language, computer vision, and translation to extract
5353
// structured information from unstructured or semi-structured documents.
5454
service DocumentProcessorService {
55-
option (google.api.default_host) = "us-documentai.googleapis.com";
55+
option (google.api.default_host) = "documentai.googleapis.com";
5656
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
5757

5858
// Processes a single document.

google/cloud/documentai/v1beta3/document_processor_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ option (google.api.resource_definition) = {
5757
// AI such as natural language, computer vision, and translation to extract
5858
// structured information from unstructured or semi-structured documents.
5959
service DocumentProcessorService {
60-
option (google.api.default_host) = "us-documentai.googleapis.com";
60+
option (google.api.default_host) = "documentai.googleapis.com";
6161
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
6262

6363
// Processes a single document.

0 commit comments

Comments
 (0)