AgentScript
import type { AgentScript } from "https://googleapis.deno.dev/v1/batch:v1.ts";
Script runnable representation on the agent side.
§Properties
Script file path on the host VM. To specify an interpreter, please add a
#!
(also known as shebang
line) as the first line of
the file.(For example, to execute the script using bash, #!/bin/bash
should be the first line of the file. To execute the script usingPython3
,
#!/usr/bin/env python3
should be the first line of the file.) Otherwise,
the file will by default be executed by /bin/sh
.
Shell script text. To specify an interpreter, please add a #!\n
at the
beginning of the text.(For example, to execute the script using bash,
#!/bin/bash\n
should be added. To execute the script usingPython3
,
#!/usr/bin/env python3\n
should be added.) Otherwise, the script will by
default be executed by /bin/sh
.