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



628
629
630
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 628

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)


616
617
618
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 616

def kind
  @kind
end

#mcm_idString

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

Returns:

  • (String)


621
622
623
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 621

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



626
627
628
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 626

def variable_set
  @variable_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



633
634
635
636
637
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 633

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