diff --git a/src/v1/publisher_client.js b/src/v1/publisher_client.js index 0c8982f19..cdc6c66d9 100644 --- a/src/v1/publisher_client.js +++ b/src/v1/publisher_client.js @@ -345,6 +345,13 @@ class PublisherClient { 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.createTopic(request, options, callback); } @@ -407,6 +414,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + 'topic.name': request.topic.name, + }); return this._innerApiCalls.updateTopic(request, options, callback); } @@ -468,6 +482,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + topic: request.topic, + }); return this._innerApiCalls.publish(request, options, callback); } @@ -515,6 +536,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + topic: request.topic, + }); return this._innerApiCalls.getTopic(request, options, callback); } @@ -610,6 +638,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + project: request.project, + }); return this._innerApiCalls.listTopics(request, options, callback); } @@ -761,6 +796,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + topic: request.topic, + }); return this._innerApiCalls.listTopicSubscriptions( request, @@ -864,6 +906,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + topic: request.topic, + }); return this._innerApiCalls.deleteTopic(request, options, callback); } @@ -925,6 +974,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + resource: request.resource, + }); return this._innerApiCalls.setIamPolicy(request, options, callback); } @@ -975,6 +1031,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + resource: request.resource, + }); return this._innerApiCalls.getIamPolicy(request, options, callback); } @@ -1035,6 +1098,13 @@ class PublisherClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + resource: request.resource, + }); return this._innerApiCalls.testIamPermissions(request, options, callback); } diff --git a/src/v1/subscriber_client.js b/src/v1/subscriber_client.js index 7b2877ebc..0096dd0a1 100644 --- a/src/v1/subscriber_client.js +++ b/src/v1/subscriber_client.js @@ -424,6 +424,13 @@ class SubscriberClient { 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.createSubscription(request, options, callback); } @@ -471,6 +478,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.getSubscription(request, options, callback); } @@ -537,6 +551,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + 'subscription.name': request.subscription.name, + }); return this._innerApiCalls.updateSubscription(request, options, callback); } @@ -632,6 +653,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + project: request.project, + }); return this._innerApiCalls.listSubscriptions(request, options, callback); } @@ -731,6 +759,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.deleteSubscription(request, options, callback); } @@ -792,6 +827,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.modifyAckDeadline(request, options, callback); } @@ -845,6 +887,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.acknowledge(request, options, callback); } @@ -907,6 +956,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.pull(request, options, callback); } @@ -1008,6 +1064,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.modifyPushConfig(request, options, callback); } @@ -1111,6 +1174,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + project: request.project, + }); return this._innerApiCalls.listSnapshots(request, options, callback); } @@ -1258,6 +1328,13 @@ class SubscriberClient { 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.createSnapshot(request, options, callback); } @@ -1335,6 +1412,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + 'snapshot.name': request.snapshot.name, + }); return this._innerApiCalls.updateSnapshot(request, options, callback); } @@ -1386,6 +1470,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + snapshot: request.snapshot, + }); return this._innerApiCalls.deleteSnapshot(request, options, callback); } @@ -1460,6 +1551,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + subscription: request.subscription, + }); return this._innerApiCalls.seek(request, options, callback); } @@ -1521,6 +1619,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + resource: request.resource, + }); return this._innerApiCalls.setIamPolicy(request, options, callback); } @@ -1571,6 +1676,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + resource: request.resource, + }); return this._innerApiCalls.getIamPolicy(request, options, callback); } @@ -1631,6 +1743,13 @@ class SubscriberClient { options = {}; } options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers[ + 'x-goog-request-params' + ] = gax.routingHeader.fromParams({ + resource: request.resource, + }); return this._innerApiCalls.testIamPermissions(request, options, callback); } diff --git a/synth.metadata b/synth.metadata index 09817b1de..36b84ffe9 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-23T11:19:52.456128Z", + "updateTime": "2019-03-28T11:38:39.375456Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.19", - "dockerImage": "googleapis/artman@sha256:70ba28fda87e032ae44e6df41b7fc342c1b0cce1ed90658c4890eb4f613038c2" + "version": "0.16.20", + "dockerImage": "googleapis/artman@sha256:e3c054a2fb85a12481c722af616c7fb6f1d02d862248385eecbec3e4240ebd1e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e80435a132c53da26f46daf0787035ee63fb942b", - "internalRef": "239938670" + "sha": "6a84b3267b0a95e922608b9891219075047eee29", + "internalRef": "240640999" } }, {