Class: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings

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 configurations settings resource contains the set of managed properties that have been configured for an Android app to be applied to a set of users. 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) ⇒ ManagedConfigurationsSettings

Returns a new instance of ManagedConfigurationsSettings



1193
1194
1195
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1193

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


1176
1177
1178
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1176

def kind
  @kind
end

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

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



1181
1182
1183
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1181

def managed_property
  @managed_property
end

#mcm_idString

The ID of the managed configurations settings. Corresponds to the JSON property mcmId

Returns:

  • (String)


1186
1187
1188
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1186

def mcm_id
  @mcm_id
end

#nameString

The name of the managed configurations settings. Corresponds to the JSON property name

Returns:

  • (String)


1191
1192
1193
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1191

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1198
1199
1200
1201
1202
1203
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1198

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @managed_property = args[:managed_property] if args.key?(:managed_property)
  @mcm_id = args[:mcm_id] if args.key?(:mcm_id)
  @name = args[:name] if args.key?(:name)
end