Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
- 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 group- based target.
Instance Attribute Summary collapse
-
#requests ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest>
List of policies to modify as defined by the
requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
constructor
A new instance of GoogleChromePolicyV1BatchModifyGroupPoliciesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
Returns a new instance of GoogleChromePolicyV1BatchModifyGroupPoliciesRequest.
157 158 159 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest>
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 a group resource. 3. All policyTargetKey values must have the same
app_id key name in the additionalTargetKeys. 4. No two modification
requests can reference the same policySchema + policyTargetKey pair.
Corresponds to the JSON property requests
155 156 157 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 155 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 162 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |