Skip to content

Commit

Permalink
fix(documentai): add ancillary service bindings to service_yaml (#296)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 421098374

Source-Link: googleapis/googleapis@706ac2b

Source-Link: googleapis/googleapis-gen@d469765
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDQ2OTc2NWJmMjE5NDc4MGE5MzNlMTViNGNlNmM1ZDFjNDc0MjQ4OSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jan 12, 2022
1 parent e54a19d commit ce4fe16
Show file tree
Hide file tree
Showing 22 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-documentai/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2021 Google LLC',
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/documentai',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -38,8 +39,7 @@ function main(name) {
// const skipHumanReview = true

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -38,8 +39,7 @@ function main(name) {
// const skipHumanReview = true

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(humanReviewConfig) {
Expand All @@ -38,8 +39,7 @@ function main(humanReviewConfig) {
// const priority = {}

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(requests) {
Expand All @@ -31,8 +32,7 @@ function main(requests) {
// const parent = 'abc123'

// Imports the Documentai library
const {DocumentUnderstandingServiceClient} =
require('@google-cloud/documentai').v1beta1;
const {DocumentUnderstandingServiceClient} = require('@google-cloud/documentai').v1beta1;

// Instantiates a client
const documentaiClient = new DocumentUnderstandingServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(requests) {
Expand All @@ -31,8 +32,7 @@ function main(requests) {
// const parent = 'abc123'

// Imports the Documentai library
const {DocumentUnderstandingServiceClient} =
require('@google-cloud/documentai').v1beta2;
const {DocumentUnderstandingServiceClient} = require('@google-cloud/documentai').v1beta2;

// Instantiates a client
const documentaiClient = new DocumentUnderstandingServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(inputConfig) {
Expand Down Expand Up @@ -68,8 +69,7 @@ function main(inputConfig) {
// const automlParams = {}

// Imports the Documentai library
const {DocumentUnderstandingServiceClient} =
require('@google-cloud/documentai').v1beta2;
const {DocumentUnderstandingServiceClient} = require('@google-cloud/documentai').v1beta2;

// Instantiates a client
const documentaiClient = new DocumentUnderstandingServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down Expand Up @@ -46,8 +47,7 @@ function main(name) {
// const skipHumanReview = true

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent, processor) {
Expand All @@ -25,14 +26,13 @@ function main(parent, processor) {
*/
// const parent = 'abc123'
/**
* Required. The processor to be created, requires processor_type and display_name
* Required. The processor to be created, requires processor_type and display_name
* to be set. Also, the processor is under CMEK if CMEK fields are set.
*/
// const processor = {}

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -25,8 +26,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -25,8 +26,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand All @@ -25,8 +26,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -26,8 +27,7 @@ function main(parent) {
// const parent = 'abc123'

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(parent) {
Expand All @@ -37,8 +38,7 @@ function main(parent) {
// const pageToken = 'abc123'

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand All @@ -52,7 +52,7 @@ function main(parent) {
// Run request
const iterable = await documentaiClient.listProcessorsAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(name) {
Expand Down Expand Up @@ -42,8 +43,7 @@ function main(name) {
// const skipHumanReview = true

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main(humanReviewConfig) {
Expand Down Expand Up @@ -42,8 +43,7 @@ function main(humanReviewConfig) {
// const priority = {}

// Imports the Documentai library
const {DocumentProcessorServiceClient} =
require('@google-cloud/documentai').v1beta3;
const {DocumentProcessorServiceClient} = require('@google-cloud/documentai').v1beta3;

// Instantiates a client
const documentaiClient = new DocumentProcessorServiceClient();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-documentai/src/v1/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-documentai/system-test/install.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down

0 comments on commit ce4fe16

Please sign in to comment.