Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v1alpha/classes.rb,
lib/google/apis/remotebuildexecution_v1alpha/representations.rb,
lib/google/apis/remotebuildexecution_v1alpha/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy

Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicy.



1985
1986
1987
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1985

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#container_image_sourcesGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property containerImageSources



1942
1943
1944
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1942

def container_image_sources
  @container_image_sources
end

#docker_add_capabilitiesGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerAddCapabilities



1947
1948
1949
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1947

def docker_add_capabilities
  @docker_add_capabilities
end

#docker_chroot_pathGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerChrootPath



1952
1953
1954
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1952

def docker_chroot_path
  @docker_chroot_path
end

#docker_networkGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerNetwork



1957
1958
1959
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1957

def docker_network
  @docker_network
end

#docker_privilegedGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerPrivileged



1962
1963
1964
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1962

def docker_privileged
  @docker_privileged
end

#docker_run_as_rootGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerRunAsRoot



1967
1968
1969
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1967

def docker_run_as_root
  @docker_run_as_root
end

#docker_runtimeGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerRuntime



1972
1973
1974
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1972

def docker_runtime
  @docker_runtime
end

#docker_sibling_containersGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeature

Defines whether a feature can be used or what values are accepted. Corresponds to the JSON property dockerSiblingContainers



1977
1978
1979
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1977

def docker_sibling_containers
  @docker_sibling_containers
end

#linux_isolationString

linux_isolation allows overriding the docker runtime used for containers started on Linux. Corresponds to the JSON property linuxIsolation

Returns:

  • (String)


1983
1984
1985
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1983

def linux_isolation
  @linux_isolation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1990

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