Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue
 
- 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
A particular value for a policy managed by the service.
Instance Attribute Summary collapse
- 
  
    
      #policy_schema  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The fully qualified name of the policy schema associated with this policy. 
- 
  
    
      #value  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The value of the policy that is compatible with the schema that it is associated with. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleChromePolicyV1PolicyValue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleChromePolicyV1PolicyValue. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1PolicyValue
Returns a new instance of GoogleChromePolicyV1PolicyValue.
| 451 452 453 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 451 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#policy_schema ⇒ String
The fully qualified name of the policy schema associated with this policy.
Corresponds to the JSON property policySchema
| 443 444 445 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 443 def policy_schema @policy_schema end | 
#value ⇒ Hash<String,Object>
The value of the policy that is compatible with the schema that it is
associated with.
Corresponds to the JSON property value
| 449 450 451 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 449 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 456 457 458 459 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 456 def update!(**args) @policy_schema = args[:policy_schema] if args.key?(:policy_schema) @value = args[:value] if args.key?(:value) end |