@@ -66,11 +66,12 @@ func TestProtobuf_LocationMixin(t *testing.T) {
6666 }
6767
6868 checkMethod (t , service , "GetLocation" , & api.Method {
69- Documentation : "Provides the [Locations][google.cloud.location.Locations] service functionality in this service." ,
70- Name : "GetLocation" ,
71- ID : ".test.TestService.GetLocation" ,
72- InputTypeID : ".google.cloud.location.GetLocationRequest" ,
73- OutputTypeID : ".google.cloud.location.Location" ,
69+ Documentation : "Provides the [Locations][google.cloud.location.Locations] service functionality in this service." ,
70+ Name : "GetLocation" ,
71+ ID : ".test.TestService.GetLocation" ,
72+ SourceServiceID : ".google.cloud.location.Locations" ,
73+ InputTypeID : ".google.cloud.location.GetLocationRequest" ,
74+ OutputTypeID : ".google.cloud.location.Location" ,
7475 PathInfo : & api.PathInfo {
7576 Bindings : []* api.PathBinding {
7677 {
@@ -133,11 +134,12 @@ func TestProtobuf_IAMMixin(t *testing.T) {
133134 t .Fatal ("Cannot find .test.TestService.GetIamPolicy" )
134135 }
135136 checkMethod (t , service , "GetIamPolicy" , & api.Method {
136- Documentation : "Provides the [IAMPolicy][google.iam.v1.IAMPolicy] service functionality in this service." ,
137- Name : "GetIamPolicy" ,
138- ID : ".test.TestService.GetIamPolicy" ,
139- InputTypeID : ".google.iam.v1.GetIamPolicyRequest" ,
140- OutputTypeID : ".google.iam.v1.Policy" ,
137+ Documentation : "Provides the [IAMPolicy][google.iam.v1.IAMPolicy] service functionality in this service." ,
138+ Name : "GetIamPolicy" ,
139+ ID : ".test.TestService.GetIamPolicy" ,
140+ SourceServiceID : ".google.iam.v1.IAMPolicy" ,
141+ InputTypeID : ".google.iam.v1.GetIamPolicyRequest" ,
142+ OutputTypeID : ".google.iam.v1.Policy" ,
141143 PathInfo : & api.PathInfo {
142144 Bindings : []* api.PathBinding {
143145 {
@@ -206,11 +208,12 @@ func TestProtobuf_OperationMixin(t *testing.T) {
206208 }
207209
208210 checkMethod (t , service , "GetOperation" , & api.Method {
209- Documentation : "Custom docs." ,
210- Name : "GetOperation" ,
211- ID : ".test.TestService.GetOperation" ,
212- InputTypeID : ".google.longrunning.GetOperationRequest" ,
213- OutputTypeID : ".google.longrunning.Operation" ,
211+ Documentation : "Custom docs." ,
212+ Name : "GetOperation" ,
213+ ID : ".test.TestService.GetOperation" ,
214+ SourceServiceID : ".google.longrunning.Operations" ,
215+ InputTypeID : ".google.longrunning.GetOperationRequest" ,
216+ OutputTypeID : ".google.longrunning.Operation" ,
214217 PathInfo : & api.PathInfo {
215218 Bindings : []* api.PathBinding {
216219 {
@@ -289,12 +292,13 @@ func TestProtobuf_OperationMixinNoEmpty(t *testing.T) {
289292 }
290293
291294 checkMethod (t , service , "CancelOperation" , & api.Method {
292- Documentation : "Custom docs." ,
293- Name : "CancelOperation" ,
294- ID : ".test.TestService.CancelOperation" ,
295- InputTypeID : ".google.longrunning.CancelOperationRequest" ,
296- OutputTypeID : ".google.protobuf.Empty" ,
297- ReturnsEmpty : true ,
295+ Documentation : "Custom docs." ,
296+ Name : "CancelOperation" ,
297+ ID : ".test.TestService.CancelOperation" ,
298+ SourceServiceID : ".google.longrunning.Operations" ,
299+ InputTypeID : ".google.longrunning.CancelOperationRequest" ,
300+ OutputTypeID : ".google.protobuf.Empty" ,
301+ ReturnsEmpty : true ,
298302 PathInfo : & api.PathInfo {
299303 Bindings : []* api.PathBinding {
300304 {
@@ -371,11 +375,12 @@ func TestProtobuf_DuplicateMixin(t *testing.T) {
371375 }
372376
373377 checkMethod (t , service , "GetOperation" , & api.Method {
374- Documentation : "Source file docs." ,
375- Name : "GetOperation" ,
376- ID : ".test.LroService.GetOperation" ,
377- InputTypeID : ".google.longrunning.GetOperationRequest" ,
378- OutputTypeID : ".google.longrunning.Operation" ,
378+ Documentation : "Source file docs." ,
379+ Name : "GetOperation" ,
380+ ID : ".test.LroService.GetOperation" ,
381+ SourceServiceID : ".test.LroService" ,
382+ InputTypeID : ".google.longrunning.GetOperationRequest" ,
383+ OutputTypeID : ".google.longrunning.Operation" ,
379384 PathInfo : & api.PathInfo {
380385 Bindings : []* api.PathBinding {
381386 {
0 commit comments