Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
 
- 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
Request parameters for modifying a policy value for a specific org unit target.
Instance Attribute Summary collapse
- 
  
    
      #policy_target_key  ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The key used to identify the target on which the policy will be applied. 
- 
  
    
      #policy_value  ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A particular value for a policy managed by the service. 
- 
  
    
      #update_mask  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleChromePolicyV1ModifyOrgUnitPolicyRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleChromePolicyV1ModifyOrgUnitPolicyRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
Returns a new instance of GoogleChromePolicyV1ModifyOrgUnitPolicyRequest.
| 177 178 179 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 177 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#policy_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 policyTargetKey
| 163 164 165 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 163 def policy_target_key @policy_target_key end | 
#policy_value ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue
A particular value for a policy managed by the service.
Corresponds to the JSON property policyValue
| 168 169 170 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 168 def policy_value @policy_value end | 
#update_mask ⇒ String
Required. Policy fields to update. Only fields in this mask will be updated;
other fields in policy_value will be ignored (even if they have values). If
a field is in this list it must have a value in 'policy_value'.
Corresponds to the JSON property updateMask
| 175 176 177 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 175 def update_mask @update_mask end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 182 183 184 185 186 | # File 'lib/google/apis/chromepolicy_v1/classes.rb', line 182 def update!(**args) @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key) @policy_value = args[:policy_value] if args.key?(:policy_value) @update_mask = args[:update_mask] if args.key?(:update_mask) end |