Skip to content

Commit

Permalink
fix: update default host to documentai.googleapis.com (#217)
Browse files Browse the repository at this point in the history
* Combined commits from googleapis/googleapis. (#6)

The oldest commit in this list broke all library generation.
The newest commit in this list fixed library generation.

Therefore, Owl bot cannot determine which of the following commits is responsible
for changes in generated code.

commit 556c373cd2706e54a2881235beddd3f47638fe64
Author: Google APIs <noreply@google.com>
Date:   Thu May 13 11:08:54 2021 -0700

    chore: restores missing BUILD.bazel build rules

    Committer: @telpirion
    PiperOrigin-RevId: 373615236

commit b19f9466457238d4f030f9622e8d681d554edc89
Author: Google APIs <noreply@google.com>
Date:   Thu May 13 09:59:22 2021 -0700

    feat: publish alertcenter/v1beta API and Bazel targets

    PiperOrigin-RevId: 373599033

commit 3c6c3d69b701ca7f7fdfc5227c97f71838e82f8e
Author: Google APIs <noreply@google.com>
Date:   Thu May 13 09:13:00 2021 -0700

    feat!: migrate firestore/admin to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373590133

commit 8275ca6ecfa0ad8a61eacf89727d86ee3175192b
Author: Google APIs <noreply@google.com>
Date:   Thu May 13 09:12:06 2021 -0700

    chore: migrate audit to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373589975

commit 7467f29ba8da21607bd74f32b86ae254a070a463
Author: Google APIs <noreply@google.com>
Date:   Thu May 13 09:10:48 2021 -0700

    chore: migrate maps/playablelocations to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373589757

commit b29fb6b9fcdf3bc67487fa22ab7783915023041e
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 22:04:27 2021 -0700

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

    PiperOrigin-RevId: 373516134

commit ac0cf1769f8001ae8a6fcd360e2f81a748770ba8
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:26:08 2021 -0700

    chore: migrate devtools/source to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373494082

commit 8d013cfaff6a04d65d02be65403dcf064a76c2ab
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:24:55 2021 -0700

    chore: migrate actions to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373493952

commit 51e932d01c2ac41638fba70b8c17bd9cbb77fd3c
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:20:45 2021 -0700

    chore: migrate bigquery/connection to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373493472

commit b0e8809d55bc9ee2eeba64ca405070693d56a1de
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:19:20 2021 -0700

    chore: migrate maps/routes to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373493291

commit 38770cd1cbd9711b22f68d94e46044e62449c566
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:15:46 2021 -0700

    chore: migrate recommendationengine to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373492874

commit 862503ff2661a078d98c79a99ae86b841732ba56
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:12:40 2021 -0700

    chore: migrate devtools/trace to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373492514

commit 16d44bcb215d41503d8d2dd216b6e80b26923f98
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:10:03 2021 -0700

    chore: migrate bigquery/logging to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373492203

commit 6a66cdb58d933612eea98af77343f89d8a264a99
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:08:37 2021 -0700

    chore: migrate identity/accesscontextmanager to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373492050

commit 9f67f841f4350b3dc891dffed1c7686f236f0eea
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:03:13 2021 -0700

    chore: migrate api/expr to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373491277

commit 8333535e2a7fb406109b1e38b44225397e0d1ff3
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 18:01:10 2021 -0700

    chore: migrate appengine to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373490960

commit f89b6712a556e92e3034d02b30943661c859cc0b
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 17:59:03 2021 -0700

    chore: migrate bigquery/v2 to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373490690

commit 061b720855dfb88b1ca8d10216ce8ae66c0094d6
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 17:55:52 2021 -0700

    chore: migrate clouddebugger to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373490291

commit e67f6f06973bd024d1a624199b17f68d763f00b1
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 17:53:12 2021 -0700

    chore: migrate datastore/admin to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373489974

commit 87967b5cb933958680b8a0b5042f13d45b600adb
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 17:43:57 2021 -0700

    chore: migrate iam/admin to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373488700

commit 22ce74e4a1720ac37209eff01b9615c0b0be2c7f
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 16:23:13 2021 -0700

    chore: migrate iam/credentials to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373474691

commit 821ba0e5fd6243c6793b368a922109fb4c4c6fd0
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 16:21:36 2021 -0700

    feat!: migrate bigquery/datatransfer to the PHP microgenerator

    Committer: @miraleung
    PiperOrigin-RevId: 373474384

commit cc882d10fbdf18d1f31846a401b75452a53bf800
Author: Google APIs <noreply@google.com>
Date:   Wed May 12 16:05:20 2021 -0700

    feat: adds enhanced protos for time series forecasting

    Committer: @aribray
    PiperOrigin-RevId: 373471501

Source-Link: googleapis/googleapis@2f65289
Change-Id: I6e388dbe586b839faa8f888b70ee421e6835c07d
Source-Link: googleapis/googleapis-gen@203c2ee

* 🦉 Updates from OwlBot

* 🦉 Updates from OwlBot

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
  • Loading branch information
3 people authored May 20, 2021
1 parent 8f83953 commit ab1cdb0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-documentai/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export class DocumentProcessorServiceClient {
* @returns {string} The DNS address for this service.
*/
static get servicePath() {
return 'us-documentai.googleapis.com';
return 'documentai.googleapis.com';
}

/**
Expand All @@ -289,7 +289,7 @@ export class DocumentProcessorServiceClient {
* @returns {string} The DNS address for this service.
*/
static get apiEndpoint() {
return 'us-documentai.googleapis.com';
return 'documentai.googleapis.com';
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export class DocumentProcessorServiceClient {
* @returns {string} The DNS address for this service.
*/
static get servicePath() {
return 'us-documentai.googleapis.com';
return 'documentai.googleapis.com';
}

/**
Expand All @@ -289,7 +289,7 @@ export class DocumentProcessorServiceClient {
* @returns {string} The DNS address for this service.
*/
static get apiEndpoint() {
return 'us-documentai.googleapis.com';
return 'documentai.googleapis.com';
}

/**
Expand Down

0 comments on commit ab1cdb0

Please sign in to comment.