GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse class

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

GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse({required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> containerImageSources, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerAddCapabilities, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerChrootPath, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerNetwork, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerPrivileged, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerRunAsRoot, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerRuntime, required Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse> dockerSiblingContainers, required Input<String> linuxIsolation})
Creates a new GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse. containerImageSources 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. dockerAddCapabilities Whether dockerAddCapabilities can be used or what capabilities are allowed. dockerChrootPath Whether dockerChrootPath can be used. dockerNetwork Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow off value only via allowed_values. dockerPrivileged Whether dockerPrivileged can be used. dockerRunAsRoot Whether dockerRunAsRoot can be used. dockerRuntime 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. dockerSiblingContainers Whether dockerSiblingContainers can be used. linuxIsolation linux_isolation allows overriding the docker runtime used for containers started on Linux.
const
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse.fromMap(Map<String, dynamic> map)
factory

Properties

containerImageSources → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
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.
final
dockerAddCapabilities → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
Whether dockerAddCapabilities can be used or what capabilities are allowed.
final
dockerChrootPath → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
Whether dockerChrootPath can be used.
final
dockerNetwork → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow off value only via allowed_values.
final
dockerPrivileged → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
Whether dockerPrivileged can be used.
final
dockerRunAsRoot → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
Whether dockerRunAsRoot can be used.
final
dockerRuntime → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
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.
final
dockerSiblingContainers → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse>
Whether dockerSiblingContainers can be used.
final
hashCode → int
The hash code for this object.
no setterinherited
linuxIsolation → Input<String>
linux_isolation allows overriding the docker runtime used for containers started on Linux.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited