google-apis-chromepolicy_v1 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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
|
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::
|
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::
|
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
|
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::
|
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::
|
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
|
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
|
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
|
-
#
|
529
|
-
class
|
579
|
+
# Resource representing a policy schema.
|
580
|
+
class GoogleChromePolicyVersionsV1PolicySchema
|
530
581
|
include Google::Apis::Core::Hashable
|
531
582
|
|
532
|
-
#
|
533
|
-
#
|
534
|
-
#
|
535
|
-
|
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
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
# Corresponds to the JSON property `
|
542
|
-
# @return [
|
543
|
-
attr_accessor :
|
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
|
-
|
546
|
-
|
547
|
-
|
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
|
-
#
|
550
|
-
|
551
|
-
|
552
|
-
|
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
|
-
|
557
|
-
|
558
|
-
|
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
|
-
#
|
561
|
-
# Corresponds to the JSON property `
|
610
|
+
# Format: name=customers/`customer`/policySchemas/`schema_namespace`
|
611
|
+
# Corresponds to the JSON property `name`
|
562
612
|
# @return [String]
|
563
|
-
attr_accessor :
|
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
|
-
|
572
|
-
|
573
|
-
|
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
|
-
#
|
576
|
-
|
577
|
-
|
578
|
-
|
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
|
-
|
583
|
-
|
584
|
-
|
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
|
-
#
|
587
|
-
# Corresponds to the JSON property `
|
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 :
|
634
|
+
attr_accessor :policy_description
|
590
635
|
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
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 :
|
597
|
-
|
598
|
-
def initialize(**args)
|
599
|
-
update!(**args)
|
600
|
-
end
|
642
|
+
attr_accessor :schema_name
|
601
643
|
|
602
|
-
#
|
603
|
-
|
604
|
-
|
605
|
-
|
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
|
-
|
610
|
-
|
611
|
-
|
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
|
-
#
|
623
|
-
class
|
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
|
-
#
|
627
|
-
# Corresponds to the JSON property `
|
680
|
+
# The source field which this field depends on.
|
681
|
+
# Corresponds to the JSON property `sourceField`
|
628
682
|
# @return [String]
|
629
|
-
attr_accessor :
|
683
|
+
attr_accessor :source_field
|
630
684
|
|
631
|
-
#
|
632
|
-
#
|
633
|
-
#
|
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 :
|
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
|
-
@
|
645
|
-
@
|
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
|
-
#
|
650
|
-
|
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
|
-
|
654
|
-
|
655
|
-
|
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
|
-
#
|
658
|
-
|
659
|
-
|
660
|
-
|
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
|
-
|
663
|
-
|
664
|
-
|
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
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
|
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
|
-
#
|
673
|
-
# Corresponds to the JSON property `
|
730
|
+
# Output only. The description of the field.
|
731
|
+
# Corresponds to the JSON property `fieldDescription`
|
674
732
|
# @return [String]
|
675
|
-
attr_accessor :
|
733
|
+
attr_accessor :field_description
|
676
734
|
|
677
|
-
#
|
678
|
-
#
|
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 :
|
738
|
+
attr_accessor :input_constraint
|
687
739
|
|
688
|
-
#
|
689
|
-
#
|
690
|
-
#
|
691
|
-
|
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
|
-
@
|
700
|
-
@
|
701
|
-
@
|
702
|
-
@
|
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
|
-
#
|
707
|
-
|
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
|
-
#
|
711
|
-
#
|
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 :
|
790
|
+
attr_accessor :description
|
715
791
|
|
716
|
-
# The
|
717
|
-
#
|
718
|
-
#
|
719
|
-
|
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
|
-
@
|
728
|
-
@
|
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
|
-
#
|
733
|
-
|
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
|
-
#
|
737
|
-
#
|
738
|
-
#
|
739
|
-
|
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
|
-
#
|
742
|
-
# Corresponds to the JSON property `
|
743
|
-
# @return [
|
744
|
-
attr_accessor :
|
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
|
747
|
-
# Corresponds to the JSON property `
|
748
|
-
# @return [
|
749
|
-
attr_accessor :
|
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
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
|
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
|
-
@
|
763
|
-
@
|
764
|
-
@
|
765
|
-
@
|
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
|
-
#
|
770
|
-
class
|
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
|
-
#
|
774
|
-
#
|
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 :
|
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
|
784
|
-
# Corresponds to the JSON property `
|
785
|
-
# @return [
|
786
|
-
attr_accessor :
|
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
|
-
@
|
795
|
-
@
|
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
|
-
#
|
801
|
-
|
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
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
|
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
|
-
#
|
811
|
-
#
|
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 :
|
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
|
-
@
|
822
|
-
@
|
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
|
-
#
|
827
|
-
class
|
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
|
831
|
-
# Corresponds to the JSON property `
|
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 :
|
913
|
+
attr_accessor :policy_schema
|
834
914
|
|
835
|
-
# The
|
836
|
-
#
|
837
|
-
#
|
838
|
-
|
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
|
-
@
|
847
|
-
@
|
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
|
-
#
|
852
|
-
class
|
932
|
+
# Request object for removing a certificate.
|
933
|
+
class GoogleChromePolicyVersionsV1RemoveCertificateRequest
|
853
934
|
include Google::Apis::Core::Hashable
|
854
935
|
|
855
|
-
#
|
856
|
-
# Corresponds to the JSON property `
|
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 :
|
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
|
-
#
|
904
|
-
#
|
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 :
|
946
|
+
attr_accessor :target_resource
|
907
947
|
|
908
|
-
|
909
|
-
|
910
|
-
|
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
|
-
#
|
917
|
-
|
918
|
-
|
919
|
-
|
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
|
-
|
922
|
-
|
923
|
-
|
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
|
-
#
|
949
|
-
class
|
972
|
+
# Request object for removing a network
|
973
|
+
class GoogleChromePolicyVersionsV1RemoveNetworkRequest
|
950
974
|
include Google::Apis::Core::Hashable
|
951
975
|
|
952
|
-
# The
|
953
|
-
# Corresponds to the JSON property `
|
976
|
+
# Required. The GUID of the network to remove.
|
977
|
+
# Corresponds to the JSON property `networkId`
|
954
978
|
# @return [String]
|
955
|
-
attr_accessor :
|
979
|
+
attr_accessor :network_id
|
956
980
|
|
957
|
-
# The
|
958
|
-
#
|
959
|
-
#
|
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 :
|
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
|
-
@
|
970
|
-
@
|
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
|
-
#
|
975
|
-
|
976
|
-
class GoogleChromePolicyVersionsV1PolicySchemaFieldDescription
|
999
|
+
# Response object for removing a network.
|
1000
|
+
class GoogleChromePolicyVersionsV1RemoveNetworkResponse
|
977
1001
|
include Google::Apis::Core::Hashable
|
978
1002
|
|
979
|
-
|
980
|
-
|
981
|
-
|
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
|
-
#
|
991
|
-
|
992
|
-
|
993
|
-
|
1007
|
+
# Update properties of this object
|
1008
|
+
def update!(**args)
|
1009
|
+
end
|
1010
|
+
end
|
994
1011
|
|
995
|
-
|
996
|
-
|
997
|
-
|
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
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
|
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
|
-
#
|
1008
|
-
# Corresponds to the JSON property `
|
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 :
|
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
|
-
#
|
1019
|
-
#
|
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 :
|
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
|
-
#
|
1030
|
-
#
|
1031
|
-
#
|
1032
|
-
|
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
|
-
@
|
1042
|
-
@
|
1043
|
-
@
|
1044
|
-
@
|
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
|
-
#
|
1055
|
-
|
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
|
-
#
|
1060
|
-
#
|
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 :
|
1064
|
+
attr_accessor :next_page_token
|
1063
1065
|
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
|
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
|
-
@
|
1077
|
-
@
|
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
|
-
#
|
1082
|
-
|
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
|
-
#
|
1087
|
-
# the
|
1088
|
-
#
|
1089
|
-
|
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
|
-
#
|
1094
|
-
# Corresponds to the JSON property `
|
1095
|
-
# @return [
|
1096
|
-
attr_accessor :
|
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
|
-
#
|
1099
|
-
# Corresponds to the JSON property `
|
1100
|
-
# @return [
|
1101
|
-
attr_accessor :
|
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
|
-
#
|
1104
|
-
#
|
1105
|
-
#
|
1106
|
-
|
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
|
-
@
|
1117
|
-
@
|
1118
|
-
@
|
1119
|
-
@
|
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
|
-
#
|
1124
|
-
class
|
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
|
1128
|
-
#
|
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 :
|
1126
|
+
attr_accessor :group_ids
|
1133
1127
|
|
1134
|
-
# The
|
1135
|
-
# Corresponds to the JSON property `
|
1136
|
-
# @return [
|
1137
|
-
attr_accessor :
|
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
|
-
@
|
1146
|
-
@
|
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
|
|