gitlab-org--gitlab-foss/lib/google_api/cloud_platform/client.rb

25 lines
631 B
Ruby
Raw Normal View History

module GoogleApi
module CloudPlatform
class Client < GoogleApi::Authentication
# Google::Apis::ContainerV1::ContainerService.new
def scope
'https://www.googleapis.com/auth/cloud-platform'
end
def projects_zones_clusters_get
# TODO:
# service = Google::Apis::ContainerV1::ContainerService.new
# service.authorization = access_token
# project_id = params['project_id']
# ...
# response = service.list_zone_clusters(project_id, zone)
response
end
def projects_zones_clusters_create
# TODO
end
end
end
end