Skip to content

Commit 04affe4

Browse files
feat(pubsub): update the api
#### pubsub:v1 The following keys were added: - schemas.CloudStorageConfig.properties.maxMessages (Total Keys: 2)
1 parent 43447c5 commit 04affe4

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

docs/dyn/pubsub_v1.projects.subscriptions.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ <h3>Method Details</h3>
190190
&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;.
191191
&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.
192192
&quot;maxDuration&quot;: &quot;A String&quot;, # Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription&#x27;s acknowledgement deadline.
193+
&quot;maxMessages&quot;: &quot;A String&quot;, # Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.
193194
&quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
194195
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
195196
&quot;textConfig&quot;: { # Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. # Optional. If set, message data will be written to Cloud Storage in text format.
@@ -270,6 +271,7 @@ <h3>Method Details</h3>
270271
&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;.
271272
&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.
272273
&quot;maxDuration&quot;: &quot;A String&quot;, # Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription&#x27;s acknowledgement deadline.
274+
&quot;maxMessages&quot;: &quot;A String&quot;, # Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.
273275
&quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
274276
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
275277
&quot;textConfig&quot;: { # Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. # Optional. If set, message data will be written to Cloud Storage in text format.
@@ -393,6 +395,7 @@ <h3>Method Details</h3>
393395
&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;.
394396
&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.
395397
&quot;maxDuration&quot;: &quot;A String&quot;, # Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription&#x27;s acknowledgement deadline.
398+
&quot;maxMessages&quot;: &quot;A String&quot;, # Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.
396399
&quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
397400
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
398401
&quot;textConfig&quot;: { # Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. # Optional. If set, message data will be written to Cloud Storage in text format.
@@ -520,6 +523,7 @@ <h3>Method Details</h3>
520523
&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;.
521524
&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.
522525
&quot;maxDuration&quot;: &quot;A String&quot;, # Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription&#x27;s acknowledgement deadline.
526+
&quot;maxMessages&quot;: &quot;A String&quot;, # Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.
523527
&quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
524528
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
525529
&quot;textConfig&quot;: { # Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. # Optional. If set, message data will be written to Cloud Storage in text format.
@@ -686,6 +690,7 @@ <h3>Method Details</h3>
686690
&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;.
687691
&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.
688692
&quot;maxDuration&quot;: &quot;A String&quot;, # Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription&#x27;s acknowledgement deadline.
693+
&quot;maxMessages&quot;: &quot;A String&quot;, # Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.
689694
&quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
690695
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
691696
&quot;textConfig&quot;: { # Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. # Optional. If set, message data will be written to Cloud Storage in text format.
@@ -768,6 +773,7 @@ <h3>Method Details</h3>
768773
&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;.
769774
&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.
770775
&quot;maxDuration&quot;: &quot;A String&quot;, # Optional. The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription&#x27;s acknowledgement deadline.
776+
&quot;maxMessages&quot;: &quot;A String&quot;, # Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.
771777
&quot;serviceAccountEmail&quot;: &quot;A String&quot;, # Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
772778
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
773779
&quot;textConfig&quot;: { # Configuration for writing message data in text format. Message payloads will be written to files as raw text, separated by a newline. # Optional. If set, message data will be written to Cloud Storage in text format.

googleapiclient/discovery_cache/documents/pubsub.v1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@
15831583
}
15841584
}
15851585
},
1586-
"revision": "20240618",
1586+
"revision": "20240702",
15871587
"rootUrl": "https://pubsub.googleapis.com/",
15881588
"schemas": {
15891589
"AcknowledgeRequest": {
@@ -1782,6 +1782,11 @@
17821782
"format": "google-duration",
17831783
"type": "string"
17841784
},
1785+
"maxMessages": {
1786+
"description": "Optional. The maximum number of messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages.",
1787+
"format": "int64",
1788+
"type": "string"
1789+
},
17851790
"serviceAccountEmail": {
17861791
"description": "Optional. The service account to use to write to Cloud Storage. The subscription creator or updater that specifies this field must have `iam.serviceAccounts.actAs` permission on the service account. If not specified, the Pub/Sub [service agent](https://cloud.google.com/iam/docs/service-agents), service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.",
17871792
"type": "string"

googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
}
475475
}
476476
},
477-
"revision": "20240618",
477+
"revision": "20240702",
478478
"rootUrl": "https://pubsub.googleapis.com/",
479479
"schemas": {
480480
"AcknowledgeRequest": {

googleapiclient/discovery_cache/documents/pubsub.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@
741741
}
742742
}
743743
},
744-
"revision": "20240618",
744+
"revision": "20240702",
745745
"rootUrl": "https://pubsub.googleapis.com/",
746746
"schemas": {
747747
"AcknowledgeRequest": {

0 commit comments

Comments
 (0)