Skip to content

Commit

Permalink
fix: GoogleAdsError missing using generator version after 1.3.0 (#1081)
Browse files Browse the repository at this point in the history
[PR](googleapis/gapic-generator-typescript#878) within
updated gapic-generator-typescript version 1.4.0

Committer: @summer-ji-eng
PiperOrigin-RevId: 375759421

Source-Link: googleapis/googleapis@95fa72f

Source-Link: googleapis/googleapis-gen@f40a343
  • Loading branch information
gcf-owl-bot[bot] authored May 25, 2021
1 parent b82fadf commit bf0113d
Show file tree
Hide file tree
Showing 9 changed files with 38,073 additions and 38,061 deletions.
17,020 changes: 8,510 additions & 8,510 deletions protos/protos.d.ts

Large diffs are not rendered by default.

52,062 changes: 26,031 additions & 26,031 deletions protos/protos.js

Large diffs are not rendered by default.

7,040 changes: 3,520 additions & 3,520 deletions protos/protos.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/v2/config_service_v2_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ export class ConfigServiceV2Client {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
2 changes: 2 additions & 0 deletions src/v2/config_service_v2_proto_list.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[
"../../protos/google/logging/type/http_request.proto",
"../../protos/google/logging/type/log_severity.proto",
"../../protos/google/logging/v2/log_entry.proto",
"../../protos/google/logging/v2/logging.proto",
"../../protos/google/logging/v2/logging_config.proto",
Expand Down
2 changes: 2 additions & 0 deletions src/v2/logging_service_v2_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ export class LoggingServiceV2Client {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
2 changes: 2 additions & 0 deletions src/v2/logging_service_v2_proto_list.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[
"../../protos/google/logging/type/http_request.proto",
"../../protos/google/logging/type/log_severity.proto",
"../../protos/google/logging/v2/log_entry.proto",
"../../protos/google/logging/v2/logging.proto",
"../../protos/google/logging/v2/logging_config.proto",
Expand Down
2 changes: 2 additions & 0 deletions src/v2/metrics_service_v2_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ export class MetricsServiceV2Client {
}
if (!opts.fallback) {
clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`);
} else if (opts.fallback === 'rest') {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);
}
if (opts.libName && opts.libVersion) {
clientHeader.push(`${opts.libName}/${opts.libVersion}`);
Expand Down
2 changes: 2 additions & 0 deletions src/v2/metrics_service_v2_proto_list.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[
"../../protos/google/logging/type/http_request.proto",
"../../protos/google/logging/type/log_severity.proto",
"../../protos/google/logging/v2/log_entry.proto",
"../../protos/google/logging/v2/logging.proto",
"../../protos/google/logging/v2/logging_config.proto",
Expand Down

0 comments on commit bf0113d

Please sign in to comment.