View Source GoogleApi.Batch.V1.Model.Script (google_api_batch v0.2.0)

Script runnable.

Attributes

  • path (type: String.t, default: nil) - 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.
  • text (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.Script{
  path: String.t() | nil,
  text: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.