Skip to content

Commit

Permalink
feat: Add google.api.method.signature to update methods
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 509649352
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 14, 2023
1 parent 22bd888 commit 1870ba2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/pubsub/v1/pubsub.proto
Expand Up @@ -60,6 +60,7 @@ service Publisher {
patch: "/v1/{topic.name=projects/*/topics/*}"
body: "*"
};
option (google.api.method_signature) = "topic,update_mask";
}

// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
Expand Down Expand Up @@ -461,6 +462,7 @@ service Subscriber {
patch: "/v1/{subscription.name=projects/*/subscriptions/*}"
body: "*"
};
option (google.api.method_signature) = "subscription,update_mask";
}

// Lists matching subscriptions.
Expand Down Expand Up @@ -612,6 +614,7 @@ service Subscriber {
patch: "/v1/{snapshot.name=projects/*/snapshots/*}"
body: "*"
};
option (google.api.method_signature) = "snapshot,update_mask";
}

// Removes an existing snapshot. Snapshots are used in [Seek]
Expand Down

0 comments on commit 1870ba2

Please sign in to comment.