Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest
- 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 message for modifying multiple policy values for a specific target.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest>
List of policies to modify as defined by the
requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest
constructor
A new instance of GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest
Returns a new instance of GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest.
191 192 193 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest>
List of policies to modify as defined by the requests. All requests in the
list must follow these restrictions: 1. All schemas in the list must have the
same root namespace. 2. All policyTargetKey.targetResource values must point
to an org unit resource. 3. All policyTargetKey values must have the same
key names in the additionalTargetKeys. This also means if one of the
targets has an empty additionalTargetKeys map, all of the targets must have
an empty additionalTargetKeys map. 4. No two modification requests can
reference the same policySchema + policyTargetKey pair.
Corresponds to the JSON property requests
189 190 191 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 189 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
196 197 198 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 196 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |