class Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy

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.

Attributes

container_image_sources[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `containerImageSources` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_add_capabilities[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerAddCapabilities` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_chroot_path[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerChrootPath` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_network[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerNetwork` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_privileged[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerPrivileged` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_run_as_root[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerRunAsRoot` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_runtime[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerRuntime` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

docker_sibling_containers[RW]

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property `dockerSiblingContainers` @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature]

linux_isolation[RW]

linux_isolation allows overriding the docker runtime used for containers started on Linux. Corresponds to the JSON property `linuxIsolation` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2669
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 2674
def update!(**args)
  @container_image_sources = args[:container_image_sources] if args.key?(:container_image_sources)
  @docker_add_capabilities = args[:docker_add_capabilities] if args.key?(:docker_add_capabilities)
  @docker_chroot_path = args[:docker_chroot_path] if args.key?(:docker_chroot_path)
  @docker_network = args[:docker_network] if args.key?(:docker_network)
  @docker_privileged = args[:docker_privileged] if args.key?(:docker_privileged)
  @docker_run_as_root = args[:docker_run_as_root] if args.key?(:docker_run_as_root)
  @docker_runtime = args[:docker_runtime] if args.key?(:docker_runtime)
  @docker_sibling_containers = args[:docker_sibling_containers] if args.key?(:docker_sibling_containers)
  @linux_isolation = args[:linux_isolation] if args.key?(:linux_isolation)
end