@@ -135,6 +135,7 @@ public void createSubscriptionTest() throws Exception {
135135 .setAnalyticsHubSubscriptionInfo (
136136 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
137137 .addAllMessageTransforms (new ArrayList <MessageTransform >())
138+ .putAllTags (new HashMap <String , String >())
138139 .build ();
139140 mockService .addResponse (expectedResponse );
140141
@@ -205,6 +206,7 @@ public void createSubscriptionTest2() throws Exception {
205206 .setAnalyticsHubSubscriptionInfo (
206207 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
207208 .addAllMessageTransforms (new ArrayList <MessageTransform >())
209+ .putAllTags (new HashMap <String , String >())
208210 .build ();
209211 mockService .addResponse (expectedResponse );
210212
@@ -275,6 +277,7 @@ public void createSubscriptionTest3() throws Exception {
275277 .setAnalyticsHubSubscriptionInfo (
276278 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
277279 .addAllMessageTransforms (new ArrayList <MessageTransform >())
280+ .putAllTags (new HashMap <String , String >())
278281 .build ();
279282 mockService .addResponse (expectedResponse );
280283
@@ -345,6 +348,7 @@ public void createSubscriptionTest4() throws Exception {
345348 .setAnalyticsHubSubscriptionInfo (
346349 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
347350 .addAllMessageTransforms (new ArrayList <MessageTransform >())
351+ .putAllTags (new HashMap <String , String >())
348352 .build ();
349353 mockService .addResponse (expectedResponse );
350354
@@ -415,6 +419,7 @@ public void getSubscriptionTest() throws Exception {
415419 .setAnalyticsHubSubscriptionInfo (
416420 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
417421 .addAllMessageTransforms (new ArrayList <MessageTransform >())
422+ .putAllTags (new HashMap <String , String >())
418423 .build ();
419424 mockService .addResponse (expectedResponse );
420425
@@ -478,6 +483,7 @@ public void getSubscriptionTest2() throws Exception {
478483 .setAnalyticsHubSubscriptionInfo (
479484 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
480485 .addAllMessageTransforms (new ArrayList <MessageTransform >())
486+ .putAllTags (new HashMap <String , String >())
481487 .build ();
482488 mockService .addResponse (expectedResponse );
483489
@@ -541,6 +547,7 @@ public void updateSubscriptionTest() throws Exception {
541547 .setAnalyticsHubSubscriptionInfo (
542548 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
543549 .addAllMessageTransforms (new ArrayList <MessageTransform >())
550+ .putAllTags (new HashMap <String , String >())
544551 .build ();
545552 mockService .addResponse (expectedResponse );
546553
@@ -566,6 +573,7 @@ public void updateSubscriptionTest() throws Exception {
566573 .setAnalyticsHubSubscriptionInfo (
567574 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
568575 .addAllMessageTransforms (new ArrayList <MessageTransform >())
576+ .putAllTags (new HashMap <String , String >())
569577 .build ();
570578 FieldMask updateMask = FieldMask .newBuilder ().build ();
571579
@@ -617,6 +625,7 @@ public void updateSubscriptionExceptionTest() throws Exception {
617625 .setAnalyticsHubSubscriptionInfo (
618626 Subscription .AnalyticsHubSubscriptionInfo .newBuilder ().build ())
619627 .addAllMessageTransforms (new ArrayList <MessageTransform >())
628+ .putAllTags (new HashMap <String , String >())
620629 .build ();
621630 FieldMask updateMask = FieldMask .newBuilder ().build ();
622631 client .updateSubscription (subscription , updateMask );
0 commit comments