From c98238f18ac8aa68c971f0742b881e24daf258aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20=C4=8Cupi=C4=87?= Date: Sat, 16 Dec 2017 06:07:28 +0100 Subject: Inluce projects namespace when checking billing --- lib/google_api/cloud_platform/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/google_api') diff --git a/lib/google_api/cloud_platform/client.rb b/lib/google_api/cloud_platform/client.rb index c107d001bec..f05d001fd02 100644 --- a/lib/google_api/cloud_platform/client.rb +++ b/lib/google_api/cloud_platform/client.rb @@ -55,7 +55,7 @@ module GoogleApi service = Google::Apis::CloudbillingV1::CloudbillingService.new service.authorization = access_token - service.get_project_billing_info(project_name) + service.get_project_billing_info("projects/#{project_name}") end def projects_zones_clusters_get(project_id, zone, cluster_id) -- cgit v1.2.1