Skip to content

Commit 3349e84

Browse files
feat(pubsub): update the api
#### pubsub:v1 The following keys were added: - schemas.AvroConfig.properties.useTopicSchema.type (Total Keys: 1)
1 parent a045dba commit 3349e84

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

docs/dyn/pubsub_v1.projects.subscriptions.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ <h3>Method Details</h3>
177177
},
178178
&quot;cloudStorageConfig&quot;: { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.
179179
&quot;avroConfig&quot;: { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format.
180+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
180181
&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.
181182
},
182183
&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).
@@ -252,6 +253,7 @@ <h3>Method Details</h3>
252253
},
253254
&quot;cloudStorageConfig&quot;: { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.
254255
&quot;avroConfig&quot;: { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format.
256+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
255257
&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.
256258
},
257259
&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).
@@ -370,6 +372,7 @@ <h3>Method Details</h3>
370372
},
371373
&quot;cloudStorageConfig&quot;: { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.
372374
&quot;avroConfig&quot;: { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format.
375+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
373376
&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.
374377
},
375378
&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).
@@ -492,6 +495,7 @@ <h3>Method Details</h3>
492495
},
493496
&quot;cloudStorageConfig&quot;: { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.
494497
&quot;avroConfig&quot;: { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format.
498+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
495499
&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.
496500
},
497501
&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).
@@ -653,6 +657,7 @@ <h3>Method Details</h3>
653657
},
654658
&quot;cloudStorageConfig&quot;: { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.
655659
&quot;avroConfig&quot;: { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format.
660+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
656661
&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.
657662
},
658663
&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).
@@ -730,6 +735,7 @@ <h3>Method Details</h3>
730735
},
731736
&quot;cloudStorageConfig&quot;: { # Configuration for a Cloud Storage subscription. # Optional. If delivery to Google Cloud Storage is used with this subscription, this field is used to configure it.
732737
&quot;avroConfig&quot;: { # Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary. # Optional. If set, message data will be written to Cloud Storage in Avro format.
738+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
733739
&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.
734740
},
735741
&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).

googleapiclient/discovery_cache/documents/pubsub.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@
15831583
}
15841584
}
15851585
},
1586-
"revision": "20240528",
1586+
"revision": "20240607",
15871587
"rootUrl": "https://pubsub.googleapis.com/",
15881588
"schemas": {
15891589
"AcknowledgeRequest": {
@@ -1604,6 +1604,10 @@
16041604
"description": "Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.",
16051605
"id": "AvroConfig",
16061606
"properties": {
1607+
"useTopicSchema": {
1608+
"description": "Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.",
1609+
"type": "boolean"
1610+
},
16071611
"writeMetadata": {
16081612
"description": "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.",
16091613
"type": "boolean"

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": "20240528",
477+
"revision": "20240607",
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": "20240528",
744+
"revision": "20240607",
745745
"rootUrl": "https://pubsub.googleapis.com/",
746746
"schemas": {
747747
"AcknowledgeRequest": {

0 commit comments

Comments
 (0)