Skip to content

Commit 5606ea2

Browse files
1 parent fb3d1a7 commit 5606ea2

File tree

4 files changed

+33
-33
lines changed

4 files changed

+33
-33
lines changed

clients/google-api-services-pubsub/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-pubsub</artifactId>
25-
<version>v1-rev20250128-2.0.0</version>
25+
<version>v1-rev20250208-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-pubsub:v1-rev20250128-2.0.0'
38+
implementation 'com.google.apis:google-api-services-pubsub:v1-rev20250208-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-pubsub/v1/2.0.0/com/google/api/services/pubsub/model/JavaScriptUDF.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
public final class JavaScriptUDF extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Required. JavaScript code that contains a function `function_name` with the below signature: *
34-
* * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return
35-
* `null`. To transform a message return a map * with the following keys: * - (required) 'data' :
36-
* {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all
37-
* attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required)
38-
* 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub
39-
* message metadata. * Keys: * - (required) 'message_id' : {string} * - (optional) 'publish_time':
40-
* {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} function
41-
* (message, metadata) { }
33+
* Required. JavaScript code that contains a function `function_name` with the below signature:
34+
* ``` * * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message,
35+
* return `null`. To transform a message return a map * with the following keys: * - (required)
36+
* 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will
37+
* remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * -
38+
* (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object}
39+
* metadata - Pub/Sub message metadata. * Keys: * - (required) 'message_id' : {string} * -
40+
* (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key':
41+
* {string} function (message, metadata) { } ```
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -52,31 +52,31 @@ public final class JavaScriptUDF extends com.google.api.client.json.GenericJson
5252
private java.lang.String functionName;
5353

5454
/**
55-
* Required. JavaScript code that contains a function `function_name` with the below signature: *
56-
* * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return
57-
* `null`. To transform a message return a map * with the following keys: * - (required) 'data' :
58-
* {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all
59-
* attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required)
60-
* 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub
61-
* message metadata. * Keys: * - (required) 'message_id' : {string} * - (optional) 'publish_time':
62-
* {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} function
63-
* (message, metadata) { }
55+
* Required. JavaScript code that contains a function `function_name` with the below signature:
56+
* ``` * * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message,
57+
* return `null`. To transform a message return a map * with the following keys: * - (required)
58+
* 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will
59+
* remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * -
60+
* (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object}
61+
* metadata - Pub/Sub message metadata. * Keys: * - (required) 'message_id' : {string} * -
62+
* (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key':
63+
* {string} function (message, metadata) { } ```
6464
* @return value or {@code null} for none
6565
*/
6666
public java.lang.String getCode() {
6767
return code;
6868
}
6969

7070
/**
71-
* Required. JavaScript code that contains a function `function_name` with the below signature: *
72-
* * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message, return
73-
* `null`. To transform a message return a map * with the following keys: * - (required) 'data' :
74-
* {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will remove all
75-
* attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * - (required)
76-
* 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object} metadata - Pub/Sub
77-
* message metadata. * Keys: * - (required) 'message_id' : {string} * - (optional) 'publish_time':
78-
* {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key': {string} function
79-
* (message, metadata) { }
71+
* Required. JavaScript code that contains a function `function_name` with the below signature:
72+
* ``` * * Transforms a Pub/Sub message. * @return {(Object)>|null)} - To * filter a message,
73+
* return `null`. To transform a message return a map * with the following keys: * - (required)
74+
* 'data' : {string} * - (optional) 'attributes' : {Object} * Returning empty `attributes` will
75+
* remove all attributes from the * message. * * @param {(Object)>} Pub/Sub * message. Keys: * -
76+
* (required) 'data' : {string} * - (required) 'attributes' : {Object} * * @param {Object}
77+
* metadata - Pub/Sub message metadata. * Keys: * - (required) 'message_id' : {string} * -
78+
* (optional) 'publish_time': {string} YYYY-MM-DDTHH:MM:SSZ format * - (optional) 'ordering_key':
79+
* {string} function (message, metadata) { } ```
8080
* @param code code or {@code null} for none
8181
*/
8282
public JavaScriptUDF setCode(java.lang.String code) {

clients/google-api-services-pubsub/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-pubsub</artifactId>
11-
<version>v1-rev20250128-2.0.0</version>
12-
<name>Cloud Pub/Sub API v1-rev20250128-2.0.0</name>
11+
<version>v1-rev20250208-2.0.0</version>
12+
<name>Cloud Pub/Sub API v1-rev20250208-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-pubsub/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-pubsub</artifactId>
25-
<version>v1-rev20250128-2.0.0</version>
25+
<version>v1-rev20250208-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-pubsub:v1-rev20250128-2.0.0'
38+
implementation 'com.google.apis:google-api-services-pubsub:v1-rev20250208-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)