Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
 lib/google/apis/chromepolicy_v1/representations.rb,
 lib/google/apis/chromepolicy_v1/representations.rb
Overview
Additional key names that will be used to identify the target of the policy value.
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Key name. 
- 
  
    
      #key_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Key description. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleChromePolicyV1AdditionalTargetKeyName 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleChromePolicyV1AdditionalTargetKeyName. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1AdditionalTargetKeyName
Returns a new instance of GoogleChromePolicyV1AdditionalTargetKeyName.
| 40 41 42 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 40 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#key ⇒ String
Key name.
Corresponds to the JSON property key
| 33 34 35 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 33 def key @key end | 
#key_description ⇒ String
Key description.
Corresponds to the JSON property keyDescription
| 38 39 40 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 38 def key_description @key_description end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 45 46 47 48 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 45 def update!(**args) @key = args[:key] if args.key?(:key) @key_description = args[:key_description] if args.key?(:key_description) end |