I am using the following to turn a very long, multi line string into a temporary file (called multi_line_string_variable), and then load that file into GCS:
multi_line_string_variable