diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
index bbb6d64e..77513d68 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
@@ -40,7 +40,7 @@
*
The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
index 05d7553e..83648289 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
@@ -60,7 +60,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
@@ -150,7 +150,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
- return "us-documentai.googleapis.com:443";
+ return "documentai.googleapis.com:443";
}
/** Returns the default service scopes. */
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
index 9d28863c..02121ae1 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
@@ -40,7 +40,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
index 80da61bf..0509b2af 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
@@ -60,7 +60,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
@@ -151,7 +151,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
- return "us-documentai.googleapis.com:443";
+ return "documentai.googleapis.com:443";
}
/** Returns the default service scopes. */
diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java
index 22d937b1..1f1f4304 100644
--- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java
+++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java
@@ -146,7 +146,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/\n\013update_time\030\004 \001(\0132\032.google.protobuf.T"
+ "imestamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000"
+ "\022\013\n\007RUNNING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEED"
- + "ED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\0052\256\006\n\030Docu"
+ + "ED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\0052\253\006\n\030Docu"
+ "mentProcessorService\022\264\001\n\017ProcessDocument"
+ "\022*.google.cloud.documentai.v1.ProcessReq"
+ "uest\032+.google.cloud.documentai.v1.Proces"
@@ -165,22 +165,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ssors/*/humanReviewConfig}:reviewDocumen"
+ "t:\001*\332A\023human_review_config\312A9\n\026ReviewDoc"
+ "umentResponse\022\037ReviewDocumentOperationMe"
- + "tadata\032P\312A\034us-documentai.googleapis.com\322"
- + "A.https://www.googleapis.com/auth/cloud-"
- + "platformB\230\004\n\036com.google.cloud.documentai"
- + ".v1B\032DocumentAiProcessorServiceP\001ZDgoogl"
- + "e.golang.org/genproto/googleapis/cloud/d"
- + "ocumentai/v1;documentai\252\002\032Google.Cloud.D"
- + "ocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V"
- + "1\352\002\035Google::Cloud::DocumentAI::V1\352AM\n\"do"
- + "cumentai.googleapis.com/Location\022\'projec"
- + "ts/{project}/locations/{location}\352Ae\n#do"
- + "cumentai.googleapis.com/Processor\022>proje"
- + "cts/{project}/locations/{location}/proce"
- + "ssors/{processor}\352A\177\n+documentai.googlea"
- + "pis.com/HumanReviewConfig\022Pprojects/{pro"
- + "ject}/locations/{location}/processors/{p"
- + "rocessor}/humanReviewConfigb\006proto3"
+ + "tadata\032M\312A\031documentai.googleapis.com\322A.h"
+ + "ttps://www.googleapis.com/auth/cloud-pla"
+ + "tformB\230\004\n\036com.google.cloud.documentai.v1"
+ + "B\032DocumentAiProcessorServiceP\001ZDgoogle.g"
+ + "olang.org/genproto/googleapis/cloud/docu"
+ + "mentai/v1;documentai\252\002\032Google.Cloud.Docu"
+ + "mentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002"
+ + "\035Google::Cloud::DocumentAI::V1\352AM\n\"docum"
+ + "entai.googleapis.com/Location\022\'projects/"
+ + "{project}/locations/{location}\352Ae\n#docum"
+ + "entai.googleapis.com/Processor\022>projects"
+ + "/{project}/locations/{location}/processo"
+ + "rs/{processor}\352A\177\n+documentai.googleapis"
+ + ".com/HumanReviewConfig\022Pprojects/{projec"
+ + "t}/locations/{location}/processors/{proc"
+ + "essor}/humanReviewConfigb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto
index 0d3e872c..033b3cb7 100644
--- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto
+++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/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.
diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java
index 03f9f7aa..7a732929 100644
--- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java
+++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java
@@ -177,7 +177,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\"e\n"
+ "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING"
+ "\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI"
- + "LED\020\004\022\r\n\tCANCELLED\020\0052\322\006\n\030DocumentProcess"
+ + "LED\020\004\022\r\n\tCANCELLED\020\0052\317\006\n\030DocumentProcess"
+ "orService\022\303\001\n\017ProcessDocument\022/.google.c"
+ "loud.documentai.v1beta3.ProcessRequest\0320"
+ ".google.cloud.documentai.v1beta3.Process"
@@ -196,24 +196,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "jects/*/locations/*/processors/*/humanRe"
+ "viewConfig}:reviewDocument:\001*\332A\023human_re"
+ "view_config\312A9\n\026ReviewDocumentResponse\022\037"
- + "ReviewDocumentOperationMetadata\032P\312A\034us-d"
- + "ocumentai.googleapis.com\322A.https://www.g"
- + "oogleapis.com/auth/cloud-platformB\261\004\n#co"
- + "m.google.cloud.documentai.v1beta3B\032Docum"
- + "entAiProcessorServiceP\001ZIgoogle.golang.o"
- + "rg/genproto/googleapis/cloud/documentai/"
- + "v1beta3;documentai\252\002\037Google.Cloud.Docume"
- + "ntAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V"
- + "1beta3\352\002\"Google::Cloud::DocumentAI::V1be"
- + "ta3\352AM\n\"documentai.googleapis.com/Locati"
- + "on\022\'projects/{project}/locations/{locati"
- + "on}\352Ae\n#documentai.googleapis.com/Proces"
- + "sor\022>projects/{project}/locations/{locat"
- + "ion}/processors/{processor}\352A\177\n+document"
- + "ai.googleapis.com/HumanReviewConfig\022Ppro"
- + "jects/{project}/locations/{location}/pro"
- + "cessors/{processor}/humanReviewConfigb\006p"
- + "roto3"
+ + "ReviewDocumentOperationMetadata\032M\312A\031docu"
+ + "mentai.googleapis.com\322A.https://www.goog"
+ + "leapis.com/auth/cloud-platformB\261\004\n#com.g"
+ + "oogle.cloud.documentai.v1beta3B\032Document"
+ + "AiProcessorServiceP\001ZIgoogle.golang.org/"
+ + "genproto/googleapis/cloud/documentai/v1b"
+ + "eta3;documentai\252\002\037Google.Cloud.DocumentA"
+ + "I.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1be"
+ + "ta3\352\002\"Google::Cloud::DocumentAI::V1beta3"
+ + "\352AM\n\"documentai.googleapis.com/Location\022"
+ + "\'projects/{project}/locations/{location}"
+ + "\352Ae\n#documentai.googleapis.com/Processor"
+ + "\022>projects/{project}/locations/{location"
+ + "}/processors/{processor}\352A\177\n+documentai."
+ + "googleapis.com/HumanReviewConfig\022Pprojec"
+ + "ts/{project}/locations/{location}/proces"
+ + "sors/{processor}/humanReviewConfigb\006prot"
+ + "o3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto
index 7c37b406..d69689f7 100644
--- a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto
+++ b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto
@@ -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.
diff --git a/synth.metadata b/synth.metadata
index edf5b4f1..0d9669c9 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,39 +4,39 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
- "sha": "5dbd66d90ac5b85a3925ba3524c2b0b0d758ead6"
+ "sha": "14c3a6b3c43869784d466aa0f74ca2c7871ef56d"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{