diff --git a/package.json b/package.json index 0b9ba954a..56889274d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "scripts": { "docs": "jsdoc -c .jsdoc.js", "predocs": "npm run compile", - "lint": "gts check", + "lint": "gts fix", "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", "system-test": "mocha build/system-test --timeout 600000", "cleanup": "mocha scripts/cleanup.js --timeout 30000", @@ -45,7 +45,7 @@ "docs-test": "linkinator docs", "predocs-test": "npm run docs", "benchwrapper": "node bin/benchwrapper.js", - "prelint": "cd samples; npm link ../; npm i" + "prelint": "cd samples; npm link ../; npm install" }, "dependencies": { "@google-cloud/common": "^2.2.2", @@ -59,7 +59,7 @@ "events-intercept": "^2.0.0", "extend": "^3.0.2", "google-auth-library": "^6.0.0", - "google-gax": "^2.0.2", + "google-gax": "^2.1.0", "grpc": "^1.21.1", "grpc-gcp": "^0.1.1", "is": "^3.2.1", @@ -94,7 +94,7 @@ "dedent": "^0.7.0", "duplexify": "^4.1.1", "execa": "^4.0.0", - "gts": "2.0.0", + "gts": "^2.0.0", "jsdoc": "^3.6.2", "jsdoc-fresh": "^1.0.1", "jsdoc-region-tag": "^1.0.2", diff --git a/protos/protos.json b/protos/protos.json index 46b0be198..bb42eb948 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -1012,7 +1012,8 @@ "java_multiple_files": true, "java_outer_classname": "StatusProto", "java_package": "com.google.rpc", - "objc_class_prefix": "RPC" + "objc_class_prefix": "RPC", + "cc_enable_arenas": true }, "nested": { "RetryInfo": { @@ -3686,26 +3687,32 @@ "extend": "google.protobuf.MethodOptions" }, "Operations": { + "options": { + "(google.api.default_host)": "longrunning.googleapis.com" + }, "methods": { "ListOperations": { "requestType": "ListOperationsRequest", "responseType": "ListOperationsResponse", "options": { - "(google.api.http).get": "/v1/{name=operations}" + "(google.api.http).get": "/v1/{name=operations}", + "(google.api.method_signature)": "name,filter" } }, "GetOperation": { "requestType": "GetOperationRequest", "responseType": "Operation", "options": { - "(google.api.http).get": "/v1/{name=operations/**}" + "(google.api.http).get": "/v1/{name=operations/**}", + "(google.api.method_signature)": "name" } }, "DeleteOperation": { "requestType": "DeleteOperationRequest", "responseType": "google.protobuf.Empty", "options": { - "(google.api.http).delete": "/v1/{name=operations/**}" + "(google.api.http).delete": "/v1/{name=operations/**}", + "(google.api.method_signature)": "name" } }, "CancelOperation": { @@ -3713,7 +3720,8 @@ "responseType": "google.protobuf.Empty", "options": { "(google.api.http).post": "/v1/{name=operations/**}:cancel", - "(google.api.http).body": "*" + "(google.api.http).body": "*", + "(google.api.method_signature)": "name" } }, "WaitOperation": { diff --git a/synth.metadata b/synth.metadata index b292ca006..25537f351 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,12 @@ { - "updateTime": "2020-04-09T21:34:30.852151Z", + "updateTime": "2020-04-11T00:56:45.691191Z", "sources": [ - { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "ac1f904979899bc598fb0567cf7a367f08b40b43", - "internalRef": "305760190", - "log": "ac1f904979899bc598fb0567cf7a367f08b40b43\nfix (breaking change): reorder Company and Job resources in talent API to be consistent with old gapic config.\n\ncommitter: @hzyi-google\nPiperOrigin-RevId: 305760190\n\n" - } - }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "74ce986d3b5431eb66985e9a00c4eb45295a4020" + "sha": "6f32150677c9784f3c3a7e1949472bd29c9d72c5", + "log": "6f32150677c9784f3c3a7e1949472bd29c9d72c5\nfix: installs test_utils from its common repo (#480)\n\n\n" } } ], diff --git a/synth.py b/synth.py index 9d4831ebf..f98b39f42 100644 --- a/synth.py +++ b/synth.py @@ -54,5 +54,5 @@ # Node.js specific cleanup # ''' subprocess.run(['npm', 'install']) -subprocess.run(['npm', 'run', 'fix']) +subprocess.run(['npm', 'run', 'lint']) subprocess.run(['npx', 'compileProtos', 'src'])