Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolvedPolicy
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolvedPolicy
 
- 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
The resolved value of a policy for a given target.
Instance Attribute Summary collapse
- 
  
    
      #source_key  ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The key used to identify the target on which the policy will be applied. 
- 
  
    
      #target_key  ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The key used to identify the target on which the policy will be applied. 
- 
  
    
      #value  ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A particular value for a policy managed by the service. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleChromePolicyV1ResolvedPolicy 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleChromePolicyV1ResolvedPolicy. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1ResolvedPolicy
Returns a new instance of GoogleChromePolicyV1ResolvedPolicy.
| 551 552 553 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 551 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#source_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property sourceKey
| 539 540 541 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 539 def source_key @source_key end | 
#target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property targetKey
| 544 545 546 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 544 def target_key @target_key end | 
#value ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue
A particular value for a policy managed by the service.
Corresponds to the JSON property value
| 549 550 551 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 549 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 556 557 558 559 560 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 556 def update!(**args) @source_key = args[:source_key] if args.key?(:source_key) @target_key = args[:target_key] if args.key?(:target_key) @value = args[:value] if args.key?(:value) end |