resolve_parameters

in lib/google/serverless/exec.rb [557:571]


      def resolve_parameters
        @timestamp_suffix = ::Time.now.strftime "%Y%m%d%H%M%S"
        @command = ::Shellwords.split @command.to_s unless @command.is_a? Array
        @project ||= default_project
        @service ||= service_from_config || Exec.default_service
        @timeout ||= Exec.default_timeout
        @timeout_seconds = parse_timeout @timeout
        @wrapper_image ||= Exec.default_wrapper_image
        @product ||= default_product
        if @product == APP_ENGINE
          @version ||= latest_version @service
        end
        self
      end