File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async function main(
3737 // Imports the Google Cloud client library
3838 const {
3939 DocumentUnderstandingServiceClient,
40- } = require ( '@google-cloud/documentai' ) ;
40+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
4141 const { Storage} = require ( '@google-cloud/storage' ) ;
4242
4343 const client = new DocumentUnderstandingServiceClient ( ) ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async function main(
3737 // Imports the Google Cloud client library
3838 const {
3939 DocumentUnderstandingServiceClient,
40- } = require ( '@google-cloud/documentai' ) ;
40+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
4141 const { Storage} = require ( '@google-cloud/storage' ) ;
4242
4343 const client = new DocumentUnderstandingServiceClient ( ) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
3030
3131 const {
3232 DocumentUnderstandingServiceClient,
33- } = require ( '@google-cloud/documentai' ) ;
33+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
3434 const client = new DocumentUnderstandingServiceClient ( ) ;
3535
3636 async function parseForm ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
3030
3131 const {
3232 DocumentUnderstandingServiceClient,
33- } = require ( '@google-cloud/documentai' ) ;
33+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
3434 const client = new DocumentUnderstandingServiceClient ( ) ;
3535
3636 async function parseTable ( ) {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ async function main(
3232
3333 const {
3434 DocumentUnderstandingServiceClient,
35- } = require ( '@google-cloud/documentai' ) ;
35+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
3636 const client = new DocumentUnderstandingServiceClient ( ) ;
3737
3838 async function parseWithModel ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
3030
3131 const {
3232 DocumentUnderstandingServiceClient,
33- } = require ( '@google-cloud/documentai' ) ;
33+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
3434 const client = new DocumentUnderstandingServiceClient ( ) ;
3535
3636 async function quickstart ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
3030
3131 const {
3232 DocumentUnderstandingServiceClient,
33- } = require ( '@google-cloud/documentai' ) ;
33+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
3434
3535 // Specifies the location of the api endpoint
3636 const clientOptions = { apiEndpoint : 'eu-documentai.googleapis.com' } ;
You can’t perform that action at this time.
0 commit comments