Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest

Inherits:
Object
  • Object
show all
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 specifying that multiple policy values will be deleted.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest

Returns a new instance of GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest.



66
67
68
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 66

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#requestsArray<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest>

List of policies that will be deleted 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



64
65
66
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 64

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



71
72
73
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 71

def update!(**args)
  @requests = args[:requests] if args.key?(:requests)
end