Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

use {product}.googleapis.com endpoints #436

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/google_bigquery_dataset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/google_bigquery_datasets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/google_bigquery_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/google_bigquery_tables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_addresses.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_autoscaler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_autoscalers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_backend_bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_backend_buckets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_backend_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_backend_services.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_disk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_disks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_firewall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_firewalls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_forwarding_rule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_forwarding_rules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_global_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_global_addresses.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_global_forwarding_rule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_global_forwarding_rules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_health_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_http_health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_http_health_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_https_health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_https_health_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_instance_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_instance_group_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_instance_group_managers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions libraries/google_compute_instance_groups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading