google-apis-chromepolicy_v1 0.27.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ module Google
62
62
 
63
63
  # Additional key names that will be used to identify the target of the policy
64
64
  # value.
65
- class GoogleChromePolicyV1AdditionalTargetKeyName
65
+ class GoogleChromePolicyVersionsV1AdditionalTargetKeyName
66
66
  include Google::Apis::Core::Hashable
67
67
 
68
68
  # Key name.
@@ -87,7 +87,7 @@ module Google
87
87
  end
88
88
 
89
89
  # Request message for specifying that multiple policy values will be deleted.
90
- class GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest
90
+ class GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest
91
91
  include Google::Apis::Core::Hashable
92
92
 
93
93
  # List of policies that will be deleted as defined by the `requests`. All
@@ -98,7 +98,7 @@ module Google
98
98
  # modification requests can reference the same `policySchema` + `
99
99
  # policyTargetKey` pair.
100
100
  # Corresponds to the JSON property `requests`
101
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DeleteGroupPolicyRequest>]
101
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest>]
102
102
  attr_accessor :requests
103
103
 
104
104
  def initialize(**args)
@@ -113,7 +113,7 @@ module Google
113
113
 
114
114
  # Request message for specifying that multiple policy values inherit their value
115
115
  # from their parents.
116
- class GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest
116
+ class GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest
117
117
  include Google::Apis::Core::Hashable
118
118
 
119
119
  # List of policies that have to inherit their values as defined by the `requests`
@@ -126,7 +126,7 @@ module Google
126
126
  # additionalTargetKeys` map. 4. No two modification requests can reference the
127
127
  # same `policySchema` + ` policyTargetKey` pair.
128
128
  # Corresponds to the JSON property `requests`
129
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1InheritOrgUnitPolicyRequest>]
129
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest>]
130
130
  attr_accessor :requests
131
131
 
132
132
  def initialize(**args)
@@ -141,7 +141,7 @@ module Google
141
141
 
142
142
  # Request message for modifying multiple policy values for a specific group-
143
143
  # based target.
144
- class GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
144
+ class GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest
145
145
  include Google::Apis::Core::Hashable
146
146
 
147
147
  # List of policies to modify as defined by the `requests`. All requests in the
@@ -151,7 +151,7 @@ module Google
151
151
  # app_id` key name in the `additionalTargetKeys`. 4. No two modification
152
152
  # requests can reference the same `policySchema` + ` policyTargetKey` pair.
153
153
  # Corresponds to the JSON property `requests`
154
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest>]
154
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest>]
155
155
  attr_accessor :requests
156
156
 
157
157
  def initialize(**args)
@@ -165,7 +165,7 @@ module Google
165
165
  end
166
166
 
167
167
  # Request message for modifying multiple policy values for a specific target.
168
- class GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest
168
+ class GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest
169
169
  include Google::Apis::Core::Hashable
170
170
 
171
171
  # List of policies to modify as defined by the `requests`. All requests in the
@@ -177,7 +177,7 @@ module Google
177
177
  # an empty `additionalTargetKeys` map. 4. No two modification requests can
178
178
  # reference the same `policySchema` + ` policyTargetKey` pair.
179
179
  # Corresponds to the JSON property `requests`
180
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyOrgUnitPolicyRequest>]
180
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest>]
181
181
  attr_accessor :requests
182
182
 
183
183
  def initialize(**args)
@@ -190,8 +190,145 @@ module Google
190
190
  end
191
191
  end
192
192
 
193
+ # Request object for creating a certificate.
194
+ class GoogleChromePolicyVersionsV1DefineCertificateRequest
195
+ include Google::Apis::Core::Hashable
196
+
197
+ # Optional. The optional name of the certificate. If not specified, the
198
+ # certificate issuer will be used as the name.
199
+ # Corresponds to the JSON property `ceritificateName`
200
+ # @return [String]
201
+ attr_accessor :ceritificate_name
202
+
203
+ # Required. The raw contents of the .PEM, .CRT, or .CER file.
204
+ # Corresponds to the JSON property `certificate`
205
+ # @return [String]
206
+ attr_accessor :certificate
207
+
208
+ # Optional. Certificate settings within the chrome.networks.certificates
209
+ # namespace.
210
+ # Corresponds to the JSON property `settings`
211
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
212
+ attr_accessor :settings
213
+
214
+ # Required. The target resource on which this certificate is applied. The
215
+ # following resources are supported: * Organizational Unit ("orgunits/`
216
+ # orgunit_id`")
217
+ # Corresponds to the JSON property `targetResource`
218
+ # @return [String]
219
+ attr_accessor :target_resource
220
+
221
+ def initialize(**args)
222
+ update!(**args)
223
+ end
224
+
225
+ # Update properties of this object
226
+ def update!(**args)
227
+ @ceritificate_name = args[:ceritificate_name] if args.key?(:ceritificate_name)
228
+ @certificate = args[:certificate] if args.key?(:certificate)
229
+ @settings = args[:settings] if args.key?(:settings)
230
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
231
+ end
232
+ end
233
+
234
+ # Response object for creating a certificate.
235
+ class GoogleChromePolicyVersionsV1DefineCertificateResponse
236
+ include Google::Apis::Core::Hashable
237
+
238
+ # The guid of the certificate created by the action.
239
+ # Corresponds to the JSON property `networkId`
240
+ # @return [String]
241
+ attr_accessor :network_id
242
+
243
+ # the affiliated settings of the certificate (NOT IMPLEMENTED)
244
+ # Corresponds to the JSON property `settings`
245
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
246
+ attr_accessor :settings
247
+
248
+ # the resource at which the certificate is defined.
249
+ # Corresponds to the JSON property `targetResource`
250
+ # @return [String]
251
+ attr_accessor :target_resource
252
+
253
+ def initialize(**args)
254
+ update!(**args)
255
+ end
256
+
257
+ # Update properties of this object
258
+ def update!(**args)
259
+ @network_id = args[:network_id] if args.key?(:network_id)
260
+ @settings = args[:settings] if args.key?(:settings)
261
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
262
+ end
263
+ end
264
+
265
+ # Request object for creating a new network.
266
+ class GoogleChromePolicyVersionsV1DefineNetworkRequest
267
+ include Google::Apis::Core::Hashable
268
+
269
+ # Required. Name of the new created network.
270
+ # Corresponds to the JSON property `name`
271
+ # @return [String]
272
+ attr_accessor :name
273
+
274
+ # Required. Detailed network settings.
275
+ # Corresponds to the JSON property `settings`
276
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
277
+ attr_accessor :settings
278
+
279
+ # Required. The target resource on which this new network will be defined. The
280
+ # following resources are supported: * Organizational Unit ("orgunits/`
281
+ # orgunit_id`")
282
+ # Corresponds to the JSON property `targetResource`
283
+ # @return [String]
284
+ attr_accessor :target_resource
285
+
286
+ def initialize(**args)
287
+ update!(**args)
288
+ end
289
+
290
+ # Update properties of this object
291
+ def update!(**args)
292
+ @name = args[:name] if args.key?(:name)
293
+ @settings = args[:settings] if args.key?(:settings)
294
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
295
+ end
296
+ end
297
+
298
+ # Response object for creating a network.
299
+ class GoogleChromePolicyVersionsV1DefineNetworkResponse
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # Network ID of the new created network.
303
+ # Corresponds to the JSON property `networkId`
304
+ # @return [String]
305
+ attr_accessor :network_id
306
+
307
+ # Detailed network settings of the new created network
308
+ # Corresponds to the JSON property `settings`
309
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
310
+ attr_accessor :settings
311
+
312
+ # The target resource on which this new network will be defined. The following
313
+ # resources are supported: * Organizational Unit ("orgunits/`orgunit_id`")
314
+ # Corresponds to the JSON property `targetResource`
315
+ # @return [String]
316
+ attr_accessor :target_resource
317
+
318
+ def initialize(**args)
319
+ update!(**args)
320
+ end
321
+
322
+ # Update properties of this object
323
+ def update!(**args)
324
+ @network_id = args[:network_id] if args.key?(:network_id)
325
+ @settings = args[:settings] if args.key?(:settings)
326
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
327
+ end
328
+ end
329
+
193
330
  # Request parameters for deleting the policy value of a specific group target.
194
- class GoogleChromePolicyV1DeleteGroupPolicyRequest
331
+ class GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest
195
332
  include Google::Apis::Core::Hashable
196
333
 
197
334
  # The fully qualified name of the policy schema that is being inherited.
@@ -201,7 +338,7 @@ module Google
201
338
 
202
339
  # The key used to identify the target on which the policy will be applied.
203
340
  # Corresponds to the JSON property `policyTargetKey`
204
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
341
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
205
342
  attr_accessor :policy_target_key
206
343
 
207
344
  def initialize(**args)
@@ -217,7 +354,7 @@ module Google
217
354
 
218
355
  # Request parameters for inheriting policy value of a specific org unit target
219
356
  # from the policy value of its parent org unit.
220
- class GoogleChromePolicyV1InheritOrgUnitPolicyRequest
357
+ class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
221
358
  include Google::Apis::Core::Hashable
222
359
 
223
360
  # The fully qualified name of the policy schema that is being inherited.
@@ -227,7 +364,7 @@ module Google
227
364
 
228
365
  # The key used to identify the target on which the policy will be applied.
229
366
  # Corresponds to the JSON property `policyTargetKey`
230
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
367
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
231
368
  attr_accessor :policy_target_key
232
369
 
233
370
  def initialize(**args)
@@ -242,7 +379,7 @@ module Google
242
379
  end
243
380
 
244
381
  # Request message for listing the group priority ordering of an app.
245
- class GoogleChromePolicyV1ListGroupPriorityOrderingRequest
382
+ class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest
246
383
  include Google::Apis::Core::Hashable
247
384
 
248
385
  # Required. The namespace of the policy type for the request.
@@ -252,7 +389,7 @@ module Google
252
389
 
253
390
  # The key used to identify the target on which the policy will be applied.
254
391
  # Corresponds to the JSON property `policyTargetKey`
255
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
392
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
256
393
  attr_accessor :policy_target_key
257
394
 
258
395
  def initialize(**args)
@@ -267,7 +404,7 @@ module Google
267
404
  end
268
405
 
269
406
  # Response message for listing the group priority ordering of an app.
270
- class GoogleChromePolicyV1ListGroupPriorityOrderingResponse
407
+ class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse
271
408
  include Google::Apis::Core::Hashable
272
409
 
273
410
  # Output only. The group IDs, in priority ordering.
@@ -282,7 +419,7 @@ module Google
282
419
 
283
420
  # The key used to identify the target on which the policy will be applied.
284
421
  # Corresponds to the JSON property `policyTargetKey`
285
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
422
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
286
423
  attr_accessor :policy_target_key
287
424
 
288
425
  def initialize(**args)
@@ -298,7 +435,7 @@ module Google
298
435
  end
299
436
 
300
437
  # Response message for listing policy schemas that match a filter.
301
- class GoogleChromePolicyV1ListPolicySchemasResponse
438
+ class GoogleChromePolicyVersionsV1ListPolicySchemasResponse
302
439
  include Google::Apis::Core::Hashable
303
440
 
304
441
  # The page token used to get the next page of policy schemas.
@@ -308,7 +445,7 @@ module Google
308
445
 
309
446
  # The list of policy schemas that match the query.
310
447
  # Corresponds to the JSON property `policySchemas`
311
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchema>]
448
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema>]
312
449
  attr_accessor :policy_schemas
313
450
 
314
451
  def initialize(**args)
@@ -323,17 +460,17 @@ module Google
323
460
  end
324
461
 
325
462
  # Request parameters for modifying a policy value for a specific group target.
326
- class GoogleChromePolicyV1ModifyGroupPolicyRequest
463
+ class GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest
327
464
  include Google::Apis::Core::Hashable
328
465
 
329
466
  # The key used to identify the target on which the policy will be applied.
330
467
  # Corresponds to the JSON property `policyTargetKey`
331
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
468
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
332
469
  attr_accessor :policy_target_key
333
470
 
334
471
  # A particular value for a policy managed by the service.
335
472
  # Corresponds to the JSON property `policyValue`
336
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
473
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue]
337
474
  attr_accessor :policy_value
338
475
 
339
476
  # Required. Policy fields to update. Only fields in this mask will be updated;
@@ -356,17 +493,17 @@ module Google
356
493
  end
357
494
 
358
495
  # Request parameters for modifying a policy value for a specific org unit target.
359
- class GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
496
+ class GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
360
497
  include Google::Apis::Core::Hashable
361
498
 
362
499
  # The key used to identify the target on which the policy will be applied.
363
500
  # Corresponds to the JSON property `policyTargetKey`
364
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
501
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
365
502
  attr_accessor :policy_target_key
366
503
 
367
504
  # A particular value for a policy managed by the service.
368
505
  # Corresponds to the JSON property `policyValue`
369
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
506
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue]
370
507
  attr_accessor :policy_value
371
508
 
372
509
  # Required. Policy fields to update. Only fields in this mask will be updated;
@@ -388,8 +525,59 @@ module Google
388
525
  end
389
526
  end
390
527
 
391
- # Resource representing a policy schema. Next ID: 14
392
- class GoogleChromePolicyV1PolicySchema
528
+ # A network setting contains network configurations.
529
+ class GoogleChromePolicyVersionsV1NetworkSetting
530
+ include Google::Apis::Core::Hashable
531
+
532
+ # The fully qualified name of the network setting.
533
+ # Corresponds to the JSON property `policySchema`
534
+ # @return [String]
535
+ attr_accessor :policy_schema
536
+
537
+ # The value of the network setting.
538
+ # Corresponds to the JSON property `value`
539
+ # @return [Hash<String,Object>]
540
+ attr_accessor :value
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
549
+ @value = args[:value] if args.key?(:value)
550
+ end
551
+ end
552
+
553
+ # Error information for a modification request of a specific field on a specific
554
+ # policy.
555
+ class GoogleChromePolicyVersionsV1PolicyModificationFieldError
556
+ include Google::Apis::Core::Hashable
557
+
558
+ # Output only. The error message related to the field.
559
+ # Corresponds to the JSON property `error`
560
+ # @return [String]
561
+ attr_accessor :error
562
+
563
+ # Output only. The name of the field with the error.
564
+ # Corresponds to the JSON property `field`
565
+ # @return [String]
566
+ attr_accessor :field
567
+
568
+ def initialize(**args)
569
+ update!(**args)
570
+ end
571
+
572
+ # Update properties of this object
573
+ def update!(**args)
574
+ @error = args[:error] if args.key?(:error)
575
+ @field = args[:field] if args.key?(:field)
576
+ end
577
+ end
578
+
579
+ # Resource representing a policy schema.
580
+ class GoogleChromePolicyVersionsV1PolicySchema
393
581
  include Google::Apis::Core::Hashable
394
582
 
395
583
  # Output only. Specific access restrictions related to this policy.
@@ -401,10 +589,10 @@ module Google
401
589
  # the policy value. When specifying a `policyTargetKey`, each of the additional
402
590
  # keys specified here will have to be included in the `additionalTargetKeys` map.
403
591
  # Corresponds to the JSON property `additionalTargetKeyNames`
404
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName>]
592
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1AdditionalTargetKeyName>]
405
593
  attr_accessor :additional_target_key_names
406
594
 
407
- # Output only. Title of the category in which a setting belongs.
595
+ # Title of the category in which a setting belongs.
408
596
  # Corresponds to the JSON property `categoryTitle`
409
597
  # @return [String]
410
598
  attr_accessor :category_title
@@ -416,7 +604,7 @@ module Google
416
604
 
417
605
  # Output only. Detailed description of each field that is part of the schema.
418
606
  # Corresponds to the JSON property `fieldDescriptions`
419
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]
607
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDescription>]
420
608
  attr_accessor :field_descriptions
421
609
 
422
610
  # Format: name=customers/`customer`/policySchemas/`schema_namespace`
@@ -427,7 +615,7 @@ module Google
427
615
  # Output only. Special notice messages related to setting certain values in
428
616
  # certain fields in the schema.
429
617
  # Corresponds to the JSON property `notices`
430
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription>]
618
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription>]
431
619
  attr_accessor :notices
432
620
 
433
621
  # Output only. Current lifecycle information.
@@ -486,7 +674,7 @@ module Google
486
674
  end
487
675
 
488
676
  # The field and the value it must have for another field to be allowed to be set.
489
- class GoogleChromePolicyV1PolicySchemaFieldDependencies
677
+ class GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies
490
678
  include Google::Apis::Core::Hashable
491
679
 
492
680
  # The source field which this field depends on.
@@ -513,9 +701,14 @@ module Google
513
701
 
514
702
  # Provides detailed information for a particular field that is part of a
515
703
  # PolicySchema.
516
- class GoogleChromePolicyV1PolicySchemaFieldDescription
704
+ class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription
517
705
  include Google::Apis::Core::Hashable
518
706
 
707
+ # Output only. Client default if the policy is unset.
708
+ # Corresponds to the JSON property `defaultValue`
709
+ # @return [Object]
710
+ attr_accessor :default_value
711
+
519
712
  # Deprecated. Use name and field_description instead. The description for the
520
713
  # field.
521
714
  # Corresponds to the JSON property `description`
@@ -531,7 +724,7 @@ module Google
531
724
  # must have the corresponding value in order for this field to be allowed to be
532
725
  # set.
533
726
  # Corresponds to the JSON property `fieldDependencies`
534
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]
727
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies>]
535
728
  attr_accessor :field_dependencies
536
729
 
537
730
  # Output only. The description of the field.
@@ -547,7 +740,7 @@ module Google
547
740
  # Output only. If the field has a set of known values, this field will provide a
548
741
  # description for these values.
549
742
  # Corresponds to the JSON property `knownValueDescriptions`
550
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>]
743
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription>]
551
744
  attr_accessor :known_value_descriptions
552
745
 
553
746
  # Output only. The name of the field.
@@ -558,13 +751,13 @@ module Google
558
751
  # Output only. Provides the description of the fields nested in this field, if
559
752
  # the field is a message type that defines multiple fields.
560
753
  # Corresponds to the JSON property `nestedFieldDescriptions`
561
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]
754
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDescription>]
562
755
  attr_accessor :nested_field_descriptions
563
756
 
564
757
  # Output only. Provides a list of fields that are required to be set if this
565
758
  # field has a certain value.
566
759
  # Corresponds to the JSON property `requiredItems`
567
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems>]
760
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaRequiredItems>]
568
761
  attr_accessor :required_items
569
762
 
570
763
  def initialize(**args)
@@ -573,6 +766,7 @@ module Google
573
766
 
574
767
  # Update properties of this object
575
768
  def update!(**args)
769
+ @default_value = args[:default_value] if args.key?(:default_value)
576
770
  @description = args[:description] if args.key?(:description)
577
771
  @field = args[:field] if args.key?(:field)
578
772
  @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
@@ -587,7 +781,7 @@ module Google
587
781
 
588
782
  # Provides detailed information about a known value that is allowed for a
589
783
  # particular field in a PolicySchema.
590
- class GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription
784
+ class GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription
591
785
  include Google::Apis::Core::Hashable
592
786
 
593
787
  # Output only. Additional description for this value.
@@ -614,7 +808,7 @@ module Google
614
808
 
615
809
  # Provides special notice messages related to a particular value in a field that
616
810
  # is part of a PolicySchema.
617
- class GoogleChromePolicyV1PolicySchemaNoticeDescription
811
+ class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription
618
812
  include Google::Apis::Core::Hashable
619
813
 
620
814
  # Output only. Whether the user needs to acknowledge the notice message before
@@ -655,7 +849,7 @@ module Google
655
849
  end
656
850
 
657
851
  # The fields that will become required based on the value of this field.
658
- class GoogleChromePolicyV1PolicySchemaRequiredItems
852
+ class GoogleChromePolicyVersionsV1PolicySchemaRequiredItems
659
853
  include Google::Apis::Core::Hashable
660
854
 
661
855
  # The value(s) of the field that provoke required field enforcement. An empty
@@ -682,7 +876,7 @@ module Google
682
876
  end
683
877
 
684
878
  # The key used to identify the target on which the policy will be applied.
685
- class GoogleChromePolicyV1PolicyTargetKey
879
+ class GoogleChromePolicyVersionsV1PolicyTargetKey
686
880
  include Google::Apis::Core::Hashable
687
881
 
688
882
  # Map containing the additional target key name and value pairs used to further
@@ -710,7 +904,7 @@ module Google
710
904
  end
711
905
 
712
906
  # A particular value for a policy managed by the service.
713
- class GoogleChromePolicyV1PolicyValue
907
+ class GoogleChromePolicyVersionsV1PolicyValue
714
908
  include Google::Apis::Core::Hashable
715
909
 
716
910
  # The fully qualified name of the policy schema associated with this policy.
@@ -735,8 +929,88 @@ module Google
735
929
  end
736
930
  end
737
931
 
932
+ # Request object for removing a certificate.
933
+ class GoogleChromePolicyVersionsV1RemoveCertificateRequest
934
+ include Google::Apis::Core::Hashable
935
+
936
+ # Required. The GUID of the certificate to remove.
937
+ # Corresponds to the JSON property `networkId`
938
+ # @return [String]
939
+ attr_accessor :network_id
940
+
941
+ # Required. The target resource on which this certificate will be removed. The
942
+ # following resources are supported: * Organizational Unit ("orgunits/`
943
+ # orgunit_id`")
944
+ # Corresponds to the JSON property `targetResource`
945
+ # @return [String]
946
+ attr_accessor :target_resource
947
+
948
+ def initialize(**args)
949
+ update!(**args)
950
+ end
951
+
952
+ # Update properties of this object
953
+ def update!(**args)
954
+ @network_id = args[:network_id] if args.key?(:network_id)
955
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
956
+ end
957
+ end
958
+
959
+ # Response object for removing a certificate.
960
+ class GoogleChromePolicyVersionsV1RemoveCertificateResponse
961
+ include Google::Apis::Core::Hashable
962
+
963
+ def initialize(**args)
964
+ update!(**args)
965
+ end
966
+
967
+ # Update properties of this object
968
+ def update!(**args)
969
+ end
970
+ end
971
+
972
+ # Request object for removing a network
973
+ class GoogleChromePolicyVersionsV1RemoveNetworkRequest
974
+ include Google::Apis::Core::Hashable
975
+
976
+ # Required. The GUID of the network to remove.
977
+ # Corresponds to the JSON property `networkId`
978
+ # @return [String]
979
+ attr_accessor :network_id
980
+
981
+ # Required. The target resource on which this network will be removed. The
982
+ # following resources are supported: * Organizational Unit ("orgunits/`
983
+ # orgunit_id`")
984
+ # Corresponds to the JSON property `targetResource`
985
+ # @return [String]
986
+ attr_accessor :target_resource
987
+
988
+ def initialize(**args)
989
+ update!(**args)
990
+ end
991
+
992
+ # Update properties of this object
993
+ def update!(**args)
994
+ @network_id = args[:network_id] if args.key?(:network_id)
995
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
996
+ end
997
+ end
998
+
999
+ # Response object for removing a network.
1000
+ class GoogleChromePolicyVersionsV1RemoveNetworkResponse
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ def initialize(**args)
1004
+ update!(**args)
1005
+ end
1006
+
1007
+ # Update properties of this object
1008
+ def update!(**args)
1009
+ end
1010
+ end
1011
+
738
1012
  # Request message for getting the resolved policy value for a specific target.
739
- class GoogleChromePolicyV1ResolveRequest
1013
+ class GoogleChromePolicyVersionsV1ResolveRequest
740
1014
  include Google::Apis::Core::Hashable
741
1015
 
742
1016
  # The maximum number of policies to return, defaults to 100 and has a maximum of
@@ -754,7 +1028,7 @@ module Google
754
1028
  # view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards
755
1029
  # are supported, but only in the leaf portion of the schema name. Wildcards
756
1030
  # cannot be used in namespace directly. Please read https://developers.google.
757
- # com/chrome/policy/guides/policy-schemas for details on schema namepsaces. For
1031
+ # com/chrome/policy/guides/policy-schemas for details on schema namespaces. For
758
1032
  # example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*"
759
1033
  # Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
760
1034
  # Corresponds to the JSON property `policySchemaFilter`
@@ -763,7 +1037,7 @@ module Google
763
1037
 
764
1038
  # The key used to identify the target on which the policy will be applied.
765
1039
  # Corresponds to the JSON property `policyTargetKey`
766
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
1040
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
767
1041
  attr_accessor :policy_target_key
768
1042
 
769
1043
  def initialize(**args)
@@ -780,7 +1054,7 @@ module Google
780
1054
  end
781
1055
 
782
1056
  # Response message for getting the resolved policy value for a specific target.
783
- class GoogleChromePolicyV1ResolveResponse
1057
+ class GoogleChromePolicyVersionsV1ResolveResponse
784
1058
  include Google::Apis::Core::Hashable
785
1059
 
786
1060
  # The page token used to get the next set of resolved policies found by the
@@ -791,7 +1065,7 @@ module Google
791
1065
 
792
1066
  # The list of resolved policies found by the resolve request.
793
1067
  # Corresponds to the JSON property `resolvedPolicies`
794
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolvedPolicy>]
1068
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolvedPolicy>]
795
1069
  attr_accessor :resolved_policies
796
1070
 
797
1071
  def initialize(**args)
@@ -806,27 +1080,27 @@ module Google
806
1080
  end
807
1081
 
808
1082
  # The resolved value of a policy for a given target.
809
- class GoogleChromePolicyV1ResolvedPolicy
1083
+ class GoogleChromePolicyVersionsV1ResolvedPolicy
810
1084
  include Google::Apis::Core::Hashable
811
1085
 
812
1086
  # The key used to identify the target on which the policy will be applied.
813
1087
  # Corresponds to the JSON property `addedSourceKey`
814
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
1088
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
815
1089
  attr_accessor :added_source_key
816
1090
 
817
1091
  # The key used to identify the target on which the policy will be applied.
818
1092
  # Corresponds to the JSON property `sourceKey`
819
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
1093
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
820
1094
  attr_accessor :source_key
821
1095
 
822
1096
  # The key used to identify the target on which the policy will be applied.
823
1097
  # Corresponds to the JSON property `targetKey`
824
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
1098
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
825
1099
  attr_accessor :target_key
826
1100
 
827
1101
  # A particular value for a policy managed by the service.
828
1102
  # Corresponds to the JSON property `value`
829
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
1103
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue]
830
1104
  attr_accessor :value
831
1105
 
832
1106
  def initialize(**args)
@@ -843,7 +1117,7 @@ module Google
843
1117
  end
844
1118
 
845
1119
  # Request message for updating the group priority ordering of an app.
846
- class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
1120
+ class GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest
847
1121
  include Google::Apis::Core::Hashable
848
1122
 
849
1123
  # Required. The group IDs, in desired priority ordering.
@@ -858,7 +1132,7 @@ module Google
858
1132
 
859
1133
  # The key used to identify the target on which the policy will be applied.
860
1134
  # Corresponds to the JSON property `policyTargetKey`
861
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
1135
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
862
1136
  attr_accessor :policy_target_key
863
1137
 
864
1138
  def initialize(**args)
@@ -873,7 +1147,7 @@ module Google
873
1147
  end
874
1148
  end
875
1149
 
876
- # Request message for uploading a file for a policy. Next ID: 5
1150
+ # Request message for uploading a file for a policy.
877
1151
  class GoogleChromePolicyVersionsV1UploadPolicyFileRequest
878
1152
  include Google::Apis::Core::Hashable
879
1153
 
@@ -894,7 +1168,7 @@ module Google
894
1168
  end
895
1169
  end
896
1170
 
897
- # Response message for downloading an uploaded file. Next ID: 2
1171
+ # Response message for downloading an uploaded file.
898
1172
  class GoogleChromePolicyVersionsV1UploadPolicyFileResponse
899
1173
  include Google::Apis::Core::Hashable
900
1174