Skip to content

Commit eafa840

Browse files
Google APIscopybara-github
authored andcommitted
Use correct resource type for DetachSubscriptionRequest
PiperOrigin-RevId: 313488995
1 parent c4e3701 commit eafa840

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

google/pubsub/v1/pubsub.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,9 @@ message DetachSubscriptionRequest {
367367
// Format is `projects/{project}/subscriptions/{subscription}`.
368368
string subscription = 1 [
369369
(google.api.field_behavior) = REQUIRED,
370-
(google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" }
370+
(google.api.resource_reference) = {
371+
type: "pubsub.googleapis.com/Subscription"
372+
}
371373
];
372374
}
373375

0 commit comments

Comments
 (0)