google-apis-chromepolicy_v1 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6846087c70aeb5ebf6dd9e60bc4204645b99d1e9d573f9bcc19fa72a87f372af
4
- data.tar.gz: c6911a9f691537330dc6298a7799e0e2fd77b2b5d8ad165a10eadb2f43250904
3
+ metadata.gz: c6b95b2313426cfb9eabe3aa173487aea56c35c8eb67681af567c2be699a2209
4
+ data.tar.gz: 024ae205db997e467591ca189e443cf0b32d6f2afdb06c9ada58c82e682b531b
5
5
  SHA512:
6
- metadata.gz: 5131828b485ed7815deb35e45b0c585b097d9d99d3333c8ddfdfb59cfb35abe9385ae4368858d469b3a00a064a91b69b4079f8cd54c1b8a70a96d6181b48ecb4
7
- data.tar.gz: e056099ea107ee2f96d4d6536ca7f6814489132ead51b71f2136cbc46db662d308aa1d1bbbb8ecf977de146f3fa3073a014b3f58b9aecc0297451af49b0a666d
6
+ metadata.gz: 12aed802e1f843c0b435cee6f256cfa4cdb65fd61a5516dfab76beb2ba0b8af72cca4d41aa3aca734a68c6c7a60428183afa1c09799da4d28515fe7485a7a261
7
+ data.tar.gz: 828cbf6d760d57b061c2505f57a78fd14dccbf37739d69721debcaa434c4859c9ee3bf2069e57abcbdaffdcdd89b35ccc83f2e58ae4da8ad1fd71060cfe67c4a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.23.0 (2022-08-10)
4
+
5
+ * Regenerated from discovery document revision 20220808
6
+
3
7
  ### v0.22.0 (2022-07-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20220718
@@ -86,6 +86,31 @@ module Google
86
86
  end
87
87
  end
88
88
 
89
+ # Request message for specifying that multiple policy values will be deleted.
90
+ class GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest
91
+ include Google::Apis::Core::Hashable
92
+
93
+ # List of policies that will be deleted as defined by the `requests`. All
94
+ # requests in the list must follow these restrictions: 1. All schemas in the
95
+ # list must have the same root namespace. 2. All `policyTargetKey.targetResource`
96
+ # values must point to a group resource. 3. All `policyTargetKey` values must
97
+ # have the same `app_id` key name in the `additionalTargetKeys`. 4. No two
98
+ # modification requests can reference the same `policySchema` + `
99
+ # policyTargetKey` pair.
100
+ # Corresponds to the JSON property `requests`
101
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DeleteGroupPolicyRequest>]
102
+ attr_accessor :requests
103
+
104
+ def initialize(**args)
105
+ update!(**args)
106
+ end
107
+
108
+ # Update properties of this object
109
+ def update!(**args)
110
+ @requests = args[:requests] if args.key?(:requests)
111
+ end
112
+ end
113
+
89
114
  # Request message for specifying that multiple policy values inherit their value
90
115
  # from their parents.
91
116
  class GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest
@@ -114,6 +139,31 @@ module Google
114
139
  end
115
140
  end
116
141
 
142
+ # Request message for modifying multiple policy values for a specific group-
143
+ # based target.
144
+ class GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
145
+ include Google::Apis::Core::Hashable
146
+
147
+ # List of policies to modify as defined by the `requests`. All requests in the
148
+ # list must follow these restrictions: 1. All schemas in the list must have the
149
+ # same root namespace. 2. All `policyTargetKey.targetResource` values must point
150
+ # to a group resource. 3. All `policyTargetKey` values must have the same `
151
+ # app_id` key name in the `additionalTargetKeys`. 4. No two modification
152
+ # requests can reference the same `policySchema` + ` policyTargetKey` pair.
153
+ # Corresponds to the JSON property `requests`
154
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest>]
155
+ attr_accessor :requests
156
+
157
+ def initialize(**args)
158
+ update!(**args)
159
+ end
160
+
161
+ # Update properties of this object
162
+ def update!(**args)
163
+ @requests = args[:requests] if args.key?(:requests)
164
+ end
165
+ end
166
+
117
167
  # Request message for modifying multiple policy values for a specific target.
118
168
  class GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest
119
169
  include Google::Apis::Core::Hashable
@@ -140,6 +190,31 @@ module Google
140
190
  end
141
191
  end
142
192
 
193
+ # Request parameters for deleting the policy value of a specific group target.
194
+ class GoogleChromePolicyV1DeleteGroupPolicyRequest
195
+ include Google::Apis::Core::Hashable
196
+
197
+ # The fully qualified name of the policy schema that is being inherited.
198
+ # Corresponds to the JSON property `policySchema`
199
+ # @return [String]
200
+ attr_accessor :policy_schema
201
+
202
+ # The key used to identify the target on which the policy will be applied.
203
+ # Corresponds to the JSON property `policyTargetKey`
204
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
205
+ attr_accessor :policy_target_key
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
214
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
215
+ end
216
+ end
217
+
143
218
  # Request parameters for inheriting policy value of a specific org unit target
144
219
  # from the policy value of its parent org unit.
145
220
  class GoogleChromePolicyV1InheritOrgUnitPolicyRequest
@@ -166,6 +241,62 @@ module Google
166
241
  end
167
242
  end
168
243
 
244
+ # Request message for listing the group priority ordering of an app.
245
+ class GoogleChromePolicyV1ListGroupPriorityOrderingRequest
246
+ include Google::Apis::Core::Hashable
247
+
248
+ # Required. The namespace of the policy type for the request.
249
+ # Corresponds to the JSON property `policyNamespace`
250
+ # @return [String]
251
+ attr_accessor :policy_namespace
252
+
253
+ # The key used to identify the target on which the policy will be applied.
254
+ # Corresponds to the JSON property `policyTargetKey`
255
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
256
+ attr_accessor :policy_target_key
257
+
258
+ def initialize(**args)
259
+ update!(**args)
260
+ end
261
+
262
+ # Update properties of this object
263
+ def update!(**args)
264
+ @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
265
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
266
+ end
267
+ end
268
+
269
+ # Response message for listing the group priority ordering of an app.
270
+ class GoogleChromePolicyV1ListGroupPriorityOrderingResponse
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # Output only. The group IDs, in priority ordering.
274
+ # Corresponds to the JSON property `groupIds`
275
+ # @return [Array<String>]
276
+ attr_accessor :group_ids
277
+
278
+ # Output only. The namespace of the policy type of the group IDs.
279
+ # Corresponds to the JSON property `policyNamespace`
280
+ # @return [String]
281
+ attr_accessor :policy_namespace
282
+
283
+ # The key used to identify the target on which the policy will be applied.
284
+ # Corresponds to the JSON property `policyTargetKey`
285
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
286
+ attr_accessor :policy_target_key
287
+
288
+ def initialize(**args)
289
+ update!(**args)
290
+ end
291
+
292
+ # Update properties of this object
293
+ def update!(**args)
294
+ @group_ids = args[:group_ids] if args.key?(:group_ids)
295
+ @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
296
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
297
+ end
298
+ end
299
+
169
300
  # Response message for listing policy schemas that match a filter.
170
301
  class GoogleChromePolicyV1ListPolicySchemasResponse
171
302
  include Google::Apis::Core::Hashable
@@ -191,6 +322,39 @@ module Google
191
322
  end
192
323
  end
193
324
 
325
+ # Request parameters for modifying a policy value for a specific group target.
326
+ class GoogleChromePolicyV1ModifyGroupPolicyRequest
327
+ include Google::Apis::Core::Hashable
328
+
329
+ # The key used to identify the target on which the policy will be applied.
330
+ # Corresponds to the JSON property `policyTargetKey`
331
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
332
+ attr_accessor :policy_target_key
333
+
334
+ # A particular value for a policy managed by the service.
335
+ # Corresponds to the JSON property `policyValue`
336
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
337
+ attr_accessor :policy_value
338
+
339
+ # Required. Policy fields to update. Only fields in this mask will be updated;
340
+ # other fields in `policy_value` will be ignored (even if they have values). If
341
+ # a field is in this list it must have a value in 'policy_value'.
342
+ # Corresponds to the JSON property `updateMask`
343
+ # @return [String]
344
+ attr_accessor :update_mask
345
+
346
+ def initialize(**args)
347
+ update!(**args)
348
+ end
349
+
350
+ # Update properties of this object
351
+ def update!(**args)
352
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
353
+ @policy_value = args[:policy_value] if args.key?(:policy_value)
354
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
355
+ end
356
+ end
357
+
194
358
  # Request parameters for modifying a policy value for a specific org unit target.
195
359
  class GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
196
360
  include Google::Apis::Core::Hashable
@@ -273,7 +437,8 @@ module Google
273
437
 
274
438
  # Output only. The fully qualified name of the policy schema. This value is used
275
439
  # to fill the field `policy_schema` in PolicyValue when calling
276
- # BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies
440
+ # BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
441
+ # BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
277
442
  # Corresponds to the JSON property `schemaName`
278
443
  # @return [String]
279
444
  attr_accessor :schema_name
@@ -502,7 +667,8 @@ module Google
502
667
  attr_accessor :additional_target_keys
503
668
 
504
669
  # The target resource on which this policy is applied. The following resources
505
- # are supported: * Organizational Unit ("orgunits/`orgunit_id`")
670
+ # are supported: * Organizational Unit ("orgunits/`orgunit_id`") * Group ("
671
+ # groups/`group_id`")
506
672
  # Corresponds to the JSON property `targetResource`
507
673
  # @return [String]
508
674
  attr_accessor :target_resource
@@ -651,6 +817,37 @@ module Google
651
817
  end
652
818
  end
653
819
 
820
+ # Request message for updating the group priority ordering of an app.
821
+ class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
822
+ include Google::Apis::Core::Hashable
823
+
824
+ # Required. The group IDs, in desired priority ordering.
825
+ # Corresponds to the JSON property `groupIds`
826
+ # @return [Array<String>]
827
+ attr_accessor :group_ids
828
+
829
+ # Required. The namespace of the policy type for the request.
830
+ # Corresponds to the JSON property `policyNamespace`
831
+ # @return [String]
832
+ attr_accessor :policy_namespace
833
+
834
+ # The key used to identify the target on which the policy will be applied.
835
+ # Corresponds to the JSON property `policyTargetKey`
836
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
837
+ attr_accessor :policy_target_key
838
+
839
+ def initialize(**args)
840
+ update!(**args)
841
+ end
842
+
843
+ # Update properties of this object
844
+ def update!(**args)
845
+ @group_ids = args[:group_ids] if args.key?(:group_ids)
846
+ @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
847
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
848
+ end
849
+ end
850
+
654
851
  # Request message for uploading a file for a policy. Next ID: 5
655
852
  class GoogleChromePolicyV1UploadPolicyFileRequest
656
853
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ChromepolicyV1
18
18
  # Version of the google-apis-chromepolicy_v1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220718"
25
+ REVISION = "20220808"
26
26
  end
27
27
  end
28
28
  end
@@ -34,30 +34,66 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class GoogleChromePolicyV1DeleteGroupPolicyRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
49
67
  class GoogleChromePolicyV1InheritOrgUnitPolicyRequest
50
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
69
 
52
70
  include Google::Apis::Core::JsonObjectSupport
53
71
  end
54
72
 
73
+ class GoogleChromePolicyV1ListGroupPriorityOrderingRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleChromePolicyV1ListGroupPriorityOrderingResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
55
85
  class GoogleChromePolicyV1ListPolicySchemasResponse
56
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
87
 
58
88
  include Google::Apis::Core::JsonObjectSupport
59
89
  end
60
90
 
91
+ class GoogleChromePolicyV1ModifyGroupPolicyRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
61
97
  class GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
62
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
99
 
@@ -130,6 +166,12 @@ module Google
130
166
  include Google::Apis::Core::JsonObjectSupport
131
167
  end
132
168
 
169
+ class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
133
175
  class GoogleChromePolicyV1UploadPolicyFileRequest
134
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
177
 
@@ -208,6 +250,14 @@ module Google
208
250
  end
209
251
  end
210
252
 
253
+ class GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest
254
+ # @private
255
+ class Representation < Google::Apis::Core::JsonRepresentation
256
+ collection :requests, as: 'requests', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DeleteGroupPolicyRequest, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DeleteGroupPolicyRequest::Representation
257
+
258
+ end
259
+ end
260
+
211
261
  class GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest
212
262
  # @private
213
263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -216,6 +266,14 @@ module Google
216
266
  end
217
267
  end
218
268
 
269
+ class GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
270
+ # @private
271
+ class Representation < Google::Apis::Core::JsonRepresentation
272
+ collection :requests, as: 'requests', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest::Representation
273
+
274
+ end
275
+ end
276
+
219
277
  class GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest
220
278
  # @private
221
279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -224,6 +282,15 @@ module Google
224
282
  end
225
283
  end
226
284
 
285
+ class GoogleChromePolicyV1DeleteGroupPolicyRequest
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :policy_schema, as: 'policySchema'
289
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
290
+
291
+ end
292
+ end
293
+
227
294
  class GoogleChromePolicyV1InheritOrgUnitPolicyRequest
228
295
  # @private
229
296
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -233,6 +300,25 @@ module Google
233
300
  end
234
301
  end
235
302
 
303
+ class GoogleChromePolicyV1ListGroupPriorityOrderingRequest
304
+ # @private
305
+ class Representation < Google::Apis::Core::JsonRepresentation
306
+ property :policy_namespace, as: 'policyNamespace'
307
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
308
+
309
+ end
310
+ end
311
+
312
+ class GoogleChromePolicyV1ListGroupPriorityOrderingResponse
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ collection :group_ids, as: 'groupIds'
316
+ property :policy_namespace, as: 'policyNamespace'
317
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
318
+
319
+ end
320
+ end
321
+
236
322
  class GoogleChromePolicyV1ListPolicySchemasResponse
237
323
  # @private
238
324
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -242,6 +328,17 @@ module Google
242
328
  end
243
329
  end
244
330
 
331
+ class GoogleChromePolicyV1ModifyGroupPolicyRequest
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
335
+
336
+ property :policy_value, as: 'policyValue', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue::Representation
337
+
338
+ property :update_mask, as: 'updateMask'
339
+ end
340
+ end
341
+
245
342
  class GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
246
343
  # @private
247
344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -376,6 +473,16 @@ module Google
376
473
  end
377
474
  end
378
475
 
476
+ class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ collection :group_ids, as: 'groupIds'
480
+ property :policy_namespace, as: 'policyNamespace'
481
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
482
+
483
+ end
484
+ end
485
+
379
486
  class GoogleChromePolicyV1UploadPolicyFileRequest
380
487
  # @private
381
488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -86,6 +86,156 @@ module Google
86
86
  execute_or_queue_command(command, &block)
87
87
  end
88
88
 
89
+ # Delete multiple policy values that are applied to a specific group. All
90
+ # targets must have the same target format. That is to say that they must point
91
+ # to the same target resource and must have the same keys specified in `
92
+ # additionalTargetKeyNames`, though the values for those keys may be different.
93
+ # On failure the request will return the error details as part of the google.rpc.
94
+ # Status.
95
+ # @param [String] customer
96
+ # ID of the Google Workspace account or literal "my_customer" for the customer
97
+ # associated to the request.
98
+ # @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest] google_chrome_policy_v1_batch_delete_group_policies_request_object
99
+ # @param [String] fields
100
+ # Selector specifying which fields to include in a partial response.
101
+ # @param [String] quota_user
102
+ # Available to use for quota purposes for server-side applications. Can be any
103
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
104
+ # @param [Google::Apis::RequestOptions] options
105
+ # Request-specific options
106
+ #
107
+ # @yield [result, err] Result & error if block supplied
108
+ # @yieldparam result [Google::Apis::ChromepolicyV1::GoogleProtobufEmpty] parsed result object
109
+ # @yieldparam err [StandardError] error object if request failed
110
+ #
111
+ # @return [Google::Apis::ChromepolicyV1::GoogleProtobufEmpty]
112
+ #
113
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
116
+ def batch_customer_policy_group_delete(customer, google_chrome_policy_v1_batch_delete_group_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
117
+ command = make_simple_command(:post, 'v1/{+customer}/policies/groups:batchDelete', options)
118
+ command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest::Representation
119
+ command.request_object = google_chrome_policy_v1_batch_delete_group_policies_request_object
120
+ command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
121
+ command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
122
+ command.params['customer'] = customer unless customer.nil?
123
+ command.query['fields'] = fields unless fields.nil?
124
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
125
+ execute_or_queue_command(command, &block)
126
+ end
127
+
128
+ # Modify multiple policy values that are applied to a specific group. All
129
+ # targets must have the same target format. That is to say that they must point
130
+ # to the same target resource and must have the same keys specified in `
131
+ # additionalTargetKeyNames`, though the values for those keys may be different.
132
+ # On failure the request will return the error details as part of the google.rpc.
133
+ # Status.
134
+ # @param [String] customer
135
+ # ID of the Google Workspace account or literal "my_customer" for the customer
136
+ # associated to the request.
137
+ # @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1BatchModifyGroupPoliciesRequest] google_chrome_policy_v1_batch_modify_group_policies_request_object
138
+ # @param [String] fields
139
+ # Selector specifying which fields to include in a partial response.
140
+ # @param [String] quota_user
141
+ # Available to use for quota purposes for server-side applications. Can be any
142
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
143
+ # @param [Google::Apis::RequestOptions] options
144
+ # Request-specific options
145
+ #
146
+ # @yield [result, err] Result & error if block supplied
147
+ # @yieldparam result [Google::Apis::ChromepolicyV1::GoogleProtobufEmpty] parsed result object
148
+ # @yieldparam err [StandardError] error object if request failed
149
+ #
150
+ # @return [Google::Apis::ChromepolicyV1::GoogleProtobufEmpty]
151
+ #
152
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
153
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
154
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
155
+ def batch_customer_policy_group_modify(customer, google_chrome_policy_v1_batch_modify_group_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
156
+ command = make_simple_command(:post, 'v1/{+customer}/policies/groups:batchModify', options)
157
+ command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1BatchModifyGroupPoliciesRequest::Representation
158
+ command.request_object = google_chrome_policy_v1_batch_modify_group_policies_request_object
159
+ command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
160
+ command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
161
+ command.params['customer'] = customer unless customer.nil?
162
+ command.query['fields'] = fields unless fields.nil?
163
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
164
+ execute_or_queue_command(command, &block)
165
+ end
166
+
167
+ # Retrieve a group priority ordering for an app. The target app must be supplied
168
+ # in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request
169
+ # will return the error details as part of the google.rpc.Status.
170
+ # @param [String] customer
171
+ # Required. ID of the Google Workspace account or literal "my_customer" for the
172
+ # customer associated to the request.
173
+ # @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingRequest] google_chrome_policy_v1_list_group_priority_ordering_request_object
174
+ # @param [String] fields
175
+ # Selector specifying which fields to include in a partial response.
176
+ # @param [String] quota_user
177
+ # Available to use for quota purposes for server-side applications. Can be any
178
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
179
+ # @param [Google::Apis::RequestOptions] options
180
+ # Request-specific options
181
+ #
182
+ # @yield [result, err] Result & error if block supplied
183
+ # @yieldparam result [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingResponse] parsed result object
184
+ # @yieldparam err [StandardError] error object if request failed
185
+ #
186
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingResponse]
187
+ #
188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
191
+ def list_customer_policy_group_group_priority_ordering(customer, google_chrome_policy_v1_list_group_priority_ordering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
192
+ command = make_simple_command(:post, 'v1/{+customer}/policies/groups:listGroupPriorityOrdering', options)
193
+ command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingRequest::Representation
194
+ command.request_object = google_chrome_policy_v1_list_group_priority_ordering_request_object
195
+ command.response_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingResponse::Representation
196
+ command.response_class = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingResponse
197
+ command.params['customer'] = customer unless customer.nil?
198
+ command.query['fields'] = fields unless fields.nil?
199
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
200
+ execute_or_queue_command(command, &block)
201
+ end
202
+
203
+ # Update a group priority ordering for an app. The target app must be supplied
204
+ # in `additionalTargetKeyNames` in the PolicyTargetKey. On failure the request
205
+ # will return the error details as part of the google.rpc.Status.
206
+ # @param [String] customer
207
+ # Required. ID of the Google Workspace account or literal "my_customer" for the
208
+ # customer associated to the request.
209
+ # @param [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest] google_chrome_policy_v1_update_group_priority_ordering_request_object
210
+ # @param [String] fields
211
+ # Selector specifying which fields to include in a partial response.
212
+ # @param [String] quota_user
213
+ # Available to use for quota purposes for server-side applications. Can be any
214
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
215
+ # @param [Google::Apis::RequestOptions] options
216
+ # Request-specific options
217
+ #
218
+ # @yield [result, err] Result & error if block supplied
219
+ # @yieldparam result [Google::Apis::ChromepolicyV1::GoogleProtobufEmpty] parsed result object
220
+ # @yieldparam err [StandardError] error object if request failed
221
+ #
222
+ # @return [Google::Apis::ChromepolicyV1::GoogleProtobufEmpty]
223
+ #
224
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
225
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
226
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
227
+ def update_customer_policy_group_group_priority_ordering(customer, google_chrome_policy_v1_update_group_priority_ordering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
228
+ command = make_simple_command(:post, 'v1/{+customer}/policies/groups:updateGroupPriorityOrdering', options)
229
+ command.request_representation = Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest::Representation
230
+ command.request_object = google_chrome_policy_v1_update_group_priority_ordering_request_object
231
+ command.response_representation = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty::Representation
232
+ command.response_class = Google::Apis::ChromepolicyV1::GoogleProtobufEmpty
233
+ command.params['customer'] = customer unless customer.nil?
234
+ command.query['fields'] = fields unless fields.nil?
235
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
236
+ execute_or_queue_command(command, &block)
237
+ end
238
+
89
239
  # Modify multiple policy values that are applied to a specific org unit so that
90
240
  # they now inherit the value from a parent (if applicable). All targets must
91
241
  # have the same target format. That is to say that they must point to the same
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-chromepolicy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []