google-apis-chromepolicy_v1 0.22.0 → 0.25.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: aa28c7592c288f13a0733d2ed0fa342251f9b5cae15b025092770b27e1ced7f0
4
+ data.tar.gz: ee00ef073254ab54cd92d82215ff71ad0997c24704571524013cfbe623a8136e
5
5
  SHA512:
6
- metadata.gz: 5131828b485ed7815deb35e45b0c585b097d9d99d3333c8ddfdfb59cfb35abe9385ae4368858d469b3a00a064a91b69b4079f8cd54c1b8a70a96d6181b48ecb4
7
- data.tar.gz: e056099ea107ee2f96d4d6536ca7f6814489132ead51b71f2136cbc46db662d308aa1d1bbbb8ecf977de146f3fa3073a014b3f58b9aecc0297451af49b0a666d
6
+ metadata.gz: 59142d8278c8f950bdb39c70a9296cfcd30af7e22997f331b3919a472580b57762991bb2a04dabd254d40d3b59b055f1ea7bf965e50704736e606592c94fb94b
7
+ data.tar.gz: 1c5f567553193e9b9ff66b898bd1f8c532cb76538537165a61abfbebfbe97e953adeec933680999575e557bcbde85664aa015fce4750e9794141da915b6197e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.25.0 (2022-08-31)
4
+
5
+ * Regenerated from discovery document revision 20220827
6
+
7
+ ### v0.24.0 (2022-08-17)
8
+
9
+ * Regenerated from discovery document revision 20220816
10
+
11
+ ### v0.23.0 (2022-08-10)
12
+
13
+ * Regenerated from discovery document revision 20220808
14
+
3
15
  ### v0.22.0 (2022-07-19)
4
16
 
5
17
  * 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
@@ -224,7 +388,7 @@ module Google
224
388
  end
225
389
  end
226
390
 
227
- # Resource representing a policy schema. Next ID: 12
391
+ # Resource representing a policy schema. Next ID: 14
228
392
  class GoogleChromePolicyV1PolicySchema
229
393
  include Google::Apis::Core::Hashable
230
394
 
@@ -240,6 +404,11 @@ module Google
240
404
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName>]
241
405
  attr_accessor :additional_target_key_names
242
406
 
407
+ # Output only. Title of the category in which a setting belongs.
408
+ # Corresponds to the JSON property `categoryTitle`
409
+ # @return [String]
410
+ attr_accessor :category_title
411
+
243
412
  # Describes a complete .proto file.
244
413
  # Corresponds to the JSON property `definition`
245
414
  # @return [Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto]
@@ -261,7 +430,12 @@ module Google
261
430
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription>]
262
431
  attr_accessor :notices
263
432
 
264
- # Output only. Current life cycle information.
433
+ # Output only. Current lifecycle information.
434
+ # Corresponds to the JSON property `policyApiLifecycle`
435
+ # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
436
+ attr_accessor :policy_api_lifecycle
437
+
438
+ # Deprecated field because of typo.
265
439
  # Corresponds to the JSON property `policyApiLifeycle`
266
440
  # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
267
441
  attr_accessor :policy_api_lifeycle
@@ -273,7 +447,8 @@ module Google
273
447
 
274
448
  # Output only. The fully qualified name of the policy schema. This value is used
275
449
  # to fill the field `policy_schema` in PolicyValue when calling
276
- # BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies
450
+ # BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
451
+ # BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
277
452
  # Corresponds to the JSON property `schemaName`
278
453
  # @return [String]
279
454
  attr_accessor :schema_name
@@ -296,10 +471,12 @@ module Google
296
471
  def update!(**args)
297
472
  @access_restrictions = args[:access_restrictions] if args.key?(:access_restrictions)
298
473
  @additional_target_key_names = args[:additional_target_key_names] if args.key?(:additional_target_key_names)
474
+ @category_title = args[:category_title] if args.key?(:category_title)
299
475
  @definition = args[:definition] if args.key?(:definition)
300
476
  @field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
301
477
  @name = args[:name] if args.key?(:name)
302
478
  @notices = args[:notices] if args.key?(:notices)
479
+ @policy_api_lifecycle = args[:policy_api_lifecycle] if args.key?(:policy_api_lifecycle)
303
480
  @policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
304
481
  @policy_description = args[:policy_description] if args.key?(:policy_description)
305
482
  @schema_name = args[:schema_name] if args.key?(:schema_name)
@@ -502,7 +679,8 @@ module Google
502
679
  attr_accessor :additional_target_keys
503
680
 
504
681
  # The target resource on which this policy is applied. The following resources
505
- # are supported: * Organizational Unit ("orgunits/`orgunit_id`")
682
+ # are supported: * Organizational Unit ("orgunits/`orgunit_id`") * Group ("
683
+ # groups/`group_id`")
506
684
  # Corresponds to the JSON property `targetResource`
507
685
  # @return [String]
508
686
  attr_accessor :target_resource
@@ -651,6 +829,37 @@ module Google
651
829
  end
652
830
  end
653
831
 
832
+ # Request message for updating the group priority ordering of an app.
833
+ class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
834
+ include Google::Apis::Core::Hashable
835
+
836
+ # Required. The group IDs, in desired priority ordering.
837
+ # Corresponds to the JSON property `groupIds`
838
+ # @return [Array<String>]
839
+ attr_accessor :group_ids
840
+
841
+ # Required. The namespace of the policy type for the request.
842
+ # Corresponds to the JSON property `policyNamespace`
843
+ # @return [String]
844
+ attr_accessor :policy_namespace
845
+
846
+ # The key used to identify the target on which the policy will be applied.
847
+ # Corresponds to the JSON property `policyTargetKey`
848
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
849
+ attr_accessor :policy_target_key
850
+
851
+ def initialize(**args)
852
+ update!(**args)
853
+ end
854
+
855
+ # Update properties of this object
856
+ def update!(**args)
857
+ @group_ids = args[:group_ids] if args.key?(:group_ids)
858
+ @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
859
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
860
+ end
861
+ end
862
+
654
863
  # Request message for uploading a file for a policy. Next ID: 5
655
864
  class GoogleChromePolicyV1UploadPolicyFileRequest
656
865
  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.25.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 = "20220827"
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
@@ -259,6 +356,7 @@ module Google
259
356
  collection :access_restrictions, as: 'accessRestrictions'
260
357
  collection :additional_target_key_names, as: 'additionalTargetKeyNames', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName::Representation
261
358
 
359
+ property :category_title, as: 'categoryTitle'
262
360
  property :definition, as: 'definition', class: Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto, decorator: Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto::Representation
263
361
 
264
362
  collection :field_descriptions, as: 'fieldDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription::Representation
@@ -266,6 +364,8 @@ module Google
266
364
  property :name, as: 'name'
267
365
  collection :notices, as: 'notices', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription::Representation
268
366
 
367
+ property :policy_api_lifecycle, as: 'policyApiLifecycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
368
+
269
369
  property :policy_api_lifeycle, as: 'policyApiLifeycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
270
370
 
271
371
  property :policy_description, as: 'policyDescription'
@@ -376,6 +476,16 @@ module Google
376
476
  end
377
477
  end
378
478
 
479
+ class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ collection :group_ids, as: 'groupIds'
483
+ property :policy_namespace, as: 'policyNamespace'
484
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey::Representation
485
+
486
+ end
487
+ end
488
+
379
489
  class GoogleChromePolicyV1UploadPolicyFileRequest
380
490
  # @private
381
491
  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.25.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-09-05 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.25.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: []