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
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,8 @@ <h3>Method Details</h3>
170
170
"dropUnknownFields": True or False, # Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
171
171
"state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages.
172
172
"table": "A String", # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
173
-
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
173
+
"useTableSchema": True or False, # Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.
174
+
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.
174
175
"writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
175
176
},
176
177
"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.
@@ -241,7 +242,8 @@ <h3>Method Details</h3>
241
242
"dropUnknownFields": True or False, # Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
242
243
"state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages.
243
244
"table": "A String", # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
244
-
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
245
+
"useTableSchema": True or False, # Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.
246
+
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.
245
247
"writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
246
248
},
247
249
"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.
@@ -355,7 +357,8 @@ <h3>Method Details</h3>
355
357
"dropUnknownFields": True or False, # Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
356
358
"state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages.
357
359
"table": "A String", # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
358
-
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
360
+
"useTableSchema": True or False, # Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.
361
+
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.
359
362
"writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
360
363
},
361
364
"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.
@@ -473,7 +476,8 @@ <h3>Method Details</h3>
473
476
"dropUnknownFields": True or False, # Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
474
477
"state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages.
475
478
"table": "A String", # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
476
-
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
479
+
"useTableSchema": True or False, # Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.
480
+
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.
477
481
"writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
478
482
},
479
483
"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.
@@ -630,7 +634,8 @@ <h3>Method Details</h3>
630
634
"dropUnknownFields": True or False, # Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
631
635
"state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages.
632
636
"table": "A String", # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
633
-
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
637
+
"useTableSchema": True or False, # Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.
638
+
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.
634
639
"writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
635
640
},
636
641
"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.
@@ -703,7 +708,8 @@ <h3>Method Details</h3>
703
708
"dropUnknownFields": True or False, # Optional. When true and use_topic_schema is true, any fields that are a part of the topic schema that are not part of the BigQuery table schema are dropped when writing to BigQuery. Otherwise, the schemas must be kept in sync and any messages with extra fields are not written and remain in the subscription's backlog.
704
709
"state": "A String", # Output only. An output-only field that indicates whether or not the subscription can receive messages.
705
710
"table": "A String", # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
706
-
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.
711
+
"useTableSchema": True or False, # Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.
712
+
"useTopicSchema": True or False, # Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.
707
713
"writeMetadata": True or False, # Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key to additional columns in the table. The subscription name, message_id, and publish_time fields are put in their own columns while all other message properties (other than data) are written to a JSON object in the attributes column.
708
714
},
709
715
"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.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/pubsub.v1.json
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1573,7 +1573,7 @@
1573
1573
}
1574
1574
}
1575
1575
},
1576
-
"revision": "20231128",
1576
+
"revision": "20231205",
1577
1577
"rootUrl": "https://pubsub.googleapis.com/",
1578
1578
"schemas": {
1579
1579
"AcknowledgeRequest": {
@@ -1634,8 +1634,12 @@
1634
1634
"description": "Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}",
1635
1635
"type": "string"
1636
1636
},
1637
+
"useTableSchema": {
1638
+
"description": "Optional. When true, use the BigQuery table's schema as the columns to write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be enabled at the same time.",
1639
+
"type": "boolean"
1640
+
},
1637
1641
"useTopicSchema": {
1638
-
"description": "Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists.",
1642
+
"description": "Optional. When true, use the topic's schema as the columns to write to in BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be enabled at the same time.",
0 commit comments