OSPolicyResourceFileArgs

data class OSPolicyResourceFileArgs(val allowInsecure: Output<Boolean>? = null, val gcs: Output<OSPolicyResourceFileGcsArgs>? = null, val localPath: Output<String>? = null, val remote: Output<OSPolicyResourceFileRemoteArgs>? = null) : ConvertibleToJava<OSPolicyResourceFileArgs>

A remote or local file.

Constructors

Link copied to clipboard
fun OSPolicyResourceFileArgs(allowInsecure: Output<Boolean>? = null, gcs: Output<OSPolicyResourceFileGcsArgs>? = null, localPath: Output<String>? = null, remote: Output<OSPolicyResourceFileRemoteArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OSPolicyResourceFileArgs

Properties

Link copied to clipboard
val allowInsecure: Output<Boolean>? = null

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.

Link copied to clipboard
val gcs: Output<OSPolicyResourceFileGcsArgs>? = null

A Cloud Storage object.

Link copied to clipboard
val localPath: Output<String>? = null

A local path within the VM to use.

Link copied to clipboard

A generic remote file.