File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,7 +191,8 @@ message PubsubMessage {
191191 bytes data = 1 ;
192192
193193 // Attributes for this message. If this field is empty, the message must
194- // contain non-empty data.
194+ // contain non-empty data. This can be used to filter messages on the
195+ // subscription.
195196 map <string , string > attributes = 2 ;
196197
197198 // ID of this message, assigned by the server when the message is published.
@@ -700,7 +701,8 @@ message Subscription {
700701 // value for `expiration_policy.ttl` is 1 day.
701702 ExpirationPolicy expiration_policy = 11 ;
702703
703- // An expression written in the Cloud Pub/Sub filter language. If non-empty,
704+ // An expression written in the Pub/Sub [filter
705+ // language](https://cloud.google.com/pubsub/docs/filtering). If non-empty,
704706 // then only `PubsubMessage`s whose `attributes` field matches the filter are
705707 // delivered on this subscription. If empty, then no messages are filtered
706708 // out.
You can’t perform that action at this time.
0 commit comments