From 5e36fcd5367c0ee10bd1623f84a423b127cfb844 Mon Sep 17 00:00:00 2001 From: Samir <85890442+sa-progress@users.noreply.github.com> Date: Wed, 3 Jan 2024 21:20:37 +0530 Subject: [PATCH] Removed: frozen string litral Signed-off-by: Samir <85890442+sa-progress@users.noreply.github.com> --- .rubocop.yml | 4 ++-- generate/gen-controls/dns_resource_record_set.rb | 2 +- generate/libraries/google_appengine_standard_app_version.rb | 4 ++-- generate/libraries/google_bigquery_dataset.rb | 4 ++-- generate/libraries/google_bigquery_table.rb | 4 ++-- generate/libraries/google_cloudbuild_trigger.rb | 4 ++-- generate/libraries/google_cloudfunctions_cloud_function.rb | 4 ++-- generate/libraries/google_compute_autoscaler.rb | 4 ++-- generate/libraries/google_compute_backend_bucket.rb | 4 ++-- generate/libraries/google_compute_backend_service.rb | 4 ++-- generate/libraries/google_compute_disk.rb | 4 ++-- generate/libraries/google_compute_firewall.rb | 4 ++-- generate/libraries/google_compute_forwarding_rules.rb | 2 +- generate/libraries/google_compute_global_address.rb | 4 ++-- generate/libraries/google_compute_global_forwarding_rule.rb | 4 ++-- generate/libraries/google_compute_health_check.rb | 4 ++-- generate/libraries/google_compute_http_health_check.rb | 4 ++-- generate/libraries/google_compute_https_health_check.rb | 4 ++-- generate/libraries/google_compute_instance.rb | 4 ++-- generate/libraries/google_compute_instance_group_manager.rb | 4 ++-- generate/libraries/google_compute_instance_template.rb | 4 ++-- generate/libraries/google_compute_network.rb | 4 ++-- generate/libraries/google_compute_network_endpoint_group.rb | 4 ++-- generate/libraries/google_compute_node_group.rb | 4 ++-- generate/libraries/google_compute_node_template.rb | 4 ++-- generate/libraries/google_compute_region.rb | 4 ++-- generate/libraries/google_compute_region_backend_service.rb | 4 ++-- generate/libraries/google_compute_route.rb | 4 ++-- generate/libraries/google_compute_router.rb | 4 ++-- generate/libraries/google_compute_snapshot.rb | 4 ++-- generate/libraries/google_compute_ssl_certificate.rb | 4 ++-- generate/libraries/google_compute_ssl_policy.rb | 4 ++-- generate/libraries/google_compute_subnetwork.rb | 4 ++-- generate/libraries/google_compute_target_http_proxy.rb | 4 ++-- generate/libraries/google_compute_target_https_proxy.rb | 4 ++-- generate/libraries/google_compute_target_pool.rb | 4 ++-- generate/libraries/google_compute_target_tcp_proxy.rb | 4 ++-- generate/libraries/google_compute_url_map.rb | 4 ++-- generate/libraries/google_container_regional_cluster.rb | 4 ++-- generate/libraries/google_container_regional_node_pool.rb | 4 ++-- generate/libraries/google_dataproc_cluster.rb | 4 ++-- generate/libraries/google_dns_resource_record_set.rb | 4 ++-- generate/libraries/google_filestore_instance.rb | 4 ++-- generate/libraries/google_logging_folder_exclusion.rb | 4 ++-- generate/libraries/google_logging_folder_log_sink.rb | 4 ++-- generate/libraries/google_logging_organization_log_sink.rb | 4 ++-- generate/libraries/google_ml_engine_model.rb | 4 ++-- generate/libraries/google_pubsub_subscription.rb | 4 ++-- generate/libraries/google_pubsub_topic.rb | 4 ++-- generate/libraries/google_redis_instance.rb | 4 ++-- generate/libraries/google_resourcemanager_folder.rb | 4 ++-- generate/libraries/google_runtime_config_config.rb | 4 ++-- generate/libraries/google_runtime_config_variable.rb | 4 ++-- generate/libraries/google_sourcerepo_repository.rb | 4 ++-- 54 files changed, 106 insertions(+), 106 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index e404d22e9..ee1db0e16 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 3.1 Exclude: - Gemfile - generate/Gemfile @@ -61,7 +61,7 @@ Style/Not: Enabled: false Naming/FileName: Enabled: true - Regex: !ruby/regexp '/^.{3,200}$/' + Regex: !ruby/regexp '/^.{3, 99}$/' Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: diff --git a/generate/gen-controls/dns_resource_record_set.rb b/generate/gen-controls/dns_resource_record_set.rb index efdc6ab3e..2b9900445 100644 --- a/generate/gen-controls/dns_resource_record_set.rb +++ b/generate/gen-controls/dns_resource_record_set.rb @@ -46,7 +46,7 @@ managed_zones = google_dns_managed_zones(project: project_name).zone_names managed_zones.each do |managed_zone| plural_identifiers.each do |plural_identifier| - next_identifiers.push(plural_identifier.merge({ managed_zone: managed_zone })) + next_identifiers.push(plural_identifier.merge({ managed_zone: })) end end plural_identifiers = next_identifiers diff --git a/generate/libraries/google_appengine_standard_app_version.rb b/generate/libraries/google_appengine_standard_app_version.rb index eec74636c..a24877481 100644 --- a/generate/libraries/google_appengine_standard_app_version.rb +++ b/generate/libraries/google_appengine_standard_app_version.rb @@ -72,8 +72,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_appengine_standard_app_version', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_bigquery_dataset.rb b/generate/libraries/google_bigquery_dataset.rb index ee750a2bb..fd19cef7e 100644 --- a/generate/libraries/google_bigquery_dataset.rb +++ b/generate/libraries/google_bigquery_dataset.rb @@ -102,8 +102,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_bigquery_dataset', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_bigquery_table.rb b/generate/libraries/google_bigquery_table.rb index e263b5d78..06a0b6452 100644 --- a/generate/libraries/google_bigquery_table.rb +++ b/generate/libraries/google_bigquery_table.rb @@ -144,8 +144,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_bigquery_table', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_cloudbuild_trigger.rb b/generate/libraries/google_cloudbuild_trigger.rb index 94cf4311a..368586aa9 100644 --- a/generate/libraries/google_cloudbuild_trigger.rb +++ b/generate/libraries/google_cloudbuild_trigger.rb @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_cloudbuild_trigger', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_cloudfunctions_cloud_function.rb b/generate/libraries/google_cloudfunctions_cloud_function.rb index 4db181b17..3b55f513a 100644 --- a/generate/libraries/google_cloudfunctions_cloud_function.rb +++ b/generate/libraries/google_cloudfunctions_cloud_function.rb @@ -117,8 +117,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_cloudfunctions_cloud_function', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_autoscaler.rb b/generate/libraries/google_compute_autoscaler.rb index 7064243b6..cf14a3d28 100644 --- a/generate/libraries/google_compute_autoscaler.rb +++ b/generate/libraries/google_compute_autoscaler.rb @@ -85,8 +85,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_autoscaler', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_backend_bucket.rb b/generate/libraries/google_compute_backend_bucket.rb index 365ef4a1d..bb925ece9 100644 --- a/generate/libraries/google_compute_backend_bucket.rb +++ b/generate/libraries/google_compute_backend_bucket.rb @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_backend_bucket', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_backend_service.rb b/generate/libraries/google_compute_backend_service.rb index f543cdd8f..c8fcd434c 100644 --- a/generate/libraries/google_compute_backend_service.rb +++ b/generate/libraries/google_compute_backend_service.rb @@ -119,8 +119,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_backend_service', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_disk.rb b/generate/libraries/google_compute_disk.rb index 29b07ea52..ccea867d0 100644 --- a/generate/libraries/google_compute_disk.rb +++ b/generate/libraries/google_compute_disk.rb @@ -126,8 +126,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_disk', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_firewall.rb b/generate/libraries/google_compute_firewall.rb index 51884c939..59456c3c4 100644 --- a/generate/libraries/google_compute_firewall.rb +++ b/generate/libraries/google_compute_firewall.rb @@ -110,8 +110,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_firewall', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_forwarding_rules.rb b/generate/libraries/google_compute_forwarding_rules.rb index 4ffad14c2..b1d9cf4db 100644 --- a/generate/libraries/google_compute_forwarding_rules.rb +++ b/generate/libraries/google_compute_forwarding_rules.rb @@ -42,7 +42,7 @@ def fetch_data forwarding_rule_network = forwarding_rule.network.split('/').last if !forwarding_rule.network.nil? forwarding_rule_rows+=[{ forwarding_rule_id: forwarding_rule.id, forwarding_rule_name: forwarding_rule.name, - forwarding_rule_network: forwarding_rule_network, + forwarding_rule_network:, forwarding_rule_load_balancing_scheme: forwarding_rule.load_balancing_scheme }] end next_page = @forwarding_rules.next_page_token diff --git a/generate/libraries/google_compute_global_address.rb b/generate/libraries/google_compute_global_address.rb index 710d838a9..4af83f3dc 100644 --- a/generate/libraries/google_compute_global_address.rb +++ b/generate/libraries/google_compute_global_address.rb @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_global_address', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_global_forwarding_rule.rb b/generate/libraries/google_compute_global_forwarding_rule.rb index abbb62f68..0896d72b0 100644 --- a/generate/libraries/google_compute_global_forwarding_rule.rb +++ b/generate/libraries/google_compute_global_forwarding_rule.rb @@ -97,8 +97,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_global_forwarding_rule', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_health_check.rb b/generate/libraries/google_compute_health_check.rb index 90b7e65bb..acf4a3a87 100644 --- a/generate/libraries/google_compute_health_check.rb +++ b/generate/libraries/google_compute_health_check.rb @@ -107,8 +107,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_health_check', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_http_health_check.rb b/generate/libraries/google_compute_http_health_check.rb index 1140ad35d..c8e48dd98 100644 --- a/generate/libraries/google_compute_http_health_check.rb +++ b/generate/libraries/google_compute_http_health_check.rb @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_http_health_check', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_https_health_check.rb b/generate/libraries/google_compute_https_health_check.rb index b298c9f8b..5e7505d55 100644 --- a/generate/libraries/google_compute_https_health_check.rb +++ b/generate/libraries/google_compute_https_health_check.rb @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_https_health_check', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_instance.rb b/generate/libraries/google_compute_instance.rb index 7602d1b34..c0cd53cc7 100644 --- a/generate/libraries/google_compute_instance.rb +++ b/generate/libraries/google_compute_instance.rb @@ -133,8 +133,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_instance', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_instance_group_manager.rb b/generate/libraries/google_compute_instance_group_manager.rb index f6999b5bf..422f94f14 100644 --- a/generate/libraries/google_compute_instance_group_manager.rb +++ b/generate/libraries/google_compute_instance_group_manager.rb @@ -101,8 +101,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_instance_group_manager', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_instance_template.rb b/generate/libraries/google_compute_instance_template.rb index 5398cd292..c5e129bcf 100644 --- a/generate/libraries/google_compute_instance_template.rb +++ b/generate/libraries/google_compute_instance_template.rb @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_instance_template', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_network.rb b/generate/libraries/google_compute_network.rb index 96214474f..ce923f400 100644 --- a/generate/libraries/google_compute_network.rb +++ b/generate/libraries/google_compute_network.rb @@ -85,8 +85,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_network', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_network_endpoint_group.rb b/generate/libraries/google_compute_network_endpoint_group.rb index d4aff4c27..26ab7060b 100644 --- a/generate/libraries/google_compute_network_endpoint_group.rb +++ b/generate/libraries/google_compute_network_endpoint_group.rb @@ -87,8 +87,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_network_endpoint_group', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_node_group.rb b/generate/libraries/google_compute_node_group.rb index 934619d93..1f39e226d 100644 --- a/generate/libraries/google_compute_node_group.rb +++ b/generate/libraries/google_compute_node_group.rb @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_node_group', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_node_template.rb b/generate/libraries/google_compute_node_template.rb index a13e29731..9f44ab611 100644 --- a/generate/libraries/google_compute_node_template.rb +++ b/generate/libraries/google_compute_node_template.rb @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_node_template', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_region.rb b/generate/libraries/google_compute_region.rb index 4e10de20c..81973622b 100644 --- a/generate/libraries/google_compute_region.rb +++ b/generate/libraries/google_compute_region.rb @@ -86,8 +86,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_region', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_region_backend_service.rb b/generate/libraries/google_compute_region_backend_service.rb index 9d5756f69..2c767ac33 100644 --- a/generate/libraries/google_compute_region_backend_service.rb +++ b/generate/libraries/google_compute_region_backend_service.rb @@ -95,8 +95,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_region_backend_service', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_route.rb b/generate/libraries/google_compute_route.rb index 015e0b8c6..1d8f16205 100644 --- a/generate/libraries/google_compute_route.rb +++ b/generate/libraries/google_compute_route.rb @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_route', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_router.rb b/generate/libraries/google_compute_router.rb index 580b91d4e..19ade5369 100644 --- a/generate/libraries/google_compute_router.rb +++ b/generate/libraries/google_compute_router.rb @@ -83,8 +83,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_router', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_snapshot.rb b/generate/libraries/google_compute_snapshot.rb index 11f6475a7..123d442bb 100644 --- a/generate/libraries/google_compute_snapshot.rb +++ b/generate/libraries/google_compute_snapshot.rb @@ -101,8 +101,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_snapshot', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_ssl_certificate.rb b/generate/libraries/google_compute_ssl_certificate.rb index fdb52ca26..21e37c856 100644 --- a/generate/libraries/google_compute_ssl_certificate.rb +++ b/generate/libraries/google_compute_ssl_certificate.rb @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_ssl_certificate', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_ssl_policy.rb b/generate/libraries/google_compute_ssl_policy.rb index 16dd00937..8419ecebb 100644 --- a/generate/libraries/google_compute_ssl_policy.rb +++ b/generate/libraries/google_compute_ssl_policy.rb @@ -91,8 +91,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_ssl_policy', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_subnetwork.rb b/generate/libraries/google_compute_subnetwork.rb index 1cfe26cb4..4c5edbf56 100644 --- a/generate/libraries/google_compute_subnetwork.rb +++ b/generate/libraries/google_compute_subnetwork.rb @@ -98,8 +98,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_subnetwork', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_target_http_proxy.rb b/generate/libraries/google_compute_target_http_proxy.rb index 423135d04..468f0ff4e 100644 --- a/generate/libraries/google_compute_target_http_proxy.rb +++ b/generate/libraries/google_compute_target_http_proxy.rb @@ -75,8 +75,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_target_http_proxy', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_target_https_proxy.rb b/generate/libraries/google_compute_target_https_proxy.rb index 425b015ea..9c96520dd 100644 --- a/generate/libraries/google_compute_target_https_proxy.rb +++ b/generate/libraries/google_compute_target_https_proxy.rb @@ -84,8 +84,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_target_https_proxy', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_target_pool.rb b/generate/libraries/google_compute_target_pool.rb index 89e99e2c2..e6ab7f4f1 100644 --- a/generate/libraries/google_compute_target_pool.rb +++ b/generate/libraries/google_compute_target_pool.rb @@ -90,8 +90,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_target_pool', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_target_tcp_proxy.rb b/generate/libraries/google_compute_target_tcp_proxy.rb index aece0cd78..1311e09d6 100644 --- a/generate/libraries/google_compute_target_tcp_proxy.rb +++ b/generate/libraries/google_compute_target_tcp_proxy.rb @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_target_tcp_proxy', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_compute_url_map.rb b/generate/libraries/google_compute_url_map.rb index b52240921..5eec4f033 100644 --- a/generate/libraries/google_compute_url_map.rb +++ b/generate/libraries/google_compute_url_map.rb @@ -90,8 +90,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_compute_url_map', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_container_regional_cluster.rb b/generate/libraries/google_container_regional_cluster.rb index df391ab7d..6807ef806 100644 --- a/generate/libraries/google_container_regional_cluster.rb +++ b/generate/libraries/google_container_regional_cluster.rb @@ -183,8 +183,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_container_regional_cluster', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_container_regional_node_pool.rb b/generate/libraries/google_container_regional_node_pool.rb index c2daa29ba..fb515deaf 100644 --- a/generate/libraries/google_container_regional_node_pool.rb +++ b/generate/libraries/google_container_regional_node_pool.rb @@ -107,8 +107,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_container_regional_node_pool', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_dataproc_cluster.rb b/generate/libraries/google_dataproc_cluster.rb index b8f02eeb3..87be903df 100644 --- a/generate/libraries/google_dataproc_cluster.rb +++ b/generate/libraries/google_dataproc_cluster.rb @@ -88,8 +88,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_dataproc_cluster', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_dns_resource_record_set.rb b/generate/libraries/google_dns_resource_record_set.rb index ef2c72656..32e36a7ed 100644 --- a/generate/libraries/google_dns_resource_record_set.rb +++ b/generate/libraries/google_dns_resource_record_set.rb @@ -87,8 +87,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_dns_resource_record_set', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_filestore_instance.rb b/generate/libraries/google_filestore_instance.rb index e3b312178..0565d2989 100644 --- a/generate/libraries/google_filestore_instance.rb +++ b/generate/libraries/google_filestore_instance.rb @@ -89,8 +89,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_filestore_instance', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_logging_folder_exclusion.rb b/generate/libraries/google_logging_folder_exclusion.rb index d536f3482..34a83122a 100644 --- a/generate/libraries/google_logging_folder_exclusion.rb +++ b/generate/libraries/google_logging_folder_exclusion.rb @@ -75,8 +75,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_logging_folder_exclusion', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_logging_folder_log_sink.rb b/generate/libraries/google_logging_folder_log_sink.rb index 499d9f0c1..2e7fa872e 100644 --- a/generate/libraries/google_logging_folder_log_sink.rb +++ b/generate/libraries/google_logging_folder_log_sink.rb @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_logging_folder_log_sink', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_logging_organization_log_sink.rb b/generate/libraries/google_logging_organization_log_sink.rb index e09799385..96e57f989 100644 --- a/generate/libraries/google_logging_organization_log_sink.rb +++ b/generate/libraries/google_logging_organization_log_sink.rb @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_logging_organization_log_sink', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_ml_engine_model.rb b/generate/libraries/google_ml_engine_model.rb index bb218e252..8ed948059 100644 --- a/generate/libraries/google_ml_engine_model.rb +++ b/generate/libraries/google_ml_engine_model.rb @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_ml_engine_model', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_pubsub_subscription.rb b/generate/libraries/google_pubsub_subscription.rb index 8436eff08..15a654c54 100644 --- a/generate/libraries/google_pubsub_subscription.rb +++ b/generate/libraries/google_pubsub_subscription.rb @@ -86,8 +86,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_pubsub_subscription', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_pubsub_topic.rb b/generate/libraries/google_pubsub_topic.rb index 05ae3b14f..cda190266 100644 --- a/generate/libraries/google_pubsub_topic.rb +++ b/generate/libraries/google_pubsub_topic.rb @@ -73,8 +73,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_pubsub_topic', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_redis_instance.rb b/generate/libraries/google_redis_instance.rb index 7455bf7bb..bb1392562 100644 --- a/generate/libraries/google_redis_instance.rb +++ b/generate/libraries/google_redis_instance.rb @@ -108,8 +108,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_redis_instance', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_resourcemanager_folder.rb b/generate/libraries/google_resourcemanager_folder.rb index 19059a110..17600376c 100644 --- a/generate/libraries/google_resourcemanager_folder.rb +++ b/generate/libraries/google_resourcemanager_folder.rb @@ -75,8 +75,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_resourcemanager_folder', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_runtime_config_config.rb b/generate/libraries/google_runtime_config_config.rb index 97912df49..1f8f76a7b 100644 --- a/generate/libraries/google_runtime_config_config.rb +++ b/generate/libraries/google_runtime_config_config.rb @@ -66,8 +66,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_runtime_config_config', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_runtime_config_variable.rb b/generate/libraries/google_runtime_config_variable.rb index 2d8eb9c32..55a18876a 100644 --- a/generate/libraries/google_runtime_config_variable.rb +++ b/generate/libraries/google_runtime_config_variable.rb @@ -72,8 +72,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_runtime_config_variable', identifiers: @params, number: test_number, diff --git a/generate/libraries/google_sourcerepo_repository.rb b/generate/libraries/google_sourcerepo_repository.rb index 34b7db769..3849b09f5 100644 --- a/generate/libraries/google_sourcerepo_repository.rb +++ b/generate/libraries/google_sourcerepo_repository.rb @@ -69,8 +69,8 @@ def dump(path, template_path, test_number, ignored_fields) v.call(method(k.to_sym).call, k) end template_vars = { - name: name, - arr: arr, + name:, + arr:, type: 'google_sourcerepo_repository', identifiers: @params, number: test_number,