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



653
654
655
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 653

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)


641
642
643
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 641

def kind
  @kind
end

#mcm_idString

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

Returns:

  • (String)


646
647
648
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 646

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



651
652
653
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 651

def variable_set
  @variable_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



658
659
660
661
662
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 658

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