diff --git a/docs/dyn/datastream_v1.projects.locations.streams.html b/docs/dyn/datastream_v1.projects.locations.streams.html index acb254be9e..7353070265 100644 --- a/docs/dyn/datastream_v1.projects.locations.streams.html +++ b/docs/dyn/datastream_v1.projects.locations.streams.html @@ -225,7 +225,11 @@

Method Details

"customerManagedEncryptionKey": "A String", # Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. "destinationConfig": { # The configuration of the stream destination. # Required. Destination connection profile configuration. "bigqueryDestinationConfig": { # BigQuery destination configuration # BigQuery destination configuration. + "appendOnly": { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode + }, "dataFreshness": "A String", # The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. + "merge": { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode + }, "singleTargetDataset": { # A single target dataset to which all data will be streamed. # Single destination dataset. "datasetId": "A String", # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference. }, @@ -681,7 +685,11 @@

Method Details

"customerManagedEncryptionKey": "A String", # Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. "destinationConfig": { # The configuration of the stream destination. # Required. Destination connection profile configuration. "bigqueryDestinationConfig": { # BigQuery destination configuration # BigQuery destination configuration. + "appendOnly": { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode + }, "dataFreshness": "A String", # The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. + "merge": { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode + }, "singleTargetDataset": { # A single target dataset to which all data will be streamed. # Single destination dataset. "datasetId": "A String", # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference. }, @@ -1076,7 +1084,11 @@

Method Details

"customerManagedEncryptionKey": "A String", # Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. "destinationConfig": { # The configuration of the stream destination. # Required. Destination connection profile configuration. "bigqueryDestinationConfig": { # BigQuery destination configuration # BigQuery destination configuration. + "appendOnly": { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode + }, "dataFreshness": "A String", # The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. + "merge": { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode + }, "singleTargetDataset": { # A single target dataset to which all data will be streamed. # Single destination dataset. "datasetId": "A String", # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference. }, @@ -1478,7 +1490,11 @@

Method Details

"customerManagedEncryptionKey": "A String", # Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS. "destinationConfig": { # The configuration of the stream destination. # Required. Destination connection profile configuration. "bigqueryDestinationConfig": { # BigQuery destination configuration # BigQuery destination configuration. + "appendOnly": { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode + }, "dataFreshness": "A String", # The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. + "merge": { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode + }, "singleTargetDataset": { # A single target dataset to which all data will be streamed. # Single destination dataset. "datasetId": "A String", # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference. }, diff --git a/googleapiclient/discovery_cache/documents/datastream.v1.json b/googleapiclient/discovery_cache/documents/datastream.v1.json index 6d45771e62..c2b30f00bc 100644 --- a/googleapiclient/discovery_cache/documents/datastream.v1.json +++ b/googleapiclient/discovery_cache/documents/datastream.v1.json @@ -1250,9 +1250,15 @@ } } }, -"revision": "20240320", +"revision": "20240410", "rootUrl": "https://datastream.googleapis.com/", "schemas": { +"AppendOnly": { +"description": "AppendOnly mode defines that all changes to a table will be written to the destination table.", +"id": "AppendOnly", +"properties": {}, +"type": "object" +}, "AvroFileFormat": { "description": "AVRO file format configuration.", "id": "AvroFileFormat", @@ -1358,11 +1364,19 @@ "description": "BigQuery destination configuration", "id": "BigQueryDestinationConfig", "properties": { +"appendOnly": { +"$ref": "AppendOnly", +"description": "Append only mode" +}, "dataFreshness": { "description": "The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.", "format": "google-duration", "type": "string" }, +"merge": { +"$ref": "Merge", +"description": "The standard mode" +}, "singleTargetDataset": { "$ref": "SingleTargetDataset", "description": "Single destination dataset." @@ -1936,6 +1950,12 @@ }, "type": "object" }, +"Merge": { +"description": "Merge mode defines that all changes to a table will be merged at the destination table.", +"id": "Merge", +"properties": {}, +"type": "object" +}, "MostRecentStartPosition": { "description": "CDC strategy to start replicating from the most recent position in the source.", "id": "MostRecentStartPosition", diff --git a/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json b/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json index e7388043f2..1aaf123cac 100644 --- a/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +++ b/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json @@ -1224,7 +1224,7 @@ } } }, -"revision": "20240320", +"revision": "20240410", "rootUrl": "https://datastream.googleapis.com/", "schemas": { "AvroFileFormat": {