Skip to content

Commit 1c46b63

Browse files
feat: Automated regeneration of PubSub client (googleapis#12953)
Auto-created at 2025-02-11 13:17:03 +0000 using the toys pull request generator.
1 parent c7eb203 commit 1c46b63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clients/pub_sub/lib/google_api/pub_sub/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.PubSub.V1 do
2020
API client metadata for GoogleApi.PubSub.V1.
2121
"""
2222

23-
@discovery_revision "20250128"
23+
@discovery_revision "20250208"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/pub_sub/lib/google_api/pub_sub/v1/model/java_script_udf.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.PubSub.V1.Model.JavaScriptUDF do
2121
2222
## Attributes
2323
24-
* `code` (*type:* `String.t`, *default:* `nil`) - Required. JavaScript code that contains a function `function_name` with the below signature: /** * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return `null`. To transform a message return a map * with the following keys: * - (required) 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub message metadata. * Keys: * - (required) 'message_id' : {string} * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} */ function (message, metadata) { }
24+
* `code` (*type:* `String.t`, *default:* `nil`) - Required. JavaScript code that contains a function `function_name` with the below signature: ``` /** * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return `null`. To transform a message return a map * with the following keys: * - (required) 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub message metadata. * Keys: * - (required) 'message_id' : {string} * - (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} */ function (message, metadata) { } ```
2525
* `functionName` (*type:* `String.t`, *default:* `nil`) - Required. Name of the JavasScript function that should applied to Pub/Sub messages.
2626
"""
2727

0 commit comments

Comments
 (0)