Skip to content

Commit 6838cd5

Browse files
shikharactions-user
authored andcommitted
sync protos
GitOrigin-RevId: d7a3b98142b926b02070eb6f2278fc4b4e76b959
1 parent 1000fba commit 6838cd5

File tree

2 files changed

+13
-18
lines changed

2 files changed

+13
-18
lines changed

s2/v1/openapi.json

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
{
239239
"name": "start_after",
240240
"in": "query",
241-
"description": "Only return basins names that lexicographically start after this name.\nThis can be the last basin name seen in a previous listing, to continue from there.\nIt must be greater than or equal to the prefix if specified.",
241+
"description": "Only return basins names that lexicographically start after this name.\nThis can be the last basin name seen in a previous listing, to continue from there.\nIt must be greater than or equal to the `prefix` if that is specified.",
242242
"required": false,
243243
"schema": {
244244
"type": "string",
@@ -825,7 +825,7 @@
825825
{
826826
"name": "stream",
827827
"in": "path",
828-
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string upto 512 characters.\nBackslash (`/`) is recommended as a delimiter for hierarchical naming.",
828+
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string up to 512 characters.",
829829
"required": true,
830830
"schema": {
831831
"type": "string"
@@ -897,7 +897,7 @@
897897
{
898898
"name": "stream",
899899
"in": "path",
900-
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string upto 512 characters.\nBackslash (`/`) is recommended as a delimiter for hierarchical naming.",
900+
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string up to 512 characters.",
901901
"required": true,
902902
"schema": {
903903
"type": "string"
@@ -997,7 +997,7 @@
997997
{
998998
"name": "stream",
999999
"in": "path",
1000-
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string upto 512 characters.\nBackslash (`/`) is recommended as a delimiter for hierarchical naming.",
1000+
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string up to 512 characters.",
10011001
"required": true,
10021002
"schema": {
10031003
"type": "string"
@@ -1062,7 +1062,7 @@
10621062
{
10631063
"name": "stream",
10641064
"in": "path",
1065-
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string upto 512 characters.\nBackslash (`/`) is recommended as a delimiter for hierarchical naming.",
1065+
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string up to 512 characters.",
10661066
"required": true,
10671067
"schema": {
10681068
"type": "string"
@@ -1147,7 +1147,7 @@
11471147
{
11481148
"name": "stream",
11491149
"in": "path",
1150-
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string upto 512 characters.\nBackslash (`/`) is recommended as a delimiter for hierarchical naming.",
1150+
"description": "Stream name, which must be unique within the basin.\nIt can be an arbitrary string up to 512 characters.",
11511151
"required": true,
11521152
"schema": {
11531153
"type": "string"
@@ -1316,10 +1316,6 @@
13161316
},
13171317
"BasinConfig": {
13181318
"type": "object",
1319-
"required": [
1320-
"create_stream_on_append",
1321-
"create_stream_on_read"
1322-
],
13231319
"properties": {
13241320
"create_stream_on_append": {
13251321
"type": "boolean",
@@ -1470,7 +1466,7 @@
14701466
"oneOf": [
14711467
{
14721468
"$ref": "#/components/schemas/BasinScope",
1473-
"description": "Basin scope."
1469+
"description": "Basin scope.\nThis cannot be reconfigured."
14741470
}
14751471
],
14761472
"default": "aws:us-east-1"
@@ -1546,7 +1542,7 @@
15461542
},
15471543
"has_more": {
15481544
"type": "boolean",
1549-
"description": "If set, indicates there are more results that can be listed with `start_after`."
1545+
"description": "Indicates that there are more results that can be listed with `start_after`."
15501546
}
15511547
}
15521548
},
@@ -1567,7 +1563,7 @@
15671563
},
15681564
"has_more": {
15691565
"type": "boolean",
1570-
"description": "If set, indicates there are more results that can be listed with `start_after`."
1566+
"description": "Indicates that there are more results that can be listed with `start_after`."
15711567
}
15721568
}
15731569
},
@@ -1580,7 +1576,7 @@
15801576
"properties": {
15811577
"has_more": {
15821578
"type": "boolean",
1583-
"description": "If set, indicates there are more results that can be listed with `start_after`."
1579+
"description": "Indicates that there are more results that can be listed with `start_after`."
15841580
},
15851581
"streams": {
15861582
"type": "array",

s2/v1/s2.proto

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ message ReadBatch {
9393
// Records that are at or after the requested start position.
9494
repeated SequencedRecord records = 1;
9595
// Sequence number that will be assigned to the next record on the stream,
96-
// with timestamp of the last record.
97-
// This is returned only when consuming recent records,
98-
// so its presence should not be relied on.
96+
// and timestamp of the last record.
97+
// This will only be present when consuming recent records.
9998
optional StreamPosition tail = 2;
10099
}
101100

@@ -106,6 +105,6 @@ message ReadBatch {
106105
// or at the tail if a limit was specified.
107106
message TailPosition {
108107
// Sequence number that will be assigned to the next record on the stream,
109-
// with timestamp of the last record.
108+
// and timestamp of the last record.
110109
StreamPosition tail = 1;
111110
}

0 commit comments

Comments
 (0)