def version_info service, version
      service ||= "default"
      version ||= latest_version service
      result = Util::Gcloud.execute [
          "app", "versions", "describe", version,
          "--service=#{service}",
          "--format=json"],
          capture: true, assert: false
      result.strip!
      raise NoSuchVersion.new(service, version) if result.empty?
      ::JSON.parse result
    end
def version_info service, version
      service ||= "default"
      version ||= latest_version service
      result = Util::Gcloud.execute [
          "app", "versions", "describe", version,
          "--service=#{service}",
          "--format=json"],
          capture: true, assert: false
      result.strip!
      raise NoSuchVersion.new(service, version) if result.empty?
      ::JSON.parse result
    end
@private
 Returns full information on the given version of the given service.

 @param service [String] Name of the service. If omitted, the service
     "default" is used.
 @param version [String] Name of the version. If omitted, the most
     recently deployed is used.
 @return [Hash,nil] A collection of fields parsed from the JSON
     representation of the version, or nil if the requested version
     doesn't exist.