google_api_os_config v0.6.0 GoogleApi.OSConfig.V1.Model.File View Source

A remote or local file.

Attributes

  • allowInsecure (type: boolean(), default: nil) - Defaults to false. When false, files will be subject to validations based on the file type:

    Remote: A checksum must be specified. GCS: An object generation number must be specified.

  • gcs (type: GoogleApi.OSConfig.V1.Model.FileGcs.t, default: nil) - A GCS object.

  • localPath (type: String.t, default: nil) - A local path to use.

  • remote (type: GoogleApi.OSConfig.V1.Model.FileRemote.t, default: nil) - A generic remote file.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.OSConfig.V1.Model.File{
  allowInsecure: boolean(),
  gcs: GoogleApi.OSConfig.V1.Model.FileGcs.t(),
  localPath: String.t(),
  remote: GoogleApi.OSConfig.V1.Model.FileRemote.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.