|
1638 | 1638 | }
|
1639 | 1639 | }
|
1640 | 1640 | },
|
1641 |
| - "revision": "20240730", |
| 1641 | + "revision": "20240918", |
1642 | 1642 | "rootUrl": "https://pubsub.googleapis.com/",
|
1643 | 1643 | "schemas": {
|
1644 | 1644 | "AcknowledgeRequest": {
|
|
1685 | 1685 | },
|
1686 | 1686 | "type": "object"
|
1687 | 1687 | },
|
| 1688 | + "AvroFormat": { |
| 1689 | + "description": "Configuration for reading Cloud Storage data in Avro binary format. The bytes of each object will be set to the `data` field of a Pub/Sub message.", |
| 1690 | + "id": "AvroFormat", |
| 1691 | + "properties": {}, |
| 1692 | + "type": "object" |
| 1693 | + }, |
1688 | 1694 | "AwsKinesis": {
|
1689 | 1695 | "description": "Ingestion settings for Amazon Kinesis Data Streams.",
|
1690 | 1696 | "id": "AwsKinesis",
|
|
1803 | 1809 | },
|
1804 | 1810 | "type": "object"
|
1805 | 1811 | },
|
| 1812 | + "CloudStorage": { |
| 1813 | + "description": "Ingestion settings for Cloud Storage.", |
| 1814 | + "id": "CloudStorage", |
| 1815 | + "properties": { |
| 1816 | + "avroFormat": { |
| 1817 | + "$ref": "AvroFormat", |
| 1818 | + "description": "Optional. Data from Cloud Storage will be interpreted in Avro format." |
| 1819 | + }, |
| 1820 | + "bucket": { |
| 1821 | + "description": "Optional. Cloud Storage bucket. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).", |
| 1822 | + "type": "string" |
| 1823 | + }, |
| 1824 | + "matchGlob": { |
| 1825 | + "description": "Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob).", |
| 1826 | + "type": "string" |
| 1827 | + }, |
| 1828 | + "minimumObjectCreateTime": { |
| 1829 | + "description": "Optional. Only objects with a larger or equal creation timestamp will be ingested.", |
| 1830 | + "format": "google-datetime", |
| 1831 | + "type": "string" |
| 1832 | + }, |
| 1833 | + "pubsubAvroFormat": { |
| 1834 | + "$ref": "PubSubAvroFormat", |
| 1835 | + "description": "Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage)." |
| 1836 | + }, |
| 1837 | + "state": { |
| 1838 | + "description": "Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.", |
| 1839 | + "enum": [ |
| 1840 | + "STATE_UNSPECIFIED", |
| 1841 | + "ACTIVE", |
| 1842 | + "CLOUD_STORAGE_PERMISSION_DENIED", |
| 1843 | + "PUBLISH_PERMISSION_DENIED", |
| 1844 | + "BUCKET_NOT_FOUND", |
| 1845 | + "TOO_MANY_OBJECTS" |
| 1846 | + ], |
| 1847 | + "enumDescriptions": [ |
| 1848 | + "Default value. This value is unused.", |
| 1849 | + "Ingestion is active.", |
| 1850 | + "Permission denied encountered while calling the Cloud Storage API. This can happen if the Pub/Sub SA has not been granted the [appropriate permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions): - storage.objects.list: to list the objects in a bucket. - storage.objects.get: to read the objects in a bucket. - storage.buckets.get: to verify the bucket exists.", |
| 1851 | + "Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the [appropriate publish permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)", |
| 1852 | + "The provided Cloud Storage bucket doesn't exist.", |
| 1853 | + "The Cloud Storage bucket has too many objects, ingestion will be paused." |
| 1854 | + ], |
| 1855 | + "readOnly": true, |
| 1856 | + "type": "string" |
| 1857 | + }, |
| 1858 | + "textFormat": { |
| 1859 | + "$ref": "TextFormat", |
| 1860 | + "description": "Optional. Data from Cloud Storage will be interpreted as text." |
| 1861 | + } |
| 1862 | + }, |
| 1863 | + "type": "object" |
| 1864 | + }, |
1806 | 1865 | "CloudStorageConfig": {
|
1807 | 1866 | "description": "Configuration for a Cloud Storage subscription.",
|
1808 | 1867 | "id": "CloudStorageConfig",
|
|
1973 | 2032 | "awsKinesis": {
|
1974 | 2033 | "$ref": "AwsKinesis",
|
1975 | 2034 | "description": "Optional. Amazon Kinesis Data Streams."
|
| 2035 | + }, |
| 2036 | + "cloudStorage": { |
| 2037 | + "$ref": "CloudStorage", |
| 2038 | + "description": "Optional. Cloud Storage." |
| 2039 | + }, |
| 2040 | + "platformLogsSettings": { |
| 2041 | + "$ref": "PlatformLogsSettings", |
| 2042 | + "description": "Optional. Platform Logs settings. If unset, no Platform Logs will be generated." |
1976 | 2043 | }
|
1977 | 2044 | },
|
1978 | 2045 | "type": "object"
|
|
2177 | 2244 | },
|
2178 | 2245 | "type": "object"
|
2179 | 2246 | },
|
| 2247 | + "PlatformLogsSettings": { |
| 2248 | + "description": "Settings for Platform Logs produced by Pub/Sub.", |
| 2249 | + "id": "PlatformLogsSettings", |
| 2250 | + "properties": { |
| 2251 | + "severity": { |
| 2252 | + "description": "Optional. The minimum severity level of Platform Logs that will be written.", |
| 2253 | + "enum": [ |
| 2254 | + "SEVERITY_UNSPECIFIED", |
| 2255 | + "DISABLED", |
| 2256 | + "DEBUG", |
| 2257 | + "INFO", |
| 2258 | + "WARNING", |
| 2259 | + "ERROR" |
| 2260 | + ], |
| 2261 | + "enumDescriptions": [ |
| 2262 | + "Default value. Logs level is unspecified. Logs will be disabled.", |
| 2263 | + "Logs will be disabled.", |
| 2264 | + "Debug logs and higher-severity logs will be written.", |
| 2265 | + "Info logs and higher-severity logs will be written.", |
| 2266 | + "Warning logs and higher-severity logs will be written.", |
| 2267 | + "Only error logs will be written." |
| 2268 | + ], |
| 2269 | + "type": "string" |
| 2270 | + } |
| 2271 | + }, |
| 2272 | + "type": "object" |
| 2273 | + }, |
2180 | 2274 | "Policy": {
|
2181 | 2275 | "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user: [email protected]\", \"group: [email protected]\", \"domain:google.com\", \"serviceAccount: [email protected]\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user: [email protected]\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user: [email protected] - group: [email protected] - domain:google.com - serviceAccount: [email protected] role: roles/resourcemanager.organizationAdmin - members: - user: [email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
|
2182 | 2276 | "id": "Policy",
|
|
2201 | 2295 | },
|
2202 | 2296 | "type": "object"
|
2203 | 2297 | },
|
| 2298 | + "PubSubAvroFormat": { |
| 2299 | + "description": "Configuration for reading Cloud Storage data written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data and attributes fields of the originally exported Pub/Sub message will be restored when publishing.", |
| 2300 | + "id": "PubSubAvroFormat", |
| 2301 | + "properties": {}, |
| 2302 | + "type": "object" |
| 2303 | + }, |
2204 | 2304 | "PublishRequest": {
|
2205 | 2305 | "description": "Request for the Publish method.",
|
2206 | 2306 | "id": "PublishRequest",
|
|
2563 | 2663 | "type": "object"
|
2564 | 2664 | },
|
2565 | 2665 | "messageRetentionDuration": {
|
2566 |
| - "description": "Optional. How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.", |
| 2666 | + "description": "Optional. How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If `retain_acked_messages` is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a `Seek` can be done. Defaults to 7 days. Cannot be more than 31 days or less than 10 minutes.", |
2567 | 2667 | "format": "google-duration",
|
2568 | 2668 | "type": "string"
|
2569 | 2669 | },
|
|
2645 | 2745 | "properties": {},
|
2646 | 2746 | "type": "object"
|
2647 | 2747 | },
|
| 2748 | + "TextFormat": { |
| 2749 | + "description": "Configuration for reading Cloud Storage data in text format. Each line of text as specified by the delimiter will be set to the `data` field of a Pub/Sub message.", |
| 2750 | + "id": "TextFormat", |
| 2751 | + "properties": { |
| 2752 | + "delimiter": { |
| 2753 | + "description": "Optional. When unset, '\\n' is used.", |
| 2754 | + "type": "string" |
| 2755 | + } |
| 2756 | + }, |
| 2757 | + "type": "object" |
| 2758 | + }, |
2648 | 2759 | "Topic": {
|
2649 | 2760 | "description": "A topic resource.",
|
2650 | 2761 | "id": "Topic",
|
|
0 commit comments