Skip to content

Commit

Permalink
feat(datastream): update the api
Browse files Browse the repository at this point in the history
#### datastream:v1

The following keys were added:
- schemas.AppendOnly (Total Keys: 2)
- schemas.BigQueryDestinationConfig.properties.appendOnly.$ref (Total Keys: 1)
- schemas.BigQueryDestinationConfig.properties.merge.$ref (Total Keys: 1)
- schemas.Merge (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Apr 23, 2024
1 parent 089d7f7 commit 4897b12
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
16 changes: 16 additions & 0 deletions docs/dyn/datastream_v1.projects.locations.streams.html
Expand Up @@ -225,7 +225,11 @@ <h3>Method Details</h3>
&quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
&quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
&quot;bigqueryDestinationConfig&quot;: { # BigQuery destination configuration # BigQuery destination configuration.
&quot;appendOnly&quot;: { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode
},
&quot;dataFreshness&quot;: &quot;A String&quot;, # 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.
&quot;merge&quot;: { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode
},
&quot;singleTargetDataset&quot;: { # A single target dataset to which all data will be streamed. # Single destination dataset.
&quot;datasetId&quot;: &quot;A String&quot;, # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.
},
Expand Down Expand Up @@ -681,7 +685,11 @@ <h3>Method Details</h3>
&quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
&quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
&quot;bigqueryDestinationConfig&quot;: { # BigQuery destination configuration # BigQuery destination configuration.
&quot;appendOnly&quot;: { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode
},
&quot;dataFreshness&quot;: &quot;A String&quot;, # 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.
&quot;merge&quot;: { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode
},
&quot;singleTargetDataset&quot;: { # A single target dataset to which all data will be streamed. # Single destination dataset.
&quot;datasetId&quot;: &quot;A String&quot;, # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.
},
Expand Down Expand Up @@ -1076,7 +1084,11 @@ <h3>Method Details</h3>
&quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
&quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
&quot;bigqueryDestinationConfig&quot;: { # BigQuery destination configuration # BigQuery destination configuration.
&quot;appendOnly&quot;: { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode
},
&quot;dataFreshness&quot;: &quot;A String&quot;, # 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.
&quot;merge&quot;: { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode
},
&quot;singleTargetDataset&quot;: { # A single target dataset to which all data will be streamed. # Single destination dataset.
&quot;datasetId&quot;: &quot;A String&quot;, # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.
},
Expand Down Expand Up @@ -1478,7 +1490,11 @@ <h3>Method Details</h3>
&quot;customerManagedEncryptionKey&quot;: &quot;A String&quot;, # 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.
&quot;destinationConfig&quot;: { # The configuration of the stream destination. # Required. Destination connection profile configuration.
&quot;bigqueryDestinationConfig&quot;: { # BigQuery destination configuration # BigQuery destination configuration.
&quot;appendOnly&quot;: { # AppendOnly mode defines that all changes to a table will be written to the destination table. # Append only mode
},
&quot;dataFreshness&quot;: &quot;A String&quot;, # 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.
&quot;merge&quot;: { # Merge mode defines that all changes to a table will be merged at the destination table. # The standard mode
},
&quot;singleTargetDataset&quot;: { # A single target dataset to which all data will be streamed. # Single destination dataset.
&quot;datasetId&quot;: &quot;A String&quot;, # The dataset ID of the target dataset. DatasetIds allowed characters: https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets#datasetreference.
},
Expand Down
22 changes: 21 additions & 1 deletion googleapiclient/discovery_cache/documents/datastream.v1.json
Expand Up @@ -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",
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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",
Expand Down
Expand Up @@ -1224,7 +1224,7 @@
}
}
},
"revision": "20240320",
"revision": "20240410",
"rootUrl": "https://datastream.googleapis.com/",
"schemas": {
"AvroFileFormat": {
Expand Down

0 comments on commit 4897b12

Please sign in to comment.