Skip to content

Commit c260e24

Browse files
Google APIscopybara-github
authored andcommitted
docs: update documentation for JavaScriptUDF to indicate that the message_id metadata field is optional instead of required
PiperOrigin-RevId: 741537524
1 parent afaa071 commit c260e24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/pubsub/v1/pubsub.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ message JavaScriptUDF {
702702
// *
703703
// * @param {Object<string, any>} metadata - Pub/Sub message metadata.
704704
// * Keys:
705-
// * - (required) 'message_id' : {string}
705+
// * - (optional) 'message_id' : {string}
706706
// * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format
707707
// * - (optional) 'ordering_key': {string}
708708
// */

0 commit comments

Comments
 (0)