Skip to content

Commit 565dddb

Browse files
fix(datalabeling): add ancillary service bindings to service_yaml (#331)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 421098303 Source-Link: googleapis/googleapis@ac12f33 Source-Link: googleapis/googleapis-gen@f7be109 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjdiZTEwOTFmZmEzOTViZDZkNDY5Mjc2ODM1NjdmZjU0M2FiN2Y3YiJ9
1 parent 4cd8bda commit 565dddb

41 files changed

Lines changed: 88 additions & 94 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/google-cloud-datalabeling/.jsdoc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2021 Google LLC',
43+
copyright: 'Copyright 2022 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: '@google-cloud/datalabeling',

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.create_annotation_spec_set.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, annotationSpecSet) {
@@ -32,8 +33,7 @@ function main(parent, annotationSpecSet) {
3233
// const annotationSpecSet = {}
3334

3435
// Imports the Datalabeling library
35-
const {DataLabelingServiceClient} =
36-
require('@google-cloud/datalabeling').v1beta1;
36+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3737

3838
// Instantiates a client
3939
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.create_dataset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, dataset) {
@@ -30,8 +31,7 @@ function main(parent, dataset) {
3031
// const dataset = {}
3132

3233
// Imports the Datalabeling library
33-
const {DataLabelingServiceClient} =
34-
require('@google-cloud/datalabeling').v1beta1;
34+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3535

3636
// Instantiates a client
3737
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.create_evaluation_job.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, job) {
@@ -30,8 +31,7 @@ function main(parent, job) {
3031
// const job = {}
3132

3233
// Imports the Datalabeling library
33-
const {DataLabelingServiceClient} =
34-
require('@google-cloud/datalabeling').v1beta1;
34+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3535

3636
// Instantiates a client
3737
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.create_instruction.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, instruction) {
@@ -30,8 +31,7 @@ function main(parent, instruction) {
3031
// const instruction = {}
3132

3233
// Imports the Datalabeling library
33-
const {DataLabelingServiceClient} =
34-
require('@google-cloud/datalabeling').v1beta1;
34+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3535

3636
// Instantiates a client
3737
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.delete_annotated_dataset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -27,8 +28,7 @@ function main(name) {
2728
// const name = 'abc123'
2829

2930
// Imports the Datalabeling library
30-
const {DataLabelingServiceClient} =
31-
require('@google-cloud/datalabeling').v1beta1;
31+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3232

3333
// Instantiates a client
3434
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.delete_annotation_spec_set.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Datalabeling library
29-
const {DataLabelingServiceClient} =
30-
require('@google-cloud/datalabeling').v1beta1;
30+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3131

3232
// Instantiates a client
3333
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.delete_dataset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Datalabeling library
29-
const {DataLabelingServiceClient} =
30-
require('@google-cloud/datalabeling').v1beta1;
30+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3131

3232
// Instantiates a client
3333
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.delete_evaluation_job.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Datalabeling library
29-
const {DataLabelingServiceClient} =
30-
require('@google-cloud/datalabeling').v1beta1;
30+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3131

3232
// Instantiates a client
3333
const datalabelingClient = new DataLabelingServiceClient();

packages/google-cloud-datalabeling/samples/generated/v1beta1/data_labeling_service.delete_instruction.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Datalabeling library
29-
const {DataLabelingServiceClient} =
30-
require('@google-cloud/datalabeling').v1beta1;
30+
const {DataLabelingServiceClient} = require('@google-cloud/datalabeling').v1beta1;
3131

3232
// Instantiates a client
3333
const datalabelingClient = new DataLabelingServiceClient();

0 commit comments

Comments
 (0)