diff --git a/src/v2/config_service_v2_client.js b/src/v2/config_service_v2_client.js index 67d20d0f..d56d31bf 100644 --- a/src/v2/config_service_v2_client.js +++ b/src/v2/config_service_v2_client.js @@ -309,6 +309,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.listSinks(request, options, callback); } @@ -422,6 +429,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + sink_name: request.sinkName, + }); return this._innerApiCalls.getSink(request, options, callback); } @@ -501,6 +515,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.createSink(request, options, callback); } @@ -598,6 +619,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + sink_name: request.sinkName, + }); return this._innerApiCalls.updateSink(request, options, callback); } @@ -645,6 +673,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + sink_name: request.sinkName, + }); return this._innerApiCalls.deleteSink(request, options, callback); } @@ -744,6 +779,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.listExclusions(request, options, callback); } @@ -857,6 +899,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + name: request.name, + }); return this._innerApiCalls.getExclusion(request, options, callback); } @@ -922,6 +971,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.createExclusion(request, options, callback); } @@ -998,6 +1054,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + name: request.name, + }); return this._innerApiCalls.updateExclusion(request, options, callback); } @@ -1043,6 +1106,13 @@ class ConfigServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + name: request.name, + }); return this._innerApiCalls.deleteExclusion(request, options, callback); } diff --git a/src/v2/logging_service_v2_client.js b/src/v2/logging_service_v2_client.js index 56ac47f6..986afb88 100644 --- a/src/v2/logging_service_v2_client.js +++ b/src/v2/logging_service_v2_client.js @@ -288,6 +288,13 @@ class LoggingServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + log_name: request.logName, + }); return this._innerApiCalls.deleteLog(request, options, callback); } @@ -862,6 +869,13 @@ class LoggingServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.listLogs(request, options, callback); } diff --git a/src/v2/metrics_service_v2_client.js b/src/v2/metrics_service_v2_client.js index 2856a2df..4b9cfa14 100644 --- a/src/v2/metrics_service_v2_client.js +++ b/src/v2/metrics_service_v2_client.js @@ -298,6 +298,13 @@ class MetricsServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.listLogMetrics(request, options, callback); } @@ -403,6 +410,13 @@ class MetricsServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + metric_name: request.metricName, + }); return this._innerApiCalls.getLogMetric(request, options, callback); } @@ -463,6 +477,13 @@ class MetricsServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + parent: request.parent, + }); return this._innerApiCalls.createLogMetric(request, options, callback); } @@ -524,6 +545,13 @@ class MetricsServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + metric_name: request.metricName, + }); return this._innerApiCalls.updateLogMetric(request, options, callback); } @@ -564,6 +592,13 @@ class MetricsServiceV2Client { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + metric_name: request.metricName, + }); return this._innerApiCalls.deleteLogMetric(request, options, callback); } diff --git a/synth.metadata b/synth.metadata index 211b4c89..c3d039a9 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-16T11:16:56.652485Z", + "updateTime": "2019-03-28T11:36:01.654509Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.17", - "dockerImage": "googleapis/artman@sha256:7231f27272231a884e09edb5953148c85ecd8467780d33c4a35c3e507885715b" + "version": "0.16.20", + "dockerImage": "googleapis/artman@sha256:e3c054a2fb85a12481c722af616c7fb6f1d02d862248385eecbec3e4240ebd1e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "dab002e28c81adcc5601278c36d4302c2624c8e2", - "internalRef": "238726437" + "sha": "6a84b3267b0a95e922608b9891219075047eee29", + "internalRef": "240640999" } }, {