Class: Google::Apis::JobsV3::NamespacedDebugInput
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::NamespacedDebugInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v3/classes.rb,
lib/google/apis/jobs_v3/representations.rb,
lib/google/apis/jobs_v3/representations.rb
Overview
Next ID: 16
Instance Attribute Summary collapse
-
#absolutely_forced_exp_names ⇒ Array<String>
Set of experiment names to be absolutely forced.
-
#absolutely_forced_exp_tags ⇒ Array<String>
Set of experiment tags to be absolutely forced.
-
#absolutely_forced_exps ⇒ Array<Fixnum>
Set of experiment ids to be absolutely forced.
-
#conditionally_forced_exp_names ⇒ Array<String>
Set of experiment names to be conditionally forced.
-
#conditionally_forced_exp_tags ⇒ Array<String>
Set of experiment tags to be conditionally forced.
-
#conditionally_forced_exps ⇒ Array<Fixnum>
Set of experiment ids to be conditionally forced.
-
#disable_automatic_enrollment_selection ⇒ Boolean
(also: #disable_automatic_enrollment_selection?)
If true, disable automatic enrollment selection (at all diversion points).
-
#disable_exp_names ⇒ Array<String>
Set of experiment names to be disabled.
-
#disable_exp_tags ⇒ Array<String>
Set of experiment tags to be disabled.
-
#disable_exps ⇒ Array<Fixnum>
Set of experiment ids to be disabled.
-
#disable_manual_enrollment_selection ⇒ Boolean
(also: #disable_manual_enrollment_selection?)
If true, disable manual enrollment selection (at all diversion points).
-
#disable_organic_selection ⇒ Boolean
(also: #disable_organic_selection?)
If true, disable organic experiment selection (at all diversion points).
-
#forced_flags ⇒ Hash<String,String>
Flags to force in a particular experiment state.
-
#forced_rollouts ⇒ Hash<String,Boolean>
Rollouts to force in a particular experiment state.
-
#testing_mode ⇒ String
If set to ALL_OFF, organic selection will be disabled; if set to ALL_ON, organic selection will be disabled, and only select launch experiments will receive traffic.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamespacedDebugInput
constructor
A new instance of NamespacedDebugInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NamespacedDebugInput
Returns a new instance of NamespacedDebugInput.
1954 1955 1956 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1954 def initialize(**args) update!(**args) end |
Instance Attribute Details
#absolutely_forced_exp_names ⇒ Array<String>
Set of experiment names to be absolutely forced. These experiments will be
forced without evaluating the conditions.
Corresponds to the JSON property absolutelyForcedExpNames
1844 1845 1846 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1844 def absolutely_forced_exp_names @absolutely_forced_exp_names end |
#absolutely_forced_exp_tags ⇒ Array<String>
Set of experiment tags to be absolutely forced. The experiments with these
tags will be forced without evaluating the conditions.
Corresponds to the JSON property absolutelyForcedExpTags
1850 1851 1852 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1850 def @absolutely_forced_exp_tags end |
#absolutely_forced_exps ⇒ Array<Fixnum>
Set of experiment ids to be absolutely forced. These ids will be forced
without evaluating the conditions.
Corresponds to the JSON property absolutelyForcedExps
1856 1857 1858 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1856 def absolutely_forced_exps @absolutely_forced_exps end |
#conditionally_forced_exp_names ⇒ Array<String>
Set of experiment names to be conditionally forced. These experiments will be
forced only if their conditions and their parent domain's conditions are true.
Corresponds to the JSON property conditionallyForcedExpNames
1862 1863 1864 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1862 def conditionally_forced_exp_names @conditionally_forced_exp_names end |
#conditionally_forced_exp_tags ⇒ Array<String>
Set of experiment tags to be conditionally forced. The experiments with these
tags will be forced only if their conditions and their parent domain's
conditions are true.
Corresponds to the JSON property conditionallyForcedExpTags
1869 1870 1871 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1869 def @conditionally_forced_exp_tags end |
#conditionally_forced_exps ⇒ Array<Fixnum>
Set of experiment ids to be conditionally forced. These ids will be forced
only if their conditions and their parent domain's conditions are true.
Corresponds to the JSON property conditionallyForcedExps
1875 1876 1877 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1875 def conditionally_forced_exps @conditionally_forced_exps end |
#disable_automatic_enrollment_selection ⇒ Boolean Also known as: disable_automatic_enrollment_selection?
If true, disable automatic enrollment selection (at all diversion points).
Automatic enrollment selection means experiment selection process based on the
experiment's automatic enrollment condition. This does not disable selection
of forced experiments.
Corresponds to the JSON property disableAutomaticEnrollmentSelection
1883 1884 1885 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1883 def disable_automatic_enrollment_selection @disable_automatic_enrollment_selection end |
#disable_exp_names ⇒ Array<String>
Set of experiment names to be disabled. If an experiment is disabled, it is
never selected nor forced. If an aggregate experiment is disabled, its
partitions are disabled together. If an experiment with an enrollment is
disabled, the enrollment is disabled together. If a name corresponds to a
domain, the domain itself and all descendant experiments and domains are
disabled together.
Corresponds to the JSON property disableExpNames
1894 1895 1896 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1894 def disable_exp_names @disable_exp_names end |
#disable_exp_tags ⇒ Array<String>
Set of experiment tags to be disabled. All experiments that are tagged with
one or more of these tags are disabled. If an experiment is disabled, it is
never selected nor forced. If an aggregate experiment is disabled, its
partitions are disabled together. If an experiment with an enrollment is
disabled, the enrollment is disabled together.
Corresponds to the JSON property disableExpTags
1903 1904 1905 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1903 def @disable_exp_tags end |
#disable_exps ⇒ Array<Fixnum>
Set of experiment ids to be disabled. If an experiment is disabled, it is
never selected nor forced. If an aggregate experiment is disabled, its
partitions are disabled together. If an experiment with an enrollment is
disabled, the enrollment is disabled together. If an ID corresponds to a
domain, the domain itself and all descendant experiments and domains are
disabled together.
Corresponds to the JSON property disableExps
1913 1914 1915 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1913 def disable_exps @disable_exps end |
#disable_manual_enrollment_selection ⇒ Boolean Also known as: disable_manual_enrollment_selection?
If true, disable manual enrollment selection (at all diversion points). Manual
enrollment selection means experiment selection process based on the request's
manual enrollment states (a.k.a. opt-in experiments). This does not disable
selection of forced experiments.
Corresponds to the JSON property disableManualEnrollmentSelection
1921 1922 1923 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1921 def disable_manual_enrollment_selection @disable_manual_enrollment_selection end |
#disable_organic_selection ⇒ Boolean Also known as: disable_organic_selection?
If true, disable organic experiment selection (at all diversion points).
Organic selection means experiment selection process based on traffic
allocation and diversion condition evaluation. This does not disable selection
of forced experiments. This is useful in cases when it is not known whether
experiment selection behavior is responsible for a error or breakage.
Disabling organic selection may help to isolate the cause of a given problem.
Corresponds to the JSON property disableOrganicSelection
1932 1933 1934 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1932 def disable_organic_selection @disable_organic_selection end |
#forced_flags ⇒ Hash<String,String>
Flags to force in a particular experiment state. Map from flag name to flag
value.
Corresponds to the JSON property forcedFlags
1939 1940 1941 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1939 def forced_flags @forced_flags end |
#forced_rollouts ⇒ Hash<String,Boolean>
Rollouts to force in a particular experiment state. Map from rollout name to
rollout value.
Corresponds to the JSON property forcedRollouts
1945 1946 1947 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1945 def forced_rollouts @forced_rollouts end |
#testing_mode ⇒ String
If set to ALL_OFF, organic selection will be disabled; if set to ALL_ON,
organic selection will be disabled, and only select launch experiments will
receive traffic. See go/mendel-aoao-runtime-design.
Corresponds to the JSON property testingMode
1952 1953 1954 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1952 def testing_mode @testing_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 |
# File 'lib/google/apis/jobs_v3/classes.rb', line 1959 def update!(**args) @absolutely_forced_exp_names = args[:absolutely_forced_exp_names] if args.key?(:absolutely_forced_exp_names) @absolutely_forced_exp_tags = args[:absolutely_forced_exp_tags] if args.key?(:absolutely_forced_exp_tags) @absolutely_forced_exps = args[:absolutely_forced_exps] if args.key?(:absolutely_forced_exps) @conditionally_forced_exp_names = args[:conditionally_forced_exp_names] if args.key?(:conditionally_forced_exp_names) @conditionally_forced_exp_tags = args[:conditionally_forced_exp_tags] if args.key?(:conditionally_forced_exp_tags) @conditionally_forced_exps = args[:conditionally_forced_exps] if args.key?(:conditionally_forced_exps) @disable_automatic_enrollment_selection = args[:disable_automatic_enrollment_selection] if args.key?(:disable_automatic_enrollment_selection) @disable_exp_names = args[:disable_exp_names] if args.key?(:disable_exp_names) @disable_exp_tags = args[:disable_exp_tags] if args.key?(:disable_exp_tags) @disable_exps = args[:disable_exps] if args.key?(:disable_exps) @disable_manual_enrollment_selection = args[:disable_manual_enrollment_selection] if args.key?(:disable_manual_enrollment_selection) @disable_organic_selection = args[:disable_organic_selection] if args.key?(:disable_organic_selection) @forced_flags = args[:forced_flags] if args.key?(:forced_flags) @forced_rollouts = args[:forced_rollouts] if args.key?(:forced_rollouts) @testing_mode = args[:testing_mode] if args.key?(:testing_mode) end |