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

A remote or local file.

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.