From 199cc3633ebf8d4e7bec05c95a929e6a6f9af6b4 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Mon, 17 Aug 2020 21:36:58 +0000 Subject: [PATCH] use {product}.googleapis.com endpoints (#3755) * use {product}.googleapis.com endpoints * use actual correct urls * fix zone data source test * fix network peering tests * possibly fix deleting default network Signed-off-by: Modular Magician --- libraries/google_bigquery_dataset.rb | 2 +- libraries/google_bigquery_datasets.rb | 2 +- libraries/google_bigquery_table.rb | 2 +- libraries/google_bigquery_tables.rb | 2 +- libraries/google_compute_address.rb | 4 ++-- libraries/google_compute_addresses.rb | 4 ++-- libraries/google_compute_autoscaler.rb | 4 ++-- libraries/google_compute_autoscalers.rb | 4 ++-- libraries/google_compute_backend_bucket.rb | 4 ++-- libraries/google_compute_backend_buckets.rb | 4 ++-- libraries/google_compute_backend_service.rb | 4 ++-- libraries/google_compute_backend_services.rb | 4 ++-- libraries/google_compute_disk.rb | 4 ++-- libraries/google_compute_disks.rb | 4 ++-- libraries/google_compute_firewall.rb | 4 ++-- libraries/google_compute_firewalls.rb | 4 ++-- libraries/google_compute_forwarding_rule.rb | 4 ++-- libraries/google_compute_forwarding_rules.rb | 4 ++-- libraries/google_compute_global_address.rb | 4 ++-- libraries/google_compute_global_addresses.rb | 4 ++-- libraries/google_compute_global_forwarding_rule.rb | 4 ++-- libraries/google_compute_global_forwarding_rules.rb | 4 ++-- libraries/google_compute_health_check.rb | 4 ++-- libraries/google_compute_health_checks.rb | 4 ++-- libraries/google_compute_http_health_check.rb | 4 ++-- libraries/google_compute_http_health_checks.rb | 4 ++-- libraries/google_compute_https_health_check.rb | 4 ++-- libraries/google_compute_https_health_checks.rb | 4 ++-- libraries/google_compute_image.rb | 4 ++-- libraries/google_compute_instance.rb | 4 ++-- libraries/google_compute_instance_group.rb | 4 ++-- libraries/google_compute_instance_group_manager.rb | 4 ++-- libraries/google_compute_instance_group_managers.rb | 4 ++-- libraries/google_compute_instance_groups.rb | 4 ++-- libraries/google_compute_instance_template.rb | 4 ++-- libraries/google_compute_instance_templates.rb | 4 ++-- libraries/google_compute_instances.rb | 4 ++-- libraries/google_compute_network.rb | 4 ++-- libraries/google_compute_network_endpoint_group.rb | 4 ++-- libraries/google_compute_network_endpoint_groups.rb | 4 ++-- libraries/google_compute_networks.rb | 4 ++-- libraries/google_compute_node_group.rb | 4 ++-- libraries/google_compute_node_groups.rb | 4 ++-- libraries/google_compute_node_template.rb | 4 ++-- libraries/google_compute_node_templates.rb | 4 ++-- libraries/google_compute_project_info.rb | 4 ++-- libraries/google_compute_region.rb | 4 ++-- libraries/google_compute_region_backend_service.rb | 4 ++-- libraries/google_compute_region_backend_services.rb | 4 ++-- libraries/google_compute_region_instance_group_manager.rb | 4 ++-- libraries/google_compute_region_instance_group_managers.rb | 4 ++-- libraries/google_compute_regions.rb | 4 ++-- libraries/google_compute_route.rb | 4 ++-- libraries/google_compute_router.rb | 4 ++-- libraries/google_compute_router_nat.rb | 4 ++-- libraries/google_compute_router_nats.rb | 4 ++-- libraries/google_compute_routers.rb | 4 ++-- libraries/google_compute_routes.rb | 4 ++-- libraries/google_compute_security_policies.rb | 4 ++-- libraries/google_compute_security_policy.rb | 4 ++-- libraries/google_compute_snapshot.rb | 4 ++-- libraries/google_compute_snapshots.rb | 4 ++-- libraries/google_compute_ssl_certificate.rb | 4 ++-- libraries/google_compute_ssl_certificates.rb | 4 ++-- libraries/google_compute_ssl_policies.rb | 4 ++-- libraries/google_compute_ssl_policy.rb | 4 ++-- libraries/google_compute_subnetwork.rb | 4 ++-- libraries/google_compute_subnetwork_iam_binding.rb | 2 +- libraries/google_compute_subnetwork_iam_policy.rb | 2 +- libraries/google_compute_subnetworks.rb | 4 ++-- libraries/google_compute_target_http_proxies.rb | 4 ++-- libraries/google_compute_target_http_proxy.rb | 4 ++-- libraries/google_compute_target_https_proxies.rb | 4 ++-- libraries/google_compute_target_https_proxy.rb | 4 ++-- libraries/google_compute_target_pool.rb | 4 ++-- libraries/google_compute_target_pools.rb | 4 ++-- libraries/google_compute_target_tcp_proxies.rb | 4 ++-- libraries/google_compute_target_tcp_proxy.rb | 4 ++-- libraries/google_compute_url_map.rb | 4 ++-- libraries/google_compute_url_maps.rb | 4 ++-- libraries/google_compute_vpn_tunnel.rb | 4 ++-- libraries/google_compute_vpn_tunnels.rb | 4 ++-- libraries/google_compute_zone.rb | 4 ++-- libraries/google_compute_zones.rb | 4 ++-- libraries/google_dns_managed_zone.rb | 4 ++-- libraries/google_dns_managed_zones.rb | 4 ++-- libraries/google_dns_resource_record_set.rb | 4 ++-- libraries/google_dns_resource_record_sets.rb | 4 ++-- libraries/google_storage_bucket.rb | 2 +- libraries/google_storage_bucket_acl.rb | 2 +- libraries/google_storage_bucket_iam_binding.rb | 2 +- libraries/google_storage_bucket_iam_policy.rb | 2 +- libraries/google_storage_bucket_object.rb | 2 +- libraries/google_storage_bucket_objects.rb | 2 +- libraries/google_storage_buckets.rb | 2 +- libraries/google_storage_default_object_acl.rb | 2 +- libraries/google_storage_object_acl.rb | 2 +- 97 files changed, 179 insertions(+), 179 deletions(-) diff --git a/libraries/google_bigquery_dataset.rb b/libraries/google_bigquery_dataset.rb index 7d34fd879..a29fcef86 100644 --- a/libraries/google_bigquery_dataset.rb +++ b/libraries/google_bigquery_dataset.rb @@ -77,7 +77,7 @@ def name private def product_url(_ = nil) - 'https://www.googleapis.com/bigquery/v2/' + 'https://bigquery.googleapis.com/bigquery/v2/' end def resource_base_url diff --git a/libraries/google_bigquery_datasets.rb b/libraries/google_bigquery_datasets.rb index 29bbeb810..f739aa363 100644 --- a/libraries/google_bigquery_datasets.rb +++ b/libraries/google_bigquery_datasets.rb @@ -84,7 +84,7 @@ def transformers private def product_url(_ = nil) - 'https://www.googleapis.com/bigquery/v2/' + 'https://bigquery.googleapis.com/bigquery/v2/' end def resource_base_url diff --git a/libraries/google_bigquery_table.rb b/libraries/google_bigquery_table.rb index 1a4b2cbfe..85d5a13bb 100644 --- a/libraries/google_bigquery_table.rb +++ b/libraries/google_bigquery_table.rb @@ -105,7 +105,7 @@ def to_s private def product_url(_ = nil) - 'https://www.googleapis.com/bigquery/v2/' + 'https://bigquery.googleapis.com/bigquery/v2/' end def resource_base_url diff --git a/libraries/google_bigquery_tables.rb b/libraries/google_bigquery_tables.rb index e2702d11f..3cbb31a4d 100644 --- a/libraries/google_bigquery_tables.rb +++ b/libraries/google_bigquery_tables.rb @@ -110,7 +110,7 @@ def transformers private def product_url(_ = nil) - 'https://www.googleapis.com/bigquery/v2/' + 'https://bigquery.googleapis.com/bigquery/v2/' end def resource_base_url diff --git a/libraries/google_compute_address.rb b/libraries/google_compute_address.rb index fe1562dd9..d2d2de0bd 100644 --- a/libraries/google_compute_address.rb +++ b/libraries/google_compute_address.rb @@ -93,9 +93,9 @@ def user_resource_name def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_addresses.rb b/libraries/google_compute_addresses.rb index 311d5fb3f..1da3fc96b 100644 --- a/libraries/google_compute_addresses.rb +++ b/libraries/google_compute_addresses.rb @@ -102,9 +102,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_autoscaler.rb b/libraries/google_compute_autoscaler.rb index 03d8b0b05..c6bd564c9 100644 --- a/libraries/google_compute_autoscaler.rb +++ b/libraries/google_compute_autoscaler.rb @@ -70,9 +70,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_autoscalers.rb b/libraries/google_compute_autoscalers.rb index 5e6095d11..d0db9a174 100644 --- a/libraries/google_compute_autoscalers.rb +++ b/libraries/google_compute_autoscalers.rb @@ -88,9 +88,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_backend_bucket.rb b/libraries/google_compute_backend_bucket.rb index e61fb5100..9f15b489a 100644 --- a/libraries/google_compute_backend_bucket.rb +++ b/libraries/google_compute_backend_bucket.rb @@ -65,9 +65,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_backend_buckets.rb b/libraries/google_compute_backend_buckets.rb index 6e6ef8d00..61fa6656a 100644 --- a/libraries/google_compute_backend_buckets.rb +++ b/libraries/google_compute_backend_buckets.rb @@ -88,9 +88,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_backend_service.rb b/libraries/google_compute_backend_service.rb index e6eaea9bf..e91cb6af0 100644 --- a/libraries/google_compute_backend_service.rb +++ b/libraries/google_compute_backend_service.rb @@ -112,9 +112,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_backend_services.rb b/libraries/google_compute_backend_services.rb index 552c0cf91..77ffb6da2 100644 --- a/libraries/google_compute_backend_services.rb +++ b/libraries/google_compute_backend_services.rb @@ -122,9 +122,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_disk.rb b/libraries/google_compute_disk.rb index ae3adea53..1523aab0b 100644 --- a/libraries/google_compute_disk.rb +++ b/libraries/google_compute_disk.rb @@ -97,9 +97,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_disks.rb b/libraries/google_compute_disks.rb index 2bc9ec29d..5c254f3c5 100644 --- a/libraries/google_compute_disks.rb +++ b/libraries/google_compute_disks.rb @@ -118,9 +118,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_firewall.rb b/libraries/google_compute_firewall.rb index ef6df952a..8ea479fe1 100644 --- a/libraries/google_compute_firewall.rb +++ b/libraries/google_compute_firewall.rb @@ -257,9 +257,9 @@ def log_config_enabled? def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_firewalls.rb b/libraries/google_compute_firewalls.rb index 5d09207bf..529aa04b5 100644 --- a/libraries/google_compute_firewalls.rb +++ b/libraries/google_compute_firewalls.rb @@ -108,9 +108,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_forwarding_rule.rb b/libraries/google_compute_forwarding_rule.rb index b113e6d31..c189b0883 100644 --- a/libraries/google_compute_forwarding_rule.rb +++ b/libraries/google_compute_forwarding_rule.rb @@ -94,9 +94,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_forwarding_rules.rb b/libraries/google_compute_forwarding_rules.rb index 2d2c7ad44..b14b3fe97 100644 --- a/libraries/google_compute_forwarding_rules.rb +++ b/libraries/google_compute_forwarding_rules.rb @@ -118,9 +118,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_global_address.rb b/libraries/google_compute_global_address.rb index d3b385bf5..eea487b97 100644 --- a/libraries/google_compute_global_address.rb +++ b/libraries/google_compute_global_address.rb @@ -76,9 +76,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_global_addresses.rb b/libraries/google_compute_global_addresses.rb index 3ebc0d9a8..e23d5c99f 100644 --- a/libraries/google_compute_global_addresses.rb +++ b/libraries/google_compute_global_addresses.rb @@ -100,9 +100,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_global_forwarding_rule.rb b/libraries/google_compute_global_forwarding_rule.rb index 5468e22bc..d64127513 100644 --- a/libraries/google_compute_global_forwarding_rule.rb +++ b/libraries/google_compute_global_forwarding_rule.rb @@ -79,9 +79,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_global_forwarding_rules.rb b/libraries/google_compute_global_forwarding_rules.rb index 29f293a46..c47feb0c7 100644 --- a/libraries/google_compute_global_forwarding_rules.rb +++ b/libraries/google_compute_global_forwarding_rules.rb @@ -102,9 +102,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_health_check.rb b/libraries/google_compute_health_check.rb index 934f3ebeb..d3f5b1047 100644 --- a/libraries/google_compute_health_check.rb +++ b/libraries/google_compute_health_check.rb @@ -89,9 +89,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_health_checks.rb b/libraries/google_compute_health_checks.rb index 8a602f710..90cd8dfd2 100644 --- a/libraries/google_compute_health_checks.rb +++ b/libraries/google_compute_health_checks.rb @@ -106,9 +106,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_http_health_check.rb b/libraries/google_compute_http_health_check.rb index b38386ce6..5cb0a2a9e 100644 --- a/libraries/google_compute_http_health_check.rb +++ b/libraries/google_compute_http_health_check.rb @@ -72,9 +72,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_http_health_checks.rb b/libraries/google_compute_http_health_checks.rb index a92141eb8..af4d4c07a 100644 --- a/libraries/google_compute_http_health_checks.rb +++ b/libraries/google_compute_http_health_checks.rb @@ -96,9 +96,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_https_health_check.rb b/libraries/google_compute_https_health_check.rb index f9a9e44d1..6c64c5632 100644 --- a/libraries/google_compute_https_health_check.rb +++ b/libraries/google_compute_https_health_check.rb @@ -72,9 +72,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_https_health_checks.rb b/libraries/google_compute_https_health_checks.rb index f9d33e5cf..fc67ec3dc 100644 --- a/libraries/google_compute_https_health_checks.rb +++ b/libraries/google_compute_https_health_checks.rb @@ -96,9 +96,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_image.rb b/libraries/google_compute_image.rb index 3228e4d9b..313eac7fe 100644 --- a/libraries/google_compute_image.rb +++ b/libraries/google_compute_image.rb @@ -102,9 +102,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance.rb b/libraries/google_compute_instance.rb index eea847183..bf5845ab8 100644 --- a/libraries/google_compute_instance.rb +++ b/libraries/google_compute_instance.rb @@ -233,9 +233,9 @@ def has_disks_encrypted_with_csek? def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance_group.rb b/libraries/google_compute_instance_group.rb index 1559996dc..7789c9bb0 100644 --- a/libraries/google_compute_instance_group.rb +++ b/libraries/google_compute_instance_group.rb @@ -88,9 +88,9 @@ def find_named_ports(key = :name) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance_group_manager.rb b/libraries/google_compute_instance_group_manager.rb index 5624341ad..a72bad8e4 100644 --- a/libraries/google_compute_instance_group_manager.rb +++ b/libraries/google_compute_instance_group_manager.rb @@ -78,9 +78,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance_group_managers.rb b/libraries/google_compute_instance_group_managers.rb index 9f629754e..d9fb3f7b4 100644 --- a/libraries/google_compute_instance_group_managers.rb +++ b/libraries/google_compute_instance_group_managers.rb @@ -100,9 +100,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance_groups.rb b/libraries/google_compute_instance_groups.rb index 49a5583a3..d3001a336 100644 --- a/libraries/google_compute_instance_groups.rb +++ b/libraries/google_compute_instance_groups.rb @@ -92,9 +92,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance_template.rb b/libraries/google_compute_instance_template.rb index a4524ab20..f5ca9fb1f 100644 --- a/libraries/google_compute_instance_template.rb +++ b/libraries/google_compute_instance_template.rb @@ -67,9 +67,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instance_templates.rb b/libraries/google_compute_instance_templates.rb index b7f54f037..51ecc34a8 100644 --- a/libraries/google_compute_instance_templates.rb +++ b/libraries/google_compute_instance_templates.rb @@ -84,9 +84,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_instances.rb b/libraries/google_compute_instances.rb index f09959734..ba3ed529c 100644 --- a/libraries/google_compute_instances.rb +++ b/libraries/google_compute_instances.rb @@ -113,9 +113,9 @@ def transformers def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_network.rb b/libraries/google_compute_network.rb index 5f10b9229..9f4f220c9 100644 --- a/libraries/google_compute_network.rb +++ b/libraries/google_compute_network.rb @@ -80,9 +80,9 @@ def creation_timestamp_date def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_network_endpoint_group.rb b/libraries/google_compute_network_endpoint_group.rb index d2bb29e13..b68e8a9ed 100644 --- a/libraries/google_compute_network_endpoint_group.rb +++ b/libraries/google_compute_network_endpoint_group.rb @@ -63,9 +63,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_network_endpoint_groups.rb b/libraries/google_compute_network_endpoint_groups.rb index 6b253f46b..a367b49ad 100644 --- a/libraries/google_compute_network_endpoint_groups.rb +++ b/libraries/google_compute_network_endpoint_groups.rb @@ -87,9 +87,9 @@ def transformers def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_networks.rb b/libraries/google_compute_networks.rb index 6deddb727..0a420562d 100644 --- a/libraries/google_compute_networks.rb +++ b/libraries/google_compute_networks.rb @@ -90,9 +90,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_node_group.rb b/libraries/google_compute_node_group.rb index c04f5d5d0..eb6b385c6 100644 --- a/libraries/google_compute_node_group.rb +++ b/libraries/google_compute_node_group.rb @@ -65,9 +65,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_node_groups.rb b/libraries/google_compute_node_groups.rb index 4ac298e78..6a5020496 100644 --- a/libraries/google_compute_node_groups.rb +++ b/libraries/google_compute_node_groups.rb @@ -88,9 +88,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_node_template.rb b/libraries/google_compute_node_template.rb index 6fcc4fab8..0c23ad476 100644 --- a/libraries/google_compute_node_template.rb +++ b/libraries/google_compute_node_template.rb @@ -70,9 +70,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_node_templates.rb b/libraries/google_compute_node_templates.rb index 2b0015cf8..7d693f895 100644 --- a/libraries/google_compute_node_templates.rb +++ b/libraries/google_compute_node_templates.rb @@ -92,9 +92,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_project_info.rb b/libraries/google_compute_project_info.rb index b1206d5e3..52916e51f 100644 --- a/libraries/google_compute_project_info.rb +++ b/libraries/google_compute_project_info.rb @@ -76,9 +76,9 @@ def has_enabled_oslogin? def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_region.rb b/libraries/google_compute_region.rb index 5828ea44c..7992aeb5f 100644 --- a/libraries/google_compute_region.rb +++ b/libraries/google_compute_region.rb @@ -80,9 +80,9 @@ def up? def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_region_backend_service.rb b/libraries/google_compute_region_backend_service.rb index 401a7b239..e5954cf70 100644 --- a/libraries/google_compute_region_backend_service.rb +++ b/libraries/google_compute_region_backend_service.rb @@ -106,9 +106,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_region_backend_services.rb b/libraries/google_compute_region_backend_services.rb index d19f5a273..175eb4742 100644 --- a/libraries/google_compute_region_backend_services.rb +++ b/libraries/google_compute_region_backend_services.rb @@ -118,9 +118,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_region_instance_group_manager.rb b/libraries/google_compute_region_instance_group_manager.rb index acda280d7..65192b0be 100644 --- a/libraries/google_compute_region_instance_group_manager.rb +++ b/libraries/google_compute_region_instance_group_manager.rb @@ -99,9 +99,9 @@ def find_named_ports(key = :name) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_region_instance_group_managers.rb b/libraries/google_compute_region_instance_group_managers.rb index 13b3ba38b..c52d4da7d 100644 --- a/libraries/google_compute_region_instance_group_managers.rb +++ b/libraries/google_compute_region_instance_group_managers.rb @@ -100,9 +100,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_regions.rb b/libraries/google_compute_regions.rb index ef3d5b986..38c1e0714 100644 --- a/libraries/google_compute_regions.rb +++ b/libraries/google_compute_regions.rb @@ -90,9 +90,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_route.rb b/libraries/google_compute_route.rb index 4432b64cb..b70d7ce9e 100644 --- a/libraries/google_compute_route.rb +++ b/libraries/google_compute_route.rb @@ -69,9 +69,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_router.rb b/libraries/google_compute_router.rb index 1736b6de0..533731211 100644 --- a/libraries/google_compute_router.rb +++ b/libraries/google_compute_router.rb @@ -66,9 +66,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_router_nat.rb b/libraries/google_compute_router_nat.rb index 1a53fd180..7b32dfbe3 100644 --- a/libraries/google_compute_router_nat.rb +++ b/libraries/google_compute_router_nat.rb @@ -88,9 +88,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_router_nats.rb b/libraries/google_compute_router_nats.rb index 9be17b109..eaad94c04 100644 --- a/libraries/google_compute_router_nats.rb +++ b/libraries/google_compute_router_nats.rb @@ -97,9 +97,9 @@ def transformers def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_routers.rb b/libraries/google_compute_routers.rb index c2acaf8c0..e7ce0add6 100644 --- a/libraries/google_compute_routers.rb +++ b/libraries/google_compute_routers.rb @@ -88,9 +88,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_routes.rb b/libraries/google_compute_routes.rb index 8faa53d22..40b6ae122 100644 --- a/libraries/google_compute_routes.rb +++ b/libraries/google_compute_routes.rb @@ -93,9 +93,9 @@ def transformers def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_security_policies.rb b/libraries/google_compute_security_policies.rb index c24fdcc49..0081cc59d 100644 --- a/libraries/google_compute_security_policies.rb +++ b/libraries/google_compute_security_policies.rb @@ -75,9 +75,9 @@ def transformers def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_security_policy.rb b/libraries/google_compute_security_policy.rb index 410222928..4e3a78f14 100644 --- a/libraries/google_compute_security_policy.rb +++ b/libraries/google_compute_security_policy.rb @@ -52,9 +52,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_snapshot.rb b/libraries/google_compute_snapshot.rb index 9f53bd829..966dbddab 100644 --- a/libraries/google_compute_snapshot.rb +++ b/libraries/google_compute_snapshot.rb @@ -78,9 +78,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_snapshots.rb b/libraries/google_compute_snapshots.rb index 009524a8f..e3f5d0b16 100644 --- a/libraries/google_compute_snapshots.rb +++ b/libraries/google_compute_snapshots.rb @@ -100,9 +100,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_ssl_certificate.rb b/libraries/google_compute_ssl_certificate.rb index ef9835d06..72314a94f 100644 --- a/libraries/google_compute_ssl_certificate.rb +++ b/libraries/google_compute_ssl_certificate.rb @@ -62,9 +62,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_ssl_certificates.rb b/libraries/google_compute_ssl_certificates.rb index 3d4483b46..2215d85d7 100644 --- a/libraries/google_compute_ssl_certificates.rb +++ b/libraries/google_compute_ssl_certificates.rb @@ -86,9 +86,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_ssl_policies.rb b/libraries/google_compute_ssl_policies.rb index a4f317c10..a0636c69d 100644 --- a/libraries/google_compute_ssl_policies.rb +++ b/libraries/google_compute_ssl_policies.rb @@ -94,9 +94,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_ssl_policy.rb b/libraries/google_compute_ssl_policy.rb index 0b9f7529e..9853521fb 100644 --- a/libraries/google_compute_ssl_policy.rb +++ b/libraries/google_compute_ssl_policy.rb @@ -71,9 +71,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_subnetwork.rb b/libraries/google_compute_subnetwork.rb index 68166f5b3..95c145e26 100644 --- a/libraries/google_compute_subnetwork.rb +++ b/libraries/google_compute_subnetwork.rb @@ -82,9 +82,9 @@ def creation_timestamp_date def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_subnetwork_iam_binding.rb b/libraries/google_compute_subnetwork_iam_binding.rb index 889e6ceb9..2f5af0873 100644 --- a/libraries/google_compute_subnetwork_iam_binding.rb +++ b/libraries/google_compute_subnetwork_iam_binding.rb @@ -75,7 +75,7 @@ def to_s private def product_url - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' end def resource_base_url diff --git a/libraries/google_compute_subnetwork_iam_policy.rb b/libraries/google_compute_subnetwork_iam_policy.rb index 0cc5215dd..de6d1b120 100644 --- a/libraries/google_compute_subnetwork_iam_policy.rb +++ b/libraries/google_compute_subnetwork_iam_policy.rb @@ -58,7 +58,7 @@ def count private def product_url - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' end def resource_base_url diff --git a/libraries/google_compute_subnetworks.rb b/libraries/google_compute_subnetworks.rb index 96145dbbf..c04df6746 100644 --- a/libraries/google_compute_subnetworks.rb +++ b/libraries/google_compute_subnetworks.rb @@ -100,9 +100,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_http_proxies.rb b/libraries/google_compute_target_http_proxies.rb index dfb09ffe4..f7230aaba 100644 --- a/libraries/google_compute_target_http_proxies.rb +++ b/libraries/google_compute_target_http_proxies.rb @@ -84,9 +84,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_http_proxy.rb b/libraries/google_compute_target_http_proxy.rb index d7c19c653..97f7db906 100644 --- a/libraries/google_compute_target_http_proxy.rb +++ b/libraries/google_compute_target_http_proxy.rb @@ -60,9 +60,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_https_proxies.rb b/libraries/google_compute_target_https_proxies.rb index 1afd3b1eb..ce020873a 100644 --- a/libraries/google_compute_target_https_proxies.rb +++ b/libraries/google_compute_target_https_proxies.rb @@ -90,9 +90,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_https_proxy.rb b/libraries/google_compute_target_https_proxy.rb index 4cee9c7f5..043d77a16 100644 --- a/libraries/google_compute_target_https_proxy.rb +++ b/libraries/google_compute_target_https_proxy.rb @@ -66,9 +66,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_pool.rb b/libraries/google_compute_target_pool.rb index fb8e6e55b..6717be0a9 100644 --- a/libraries/google_compute_target_pool.rb +++ b/libraries/google_compute_target_pool.rb @@ -76,9 +76,9 @@ def has_target_instance?(name, zone) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_pools.rb b/libraries/google_compute_target_pools.rb index 04e5815f5..48870753e 100644 --- a/libraries/google_compute_target_pools.rb +++ b/libraries/google_compute_target_pools.rb @@ -94,9 +94,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_tcp_proxies.rb b/libraries/google_compute_target_tcp_proxies.rb index 04131284a..2fc8a8754 100644 --- a/libraries/google_compute_target_tcp_proxies.rb +++ b/libraries/google_compute_target_tcp_proxies.rb @@ -86,9 +86,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_target_tcp_proxy.rb b/libraries/google_compute_target_tcp_proxy.rb index 5ba337185..6ffce7326 100644 --- a/libraries/google_compute_target_tcp_proxy.rb +++ b/libraries/google_compute_target_tcp_proxy.rb @@ -62,9 +62,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_url_map.rb b/libraries/google_compute_url_map.rb index 4b31b34dd..b866c8fcf 100644 --- a/libraries/google_compute_url_map.rb +++ b/libraries/google_compute_url_map.rb @@ -93,9 +93,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_url_maps.rb b/libraries/google_compute_url_maps.rb index 3427a0d8d..693daaba5 100644 --- a/libraries/google_compute_url_maps.rb +++ b/libraries/google_compute_url_maps.rb @@ -98,9 +98,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_vpn_tunnel.rb b/libraries/google_compute_vpn_tunnel.rb index 0716bb6c2..e008c6015 100644 --- a/libraries/google_compute_vpn_tunnel.rb +++ b/libraries/google_compute_vpn_tunnel.rb @@ -90,9 +90,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_vpn_tunnels.rb b/libraries/google_compute_vpn_tunnels.rb index 7ab2c50cc..bebe82670 100644 --- a/libraries/google_compute_vpn_tunnels.rb +++ b/libraries/google_compute_vpn_tunnels.rb @@ -114,9 +114,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_zone.rb b/libraries/google_compute_zone.rb index eb2d0ab03..4b6200fb2 100644 --- a/libraries/google_compute_zone.rb +++ b/libraries/google_compute_zone.rb @@ -76,9 +76,9 @@ def up? def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_compute_zones.rb b/libraries/google_compute_zones.rb index d91e9642f..724cb6429 100644 --- a/libraries/google_compute_zones.rb +++ b/libraries/google_compute_zones.rb @@ -90,9 +90,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/compute/beta/' + 'https://compute.googleapis.com/compute/beta/' else - 'https://www.googleapis.com/compute/v1/' + 'https://compute.googleapis.com/compute/v1/' end end diff --git a/libraries/google_dns_managed_zone.rb b/libraries/google_dns_managed_zone.rb index c0b7fe6f0..b85653ee9 100644 --- a/libraries/google_dns_managed_zone.rb +++ b/libraries/google_dns_managed_zone.rb @@ -104,9 +104,9 @@ def zone_signing_key_algorithm def product_url(beta = false) if beta - 'https://www.googleapis.com/dns/v1beta2/' + 'https://dns.googleapis.com/dns/v1beta2/' else - 'https://www.googleapis.com/dns/v1/' + 'https://dns.googleapis.com/dns/v1/' end end diff --git a/libraries/google_dns_managed_zones.rb b/libraries/google_dns_managed_zones.rb index 50cfae44f..c806d6630 100644 --- a/libraries/google_dns_managed_zones.rb +++ b/libraries/google_dns_managed_zones.rb @@ -106,9 +106,9 @@ def parse_time_string(time_string) def product_url(beta = false) if beta - 'https://www.googleapis.com/dns/v1beta2/' + 'https://dns.googleapis.com/dns/v1beta2/' else - 'https://www.googleapis.com/dns/v1/' + 'https://dns.googleapis.com/dns/v1/' end end diff --git a/libraries/google_dns_resource_record_set.rb b/libraries/google_dns_resource_record_set.rb index 2a3a29a28..35ae2ce6b 100644 --- a/libraries/google_dns_resource_record_set.rb +++ b/libraries/google_dns_resource_record_set.rb @@ -68,9 +68,9 @@ def to_s def product_url(beta = false) if beta - 'https://www.googleapis.com/dns/v1beta2/' + 'https://dns.googleapis.com/dns/v1beta2/' else - 'https://www.googleapis.com/dns/v1/' + 'https://dns.googleapis.com/dns/v1/' end end diff --git a/libraries/google_dns_resource_record_sets.rb b/libraries/google_dns_resource_record_sets.rb index 4f8b68d01..0df4c5914 100644 --- a/libraries/google_dns_resource_record_sets.rb +++ b/libraries/google_dns_resource_record_sets.rb @@ -79,9 +79,9 @@ def transformers def product_url(beta = false) if beta - 'https://www.googleapis.com/dns/v1beta2/' + 'https://dns.googleapis.com/dns/v1beta2/' else - 'https://www.googleapis.com/dns/v1/' + 'https://dns.googleapis.com/dns/v1/' end end diff --git a/libraries/google_storage_bucket.rb b/libraries/google_storage_bucket.rb index f9cc771af..bbfc94be1 100644 --- a/libraries/google_storage_bucket.rb +++ b/libraries/google_storage_bucket.rb @@ -104,7 +104,7 @@ def to_s private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_bucket_acl.rb b/libraries/google_storage_bucket_acl.rb index a86007b1d..a1830df55 100644 --- a/libraries/google_storage_bucket_acl.rb +++ b/libraries/google_storage_bucket_acl.rb @@ -63,7 +63,7 @@ def bucket private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_bucket_iam_binding.rb b/libraries/google_storage_bucket_iam_binding.rb index 908f96c98..df447d5aa 100644 --- a/libraries/google_storage_bucket_iam_binding.rb +++ b/libraries/google_storage_bucket_iam_binding.rb @@ -75,7 +75,7 @@ def to_s private def product_url - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_bucket_iam_policy.rb b/libraries/google_storage_bucket_iam_policy.rb index 9322ee8ca..3116f40e3 100644 --- a/libraries/google_storage_bucket_iam_policy.rb +++ b/libraries/google_storage_bucket_iam_policy.rb @@ -58,7 +58,7 @@ def count private def product_url - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_bucket_object.rb b/libraries/google_storage_bucket_object.rb index 9a6522463..798d9eae1 100644 --- a/libraries/google_storage_bucket_object.rb +++ b/libraries/google_storage_bucket_object.rb @@ -89,7 +89,7 @@ def size private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_bucket_objects.rb b/libraries/google_storage_bucket_objects.rb index 8975c9c42..34fa26659 100644 --- a/libraries/google_storage_bucket_objects.rb +++ b/libraries/google_storage_bucket_objects.rb @@ -107,7 +107,7 @@ def parse_time_string(time_string) private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_buckets.rb b/libraries/google_storage_buckets.rb index e2c4cd9f7..5eb9dc9ad 100644 --- a/libraries/google_storage_buckets.rb +++ b/libraries/google_storage_buckets.rb @@ -117,7 +117,7 @@ def parse_time_string(time_string) private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_default_object_acl.rb b/libraries/google_storage_default_object_acl.rb index 0521a8cd0..f36adf0b5 100644 --- a/libraries/google_storage_default_object_acl.rb +++ b/libraries/google_storage_default_object_acl.rb @@ -67,7 +67,7 @@ def bucket private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url diff --git a/libraries/google_storage_object_acl.rb b/libraries/google_storage_object_acl.rb index 7d09ca8c2..86414fdf1 100644 --- a/libraries/google_storage_object_acl.rb +++ b/libraries/google_storage_object_acl.rb @@ -67,7 +67,7 @@ def bucket private def product_url(_ = nil) - 'https://www.googleapis.com/storage/v1/' + 'https://storage.googleapis.com/storage/v1/' end def resource_base_url