Class: Google::Apis::JobsV4::NamespacedDebugInput
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::NamespacedDebugInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v4/classes.rb,
lib/google/apis/jobs_v4/representations.rb,
lib/google/apis/jobs_v4/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.
1938 1939 1940 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1938 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
1828 1829 1830 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1828 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
1834 1835 1836 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1834 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
1840 1841 1842 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1840 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
1846 1847 1848 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1846 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
1853 1854 1855 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1853 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
1859 1860 1861 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1859 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
1867 1868 1869 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1867 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
1878 1879 1880 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1878 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
1887 1888 1889 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1887 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
1897 1898 1899 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1897 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
1905 1906 1907 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1905 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
1916 1917 1918 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1916 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
1923 1924 1925 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1923 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
1929 1930 1931 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1929 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
1936 1937 1938 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1936 def testing_mode @testing_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1943 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 |