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.description
- schemas.CloudStorageConfig.properties.filenameDatetimeFormat.type
  • Loading branch information
yoshi-automation authored and sofisl committed May 2, 2024
1 parent e7906c5 commit 985ba9b
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discovery/pubsub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@
}
}
},
"revision": "20240227",
"revision": "20240416",
"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
50 changes: 50 additions & 0 deletions src/apis/pubsub/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ export namespace pubsub_v1 {
* 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).
*/
bucket?: string | null;
/**
* 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).
*/
filenameDatetimeFormat?: string | null;
/**
* Optional. User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).
*/
Expand Down Expand Up @@ -1036,6 +1040,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}:commit').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1123,6 +1128,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1207,6 +1213,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1294,6 +1301,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1378,6 +1386,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1465,6 +1474,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1555,6 +1565,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1649,6 +1660,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1736,6 +1748,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1823,6 +1836,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -1917,6 +1931,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2011,6 +2026,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2105,6 +2121,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2363,6 +2380,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PUT',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2447,6 +2465,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+snapshot}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2531,6 +2550,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+snapshot}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2618,6 +2638,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2710,6 +2731,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2794,6 +2816,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2881,6 +2904,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -2975,6 +2999,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3158,6 +3183,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3242,6 +3268,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PUT',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3329,6 +3356,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3423,6 +3451,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3510,6 +3539,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3597,6 +3627,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3691,6 +3722,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3778,6 +3810,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3865,6 +3898,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -3949,6 +3983,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4036,6 +4071,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4123,6 +4159,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4210,6 +4247,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4305,6 +4343,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4558,6 +4597,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PUT',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4642,6 +4682,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+topic}').replace(/([^:]\/)\/+/g, '$1'),
method: 'DELETE',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4726,6 +4767,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+topic}').replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4813,6 +4855,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4903,6 +4946,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -4987,6 +5031,7 @@ export namespace pubsub_v1 {
{
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
method: 'PATCH',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5074,6 +5119,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5161,6 +5207,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5255,6 +5302,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'POST',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5457,6 +5505,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down Expand Up @@ -5574,6 +5623,7 @@ export namespace pubsub_v1 {
'$1'
),
method: 'GET',
apiVersion: '',
},
options
),
Expand Down
Loading

0 comments on commit 985ba9b

Please sign in to comment.