class Google::Apis::AndroidenterpriseV1::ManagedProperty
A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
Attributes
The unique key that identifies the property. Corresponds to the JSON property `key` @return [String]
The boolean value - this will only be present if type of the property is bool. Corresponds to the JSON property `valueBool` @return [Boolean]
The boolean value - this will only be present if type of the property is bool. Corresponds to the JSON property `valueBool` @return [Boolean]
A bundle of managed properties. Corresponds to the JSON property `valueBundle` @return [Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle]
The list of bundles of properties - this will only be present if type of the property is bundle_array. Corresponds to the JSON property `valueBundleArray` @return [Array<Google::Apis::AndroidenterpriseV1::ManagedPropertyBundle>]
The integer value - this will only be present if type of the property is integer. Corresponds to the JSON property `valueInteger` @return [Fixnum]
The string value - this will only be present if type of the property is string, choice or hidden. Corresponds to the JSON property `valueString` @return [String]
The list of string values - this will only be present if type of the property is multiselect. Corresponds to the JSON property `valueStringArray` @return [Array<String>]
Public Class Methods
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1507 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1512 def update!(**args) @key = args[:key] if args.key?(:key) @value_bool = args[:value_bool] if args.key?(:value_bool) @value_bundle = args[:value_bundle] if args.key?(:value_bundle) @value_bundle_array = args[:value_bundle_array] if args.key?(:value_bundle_array) @value_integer = args[:value_integer] if args.key?(:value_integer) @value_string = args[:value_string] if args.key?(:value_string) @value_string_array = args[:value_string_array] if args.key?(:value_string_array) end