Class: Google::Apis::AndroidenterpriseV1::ConfigurationVariables

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 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.

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) ⇒ ConfigurationVariables

Returns a new instance of ConfigurationVariables



433
434
435
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 433

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


421
422
423
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 421

def kind
  @kind
end

#mcm_idString

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

Returns:

  • (String)


426
427
428
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 426

def mcm_id
  @mcm_id
end

#variable_setArray<Google::Apis::AndroidenterpriseV1::VariableSet>

The variable set that is attributed to the user. Corresponds to the JSON property variableSet



431
432
433
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 431

def variable_set
  @variable_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



438
439
440
441
442
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 438

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