Skip to content

Commit

Permalink
fix(pubsublite): update the API
Browse files Browse the repository at this point in the history
#### pubsublite:v1
The following keys were changed:
- schemas.PartitionConfig.properties.scale.description
  • Loading branch information
sofisl committed Aug 25, 2020
1 parent 784ca46 commit 9a0510a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions discovery/pubsublite-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@
}
}
},
"revision": "20200803",
"revision": "20200818",
"rootUrl": "https://pubsublite.googleapis.com/",
"schemas": {
"Capacity": {
Expand Down Expand Up @@ -700,7 +700,7 @@
"type": "string"
},
"scale": {
"description": "Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].",
"description": "DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].",
"format": "int32",
"type": "integer"
}
Expand Down
2 changes: 1 addition & 1 deletion src/apis/pubsublite/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export namespace pubsublite_v1 {
*/
count?: string | null;
/**
* Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
* DEPRECATED: Use capacity instead which can express a superset of configurations. Every partition in the topic is allocated throughput equivalent to `scale` times the standard partition throughput (4 MiB/s). This is also reflected in the cost of this topic; a topic with `scale` of 2 and count of 10 is charged for 20 partitions. This value must be in the range [1,4].
*/
scale?: number | null;
}
Expand Down

0 comments on commit 9a0510a

Please sign in to comment.