Class: Google::Apis::FirebaseremoteconfigV1::RemoteConfigParameterValue
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseremoteconfigV1::RemoteConfigParameterValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaseremoteconfig_v1/classes.rb,
generated/google/apis/firebaseremoteconfig_v1/representations.rb,
generated/google/apis/firebaseremoteconfig_v1/representations.rb
Overview
A RemoteConfigParameter's "value" (either the default value, or the value
associated with a condition name) is either a string, or the
"use_in_app_default" indicator (which means to leave out the parameter from
the returned true
.
Instance Attribute Summary collapse
-
#use_in_app_default ⇒ Boolean
(also: #use_in_app_default?)
if true, omit the parameter from the map of fetched parameter values Corresponds to the JSON property
useInAppDefault
. -
#value ⇒ String
the string to set the parameter to Corresponds to the JSON property
value
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RemoteConfigParameterValue
constructor
A new instance of RemoteConfigParameterValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RemoteConfigParameterValue
Returns a new instance of RemoteConfigParameterValue
168 169 170 |
# File 'generated/google/apis/firebaseremoteconfig_v1/classes.rb', line 168 def initialize(**args) update!(**args) end |
Instance Attribute Details
#use_in_app_default ⇒ Boolean Also known as: use_in_app_default?
if true, omit the parameter from the map of fetched parameter values
Corresponds to the JSON property useInAppDefault
160 161 162 |
# File 'generated/google/apis/firebaseremoteconfig_v1/classes.rb', line 160 def use_in_app_default @use_in_app_default end |
#value ⇒ String
the string to set the parameter to
Corresponds to the JSON property value
166 167 168 |
# File 'generated/google/apis/firebaseremoteconfig_v1/classes.rb', line 166 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
173 174 175 176 |
# File 'generated/google/apis/firebaseremoteconfig_v1/classes.rb', line 173 def update!(**args) @use_in_app_default = args[:use_in_app_default] if args.key?(:use_in_app_default) @value = args[:value] if args.key?(:value) end |