google-apis-chromepolicy_v1 0.5.0 → 0.6.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: 1b3409629cba67e62175a11ea594a76019a561ee10cade79b749343659a0cf8c
|
4
|
+
data.tar.gz: ad5bbbfc4751d201df54da9a73589564673b3a2586c3819b19e972b8c5c07646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 781e607d6bebf3e09d3d969f24a5b759d906682ec1d7343f3cd05f3583b45080eb64c1dea403fac6625ee95a309daa6c5f5257e514b04a6b71e7e0e69b64be97
|
7
|
+
data.tar.gz: 1615682bbfc198ecb8c114da24ae6d95ea43d92b7e81bc492279c705b64b9b272f71e4cfe05f6120b472adaa636abfdee30d3b43609f6b4a782d9cee4a216802
|
data/CHANGELOG.md
CHANGED
@@ -258,6 +258,32 @@ module Google
|
|
258
258
|
end
|
259
259
|
end
|
260
260
|
|
261
|
+
# The field and the value it must have for another field to be allowed to be set.
|
262
|
+
class GoogleChromePolicyV1PolicySchemaFieldDependencies
|
263
|
+
include Google::Apis::Core::Hashable
|
264
|
+
|
265
|
+
# The source field which this field depends on.
|
266
|
+
# Corresponds to the JSON property `sourceField`
|
267
|
+
# @return [String]
|
268
|
+
attr_accessor :source_field
|
269
|
+
|
270
|
+
# The value which the source field must have for this field to be allowed to be
|
271
|
+
# set.
|
272
|
+
# Corresponds to the JSON property `sourceFieldValue`
|
273
|
+
# @return [String]
|
274
|
+
attr_accessor :source_field_value
|
275
|
+
|
276
|
+
def initialize(**args)
|
277
|
+
update!(**args)
|
278
|
+
end
|
279
|
+
|
280
|
+
# Update properties of this object
|
281
|
+
def update!(**args)
|
282
|
+
@source_field = args[:source_field] if args.key?(:source_field)
|
283
|
+
@source_field_value = args[:source_field_value] if args.key?(:source_field_value)
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
261
287
|
# Provides detailed information for a particular field that is part of a
|
262
288
|
# PolicySchema.
|
263
289
|
class GoogleChromePolicyV1PolicySchemaFieldDescription
|
@@ -273,6 +299,12 @@ module Google
|
|
273
299
|
# @return [String]
|
274
300
|
attr_accessor :field
|
275
301
|
|
302
|
+
# Output only. Provides a list of fields and the values they must have for this
|
303
|
+
# field to be allowed to be set.
|
304
|
+
# Corresponds to the JSON property `fieldDependencies`
|
305
|
+
# @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]
|
306
|
+
attr_accessor :field_dependencies
|
307
|
+
|
276
308
|
# Output only. Any input constraints associated on the values for the field.
|
277
309
|
# Corresponds to the JSON property `inputConstraint`
|
278
310
|
# @return [String]
|
@@ -298,6 +330,7 @@ module Google
|
|
298
330
|
def update!(**args)
|
299
331
|
@description = args[:description] if args.key?(:description)
|
300
332
|
@field = args[:field] if args.key?(:field)
|
333
|
+
@field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
|
301
334
|
@input_constraint = args[:input_constraint] if args.key?(:input_constraint)
|
302
335
|
@known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
|
303
336
|
@nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210727"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleChromePolicyV1PolicySchemaFieldDependencies
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleChromePolicyV1PolicySchemaFieldDescription
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -238,11 +244,21 @@ module Google
|
|
238
244
|
end
|
239
245
|
end
|
240
246
|
|
247
|
+
class GoogleChromePolicyV1PolicySchemaFieldDependencies
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
property :source_field, as: 'sourceField'
|
251
|
+
property :source_field_value, as: 'sourceFieldValue'
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
241
255
|
class GoogleChromePolicyV1PolicySchemaFieldDescription
|
242
256
|
# @private
|
243
257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
244
258
|
property :description, as: 'description'
|
245
259
|
property :field, as: 'field'
|
260
|
+
collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies::Representation
|
261
|
+
|
246
262
|
property :input_constraint, as: 'inputConstraint'
|
247
263
|
collection :known_value_descriptions, as: 'knownValueDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::Representation
|
248
264
|
|
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.6.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: 2021-
|
11
|
+
date: 2021-08-02 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/master/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.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-chromepolicy_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|