diff --git a/packages/google-cloud-recaptchaenterprise/protos/protos.js b/packages/google-cloud-recaptchaenterprise/protos/protos.js index d3cb0c5145d..aa0d17bc411 100644 --- a/packages/google-cloud-recaptchaenterprise/protos/protos.js +++ b/packages/google-cloud-recaptchaenterprise/protos/protos.js @@ -3579,7 +3579,7 @@ Key.decode = function decode(reader, length) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.recaptchaenterprise.v1.Key(), key; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.recaptchaenterprise.v1.Key(), key, value; while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { @@ -3599,12 +3599,26 @@ message.iosSettings = $root.google.cloud.recaptchaenterprise.v1.IOSKeySettings.decode(reader, reader.uint32()); break; case 6: - reader.skip().pos++; if (message.labels === $util.emptyObject) message.labels = {}; - key = reader.string(); - reader.pos++; - message.labels[key] = reader.string(); + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.labels[key] = value; break; case 7: message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); diff --git a/packages/google-cloud-recaptchaenterprise/synth.metadata b/packages/google-cloud-recaptchaenterprise/synth.metadata index 703da67b194..328e443c4f1 100644 --- a/packages/google-cloud-recaptchaenterprise/synth.metadata +++ b/packages/google-cloud-recaptchaenterprise/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/nodejs-recaptcha-enterprise.git", - "sha": "1d91f4b2eddecd653d07eea020da38ed7adeb295" + "sha": "b6d9bfa16627782deddb7d495a80d2acd7cb37d5" } }, {