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 that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.
Instance Attribute Summary collapse
-
#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
1020 1021 1022 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#managedConfiguration".
Corresponds to the JSON property kind
1007 1008 1009 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1007 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
1012 1013 1014 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1012 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
1018 1019 1020 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1018 def product_id @product_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1025 1026 1027 1028 1029 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1025 def update!(**args) @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 |