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(
37
37
// Imports the Google Cloud client library
38
38
const {
39
39
DocumentUnderstandingServiceClient,
40
- } = require ( '@google-cloud/documentai' ) ;
40
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
41
41
const { Storage} = require ( '@google-cloud/storage' ) ;
42
42
43
43
const client = new DocumentUnderstandingServiceClient ( ) ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ async function main(
37
37
// Imports the Google Cloud client library
38
38
const {
39
39
DocumentUnderstandingServiceClient,
40
- } = require ( '@google-cloud/documentai' ) ;
40
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
41
41
const { Storage} = require ( '@google-cloud/storage' ) ;
42
42
43
43
const client = new DocumentUnderstandingServiceClient ( ) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
30
30
31
31
const {
32
32
DocumentUnderstandingServiceClient,
33
- } = require ( '@google-cloud/documentai' ) ;
33
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
34
34
const client = new DocumentUnderstandingServiceClient ( ) ;
35
35
36
36
async function parseForm ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
30
30
31
31
const {
32
32
DocumentUnderstandingServiceClient,
33
- } = require ( '@google-cloud/documentai' ) ;
33
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
34
34
const client = new DocumentUnderstandingServiceClient ( ) ;
35
35
36
36
async function parseTable ( ) {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ async function main(
32
32
33
33
const {
34
34
DocumentUnderstandingServiceClient,
35
- } = require ( '@google-cloud/documentai' ) ;
35
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
36
36
const client = new DocumentUnderstandingServiceClient ( ) ;
37
37
38
38
async function parseWithModel ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
30
30
31
31
const {
32
32
DocumentUnderstandingServiceClient,
33
- } = require ( '@google-cloud/documentai' ) ;
33
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
34
34
const client = new DocumentUnderstandingServiceClient ( ) ;
35
35
36
36
async function quickstart ( ) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function main(
30
30
31
31
const {
32
32
DocumentUnderstandingServiceClient,
33
- } = require ( '@google-cloud/documentai' ) ;
33
+ } = require ( '@google-cloud/documentai' ) . v1beta2 ;
34
34
35
35
// Specifies the location of the api endpoint
36
36
const clientOptions = { apiEndpoint : 'eu-documentai.googleapis.com' } ;
You can’t perform that action at this time.
0 commit comments