View Source GoogleApi.OSConfig.V1.Model.OSPolicyResourceFile (google_api_os_config v0.20.0)

A remote or local file.


  • allowInsecure (type: boolean(), default: nil) - Defaults to false. When false, files are subject to validations based on the file type: Remote: A checksum must be specified. Cloud Storage: An object generation number must be specified.
  • gcs (type: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileGcs.t, default: nil) - A Cloud Storage object.
  • localPath (type: String.t, default: nil) - A local path within the VM to use.
  • remote (type: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileRemote.t, default: nil) - A generic remote file.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.OSConfig.V1.Model.OSPolicyResourceFile{
  allowInsecure: boolean() | nil,
  gcs: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileGcs.t() | nil,
  localPath: String.t() | nil,
  remote: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFileRemote.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.