Skip to content

Commit

Permalink
feat(pubsub): update the api
Browse files Browse the repository at this point in the history
#### pubsub:v1

The following keys were added:
- schemas.CloudStorageConfig.properties.filenameDatetimeFormat.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Apr 2, 2024
1 parent ac7a596 commit 370d664
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/dyn/pubsub_v1.projects.subscriptions.html
Expand Up @@ -180,6 +180,7 @@ <h3>Method Details</h3>
&quot;writeMetadata&quot;: True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
},
&quot;bucket&quot;: &quot;A String&quot;, # Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like &quot;gs://&quot;. See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
&quot;filenameDatetimeFormat&quot;: &quot;A String&quot;, # Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
&quot;filenamePrefix&quot;: &quot;A String&quot;, # Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
&quot;filenameSuffix&quot;: &quot;A String&quot;, # Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in &quot;/&quot;.
&quot;maxBytes&quot;: &quot;A String&quot;, # Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
Expand Down Expand Up @@ -254,6 +255,7 @@ <h3>Method Details</h3>
&quot;writeMetadata&quot;: True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
},
&quot;bucket&quot;: &quot;A String&quot;, # Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like &quot;gs://&quot;. See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
&quot;filenameDatetimeFormat&quot;: &quot;A String&quot;, # Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
&quot;filenamePrefix&quot;: &quot;A String&quot;, # Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
&quot;filenameSuffix&quot;: &quot;A String&quot;, # Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in &quot;/&quot;.
&quot;maxBytes&quot;: &quot;A String&quot;, # Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
Expand Down Expand Up @@ -371,6 +373,7 @@ <h3>Method Details</h3>
&quot;writeMetadata&quot;: True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
},
&quot;bucket&quot;: &quot;A String&quot;, # Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like &quot;gs://&quot;. See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
&quot;filenameDatetimeFormat&quot;: &quot;A String&quot;, # Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
&quot;filenamePrefix&quot;: &quot;A String&quot;, # Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
&quot;filenameSuffix&quot;: &quot;A String&quot;, # Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in &quot;/&quot;.
&quot;maxBytes&quot;: &quot;A String&quot;, # Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
Expand Down Expand Up @@ -492,6 +495,7 @@ <h3>Method Details</h3>
&quot;writeMetadata&quot;: True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
},
&quot;bucket&quot;: &quot;A String&quot;, # Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like &quot;gs://&quot;. See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
&quot;filenameDatetimeFormat&quot;: &quot;A String&quot;, # Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
&quot;filenamePrefix&quot;: &quot;A String&quot;, # Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
&quot;filenameSuffix&quot;: &quot;A String&quot;, # Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in &quot;/&quot;.
&quot;maxBytes&quot;: &quot;A String&quot;, # Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
Expand Down Expand Up @@ -652,6 +656,7 @@ <h3>Method Details</h3>
&quot;writeMetadata&quot;: True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
},
&quot;bucket&quot;: &quot;A String&quot;, # Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like &quot;gs://&quot;. See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
&quot;filenameDatetimeFormat&quot;: &quot;A String&quot;, # Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
&quot;filenamePrefix&quot;: &quot;A String&quot;, # Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
&quot;filenameSuffix&quot;: &quot;A String&quot;, # Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in &quot;/&quot;.
&quot;maxBytes&quot;: &quot;A String&quot;, # Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
Expand Down Expand Up @@ -728,6 +733,7 @@ <h3>Method Details</h3>
&quot;writeMetadata&quot;: True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.
},
&quot;bucket&quot;: &quot;A String&quot;, # Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like &quot;gs://&quot;. See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
&quot;filenameDatetimeFormat&quot;: &quot;A String&quot;, # Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).
&quot;filenamePrefix&quot;: &quot;A String&quot;, # Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
&quot;filenameSuffix&quot;: &quot;A String&quot;, # Optional. User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in &quot;/&quot;.
&quot;maxBytes&quot;: &quot;A String&quot;, # Optional. The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/pubsub.v1.json
Expand Up @@ -1583,7 +1583,7 @@
}
}
},
"revision": "20240312",
"revision": "20240319",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
Expand Down Expand Up @@ -1741,6 +1741,10 @@
"description": "Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like \"gs://\". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).",
"type": "string"
},
"filenameDatetimeFormat": {
"description": "Optional. User-provided format string specifying how to represent datetimes in Cloud Storage filenames. See the [datetime format guidance](https://cloud.google.com/pubsub/docs/create-cloudstorage-subscription#file_names).",
"type": "string"
},
"filenamePrefix": {
"description": "Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).",
"type": "string"
Expand Down
Expand Up @@ -474,7 +474,7 @@
}
}
},
"revision": "20240312",
"revision": "20240319",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
Expand Down
Expand Up @@ -741,7 +741,7 @@
}
}
},
"revision": "20240312",
"revision": "20240319",
"rootUrl": "https://pubsub.googleapis.com/",
"schemas": {
"AcknowledgeRequest": {
Expand Down

0 comments on commit 370d664

Please sign in to comment.