File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
bigquery/bigquery_create_spanner_external_dataset Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ /* *
2+ * Copyright 2024 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+ # [START bigquery_create_spanner_external_dataset]
17+ resource "google_bigquery_dataset" "default" {
18+ dataset_id = " my_external_dataset"
19+ friendly_name = " My external dataset"
20+ description = " This is a test description."
21+ location = " US"
22+ external_dataset_reference {
23+ # The full identifier of your Spanner database.
24+ external_source = " google-cloudspanner:/projects/my_project/instances/my_instance/databases/my_database"
25+ # Must be empty for a Spanner external dataset.
26+ connection = " "
27+ }
28+ }
29+ # [END bigquery_create_spanner_external_dataset]
Original file line number Diff line number Diff line change 1+ # Copyright 2024 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ apiVersion : blueprints.cloud.google.com/v1alpha1
16+ kind : BlueprintTest
17+ metadata :
18+ name : bigquery_create_spanner_external_dataset
19+ spec :
20+ skip : true
You can’t perform that action at this time.
0 commit comments