class Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestrictionRestrictionValue
A typed value for the restriction.
Attributes
The type of the value being provided. Corresponds to the JSON property `type` @return [String]
The boolean value - this will only be present if type is bool. Corresponds to the JSON property `valueBool` @return [Boolean]
The boolean value - this will only be present if type is bool. Corresponds to the JSON property `valueBool` @return [Boolean]
The integer value - this will only be present if type is integer. Corresponds to the JSON property `valueInteger` @return [Fixnum]
The list of string values - this will only be present if type is multiselect. Corresponds to the JSON property `valueMultiselect` @return [Array<String>]
The string value - this will be present for types string, choice and hidden. Corresponds to the JSON property `valueString` @return [String]
Public Class Methods
# File lib/google/apis/androidenterprise_v1/classes.rb, line 404 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 409 def update!(**args) @type = args[:type] if args.key?(:type) @value_bool = args[:value_bool] if args.key?(:value_bool) @value_integer = args[:value_integer] if args.key?(:value_integer) @value_multiselect = args[:value_multiselect] if args.key?(:value_multiselect) @value_string = args[:value_string] if args.key?(:value_string) end