class Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyOrgUnitPolicyRequest

Request parameters for modifying a policy value for a specific org unit target.

Attributes

policy_target_key[RW]

The key used to identify the target on which the policy will be applied. Corresponds to the JSON property `policyTargetKey` @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]

policy_value[RW]

A particular value for a policy managed by the service. Corresponds to the JSON property `policyValue` @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]

update_mask[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 177
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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