Class: Google::Apis::JobsV3p1beta1::NamespacedDebugInput

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/jobs_v3p1beta1/classes.rb,
lib/google/apis/jobs_v3p1beta1/representations.rb,
lib/google/apis/jobs_v3p1beta1/representations.rb

Overview

Next ID: 16

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NamespacedDebugInput

Returns a new instance of NamespacedDebugInput.



2109
2110
2111
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2109

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

Instance Attribute Details

#absolutely_forced_exp_namesArray<String>

Set of experiment names to be absolutely forced. These experiments will be forced without evaluating the conditions. Corresponds to the JSON property absolutelyForcedExpNames

Returns:

  • (Array<String>)


1995
1996
1997
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 1995

def absolutely_forced_exp_names
  @absolutely_forced_exp_names
end

#absolutely_forced_exp_tagsArray<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

Returns:

  • (Array<String>)


2001
2002
2003
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2001

def absolutely_forced_exp_tags
  @absolutely_forced_exp_tags
end

#absolutely_forced_expsArray<Fixnum>

Set of experiment ids to be absolutely forced. These ids will be forced without evaluating the conditions. Corresponds to the JSON property absolutelyForcedExps

Returns:

  • (Array<Fixnum>)


2007
2008
2009
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2007

def absolutely_forced_exps
  @absolutely_forced_exps
end

#conditionally_forced_exp_namesArray<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

Returns:

  • (Array<String>)


2013
2014
2015
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2013

def conditionally_forced_exp_names
  @conditionally_forced_exp_names
end

#conditionally_forced_exp_tagsArray<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

Returns:

  • (Array<String>)


2020
2021
2022
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2020

def conditionally_forced_exp_tags
  @conditionally_forced_exp_tags
end

#conditionally_forced_expsArray<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

Returns:

  • (Array<Fixnum>)


2026
2027
2028
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2026

def conditionally_forced_exps
  @conditionally_forced_exps
end

#disable_automatic_enrollment_selectionBoolean 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. Setting this filed to false does not change anything in experiment selection process. Corresponds to the JSON property disableAutomaticEnrollmentSelection

Returns:

  • (Boolean)


2035
2036
2037
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2035

def disable_automatic_enrollment_selection
  @disable_automatic_enrollment_selection
end

#disable_exp_namesArray<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

Returns:

  • (Array<String>)


2046
2047
2048
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2046

def disable_exp_names
  @disable_exp_names
end

#disable_exp_tagsArray<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

Returns:

  • (Array<String>)


2055
2056
2057
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2055

def disable_exp_tags
  @disable_exp_tags
end

#disable_expsArray<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

Returns:

  • (Array<Fixnum>)


2065
2066
2067
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2065

def disable_exps
  @disable_exps
end

#disable_manual_enrollment_selectionBoolean 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. Setting this filed to false does not change anything in experiment selection process. Corresponds to the JSON property disableManualEnrollmentSelection

Returns:

  • (Boolean)


2074
2075
2076
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2074

def disable_manual_enrollment_selection
  @disable_manual_enrollment_selection
end

#disable_organic_selectionBoolean 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. Setting this filed to false does not change anything in experiment selection process. Corresponds to the JSON property disableOrganicSelection

Returns:

  • (Boolean)


2087
2088
2089
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2087

def disable_organic_selection
  @disable_organic_selection
end

#forced_flagsHash<String,String>

Flags to force in a particular experiment state. Map from flag name to flag value. Corresponds to the JSON property forcedFlags

Returns:

  • (Hash<String,String>)


2094
2095
2096
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2094

def forced_flags
  @forced_flags
end

#forced_rolloutsHash<String,Boolean>

Rollouts to force in a particular experiment state. Map from rollout name to rollout value. Corresponds to the JSON property forcedRollouts

Returns:

  • (Hash<String,Boolean>)


2100
2101
2102
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2100

def forced_rollouts
  @forced_rollouts
end

#testing_modeString

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

Returns:

  • (String)


2107
2108
2109
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2107

def testing_mode
  @testing_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 2114

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