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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/google/apis/androidenterprise_v1/representations.rb

Overview

Deprecated: New integrations cannot use this method and can refer to our new recommendations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedConfiguration

Returns a new instance of ManagedConfiguration.



1447
1448
1449
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1447

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

Instance Attribute Details

#configuration_variablesGoogle::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



1429
1430
1431
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1429

def configuration_variables
  @configuration_variables
end

#kindString

Deprecated. Corresponds to the JSON property kind

Returns:

  • (String)


1434
1435
1436
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1434

def kind
  @kind
end

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

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



1439
1440
1441
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1439

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)


1445
1446
1447
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1445

def product_id
  @product_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1452
1453
1454
1455
1456
1457
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1452

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