Skip to content

Commit

Permalink
build: update to latest build and publish config (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 13, 2020
1 parent 6aeb860 commit d91175a
Show file tree
Hide file tree
Showing 8 changed files with 543 additions and 117 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-automl/protos/protos.d.ts

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

482 changes: 381 additions & 101 deletions packages/google-cloud-automl/protos/protos.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/google-cloud-automl/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"mocha": "^8.0.0",
"uuid": "^8.0.0"
}
}
}
8 changes: 5 additions & 3 deletions packages/google-cloud-automl/src/v1/auto_ml_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,12 +411,14 @@ export class AutoMlClient {
}
);

const descriptor =
this.descriptors.page[methodName] ||
this.descriptors.longrunning[methodName] ||
undefined;
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
this.descriptors.page[methodName] ||
this.descriptors.stream[methodName] ||
this.descriptors.longrunning[methodName]
descriptor
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,11 @@ export class PredictionServiceClient {
}
);

const descriptor = this.descriptors.longrunning[methodName] || undefined;
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
this.descriptors.page[methodName] ||
this.descriptors.stream[methodName] ||
this.descriptors.longrunning[methodName]
descriptor
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
8 changes: 5 additions & 3 deletions packages/google-cloud-automl/src/v1beta1/auto_ml_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,12 +437,14 @@ export class AutoMlClient {
}
);

const descriptor =
this.descriptors.page[methodName] ||
this.descriptors.longrunning[methodName] ||
undefined;
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
this.descriptors.page[methodName] ||
this.descriptors.stream[methodName] ||
this.descriptors.longrunning[methodName]
descriptor
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,11 @@ export class PredictionServiceClient {
}
);

const descriptor = this.descriptors.longrunning[methodName] || undefined;
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
this.descriptors.page[methodName] ||
this.descriptors.stream[methodName] ||
this.descriptors.longrunning[methodName]
descriptor
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
148 changes: 146 additions & 2 deletions packages/google-cloud-automl/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
{
"git": {
"name": ".",
"remote": "[email protected]:googleapis/nodejs-automl.git",
"sha": "b74b206e1b627b00de5be54411cab94a5b86474c"
"remote": "https://github.com/googleapis/nodejs-automl.git",
"sha": "fff663838faba8fc294c10c91e931b718bc3507e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "7a906c83566d0d429b23da434a4dc2b4de7b117a",
"internalRef": "331220195"
}
},
{
Expand Down Expand Up @@ -34,5 +42,141 @@
"generator": "bazel"
}
}
],
"generatedFiles": [
".eslintignore",
".eslintrc.json",
".gitattributes",
".github/ISSUE_TEMPLATE/bug_report.md",
".github/ISSUE_TEMPLATE/feature_request.md",
".github/ISSUE_TEMPLATE/support_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
".github/publish.yml",
".github/release-please.yml",
".github/workflows/ci.yaml",
".gitignore",
".jsdoc.js",
".kokoro/.gitattributes",
".kokoro/common.cfg",
".kokoro/continuous/node10/common.cfg",
".kokoro/continuous/node10/docs.cfg",
".kokoro/continuous/node10/lint.cfg",
".kokoro/continuous/node10/samples-test.cfg",
".kokoro/continuous/node10/system-test.cfg",
".kokoro/continuous/node10/test.cfg",
".kokoro/continuous/node12/common.cfg",
".kokoro/continuous/node12/test.cfg",
".kokoro/continuous/node8/common.cfg",
".kokoro/continuous/node8/test.cfg",
".kokoro/docs.sh",
".kokoro/lint.sh",
".kokoro/populate-secrets.sh",
".kokoro/presubmit/node10/common.cfg",
".kokoro/presubmit/node10/docs.cfg",
".kokoro/presubmit/node10/lint.cfg",
".kokoro/presubmit/node10/samples-test.cfg",
".kokoro/presubmit/node10/system-test.cfg",
".kokoro/presubmit/node10/test.cfg",
".kokoro/presubmit/node12/common.cfg",
".kokoro/presubmit/node12/test.cfg",
".kokoro/presubmit/node8/common.cfg",
".kokoro/presubmit/node8/test.cfg",
".kokoro/presubmit/windows/common.cfg",
".kokoro/presubmit/windows/test.cfg",
".kokoro/publish.sh",
".kokoro/release/docs.cfg",
".kokoro/release/docs.sh",
".kokoro/release/publish.cfg",
".kokoro/samples-test.sh",
".kokoro/system-test.sh",
".kokoro/test.bat",
".kokoro/test.sh",
".mocharc.js",
".nycrc",
".prettierignore",
".prettierrc.js",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"linkinator.config.json",
"protos/google/cloud/automl/v1/annotation_payload.proto",
"protos/google/cloud/automl/v1/annotation_spec.proto",
"protos/google/cloud/automl/v1/classification.proto",
"protos/google/cloud/automl/v1/data_items.proto",
"protos/google/cloud/automl/v1/dataset.proto",
"protos/google/cloud/automl/v1/detection.proto",
"protos/google/cloud/automl/v1/geometry.proto",
"protos/google/cloud/automl/v1/image.proto",
"protos/google/cloud/automl/v1/io.proto",
"protos/google/cloud/automl/v1/model.proto",
"protos/google/cloud/automl/v1/model_evaluation.proto",
"protos/google/cloud/automl/v1/operations.proto",
"protos/google/cloud/automl/v1/prediction_service.proto",
"protos/google/cloud/automl/v1/service.proto",
"protos/google/cloud/automl/v1/text.proto",
"protos/google/cloud/automl/v1/text_extraction.proto",
"protos/google/cloud/automl/v1/text_segment.proto",
"protos/google/cloud/automl/v1/text_sentiment.proto",
"protos/google/cloud/automl/v1/translation.proto",
"protos/google/cloud/automl/v1beta1/annotation_payload.proto",
"protos/google/cloud/automl/v1beta1/annotation_spec.proto",
"protos/google/cloud/automl/v1beta1/classification.proto",
"protos/google/cloud/automl/v1beta1/column_spec.proto",
"protos/google/cloud/automl/v1beta1/data_items.proto",
"protos/google/cloud/automl/v1beta1/data_stats.proto",
"protos/google/cloud/automl/v1beta1/data_types.proto",
"protos/google/cloud/automl/v1beta1/dataset.proto",
"protos/google/cloud/automl/v1beta1/detection.proto",
"protos/google/cloud/automl/v1beta1/geometry.proto",
"protos/google/cloud/automl/v1beta1/image.proto",
"protos/google/cloud/automl/v1beta1/io.proto",
"protos/google/cloud/automl/v1beta1/model.proto",
"protos/google/cloud/automl/v1beta1/model_evaluation.proto",
"protos/google/cloud/automl/v1beta1/operations.proto",
"protos/google/cloud/automl/v1beta1/prediction_service.proto",
"protos/google/cloud/automl/v1beta1/ranges.proto",
"protos/google/cloud/automl/v1beta1/regression.proto",
"protos/google/cloud/automl/v1beta1/service.proto",
"protos/google/cloud/automl/v1beta1/table_spec.proto",
"protos/google/cloud/automl/v1beta1/tables.proto",
"protos/google/cloud/automl/v1beta1/temporal.proto",
"protos/google/cloud/automl/v1beta1/text.proto",
"protos/google/cloud/automl/v1beta1/text_extraction.proto",
"protos/google/cloud/automl/v1beta1/text_segment.proto",
"protos/google/cloud/automl/v1beta1/text_sentiment.proto",
"protos/google/cloud/automl/v1beta1/translation.proto",
"protos/google/cloud/automl/v1beta1/video.proto",
"protos/protos.d.ts",
"protos/protos.js",
"protos/protos.json",
"renovate.json",
"samples/README.md",
"samples/package.json",
"samples/package.json.252066439",
"src/index.ts",
"src/v1/auto_ml_client.ts",
"src/v1/auto_ml_client_config.json",
"src/v1/auto_ml_proto_list.json",
"src/v1/index.ts",
"src/v1/prediction_service_client.ts",
"src/v1/prediction_service_client_config.json",
"src/v1/prediction_service_proto_list.json",
"src/v1beta1/auto_ml_client.ts",
"src/v1beta1/auto_ml_client_config.json",
"src/v1beta1/auto_ml_proto_list.json",
"src/v1beta1/index.ts",
"src/v1beta1/prediction_service_client.ts",
"src/v1beta1/prediction_service_client_config.json",
"src/v1beta1/prediction_service_proto_list.json",
"system-test/fixtures/sample/src/index.js",
"system-test/fixtures/sample/src/index.ts",
"system-test/install.ts",
"test/gapic_auto_ml_v1.ts",
"test/gapic_auto_ml_v1beta1.ts",
"test/gapic_prediction_service_v1.ts",
"test/gapic_prediction_service_v1beta1.ts",
"tsconfig.json",
"webpack.config.js"
]
}

0 comments on commit d91175a

Please sign in to comment.