You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/pubsub-v1.json
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1648,7 +1648,7 @@
1648
1648
}
1649
1649
}
1650
1650
},
1651
-
"revision": "20250807",
1651
+
"revision": "20251025",
1652
1652
"rootUrl": "https://pubsub.googleapis.com/",
1653
1653
"schemas": {
1654
1654
"AcknowledgeRequest": {
@@ -2122,6 +2122,13 @@
2122
2122
"subscription": {
2123
2123
"description": "Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is `projects/{project}/subscriptions/{sub}`.",
2124
2124
"type": "string"
2125
+
},
2126
+
"tags": {
2127
+
"additionalProperties": {
2128
+
"type": "string"
2129
+
},
2130
+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"",
2131
+
"type": "object"
2125
2132
}
2126
2133
},
2127
2134
"type": "object"
@@ -2916,6 +2923,13 @@
2916
2923
"readOnly": true,
2917
2924
"type": "string"
2918
2925
},
2926
+
"tags": {
2927
+
"additionalProperties": {
2928
+
"type": "string"
2929
+
},
2930
+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"",
2931
+
"type": "object"
2932
+
},
2919
2933
"topic": {
2920
2934
"description": "Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.",
2921
2935
"type": "string"
@@ -3035,6 +3049,13 @@
3035
3049
],
3036
3050
"readOnly": true,
3037
3051
"type": "string"
3052
+
},
3053
+
"tags": {
3054
+
"additionalProperties": {
3055
+
"type": "string"
3056
+
},
3057
+
"description": "Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: \"123/environment\": \"production\", \"123/costCenter\": \"marketing\"",
Copy file name to clipboardExpand all lines: src/apis/pubsub/v1.ts
+26-5Lines changed: 26 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -432,6 +432,10 @@ export namespace pubsub_v1 {
432
432
* Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the `CreateSnapshot` request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is `projects/{project\}/subscriptions/{sub\}`.
433
433
*/
434
434
subscription?: string|null;
435
+
/**
436
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
437
+
*/
438
+
tags?: {[key: string]: string}|null;
435
439
}
436
440
/**
437
441
* Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.
* Output only. An output-only field indicating whether or not the subscription can receive messages.
1024
1028
*/
1025
1029
state?: string|null;
1030
+
/**
1031
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
1032
+
*/
1033
+
tags?: {[key: string]: string}|null;
1026
1034
/**
1027
1035
* Required. The name of the topic from which this subscription is receiving messages. Format is `projects/{project\}/topics/{topic\}`. The value of this field will be `_deleted-topic_` if the topic has been deleted.
* Output only. An output-only field indicating the state of the topic.
1108
1116
*/
1109
1117
state?: string|null;
1118
+
/**
1119
+
* Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
0 commit comments