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



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

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)


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

def kind
  @kind
end

#mcm_idString

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

Returns:

  • (String)


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

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



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

def variable_set
  @variable_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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