You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/pubsub_v1.projects.subscriptions.html
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,7 @@ <h3>Method Details</h3>
177
177
},
178
178
"cloudStorageConfig": { # 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.
179
179
"avroConfig": { # 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
+
"useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
180
181
"writeMetadata": 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.
181
182
},
182
183
"bucket": "A String", # 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).
@@ -252,6 +253,7 @@ <h3>Method Details</h3>
252
253
},
253
254
"cloudStorageConfig": { # 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.
254
255
"avroConfig": { # 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
+
"useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
255
257
"writeMetadata": 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.
256
258
},
257
259
"bucket": "A String", # 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).
@@ -370,6 +372,7 @@ <h3>Method Details</h3>
370
372
},
371
373
"cloudStorageConfig": { # 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.
372
374
"avroConfig": { # 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
+
"useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
373
376
"writeMetadata": 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.
374
377
},
375
378
"bucket": "A String", # 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).
@@ -492,6 +495,7 @@ <h3>Method Details</h3>
492
495
},
493
496
"cloudStorageConfig": { # 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.
494
497
"avroConfig": { # 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
+
"useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
495
499
"writeMetadata": 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.
496
500
},
497
501
"bucket": "A String", # 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).
@@ -653,6 +657,7 @@ <h3>Method Details</h3>
653
657
},
654
658
"cloudStorageConfig": { # 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.
655
659
"avroConfig": { # 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
+
"useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
656
661
"writeMetadata": 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.
657
662
},
658
663
"bucket": "A String", # 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).
@@ -730,6 +735,7 @@ <h3>Method Details</h3>
730
735
},
731
736
"cloudStorageConfig": { # 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.
732
737
"avroConfig": { # 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
+
"useTopicSchema": True or False, # Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.
733
739
"writeMetadata": 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.
734
740
},
735
741
"bucket": "A String", # 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).
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/pubsub.v1.json
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1583,7 +1583,7 @@
1583
1583
}
1584
1584
}
1585
1585
},
1586
-
"revision": "20240528",
1586
+
"revision": "20240607",
1587
1587
"rootUrl": "https://pubsub.googleapis.com/",
1588
1588
"schemas": {
1589
1589
"AcknowledgeRequest": {
@@ -1604,6 +1604,10 @@
1604
1604
"description": "Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.",
1605
1605
"id": "AvroConfig",
1606
1606
"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
+
},
1607
1611
"writeMetadata": {
1608
1612
"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.",
0 commit comments