Class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::ManagedConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb
Overview
A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.
Instance Attribute Summary collapse
-
#configuration_variables ⇒ Google::Apis::AndroidenterpriseV1::ConfigurationVariables
A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#managed_property ⇒ Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>
The set of managed properties for this configuration.
-
#product_id ⇒ String
The ID of the product that the managed configuration is for, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedConfiguration
constructor
A new instance of ManagedConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedConfiguration
Returns a new instance of ManagedConfiguration
1100 1101 1102 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configuration_variables ⇒ Google::Apis::AndroidenterpriseV1::ConfigurationVariables
A configuration variables resource contains the managed configuration settings
ID to be applied to a single user, as well as the variable set that is
attributed to the user. The variable set will be used to replace placeholders
in the managed configuration settings.
Corresponds to the JSON property configurationVariables
1081 1082 1083 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1081 def configuration_variables @configuration_variables end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#managedConfiguration".
Corresponds to the JSON property kind
1087 1088 1089 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1087 def kind @kind end |
#managed_property ⇒ Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>
The set of managed properties for this configuration.
Corresponds to the JSON property managedProperty
1092 1093 1094 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1092 def managed_property @managed_property end |
#product_id ⇒ String
The ID of the product that the managed configuration is for, e.g. "app:com.
google.android.gm".
Corresponds to the JSON property productId
1098 1099 1100 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1098 def product_id @product_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1105 1106 1107 1108 1109 1110 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1105 def update!(**args) @configuration_variables = args[:configuration_variables] if args.key?(:configuration_variables) @kind = args[:kind] if args.key?(:kind) @managed_property = args[:managed_property] if args.key?(:managed_property) @product_id = args[:product_id] if args.key?(:product_id) end |