Class: Google::Apis::AndroidenterpriseV1::VariableSet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::VariableSet
 
- 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 variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #placeholder  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The placeholder string; defined by EMM. 
- 
  
    
      #user_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value of the placeholder, specific to the user. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VariableSet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of VariableSet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VariableSet
Returns a new instance of VariableSet
| 2711 2712 2713 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2711 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#variableSet".
Corresponds to the JSON property kind
| 2699 2700 2701 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2699 def kind @kind end | 
#placeholder ⇒ String
The placeholder string; defined by EMM.
Corresponds to the JSON property placeholder
| 2704 2705 2706 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2704 def placeholder @placeholder end | 
#user_value ⇒ String
The value of the placeholder, specific to the user.
Corresponds to the JSON property userValue
| 2709 2710 2711 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2709 def user_value @user_value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2716 2717 2718 2719 2720 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 2716 def update!(**args) @kind = args[:kind] if args.key?(:kind) @placeholder = args[:placeholder] if args.key?(:placeholder) @user_value = args[:user_value] if args.key?(:user_value) end |