From 410091ded391dd8be06c3a470192a9295b17591a Mon Sep 17 00:00:00 2001 From: Ryan Oaks Date: Fri, 7 Feb 2025 15:13:45 -0500 Subject: [PATCH] Fix metadata for recent resource changes 20250207 (#12997) --- .../ListingSubscription.yaml | 1 + mmv1/products/colab/NotebookExecution.yaml | 1 + ...rce_compute_firewall_policy_meta.yaml.tmpl | 20 ------------------- .../resource_sql_database_instance_meta.yaml | 2 +- 4 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 mmv1/third_party/terraform/services/compute/resource_compute_firewall_policy_meta.yaml.tmpl diff --git a/mmv1/products/bigqueryanalyticshub/ListingSubscription.yaml b/mmv1/products/bigqueryanalyticshub/ListingSubscription.yaml index a994fe83b9b1..a59bcbfe3e58 100644 --- a/mmv1/products/bigqueryanalyticshub/ListingSubscription.yaml +++ b/mmv1/products/bigqueryanalyticshub/ListingSubscription.yaml @@ -13,6 +13,7 @@ --- name: 'ListingSubscription' +api_resource_type_kind: Subscription description: A Bigquery Analytics Hub listing subscription references: guides: diff --git a/mmv1/products/colab/NotebookExecution.yaml b/mmv1/products/colab/NotebookExecution.yaml index 28c348b2e812..495640c1af6d 100644 --- a/mmv1/products/colab/NotebookExecution.yaml +++ b/mmv1/products/colab/NotebookExecution.yaml @@ -14,6 +14,7 @@ --- name: 'NotebookExecution' +api_resource_type_kind: NotebookExecutionJob description: | 'An instance of a notebook Execution' diff --git a/mmv1/third_party/terraform/services/compute/resource_compute_firewall_policy_meta.yaml.tmpl b/mmv1/third_party/terraform/services/compute/resource_compute_firewall_policy_meta.yaml.tmpl deleted file mode 100644 index 319559c96004..000000000000 --- a/mmv1/third_party/terraform/services/compute/resource_compute_firewall_policy_meta.yaml.tmpl +++ /dev/null @@ -1,20 +0,0 @@ -resource: 'google_compute_firewall_policy' -generation_type: 'dcl' -api_service_name: 'compute.googleapis.com' -{{- if ne $.TargetVersionName "ga" }} -api_version: 'beta' -{{- else }} -api_version: 'v1' -{{- end }} -api_resource_type_kind: 'FirewallPolicy' -fields: - - field: 'creation_timestamp' - - field: 'description' - - field: 'fingerprint' - - field: 'firewall_policy_id' - - field: 'name' - - field: 'parent' - - field: 'rule_tuple_count' - - field: 'self_link' - - field: 'self_link_with_id' - - field: 'short_name' diff --git a/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_meta.yaml b/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_meta.yaml index 1921ab7c19c5..bcbb45b0ee6d 100644 --- a/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_meta.yaml +++ b/mmv1/third_party/terraform/services/sql/resource_sql_database_instance_meta.yaml @@ -2,7 +2,7 @@ resource: 'google_sql_database_instance' generation_type: 'handwritten' api_service_name: 'sqladmin.googleapis.com' api_version: 'v1beta4' -api_resource_type_kind: 'Instance' +api_resource_type_kind: 'DatabaseInstance' fields: - field: 'available_maintenance_versions' - field: 'clone.allocated_ip_range'