GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs

data class GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs(val containerImageSources: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerAddCapabilities: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerChrootPath: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerNetwork: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerPrivileged: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerRunAsRoot: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerRuntime: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val dockerSiblingContainers: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureArgs>? = null, val linuxIsolation: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyLinuxIsolation>? = null) : ConvertibleToJava<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyArgs>

FeaturePolicy defines features allowed to be used on RBE instances, as well as instance-wide behavior changes that take effect without opt-in or opt-out at usage time.

Constructors

Properties

Link copied to clipboard

Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.

Link copied to clipboard

Whether dockerAddCapabilities can be used or what capabilities are allowed.

Link copied to clipboard

Whether dockerChrootPath can be used.

Link copied to clipboard

Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow off value only via allowed_values.

Link copied to clipboard

Whether dockerPrivileged can be used.

Link copied to clipboard

Whether dockerRunAsRoot can be used.

Link copied to clipboard

Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.

Link copied to clipboard

Whether dockerSiblingContainers can be used.

Link copied to clipboard

linux_isolation allows overriding the docker runtime used for containers started on Linux.

Functions

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