google-apis-chromepolicy_v1 0.4.0 → 0.8.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: 6496cace496f7485fb03e5f42b086a02bfc5abc74dbe1f4e8c7d45018145e1cb
4
- data.tar.gz: 28cbf59b25c349b70cb088be3bf269f9a3d8cb1c5fa029d13539ae8a76cbe775
3
+ metadata.gz: 66a8dd244d6dd824537df30acadc8d4bd8434c0ca28bf4c105c050bb45d296fc
4
+ data.tar.gz: aa8cbef395f7fc8db73dabedd76b55815025783c6d04a0b8fd990bad1d3678cc
5
5
  SHA512:
6
- metadata.gz: 1638b9a73c41aaf807aff303382037bc1fd027c60b200c846d04c6d8ec8845f61b4ffdf20b1491798d0aa46feb5b0cc4ada7dfe03ca16ea27fbad13f90e28f8a
7
- data.tar.gz: 4e45f4f70932e9540b8eaf31420466882dfa447c1d285371644c067038c3ceefd28143b80b12fdda6864cbb0a4c194b944eed4d119906986513ecfa7966dcb87
6
+ metadata.gz: 538719766db930585d447f37dd1a964317cbbde3ed6479d2598057af31659f9e94d809cf22cca749bdcf1fe77d0a9c79bf94aaf6728b5dc60441e082a617f592
7
+ data.tar.gz: e3e7875e4fafe79c626c63c37e86d7e4a50fc3656718d6abba672b0301c370790e94a76b77dbc22c8513d90f46908eed6966d9188c13f1e586395213adea85aa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.8.0 (2021-10-08)
4
+
5
+ * Regenerated from discovery document revision 20211006
6
+
7
+ ### v0.7.0 (2021-08-28)
8
+
9
+ * Regenerated from discovery document revision 20210826
10
+
11
+ ### v0.6.0 (2021-07-29)
12
+
13
+ * Regenerated from discovery document revision 20210727
14
+
15
+ ### v0.5.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.4.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
@@ -186,7 +186,7 @@ module Google
186
186
  end
187
187
  end
188
188
 
189
- # Resource representing a policy schema. Next ID: 10
189
+ # Resource representing a policy schema. Next ID: 11
190
190
  class GoogleChromePolicyV1PolicySchema
191
191
  include Google::Apis::Core::Hashable
192
192
 
@@ -240,6 +240,11 @@ module Google
240
240
  # @return [String]
241
241
  attr_accessor :support_uri
242
242
 
243
+ # Output only. Information about applicable target resources for the policy.
244
+ # Corresponds to the JSON property `validTargetResources`
245
+ # @return [Array<String>]
246
+ attr_accessor :valid_target_resources
247
+
243
248
  def initialize(**args)
244
249
  update!(**args)
245
250
  end
@@ -255,6 +260,33 @@ module Google
255
260
  @policy_description = args[:policy_description] if args.key?(:policy_description)
256
261
  @schema_name = args[:schema_name] if args.key?(:schema_name)
257
262
  @support_uri = args[:support_uri] if args.key?(:support_uri)
263
+ @valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
264
+ end
265
+ end
266
+
267
+ # The field and the value it must have for another field to be allowed to be set.
268
+ class GoogleChromePolicyV1PolicySchemaFieldDependencies
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # The source field which this field depends on.
272
+ # Corresponds to the JSON property `sourceField`
273
+ # @return [String]
274
+ attr_accessor :source_field
275
+
276
+ # The value which the source field must have for this field to be allowed to be
277
+ # set.
278
+ # Corresponds to the JSON property `sourceFieldValue`
279
+ # @return [String]
280
+ attr_accessor :source_field_value
281
+
282
+ def initialize(**args)
283
+ update!(**args)
284
+ end
285
+
286
+ # Update properties of this object
287
+ def update!(**args)
288
+ @source_field = args[:source_field] if args.key?(:source_field)
289
+ @source_field_value = args[:source_field_value] if args.key?(:source_field_value)
258
290
  end
259
291
  end
260
292
 
@@ -273,12 +305,18 @@ module Google
273
305
  # @return [String]
274
306
  attr_accessor :field
275
307
 
308
+ # Output only. Provides a list of fields and the values they must have for this
309
+ # field to be allowed to be set.
310
+ # Corresponds to the JSON property `fieldDependencies`
311
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]
312
+ attr_accessor :field_dependencies
313
+
276
314
  # Output only. Any input constraints associated on the values for the field.
277
315
  # Corresponds to the JSON property `inputConstraint`
278
316
  # @return [String]
279
317
  attr_accessor :input_constraint
280
318
 
281
- # Output only. If the field has a set of know values, this field will provide a
319
+ # Output only. If the field has a set of known values, this field will provide a
282
320
  # description for these values.
283
321
  # Corresponds to the JSON property `knownValueDescriptions`
284
322
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>]
@@ -298,6 +336,7 @@ module Google
298
336
  def update!(**args)
299
337
  @description = args[:description] if args.key?(:description)
300
338
  @field = args[:field] if args.key?(:field)
339
+ @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
301
340
  @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
302
341
  @known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
303
342
  @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.4.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210429"
25
+ REVISION = "20211006"
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
 
@@ -235,6 +241,15 @@ module Google
235
241
  property :policy_description, as: 'policyDescription'
236
242
  property :schema_name, as: 'schemaName'
237
243
  property :support_uri, as: 'supportUri'
244
+ collection :valid_target_resources, as: 'validTargetResources'
245
+ end
246
+ end
247
+
248
+ class GoogleChromePolicyV1PolicySchemaFieldDependencies
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ property :source_field, as: 'sourceField'
252
+ property :source_field_value, as: 'sourceFieldValue'
238
253
  end
239
254
  end
240
255
 
@@ -243,6 +258,8 @@ module Google
243
258
  class Representation < Google::Apis::Core::JsonRepresentation
244
259
  property :description, as: 'description'
245
260
  property :field, as: 'field'
261
+ collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies::Representation
262
+
246
263
  property :input_constraint, as: 'inputConstraint'
247
264
  collection :known_value_descriptions, as: 'knownValueDescriptions', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription::Representation
248
265
 
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.0
4
+ version: 0.8.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.8.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: []