google-apis-chromepolicy_v1 0.28.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,8 +60,34 @@ module Google
60
60
  end
61
61
  end
62
62
 
63
+ # Additional key names that will be used to identify the target of the policy
64
+ # value.
65
+ class GoogleChromePolicyVersionsV1AdditionalTargetKeyName
66
+ include Google::Apis::Core::Hashable
67
+
68
+ # Key name.
69
+ # Corresponds to the JSON property `key`
70
+ # @return [String]
71
+ attr_accessor :key
72
+
73
+ # Key description.
74
+ # Corresponds to the JSON property `keyDescription`
75
+ # @return [String]
76
+ attr_accessor :key_description
77
+
78
+ def initialize(**args)
79
+ update!(**args)
80
+ end
81
+
82
+ # Update properties of this object
83
+ def update!(**args)
84
+ @key = args[:key] if args.key?(:key)
85
+ @key_description = args[:key_description] if args.key?(:key_description)
86
+ end
87
+ end
88
+
63
89
  # Request message for specifying that multiple policy values will be deleted.
64
- class GoogleChromePolicyV1BatchDeleteGroupPoliciesRequest
90
+ class GoogleChromePolicyVersionsV1BatchDeleteGroupPoliciesRequest
65
91
  include Google::Apis::Core::Hashable
66
92
 
67
93
  # List of policies that will be deleted as defined by the `requests`. All
@@ -72,7 +98,7 @@ module Google
72
98
  # modification requests can reference the same `policySchema` + `
73
99
  # policyTargetKey` pair.
74
100
  # Corresponds to the JSON property `requests`
75
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1DeleteGroupPolicyRequest>]
101
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest>]
76
102
  attr_accessor :requests
77
103
 
78
104
  def initialize(**args)
@@ -87,7 +113,7 @@ module Google
87
113
 
88
114
  # Request message for specifying that multiple policy values inherit their value
89
115
  # from their parents.
90
- class GoogleChromePolicyV1BatchInheritOrgUnitPoliciesRequest
116
+ class GoogleChromePolicyVersionsV1BatchInheritOrgUnitPoliciesRequest
91
117
  include Google::Apis::Core::Hashable
92
118
 
93
119
  # List of policies that have to inherit their values as defined by the `requests`
@@ -100,7 +126,7 @@ module Google
100
126
  # additionalTargetKeys` map. 4. No two modification requests can reference the
101
127
  # same `policySchema` + ` policyTargetKey` pair.
102
128
  # Corresponds to the JSON property `requests`
103
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1InheritOrgUnitPolicyRequest>]
129
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest>]
104
130
  attr_accessor :requests
105
131
 
106
132
  def initialize(**args)
@@ -115,7 +141,7 @@ module Google
115
141
 
116
142
  # Request message for modifying multiple policy values for a specific group-
117
143
  # based target.
118
- class GoogleChromePolicyV1BatchModifyGroupPoliciesRequest
144
+ class GoogleChromePolicyVersionsV1BatchModifyGroupPoliciesRequest
119
145
  include Google::Apis::Core::Hashable
120
146
 
121
147
  # List of policies to modify as defined by the `requests`. All requests in the
@@ -125,7 +151,7 @@ module Google
125
151
  # app_id` key name in the `additionalTargetKeys`. 4. No two modification
126
152
  # requests can reference the same `policySchema` + ` policyTargetKey` pair.
127
153
  # Corresponds to the JSON property `requests`
128
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyGroupPolicyRequest>]
154
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest>]
129
155
  attr_accessor :requests
130
156
 
131
157
  def initialize(**args)
@@ -139,7 +165,7 @@ module Google
139
165
  end
140
166
 
141
167
  # Request message for modifying multiple policy values for a specific target.
142
- class GoogleChromePolicyV1BatchModifyOrgUnitPoliciesRequest
168
+ class GoogleChromePolicyVersionsV1BatchModifyOrgUnitPoliciesRequest
143
169
  include Google::Apis::Core::Hashable
144
170
 
145
171
  # List of policies to modify as defined by the `requests`. All requests in the
@@ -151,7 +177,7 @@ module Google
151
177
  # an empty `additionalTargetKeys` map. 4. No two modification requests can
152
178
  # reference the same `policySchema` + ` policyTargetKey` pair.
153
179
  # Corresponds to the JSON property `requests`
154
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ModifyOrgUnitPolicyRequest>]
180
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest>]
155
181
  attr_accessor :requests
156
182
 
157
183
  def initialize(**args)
@@ -165,7 +191,7 @@ module Google
165
191
  end
166
192
 
167
193
  # Request object for creating a certificate.
168
- class GoogleChromePolicyV1DefineCertificateRequest
194
+ class GoogleChromePolicyVersionsV1DefineCertificateRequest
169
195
  include Google::Apis::Core::Hashable
170
196
 
171
197
  # Optional. The optional name of the certificate. If not specified, the
@@ -182,7 +208,7 @@ module Google
182
208
  # Optional. Certificate settings within the chrome.networks.certificates
183
209
  # namespace.
184
210
  # Corresponds to the JSON property `settings`
185
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1NetworkSetting>]
211
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
186
212
  attr_accessor :settings
187
213
 
188
214
  # Required. The target resource on which this certificate is applied. The
@@ -206,7 +232,7 @@ module Google
206
232
  end
207
233
 
208
234
  # Response object for creating a certificate.
209
- class GoogleChromePolicyV1DefineCertificateResponse
235
+ class GoogleChromePolicyVersionsV1DefineCertificateResponse
210
236
  include Google::Apis::Core::Hashable
211
237
 
212
238
  # The guid of the certificate created by the action.
@@ -216,7 +242,7 @@ module Google
216
242
 
217
243
  # the affiliated settings of the certificate (NOT IMPLEMENTED)
218
244
  # Corresponds to the JSON property `settings`
219
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1NetworkSetting>]
245
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
220
246
  attr_accessor :settings
221
247
 
222
248
  # the resource at which the certificate is defined.
@@ -237,7 +263,7 @@ module Google
237
263
  end
238
264
 
239
265
  # Request object for creating a new network.
240
- class GoogleChromePolicyV1DefineNetworkRequest
266
+ class GoogleChromePolicyVersionsV1DefineNetworkRequest
241
267
  include Google::Apis::Core::Hashable
242
268
 
243
269
  # Required. Name of the new created network.
@@ -247,7 +273,7 @@ module Google
247
273
 
248
274
  # Required. Detailed network settings.
249
275
  # Corresponds to the JSON property `settings`
250
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1NetworkSetting>]
276
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
251
277
  attr_accessor :settings
252
278
 
253
279
  # Required. The target resource on which this new network will be defined. The
@@ -270,7 +296,7 @@ module Google
270
296
  end
271
297
 
272
298
  # Response object for creating a network.
273
- class GoogleChromePolicyV1DefineNetworkResponse
299
+ class GoogleChromePolicyVersionsV1DefineNetworkResponse
274
300
  include Google::Apis::Core::Hashable
275
301
 
276
302
  # Network ID of the new created network.
@@ -280,7 +306,7 @@ module Google
280
306
 
281
307
  # Detailed network settings of the new created network
282
308
  # Corresponds to the JSON property `settings`
283
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1NetworkSetting>]
309
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>]
284
310
  attr_accessor :settings
285
311
 
286
312
  # The target resource on which this new network will be defined. The following
@@ -302,7 +328,7 @@ module Google
302
328
  end
303
329
 
304
330
  # Request parameters for deleting the policy value of a specific group target.
305
- class GoogleChromePolicyV1DeleteGroupPolicyRequest
331
+ class GoogleChromePolicyVersionsV1DeleteGroupPolicyRequest
306
332
  include Google::Apis::Core::Hashable
307
333
 
308
334
  # The fully qualified name of the policy schema that is being inherited.
@@ -312,7 +338,7 @@ module Google
312
338
 
313
339
  # The key used to identify the target on which the policy will be applied.
314
340
  # Corresponds to the JSON property `policyTargetKey`
315
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
341
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
316
342
  attr_accessor :policy_target_key
317
343
 
318
344
  def initialize(**args)
@@ -328,7 +354,7 @@ module Google
328
354
 
329
355
  # Request parameters for inheriting policy value of a specific org unit target
330
356
  # from the policy value of its parent org unit.
331
- class GoogleChromePolicyV1InheritOrgUnitPolicyRequest
357
+ class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
332
358
  include Google::Apis::Core::Hashable
333
359
 
334
360
  # The fully qualified name of the policy schema that is being inherited.
@@ -338,7 +364,7 @@ module Google
338
364
 
339
365
  # The key used to identify the target on which the policy will be applied.
340
366
  # Corresponds to the JSON property `policyTargetKey`
341
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
367
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
342
368
  attr_accessor :policy_target_key
343
369
 
344
370
  def initialize(**args)
@@ -353,7 +379,7 @@ module Google
353
379
  end
354
380
 
355
381
  # Request message for listing the group priority ordering of an app.
356
- class GoogleChromePolicyV1ListGroupPriorityOrderingRequest
382
+ class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingRequest
357
383
  include Google::Apis::Core::Hashable
358
384
 
359
385
  # Required. The namespace of the policy type for the request.
@@ -363,7 +389,7 @@ module Google
363
389
 
364
390
  # The key used to identify the target on which the policy will be applied.
365
391
  # Corresponds to the JSON property `policyTargetKey`
366
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
392
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
367
393
  attr_accessor :policy_target_key
368
394
 
369
395
  def initialize(**args)
@@ -378,7 +404,7 @@ module Google
378
404
  end
379
405
 
380
406
  # Response message for listing the group priority ordering of an app.
381
- class GoogleChromePolicyV1ListGroupPriorityOrderingResponse
407
+ class GoogleChromePolicyVersionsV1ListGroupPriorityOrderingResponse
382
408
  include Google::Apis::Core::Hashable
383
409
 
384
410
  # Output only. The group IDs, in priority ordering.
@@ -393,7 +419,7 @@ module Google
393
419
 
394
420
  # The key used to identify the target on which the policy will be applied.
395
421
  # Corresponds to the JSON property `policyTargetKey`
396
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
422
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
397
423
  attr_accessor :policy_target_key
398
424
 
399
425
  def initialize(**args)
@@ -408,18 +434,43 @@ module Google
408
434
  end
409
435
  end
410
436
 
437
+ # Response message for listing policy schemas that match a filter.
438
+ class GoogleChromePolicyVersionsV1ListPolicySchemasResponse
439
+ include Google::Apis::Core::Hashable
440
+
441
+ # The page token used to get the next page of policy schemas.
442
+ # Corresponds to the JSON property `nextPageToken`
443
+ # @return [String]
444
+ attr_accessor :next_page_token
445
+
446
+ # The list of policy schemas that match the query.
447
+ # Corresponds to the JSON property `policySchemas`
448
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema>]
449
+ attr_accessor :policy_schemas
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
458
+ @policy_schemas = args[:policy_schemas] if args.key?(:policy_schemas)
459
+ end
460
+ end
461
+
411
462
  # Request parameters for modifying a policy value for a specific group target.
412
- class GoogleChromePolicyV1ModifyGroupPolicyRequest
463
+ class GoogleChromePolicyVersionsV1ModifyGroupPolicyRequest
413
464
  include Google::Apis::Core::Hashable
414
465
 
415
466
  # The key used to identify the target on which the policy will be applied.
416
467
  # Corresponds to the JSON property `policyTargetKey`
417
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
468
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
418
469
  attr_accessor :policy_target_key
419
470
 
420
471
  # A particular value for a policy managed by the service.
421
472
  # Corresponds to the JSON property `policyValue`
422
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
473
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue]
423
474
  attr_accessor :policy_value
424
475
 
425
476
  # Required. Policy fields to update. Only fields in this mask will be updated;
@@ -442,17 +493,17 @@ module Google
442
493
  end
443
494
 
444
495
  # Request parameters for modifying a policy value for a specific org unit target.
445
- class GoogleChromePolicyV1ModifyOrgUnitPolicyRequest
496
+ class GoogleChromePolicyVersionsV1ModifyOrgUnitPolicyRequest
446
497
  include Google::Apis::Core::Hashable
447
498
 
448
499
  # The key used to identify the target on which the policy will be applied.
449
500
  # Corresponds to the JSON property `policyTargetKey`
450
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
501
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
451
502
  attr_accessor :policy_target_key
452
503
 
453
504
  # A particular value for a policy managed by the service.
454
505
  # Corresponds to the JSON property `policyValue`
455
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
506
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue]
456
507
  attr_accessor :policy_value
457
508
 
458
509
  # Required. Policy fields to update. Only fields in this mask will be updated;
@@ -475,7 +526,7 @@ module Google
475
526
  end
476
527
 
477
528
  # A network setting contains network configurations.
478
- class GoogleChromePolicyV1NetworkSetting
529
+ class GoogleChromePolicyVersionsV1NetworkSetting
479
530
  include Google::Apis::Core::Hashable
480
531
 
481
532
  # The fully qualified name of the network setting.
@@ -501,7 +552,7 @@ module Google
501
552
 
502
553
  # Error information for a modification request of a specific field on a specific
503
554
  # policy.
504
- class GoogleChromePolicyV1PolicyModificationFieldError
555
+ class GoogleChromePolicyVersionsV1PolicyModificationFieldError
505
556
  include Google::Apis::Core::Hashable
506
557
 
507
558
  # Output only. The error message related to the field.
@@ -525,90 +576,80 @@ module Google
525
576
  end
526
577
  end
527
578
 
528
- # The key used to identify the target on which the policy will be applied.
529
- class GoogleChromePolicyV1PolicyTargetKey
579
+ # Resource representing a policy schema.
580
+ class GoogleChromePolicyVersionsV1PolicySchema
530
581
  include Google::Apis::Core::Hashable
531
582
 
532
- # Map containing the additional target key name and value pairs used to further
533
- # identify the target of the policy.
534
- # Corresponds to the JSON property `additionalTargetKeys`
535
- # @return [Hash<String,String>]
536
- attr_accessor :additional_target_keys
583
+ # Output only. Specific access restrictions related to this policy.
584
+ # Corresponds to the JSON property `accessRestrictions`
585
+ # @return [Array<String>]
586
+ attr_accessor :access_restrictions
537
587
 
538
- # The target resource on which this policy is applied. The following resources
539
- # are supported: * Organizational Unit ("orgunits/`orgunit_id`") * Group ("
540
- # groups/`group_id`")
541
- # Corresponds to the JSON property `targetResource`
542
- # @return [String]
543
- attr_accessor :target_resource
588
+ # Output only. Additional key names that will be used to identify the target of
589
+ # the policy value. When specifying a `policyTargetKey`, each of the additional
590
+ # keys specified here will have to be included in the `additionalTargetKeys` map.
591
+ # Corresponds to the JSON property `additionalTargetKeyNames`
592
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1AdditionalTargetKeyName>]
593
+ attr_accessor :additional_target_key_names
544
594
 
545
- def initialize(**args)
546
- update!(**args)
547
- end
595
+ # Title of the category in which a setting belongs.
596
+ # Corresponds to the JSON property `categoryTitle`
597
+ # @return [String]
598
+ attr_accessor :category_title
548
599
 
549
- # Update properties of this object
550
- def update!(**args)
551
- @additional_target_keys = args[:additional_target_keys] if args.key?(:additional_target_keys)
552
- @target_resource = args[:target_resource] if args.key?(:target_resource)
553
- end
554
- end
600
+ # Describes a complete .proto file.
601
+ # Corresponds to the JSON property `definition`
602
+ # @return [Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto]
603
+ attr_accessor :definition
555
604
 
556
- # A particular value for a policy managed by the service.
557
- class GoogleChromePolicyV1PolicyValue
558
- include Google::Apis::Core::Hashable
605
+ # Output only. Detailed description of each field that is part of the schema.
606
+ # Corresponds to the JSON property `fieldDescriptions`
607
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDescription>]
608
+ attr_accessor :field_descriptions
559
609
 
560
- # The fully qualified name of the policy schema associated with this policy.
561
- # Corresponds to the JSON property `policySchema`
610
+ # Format: name=customers/`customer`/policySchemas/`schema_namespace`
611
+ # Corresponds to the JSON property `name`
562
612
  # @return [String]
563
- attr_accessor :policy_schema
564
-
565
- # The value of the policy that is compatible with the schema that it is
566
- # associated with.
567
- # Corresponds to the JSON property `value`
568
- # @return [Hash<String,Object>]
569
- attr_accessor :value
613
+ attr_accessor :name
570
614
 
571
- def initialize(**args)
572
- update!(**args)
573
- end
615
+ # Output only. Special notice messages related to setting certain values in
616
+ # certain fields in the schema.
617
+ # Corresponds to the JSON property `notices`
618
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription>]
619
+ attr_accessor :notices
574
620
 
575
- # Update properties of this object
576
- def update!(**args)
577
- @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
578
- @value = args[:value] if args.key?(:value)
579
- end
580
- end
621
+ # Output only. Current lifecycle information.
622
+ # Corresponds to the JSON property `policyApiLifecycle`
623
+ # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
624
+ attr_accessor :policy_api_lifecycle
581
625
 
582
- # Request object for removing a certificate.
583
- class GoogleChromePolicyV1RemoveCertificateRequest
584
- include Google::Apis::Core::Hashable
626
+ # Deprecated field because of typo.
627
+ # Corresponds to the JSON property `policyApiLifeycle`
628
+ # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
629
+ attr_accessor :policy_api_lifeycle
585
630
 
586
- # Required. The GUID of the certificate to remove.
587
- # Corresponds to the JSON property `networkId`
631
+ # Output only. Description about the policy schema for user consumption.
632
+ # Corresponds to the JSON property `policyDescription`
588
633
  # @return [String]
589
- attr_accessor :network_id
634
+ attr_accessor :policy_description
590
635
 
591
- # Required. The target resource on which this certificate will be removed. The
592
- # following resources are supported: * Organizational Unit ("orgunits/`
593
- # orgunit_id`")
594
- # Corresponds to the JSON property `targetResource`
636
+ # Output only. The fully qualified name of the policy schema. This value is used
637
+ # to fill the field `policy_schema` in PolicyValue when calling
638
+ # BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
639
+ # BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
640
+ # Corresponds to the JSON property `schemaName`
595
641
  # @return [String]
596
- attr_accessor :target_resource
597
-
598
- def initialize(**args)
599
- update!(**args)
600
- end
642
+ attr_accessor :schema_name
601
643
 
602
- # Update properties of this object
603
- def update!(**args)
604
- @network_id = args[:network_id] if args.key?(:network_id)
605
- @target_resource = args[:target_resource] if args.key?(:target_resource)
606
- end
607
- end
644
+ # Output only. URI to related support article for this schema.
645
+ # Corresponds to the JSON property `supportUri`
646
+ # @return [String]
647
+ attr_accessor :support_uri
608
648
 
609
- # Response object for removing a certificate.
610
- class GoogleChromePolicyV1RemoveCertificateResponse
611
- include Google::Apis::Core::Hashable
649
+ # Output only. Information about applicable target resources for the policy.
650
+ # Corresponds to the JSON property `validTargetResources`
651
+ # @return [Array<String>]
652
+ attr_accessor :valid_target_resources
612
653
 
613
654
  def initialize(**args)
614
655
  update!(**args)
@@ -616,24 +657,36 @@ module Google
616
657
 
617
658
  # Update properties of this object
618
659
  def update!(**args)
660
+ @access_restrictions = args[:access_restrictions] if args.key?(:access_restrictions)
661
+ @additional_target_key_names = args[:additional_target_key_names] if args.key?(:additional_target_key_names)
662
+ @category_title = args[:category_title] if args.key?(:category_title)
663
+ @definition = args[:definition] if args.key?(:definition)
664
+ @field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
665
+ @name = args[:name] if args.key?(:name)
666
+ @notices = args[:notices] if args.key?(:notices)
667
+ @policy_api_lifecycle = args[:policy_api_lifecycle] if args.key?(:policy_api_lifecycle)
668
+ @policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
669
+ @policy_description = args[:policy_description] if args.key?(:policy_description)
670
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
671
+ @support_uri = args[:support_uri] if args.key?(:support_uri)
672
+ @valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
619
673
  end
620
674
  end
621
675
 
622
- # Request object for removing a network
623
- class GoogleChromePolicyV1RemoveNetworkRequest
676
+ # The field and the value it must have for another field to be allowed to be set.
677
+ class GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies
624
678
  include Google::Apis::Core::Hashable
625
679
 
626
- # Required. The GUID of the network to remove.
627
- # Corresponds to the JSON property `networkId`
680
+ # The source field which this field depends on.
681
+ # Corresponds to the JSON property `sourceField`
628
682
  # @return [String]
629
- attr_accessor :network_id
683
+ attr_accessor :source_field
630
684
 
631
- # Required. The target resource on which this network will be removed. The
632
- # following resources are supported: * Organizational Unit ("orgunits/`
633
- # orgunit_id`")
634
- # Corresponds to the JSON property `targetResource`
685
+ # The value which the source field must have for this field to be allowed to be
686
+ # set.
687
+ # Corresponds to the JSON property `sourceFieldValue`
635
688
  # @return [String]
636
- attr_accessor :target_resource
689
+ attr_accessor :source_field_value
637
690
 
638
691
  def initialize(**args)
639
692
  update!(**args)
@@ -641,54 +694,71 @@ module Google
641
694
 
642
695
  # Update properties of this object
643
696
  def update!(**args)
644
- @network_id = args[:network_id] if args.key?(:network_id)
645
- @target_resource = args[:target_resource] if args.key?(:target_resource)
697
+ @source_field = args[:source_field] if args.key?(:source_field)
698
+ @source_field_value = args[:source_field_value] if args.key?(:source_field_value)
646
699
  end
647
700
  end
648
701
 
649
- # Response object for removing a network.
650
- class GoogleChromePolicyV1RemoveNetworkResponse
702
+ # Provides detailed information for a particular field that is part of a
703
+ # PolicySchema.
704
+ class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription
651
705
  include Google::Apis::Core::Hashable
652
706
 
653
- def initialize(**args)
654
- update!(**args)
655
- end
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
656
711
 
657
- # Update properties of this object
658
- def update!(**args)
659
- end
660
- end
712
+ # Deprecated. Use name and field_description instead. The description for the
713
+ # field.
714
+ # Corresponds to the JSON property `description`
715
+ # @return [String]
716
+ attr_accessor :description
661
717
 
662
- # Request message for getting the resolved policy value for a specific target.
663
- class GoogleChromePolicyV1ResolveRequest
664
- include Google::Apis::Core::Hashable
718
+ # Output only. The name of the field for associated with this description.
719
+ # Corresponds to the JSON property `field`
720
+ # @return [String]
721
+ attr_accessor :field
665
722
 
666
- # The maximum number of policies to return, defaults to 100 and has a maximum of
667
- # 1000.
668
- # Corresponds to the JSON property `pageSize`
669
- # @return [Fixnum]
670
- attr_accessor :page_size
723
+ # Output only. Provides a list of fields and values. At least one of the fields
724
+ # must have the corresponding value in order for this field to be allowed to be
725
+ # set.
726
+ # Corresponds to the JSON property `fieldDependencies`
727
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies>]
728
+ attr_accessor :field_dependencies
671
729
 
672
- # The page token used to retrieve a specific page of the request.
673
- # Corresponds to the JSON property `pageToken`
730
+ # Output only. The description of the field.
731
+ # Corresponds to the JSON property `fieldDescription`
674
732
  # @return [String]
675
- attr_accessor :page_token
733
+ attr_accessor :field_description
676
734
 
677
- # The schema filter to apply to the resolve request. Specify a schema name to
678
- # view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards
679
- # are supported, but only in the leaf portion of the schema name. Wildcards
680
- # cannot be used in namespace directly. Please read https://developers.google.
681
- # com/chrome/policy/guides/policy-schemas for details on schema namespaces. For
682
- # example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*"
683
- # Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
684
- # Corresponds to the JSON property `policySchemaFilter`
735
+ # Output only. Any input constraints associated on the values for the field.
736
+ # Corresponds to the JSON property `inputConstraint`
685
737
  # @return [String]
686
- attr_accessor :policy_schema_filter
738
+ attr_accessor :input_constraint
687
739
 
688
- # The key used to identify the target on which the policy will be applied.
689
- # Corresponds to the JSON property `policyTargetKey`
690
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
691
- attr_accessor :policy_target_key
740
+ # Output only. If the field has a set of known values, this field will provide a
741
+ # description for these values.
742
+ # Corresponds to the JSON property `knownValueDescriptions`
743
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription>]
744
+ attr_accessor :known_value_descriptions
745
+
746
+ # Output only. The name of the field.
747
+ # Corresponds to the JSON property `name`
748
+ # @return [String]
749
+ attr_accessor :name
750
+
751
+ # Output only. Provides the description of the fields nested in this field, if
752
+ # the field is a message type that defines multiple fields.
753
+ # Corresponds to the JSON property `nestedFieldDescriptions`
754
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDescription>]
755
+ attr_accessor :nested_field_descriptions
756
+
757
+ # Output only. Provides a list of fields that are required to be set if this
758
+ # field has a certain value.
759
+ # Corresponds to the JSON property `requiredItems`
760
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaRequiredItems>]
761
+ attr_accessor :required_items
692
762
 
693
763
  def initialize(**args)
694
764
  update!(**args)
@@ -696,27 +766,34 @@ module Google
696
766
 
697
767
  # Update properties of this object
698
768
  def update!(**args)
699
- @page_size = args[:page_size] if args.key?(:page_size)
700
- @page_token = args[:page_token] if args.key?(:page_token)
701
- @policy_schema_filter = args[:policy_schema_filter] if args.key?(:policy_schema_filter)
702
- @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
769
+ @default_value = args[:default_value] if args.key?(:default_value)
770
+ @description = args[:description] if args.key?(:description)
771
+ @field = args[:field] if args.key?(:field)
772
+ @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
773
+ @field_description = args[:field_description] if args.key?(:field_description)
774
+ @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
775
+ @known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
776
+ @name = args[:name] if args.key?(:name)
777
+ @nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
778
+ @required_items = args[:required_items] if args.key?(:required_items)
703
779
  end
704
780
  end
705
781
 
706
- # Response message for getting the resolved policy value for a specific target.
707
- class GoogleChromePolicyV1ResolveResponse
782
+ # Provides detailed information about a known value that is allowed for a
783
+ # particular field in a PolicySchema.
784
+ class GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription
708
785
  include Google::Apis::Core::Hashable
709
786
 
710
- # The page token used to get the next set of resolved policies found by the
711
- # request.
712
- # Corresponds to the JSON property `nextPageToken`
787
+ # Output only. Additional description for this value.
788
+ # Corresponds to the JSON property `description`
713
789
  # @return [String]
714
- attr_accessor :next_page_token
790
+ attr_accessor :description
715
791
 
716
- # The list of resolved policies found by the resolve request.
717
- # Corresponds to the JSON property `resolvedPolicies`
718
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolvedPolicy>]
719
- attr_accessor :resolved_policies
792
+ # Output only. The string represenstation of the value that can be set for the
793
+ # field.
794
+ # Corresponds to the JSON property `value`
795
+ # @return [String]
796
+ attr_accessor :value
720
797
 
721
798
  def initialize(**args)
722
799
  update!(**args)
@@ -724,34 +801,39 @@ module Google
724
801
 
725
802
  # Update properties of this object
726
803
  def update!(**args)
727
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
728
- @resolved_policies = args[:resolved_policies] if args.key?(:resolved_policies)
804
+ @description = args[:description] if args.key?(:description)
805
+ @value = args[:value] if args.key?(:value)
729
806
  end
730
807
  end
731
808
 
732
- # The resolved value of a policy for a given target.
733
- class GoogleChromePolicyV1ResolvedPolicy
809
+ # Provides special notice messages related to a particular value in a field that
810
+ # is part of a PolicySchema.
811
+ class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription
734
812
  include Google::Apis::Core::Hashable
735
813
 
736
- # The key used to identify the target on which the policy will be applied.
737
- # Corresponds to the JSON property `addedSourceKey`
738
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
739
- attr_accessor :added_source_key
814
+ # Output only. Whether the user needs to acknowledge the notice message before
815
+ # the value can be set.
816
+ # Corresponds to the JSON property `acknowledgementRequired`
817
+ # @return [Boolean]
818
+ attr_accessor :acknowledgement_required
819
+ alias_method :acknowledgement_required?, :acknowledgement_required
740
820
 
741
- # The key used to identify the target on which the policy will be applied.
742
- # Corresponds to the JSON property `sourceKey`
743
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
744
- attr_accessor :source_key
821
+ # Output only. The field name associated with the notice.
822
+ # Corresponds to the JSON property `field`
823
+ # @return [String]
824
+ attr_accessor :field
745
825
 
746
- # The key used to identify the target on which the policy will be applied.
747
- # Corresponds to the JSON property `targetKey`
748
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
749
- attr_accessor :target_key
826
+ # Output only. The notice message associate with the value of the field.
827
+ # Corresponds to the JSON property `noticeMessage`
828
+ # @return [String]
829
+ attr_accessor :notice_message
750
830
 
751
- # A particular value for a policy managed by the service.
752
- # Corresponds to the JSON property `value`
753
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyValue]
754
- attr_accessor :value
831
+ # Output only. The value of the field that has a notice. When setting the field
832
+ # to this value, the user may be required to acknowledge the notice message in
833
+ # order for the value to be set.
834
+ # Corresponds to the JSON property `noticeValue`
835
+ # @return [String]
836
+ attr_accessor :notice_value
755
837
 
756
838
  def initialize(**args)
757
839
  update!(**args)
@@ -759,31 +841,28 @@ module Google
759
841
 
760
842
  # Update properties of this object
761
843
  def update!(**args)
762
- @added_source_key = args[:added_source_key] if args.key?(:added_source_key)
763
- @source_key = args[:source_key] if args.key?(:source_key)
764
- @target_key = args[:target_key] if args.key?(:target_key)
765
- @value = args[:value] if args.key?(:value)
844
+ @acknowledgement_required = args[:acknowledgement_required] if args.key?(:acknowledgement_required)
845
+ @field = args[:field] if args.key?(:field)
846
+ @notice_message = args[:notice_message] if args.key?(:notice_message)
847
+ @notice_value = args[:notice_value] if args.key?(:notice_value)
766
848
  end
767
849
  end
768
850
 
769
- # Request message for updating the group priority ordering of an app.
770
- class GoogleChromePolicyV1UpdateGroupPriorityOrderingRequest
851
+ # The fields that will become required based on the value of this field.
852
+ class GoogleChromePolicyVersionsV1PolicySchemaRequiredItems
771
853
  include Google::Apis::Core::Hashable
772
854
 
773
- # Required. The group IDs, in desired priority ordering.
774
- # Corresponds to the JSON property `groupIds`
855
+ # The value(s) of the field that provoke required field enforcement. An empty
856
+ # field_conditions implies that any value assigned to this field will provoke
857
+ # required field enforcement.
858
+ # Corresponds to the JSON property `fieldConditions`
775
859
  # @return [Array<String>]
776
- attr_accessor :group_ids
777
-
778
- # Required. The namespace of the policy type for the request.
779
- # Corresponds to the JSON property `policyNamespace`
780
- # @return [String]
781
- attr_accessor :policy_namespace
860
+ attr_accessor :field_conditions
782
861
 
783
- # The key used to identify the target on which the policy will be applied.
784
- # Corresponds to the JSON property `policyTargetKey`
785
- # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey]
786
- attr_accessor :policy_target_key
862
+ # The fields that are required as a consequence of the field conditions.
863
+ # Corresponds to the JSON property `requiredFields`
864
+ # @return [Array<String>]
865
+ attr_accessor :required_fields
787
866
 
788
867
  def initialize(**args)
789
868
  update!(**args)
@@ -791,26 +870,27 @@ module Google
791
870
 
792
871
  # Update properties of this object
793
872
  def update!(**args)
794
- @group_ids = args[:group_ids] if args.key?(:group_ids)
795
- @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
796
- @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
873
+ @field_conditions = args[:field_conditions] if args.key?(:field_conditions)
874
+ @required_fields = args[:required_fields] if args.key?(:required_fields)
797
875
  end
798
876
  end
799
877
 
800
- # Additional key names that will be used to identify the target of the policy
801
- # value.
802
- class GoogleChromePolicyVersionsV1AdditionalTargetKeyName
878
+ # The key used to identify the target on which the policy will be applied.
879
+ class GoogleChromePolicyVersionsV1PolicyTargetKey
803
880
  include Google::Apis::Core::Hashable
804
881
 
805
- # Key name.
806
- # Corresponds to the JSON property `key`
807
- # @return [String]
808
- attr_accessor :key
882
+ # Map containing the additional target key name and value pairs used to further
883
+ # identify the target of the policy.
884
+ # Corresponds to the JSON property `additionalTargetKeys`
885
+ # @return [Hash<String,String>]
886
+ attr_accessor :additional_target_keys
809
887
 
810
- # Key description.
811
- # Corresponds to the JSON property `keyDescription`
888
+ # The target resource on which this policy is applied. The following resources
889
+ # are supported: * Organizational Unit ("orgunits/`orgunit_id`") * Group ("
890
+ # groups/`group_id`")
891
+ # Corresponds to the JSON property `targetResource`
812
892
  # @return [String]
813
- attr_accessor :key_description
893
+ attr_accessor :target_resource
814
894
 
815
895
  def initialize(**args)
816
896
  update!(**args)
@@ -818,24 +898,25 @@ module Google
818
898
 
819
899
  # Update properties of this object
820
900
  def update!(**args)
821
- @key = args[:key] if args.key?(:key)
822
- @key_description = args[:key_description] if args.key?(:key_description)
901
+ @additional_target_keys = args[:additional_target_keys] if args.key?(:additional_target_keys)
902
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
823
903
  end
824
904
  end
825
905
 
826
- # Response message for listing policy schemas that match a filter.
827
- class GoogleChromePolicyVersionsV1ListPolicySchemasResponse
906
+ # A particular value for a policy managed by the service.
907
+ class GoogleChromePolicyVersionsV1PolicyValue
828
908
  include Google::Apis::Core::Hashable
829
909
 
830
- # The page token used to get the next page of policy schemas.
831
- # Corresponds to the JSON property `nextPageToken`
910
+ # The fully qualified name of the policy schema associated with this policy.
911
+ # Corresponds to the JSON property `policySchema`
832
912
  # @return [String]
833
- attr_accessor :next_page_token
913
+ attr_accessor :policy_schema
834
914
 
835
- # The list of policy schemas that match the query.
836
- # Corresponds to the JSON property `policySchemas`
837
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchema>]
838
- attr_accessor :policy_schemas
915
+ # The value of the policy that is compatible with the schema that it is
916
+ # associated with.
917
+ # Corresponds to the JSON property `value`
918
+ # @return [Hash<String,Object>]
919
+ attr_accessor :value
839
920
 
840
921
  def initialize(**args)
841
922
  update!(**args)
@@ -843,85 +924,41 @@ module Google
843
924
 
844
925
  # Update properties of this object
845
926
  def update!(**args)
846
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
847
- @policy_schemas = args[:policy_schemas] if args.key?(:policy_schemas)
927
+ @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
928
+ @value = args[:value] if args.key?(:value)
848
929
  end
849
930
  end
850
931
 
851
- # Resource representing a policy schema.
852
- class GoogleChromePolicyVersionsV1PolicySchema
932
+ # Request object for removing a certificate.
933
+ class GoogleChromePolicyVersionsV1RemoveCertificateRequest
853
934
  include Google::Apis::Core::Hashable
854
935
 
855
- # Output only. Specific access restrictions related to this policy.
856
- # Corresponds to the JSON property `accessRestrictions`
857
- # @return [Array<String>]
858
- attr_accessor :access_restrictions
859
-
860
- # Output only. Additional key names that will be used to identify the target of
861
- # the policy value. When specifying a `policyTargetKey`, each of the additional
862
- # keys specified here will have to be included in the `additionalTargetKeys` map.
863
- # Corresponds to the JSON property `additionalTargetKeyNames`
864
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1AdditionalTargetKeyName>]
865
- attr_accessor :additional_target_key_names
866
-
867
- # Title of the category in which a setting belongs.
868
- # Corresponds to the JSON property `categoryTitle`
869
- # @return [String]
870
- attr_accessor :category_title
871
-
872
- # Describes a complete .proto file.
873
- # Corresponds to the JSON property `definition`
874
- # @return [Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto]
875
- attr_accessor :definition
876
-
877
- # Output only. Detailed description of each field that is part of the schema.
878
- # Corresponds to the JSON property `fieldDescriptions`
879
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDescription>]
880
- attr_accessor :field_descriptions
881
-
882
- # Format: name=customers/`customer`/policySchemas/`schema_namespace`
883
- # Corresponds to the JSON property `name`
936
+ # Required. The GUID of the certificate to remove.
937
+ # Corresponds to the JSON property `networkId`
884
938
  # @return [String]
885
- attr_accessor :name
886
-
887
- # Output only. Special notice messages related to setting certain values in
888
- # certain fields in the schema.
889
- # Corresponds to the JSON property `notices`
890
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription>]
891
- attr_accessor :notices
892
-
893
- # Output only. Current lifecycle information.
894
- # Corresponds to the JSON property `policyApiLifecycle`
895
- # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
896
- attr_accessor :policy_api_lifecycle
897
-
898
- # Deprecated field because of typo.
899
- # Corresponds to the JSON property `policyApiLifeycle`
900
- # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
901
- attr_accessor :policy_api_lifeycle
939
+ attr_accessor :network_id
902
940
 
903
- # Output only. Description about the policy schema for user consumption.
904
- # Corresponds to the JSON property `policyDescription`
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`
905
945
  # @return [String]
906
- attr_accessor :policy_description
946
+ attr_accessor :target_resource
907
947
 
908
- # Output only. The fully qualified name of the policy schema. This value is used
909
- # to fill the field `policy_schema` in PolicyValue when calling
910
- # BatchInheritOrgUnitPolicies BatchModifyOrgUnitPolicies
911
- # BatchModifyGroupPolicies or BatchDeleteGroupPolicies.
912
- # Corresponds to the JSON property `schemaName`
913
- # @return [String]
914
- attr_accessor :schema_name
948
+ def initialize(**args)
949
+ update!(**args)
950
+ end
915
951
 
916
- # Output only. URI to related support article for this schema.
917
- # Corresponds to the JSON property `supportUri`
918
- # @return [String]
919
- attr_accessor :support_uri
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
920
958
 
921
- # Output only. Information about applicable target resources for the policy.
922
- # Corresponds to the JSON property `validTargetResources`
923
- # @return [Array<String>]
924
- attr_accessor :valid_target_resources
959
+ # Response object for removing a certificate.
960
+ class GoogleChromePolicyVersionsV1RemoveCertificateResponse
961
+ include Google::Apis::Core::Hashable
925
962
 
926
963
  def initialize(**args)
927
964
  update!(**args)
@@ -929,36 +966,24 @@ module Google
929
966
 
930
967
  # Update properties of this object
931
968
  def update!(**args)
932
- @access_restrictions = args[:access_restrictions] if args.key?(:access_restrictions)
933
- @additional_target_key_names = args[:additional_target_key_names] if args.key?(:additional_target_key_names)
934
- @category_title = args[:category_title] if args.key?(:category_title)
935
- @definition = args[:definition] if args.key?(:definition)
936
- @field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
937
- @name = args[:name] if args.key?(:name)
938
- @notices = args[:notices] if args.key?(:notices)
939
- @policy_api_lifecycle = args[:policy_api_lifecycle] if args.key?(:policy_api_lifecycle)
940
- @policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
941
- @policy_description = args[:policy_description] if args.key?(:policy_description)
942
- @schema_name = args[:schema_name] if args.key?(:schema_name)
943
- @support_uri = args[:support_uri] if args.key?(:support_uri)
944
- @valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
945
969
  end
946
970
  end
947
971
 
948
- # The field and the value it must have for another field to be allowed to be set.
949
- class GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies
972
+ # Request object for removing a network
973
+ class GoogleChromePolicyVersionsV1RemoveNetworkRequest
950
974
  include Google::Apis::Core::Hashable
951
975
 
952
- # The source field which this field depends on.
953
- # Corresponds to the JSON property `sourceField`
976
+ # Required. The GUID of the network to remove.
977
+ # Corresponds to the JSON property `networkId`
954
978
  # @return [String]
955
- attr_accessor :source_field
979
+ attr_accessor :network_id
956
980
 
957
- # The value which the source field must have for this field to be allowed to be
958
- # set.
959
- # Corresponds to the JSON property `sourceFieldValue`
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`
960
985
  # @return [String]
961
- attr_accessor :source_field_value
986
+ attr_accessor :target_resource
962
987
 
963
988
  def initialize(**args)
964
989
  update!(**args)
@@ -966,71 +991,54 @@ module Google
966
991
 
967
992
  # Update properties of this object
968
993
  def update!(**args)
969
- @source_field = args[:source_field] if args.key?(:source_field)
970
- @source_field_value = args[:source_field_value] if args.key?(:source_field_value)
994
+ @network_id = args[:network_id] if args.key?(:network_id)
995
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
971
996
  end
972
997
  end
973
998
 
974
- # Provides detailed information for a particular field that is part of a
975
- # PolicySchema.
976
- class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription
999
+ # Response object for removing a network.
1000
+ class GoogleChromePolicyVersionsV1RemoveNetworkResponse
977
1001
  include Google::Apis::Core::Hashable
978
1002
 
979
- # Output only. Client default if the policy is unset.
980
- # Corresponds to the JSON property `defaultValue`
981
- # @return [Object]
982
- attr_accessor :default_value
983
-
984
- # Deprecated. Use name and field_description instead. The description for the
985
- # field.
986
- # Corresponds to the JSON property `description`
987
- # @return [String]
988
- attr_accessor :description
1003
+ def initialize(**args)
1004
+ update!(**args)
1005
+ end
989
1006
 
990
- # Output only. The name of the field for associated with this description.
991
- # Corresponds to the JSON property `field`
992
- # @return [String]
993
- attr_accessor :field
1007
+ # Update properties of this object
1008
+ def update!(**args)
1009
+ end
1010
+ end
994
1011
 
995
- # Output only. Provides a list of fields and values. At least one of the fields
996
- # must have the corresponding value in order for this field to be allowed to be
997
- # set.
998
- # Corresponds to the JSON property `fieldDependencies`
999
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies>]
1000
- attr_accessor :field_dependencies
1012
+ # Request message for getting the resolved policy value for a specific target.
1013
+ class GoogleChromePolicyVersionsV1ResolveRequest
1014
+ include Google::Apis::Core::Hashable
1001
1015
 
1002
- # Output only. The description of the field.
1003
- # Corresponds to the JSON property `fieldDescription`
1004
- # @return [String]
1005
- attr_accessor :field_description
1016
+ # The maximum number of policies to return, defaults to 100 and has a maximum of
1017
+ # 1000.
1018
+ # Corresponds to the JSON property `pageSize`
1019
+ # @return [Fixnum]
1020
+ attr_accessor :page_size
1006
1021
 
1007
- # Output only. Any input constraints associated on the values for the field.
1008
- # Corresponds to the JSON property `inputConstraint`
1022
+ # The page token used to retrieve a specific page of the request.
1023
+ # Corresponds to the JSON property `pageToken`
1009
1024
  # @return [String]
1010
- attr_accessor :input_constraint
1011
-
1012
- # Output only. If the field has a set of known values, this field will provide a
1013
- # description for these values.
1014
- # Corresponds to the JSON property `knownValueDescriptions`
1015
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription>]
1016
- attr_accessor :known_value_descriptions
1025
+ attr_accessor :page_token
1017
1026
 
1018
- # Output only. The name of the field.
1019
- # Corresponds to the JSON property `name`
1027
+ # The schema filter to apply to the resolve request. Specify a schema name to
1028
+ # view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards
1029
+ # are supported, but only in the leaf portion of the schema name. Wildcards
1030
+ # cannot be used in namespace directly. Please read https://developers.google.
1031
+ # com/chrome/policy/guides/policy-schemas for details on schema namespaces. For
1032
+ # example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*"
1033
+ # Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
1034
+ # Corresponds to the JSON property `policySchemaFilter`
1020
1035
  # @return [String]
1021
- attr_accessor :name
1022
-
1023
- # Output only. Provides the description of the fields nested in this field, if
1024
- # the field is a message type that defines multiple fields.
1025
- # Corresponds to the JSON property `nestedFieldDescriptions`
1026
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDescription>]
1027
- attr_accessor :nested_field_descriptions
1036
+ attr_accessor :policy_schema_filter
1028
1037
 
1029
- # Output only. Provides a list of fields that are required to be set if this
1030
- # field has a certain value.
1031
- # Corresponds to the JSON property `requiredItems`
1032
- # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaRequiredItems>]
1033
- attr_accessor :required_items
1038
+ # The key used to identify the target on which the policy will be applied.
1039
+ # Corresponds to the JSON property `policyTargetKey`
1040
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
1041
+ attr_accessor :policy_target_key
1034
1042
 
1035
1043
  def initialize(**args)
1036
1044
  update!(**args)
@@ -1038,34 +1046,27 @@ module Google
1038
1046
 
1039
1047
  # Update properties of this object
1040
1048
  def update!(**args)
1041
- @default_value = args[:default_value] if args.key?(:default_value)
1042
- @description = args[:description] if args.key?(:description)
1043
- @field = args[:field] if args.key?(:field)
1044
- @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
1045
- @field_description = args[:field_description] if args.key?(:field_description)
1046
- @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
1047
- @known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
1048
- @name = args[:name] if args.key?(:name)
1049
- @nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
1050
- @required_items = args[:required_items] if args.key?(:required_items)
1049
+ @page_size = args[:page_size] if args.key?(:page_size)
1050
+ @page_token = args[:page_token] if args.key?(:page_token)
1051
+ @policy_schema_filter = args[:policy_schema_filter] if args.key?(:policy_schema_filter)
1052
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
1051
1053
  end
1052
1054
  end
1053
1055
 
1054
- # Provides detailed information about a known value that is allowed for a
1055
- # particular field in a PolicySchema.
1056
- class GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription
1056
+ # Response message for getting the resolved policy value for a specific target.
1057
+ class GoogleChromePolicyVersionsV1ResolveResponse
1057
1058
  include Google::Apis::Core::Hashable
1058
1059
 
1059
- # Output only. Additional description for this value.
1060
- # Corresponds to the JSON property `description`
1060
+ # The page token used to get the next set of resolved policies found by the
1061
+ # request.
1062
+ # Corresponds to the JSON property `nextPageToken`
1061
1063
  # @return [String]
1062
- attr_accessor :description
1064
+ attr_accessor :next_page_token
1063
1065
 
1064
- # Output only. The string represenstation of the value that can be set for the
1065
- # field.
1066
- # Corresponds to the JSON property `value`
1067
- # @return [String]
1068
- attr_accessor :value
1066
+ # The list of resolved policies found by the resolve request.
1067
+ # Corresponds to the JSON property `resolvedPolicies`
1068
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolvedPolicy>]
1069
+ attr_accessor :resolved_policies
1069
1070
 
1070
1071
  def initialize(**args)
1071
1072
  update!(**args)
@@ -1073,39 +1074,34 @@ module Google
1073
1074
 
1074
1075
  # Update properties of this object
1075
1076
  def update!(**args)
1076
- @description = args[:description] if args.key?(:description)
1077
- @value = args[:value] if args.key?(:value)
1077
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1078
+ @resolved_policies = args[:resolved_policies] if args.key?(:resolved_policies)
1078
1079
  end
1079
1080
  end
1080
1081
 
1081
- # Provides special notice messages related to a particular value in a field that
1082
- # is part of a PolicySchema.
1083
- class GoogleChromePolicyVersionsV1PolicySchemaNoticeDescription
1082
+ # The resolved value of a policy for a given target.
1083
+ class GoogleChromePolicyVersionsV1ResolvedPolicy
1084
1084
  include Google::Apis::Core::Hashable
1085
1085
 
1086
- # Output only. Whether the user needs to acknowledge the notice message before
1087
- # the value can be set.
1088
- # Corresponds to the JSON property `acknowledgementRequired`
1089
- # @return [Boolean]
1090
- attr_accessor :acknowledgement_required
1091
- alias_method :acknowledgement_required?, :acknowledgement_required
1086
+ # The key used to identify the target on which the policy will be applied.
1087
+ # Corresponds to the JSON property `addedSourceKey`
1088
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
1089
+ attr_accessor :added_source_key
1092
1090
 
1093
- # Output only. The field name associated with the notice.
1094
- # Corresponds to the JSON property `field`
1095
- # @return [String]
1096
- attr_accessor :field
1091
+ # The key used to identify the target on which the policy will be applied.
1092
+ # Corresponds to the JSON property `sourceKey`
1093
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
1094
+ attr_accessor :source_key
1097
1095
 
1098
- # Output only. The notice message associate with the value of the field.
1099
- # Corresponds to the JSON property `noticeMessage`
1100
- # @return [String]
1101
- attr_accessor :notice_message
1096
+ # The key used to identify the target on which the policy will be applied.
1097
+ # Corresponds to the JSON property `targetKey`
1098
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
1099
+ attr_accessor :target_key
1102
1100
 
1103
- # Output only. The value of the field that has a notice. When setting the field
1104
- # to this value, the user may be required to acknowledge the notice message in
1105
- # order for the value to be set.
1106
- # Corresponds to the JSON property `noticeValue`
1107
- # @return [String]
1108
- attr_accessor :notice_value
1101
+ # A particular value for a policy managed by the service.
1102
+ # Corresponds to the JSON property `value`
1103
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue]
1104
+ attr_accessor :value
1109
1105
 
1110
1106
  def initialize(**args)
1111
1107
  update!(**args)
@@ -1113,28 +1109,31 @@ module Google
1113
1109
 
1114
1110
  # Update properties of this object
1115
1111
  def update!(**args)
1116
- @acknowledgement_required = args[:acknowledgement_required] if args.key?(:acknowledgement_required)
1117
- @field = args[:field] if args.key?(:field)
1118
- @notice_message = args[:notice_message] if args.key?(:notice_message)
1119
- @notice_value = args[:notice_value] if args.key?(:notice_value)
1112
+ @added_source_key = args[:added_source_key] if args.key?(:added_source_key)
1113
+ @source_key = args[:source_key] if args.key?(:source_key)
1114
+ @target_key = args[:target_key] if args.key?(:target_key)
1115
+ @value = args[:value] if args.key?(:value)
1120
1116
  end
1121
1117
  end
1122
1118
 
1123
- # The fields that will become required based on the value of this field.
1124
- class GoogleChromePolicyVersionsV1PolicySchemaRequiredItems
1119
+ # Request message for updating the group priority ordering of an app.
1120
+ class GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest
1125
1121
  include Google::Apis::Core::Hashable
1126
1122
 
1127
- # The value(s) of the field that provoke required field enforcement. An empty
1128
- # field_conditions implies that any value assigned to this field will provoke
1129
- # required field enforcement.
1130
- # Corresponds to the JSON property `fieldConditions`
1123
+ # Required. The group IDs, in desired priority ordering.
1124
+ # Corresponds to the JSON property `groupIds`
1131
1125
  # @return [Array<String>]
1132
- attr_accessor :field_conditions
1126
+ attr_accessor :group_ids
1133
1127
 
1134
- # The fields that are required as a consequence of the field conditions.
1135
- # Corresponds to the JSON property `requiredFields`
1136
- # @return [Array<String>]
1137
- attr_accessor :required_fields
1128
+ # Required. The namespace of the policy type for the request.
1129
+ # Corresponds to the JSON property `policyNamespace`
1130
+ # @return [String]
1131
+ attr_accessor :policy_namespace
1132
+
1133
+ # The key used to identify the target on which the policy will be applied.
1134
+ # Corresponds to the JSON property `policyTargetKey`
1135
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
1136
+ attr_accessor :policy_target_key
1138
1137
 
1139
1138
  def initialize(**args)
1140
1139
  update!(**args)
@@ -1142,8 +1141,9 @@ module Google
1142
1141
 
1143
1142
  # Update properties of this object
1144
1143
  def update!(**args)
1145
- @field_conditions = args[:field_conditions] if args.key?(:field_conditions)
1146
- @required_fields = args[:required_fields] if args.key?(:required_fields)
1144
+ @group_ids = args[:group_ids] if args.key?(:group_ids)
1145
+ @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
1146
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
1147
1147
  end
1148
1148
  end
1149
1149