Skip to content

Commit ce81218

Browse files
feat(pubsub): update the api
#### pubsub:v1 The following keys were added: - schemas.BigQueryConfig.properties.useTableSchema.type (Total Keys: 1)
1 parent 8e799b7 commit ce81218

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

docs/dyn/pubsub_v1.projects.subscriptions.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ <h3>Method Details</h3>
170170
&quot;dropUnknownFields&quot;: 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&#x27;s backlog.
171171
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
172172
&quot;table&quot;: &quot;A String&quot;, # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
173-
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;s schema as the columns to write to in BigQuery, if it exists.
173+
&quot;useTableSchema&quot;: True or False, # Optional. When true, use the BigQuery table&#x27;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+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;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.
174175
&quot;writeMetadata&quot;: 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.
175176
},
176177
&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.
@@ -241,7 +242,8 @@ <h3>Method Details</h3>
241242
&quot;dropUnknownFields&quot;: 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&#x27;s backlog.
242243
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
243244
&quot;table&quot;: &quot;A String&quot;, # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
244-
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;s schema as the columns to write to in BigQuery, if it exists.
245+
&quot;useTableSchema&quot;: True or False, # Optional. When true, use the BigQuery table&#x27;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+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;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.
245247
&quot;writeMetadata&quot;: 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.
246248
},
247249
&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.
@@ -355,7 +357,8 @@ <h3>Method Details</h3>
355357
&quot;dropUnknownFields&quot;: 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&#x27;s backlog.
356358
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
357359
&quot;table&quot;: &quot;A String&quot;, # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
358-
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;s schema as the columns to write to in BigQuery, if it exists.
360+
&quot;useTableSchema&quot;: True or False, # Optional. When true, use the BigQuery table&#x27;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+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;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.
359362
&quot;writeMetadata&quot;: 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.
360363
},
361364
&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.
@@ -473,7 +476,8 @@ <h3>Method Details</h3>
473476
&quot;dropUnknownFields&quot;: 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&#x27;s backlog.
474477
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
475478
&quot;table&quot;: &quot;A String&quot;, # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
476-
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;s schema as the columns to write to in BigQuery, if it exists.
479+
&quot;useTableSchema&quot;: True or False, # Optional. When true, use the BigQuery table&#x27;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+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;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.
477481
&quot;writeMetadata&quot;: 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.
478482
},
479483
&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.
@@ -630,7 +634,8 @@ <h3>Method Details</h3>
630634
&quot;dropUnknownFields&quot;: 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&#x27;s backlog.
631635
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
632636
&quot;table&quot;: &quot;A String&quot;, # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
633-
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;s schema as the columns to write to in BigQuery, if it exists.
637+
&quot;useTableSchema&quot;: True or False, # Optional. When true, use the BigQuery table&#x27;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+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;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.
634639
&quot;writeMetadata&quot;: 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.
635640
},
636641
&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.
@@ -703,7 +708,8 @@ <h3>Method Details</h3>
703708
&quot;dropUnknownFields&quot;: 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&#x27;s backlog.
704709
&quot;state&quot;: &quot;A String&quot;, # Output only. An output-only field that indicates whether or not the subscription can receive messages.
705710
&quot;table&quot;: &quot;A String&quot;, # Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}
706-
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;s schema as the columns to write to in BigQuery, if it exists.
711+
&quot;useTableSchema&quot;: True or False, # Optional. When true, use the BigQuery table&#x27;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+
&quot;useTopicSchema&quot;: True or False, # Optional. When true, use the topic&#x27;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.
707713
&quot;writeMetadata&quot;: 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.
708714
},
709715
&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.

googleapiclient/discovery_cache/documents/pubsub.v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@
15731573
}
15741574
}
15751575
},
1576-
"revision": "20231128",
1576+
"revision": "20231205",
15771577
"rootUrl": "https://pubsub.googleapis.com/",
15781578
"schemas": {
15791579
"AcknowledgeRequest": {
@@ -1634,8 +1634,12 @@
16341634
"description": "Optional. The name of the table to which to write data, of the form {projectId}.{datasetId}.{tableId}",
16351635
"type": "string"
16361636
},
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+
},
16371641
"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.",
16391643
"type": "boolean"
16401644
},
16411645
"writeMetadata": {

googleapiclient/discovery_cache/documents/pubsub.v1beta1a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
}
465465
}
466466
},
467-
"revision": "20231128",
467+
"revision": "20231205",
468468
"rootUrl": "https://pubsub.googleapis.com/",
469469
"schemas": {
470470
"AcknowledgeRequest": {

googleapiclient/discovery_cache/documents/pubsub.v1beta2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@
731731
}
732732
}
733733
},
734-
"revision": "20231128",
734+
"revision": "20231205",
735735
"rootUrl": "https://pubsub.googleapis.com/",
736736
"schemas": {
737737
"AcknowledgeRequest": {

0 commit comments

Comments
 (0)