google-apis-chromepolicy_v1 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c61b511ab6266624a645c345232641611359e79071ec60fcbf797cc6495a50d7
|
4
|
+
data.tar.gz: 475a3bd1a356aac38111bb1591a5d7e55cbae8cc198c4baf7151958b57aab8e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39f2fc76282751e25c09b53f2a332cfa29bc3185b0d970da8bff1692bda11c7d09a2f657634be54bf229f6b9e42932d462380e2c33a8b350b989928ee97e60a3
|
7
|
+
data.tar.gz: fe43c14433eaaa28b0182eaf40859ce357d6693fb89442cb5865e9979c9a8ff4f77ee21f9156b18c4125b7a6996ded7470b4ae081cd45ecffca99c2f9eb27852
|
data/CHANGELOG.md
CHANGED
@@ -372,6 +372,12 @@ module Google
|
|
372
372
|
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]
|
373
373
|
attr_accessor :nested_field_descriptions
|
374
374
|
|
375
|
+
# Output only. Provides a list of fields that are required to be set if this
|
376
|
+
# field has a certain value.
|
377
|
+
# Corresponds to the JSON property `requiredItems`
|
378
|
+
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems>]
|
379
|
+
attr_accessor :required_items
|
380
|
+
|
375
381
|
def initialize(**args)
|
376
382
|
update!(**args)
|
377
383
|
end
|
@@ -384,6 +390,7 @@ module Google
|
|
384
390
|
@input_constraint = args[:input_constraint] if args.key?(:input_constraint)
|
385
391
|
@known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
|
386
392
|
@nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
|
393
|
+
@required_items = args[:required_items] if args.key?(:required_items)
|
387
394
|
end
|
388
395
|
end
|
389
396
|
|
@@ -456,6 +463,33 @@ module Google
|
|
456
463
|
end
|
457
464
|
end
|
458
465
|
|
466
|
+
# The fields that will become required based on the value of this field.
|
467
|
+
class GoogleChromePolicyV1PolicySchemaRequiredItems
|
468
|
+
include Google::Apis::Core::Hashable
|
469
|
+
|
470
|
+
# The value(s) of the field that provoke required field enforcement. An empty
|
471
|
+
# field_conditions implies that any value assigned to this field will provoke
|
472
|
+
# required field enforcement.
|
473
|
+
# Corresponds to the JSON property `fieldConditions`
|
474
|
+
# @return [Array<String>]
|
475
|
+
attr_accessor :field_conditions
|
476
|
+
|
477
|
+
# The fields that are required as a consequence of the field conditions.
|
478
|
+
# Corresponds to the JSON property `requiredFields`
|
479
|
+
# @return [Array<String>]
|
480
|
+
attr_accessor :required_fields
|
481
|
+
|
482
|
+
def initialize(**args)
|
483
|
+
update!(**args)
|
484
|
+
end
|
485
|
+
|
486
|
+
# Update properties of this object
|
487
|
+
def update!(**args)
|
488
|
+
@field_conditions = args[:field_conditions] if args.key?(:field_conditions)
|
489
|
+
@required_fields = args[:required_fields] if args.key?(:required_fields)
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
459
493
|
# The key used to identify the target on which the policy will be applied.
|
460
494
|
class GoogleChromePolicyV1PolicyTargetKey
|
461
495
|
include Google::Apis::Core::Hashable
|
@@ -659,8 +693,7 @@ module Google
|
|
659
693
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
660
694
|
# messages in your APIs. A typical example is to use it as the request or the
|
661
695
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
662
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
663
|
-
# `Empty` is empty JSON object ````.
|
696
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
664
697
|
class GoogleProtobufEmpty
|
665
698
|
include Google::Apis::Core::Hashable
|
666
699
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ChromepolicyV1
|
18
18
|
# Version of the google-apis-chromepolicy_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220321"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class GoogleChromePolicyV1PolicySchemaRequiredItems
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class GoogleChromePolicyV1PolicyTargetKey
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -289,6 +295,8 @@ module Google
|
|
289
295
|
|
290
296
|
collection :nested_field_descriptions, as: 'nestedFieldDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription::Representation
|
291
297
|
|
298
|
+
collection :required_items, as: 'requiredItems', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems::Representation
|
299
|
+
|
292
300
|
end
|
293
301
|
end
|
294
302
|
|
@@ -310,6 +318,14 @@ module Google
|
|
310
318
|
end
|
311
319
|
end
|
312
320
|
|
321
|
+
class GoogleChromePolicyV1PolicySchemaRequiredItems
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
collection :field_conditions, as: 'fieldConditions'
|
325
|
+
collection :required_fields, as: 'requiredFields'
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
313
329
|
class GoogleChromePolicyV1PolicyTargetKey
|
314
330
|
# @private
|
315
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-chromepolicy_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromepolicy_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|