Class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ManagedConfiguration

Returns a new instance of ManagedConfiguration



1053
1054
1055
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1053

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#managedConfiguration". Corresponds to the JSON property kind

Returns:

  • (String)


1040
1041
1042
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1040

def kind
  @kind
end

#managed_propertyArray<Google::Apis::AndroidenterpriseV1::ManagedProperty>

The set of managed properties for this configuration. Corresponds to the JSON property managedProperty



1045
1046
1047
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1045

def managed_property
  @managed_property
end

#product_idString

The ID of the product that the managed configuration is for, e.g. "app:com. google.android.gm". Corresponds to the JSON property productId

Returns:

  • (String)


1051
1052
1053
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1051

def product_id
  @product_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
1061
1062
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1058

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