Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#container_image_sources ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_add_capabilities ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_chroot_path ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_network ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_privileged ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_run_as_root ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_runtime ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#docker_sibling_containers ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
-
#linux_isolation ⇒ String
linux_isolation allows overriding the docker runtime used for containers started on Linux.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.
2669 2670 2671 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container_image_sources ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property containerImageSources
2626 2627 2628 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2626 def container_image_sources @container_image_sources end |
#docker_add_capabilities ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerAddCapabilities
2631 2632 2633 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2631 def docker_add_capabilities @docker_add_capabilities end |
#docker_chroot_path ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerChrootPath
2636 2637 2638 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2636 def docker_chroot_path @docker_chroot_path end |
#docker_network ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerNetwork
2641 2642 2643 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2641 def docker_network @docker_network end |
#docker_privileged ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerPrivileged
2646 2647 2648 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2646 def docker_privileged @docker_privileged end |
#docker_run_as_root ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerRunAsRoot
2651 2652 2653 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2651 def docker_run_as_root @docker_run_as_root end |
#docker_runtime ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerRuntime
2656 2657 2658 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2656 def docker_runtime @docker_runtime end |
#docker_sibling_containers ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature
Defines whether a feature can be used or what values are accepted.
Corresponds to the JSON property dockerSiblingContainers
2661 2662 2663 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2661 def docker_sibling_containers @docker_sibling_containers end |
#linux_isolation ⇒ String
linux_isolation allows overriding the docker runtime used for containers
started on Linux.
Corresponds to the JSON property linuxIsolation
2667 2668 2669 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2667 def linux_isolation @linux_isolation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 |
# 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 |