google-apis-chromepolicy_v1 0.14.0 → 0.17.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: dccdd8f19384f0a4988831fd09dd7df2b7c2c2c9103d97b2ae1aa50ab0b37462
4
- data.tar.gz: 16281c73749daec9bb31e12c9106cda557feea42d4973116b8c80414b14dd686
3
+ metadata.gz: 1aadd90149c2d45b6d1267601280211f990c18787b077b2f0c0c76d9c218f589
4
+ data.tar.gz: 81e8fe1c089c7f85c5795d044bda6c02a4f8eb5168decf4fd488af4b30fb127d
5
5
  SHA512:
6
- metadata.gz: eb47443a65a2d44173ed6cf1e9c8148896ac48385f40d3c761d3516894c700be9d323925b0649e3644a770b057912045ae80c28e3c17ba9e686fe2146808e6ac
7
- data.tar.gz: 2b452fb2de9d0a5b79605c2bef5da708781945d28b8ade80fb14b5e58253533a276155a4c9daef05cb7d76f345eb0f76c5661d94202ad0da4295f228dc58638b
6
+ metadata.gz: 21d9745c15774e56777d0f42dbcf1efdaa6388b88eb0f06d66762907c9e049d9ac9775d36c5ac9512cd3331e0087f0e448431ec5fa90155ed51e9ce45e42ca34
7
+ data.tar.gz: 2384cb7e595c104c89f2477ccb1a315501cb0d1d4b8933473a0c9d4c66d3f04164d962aab5298d49db862f253cc83c9f3009b31a2ca47e336b703f89b98a4bda
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.17.0 (2022-05-10)
4
+
5
+ * Regenerated from discovery document revision 20220506
6
+
7
+ ### v0.16.0 (2022-03-23)
8
+
9
+ * Regenerated from discovery document revision 20220321
10
+
11
+ ### v0.15.0 (2022-03-02)
12
+
13
+ * Regenerated from discovery document revision 20220228
14
+
3
15
  ### v0.14.0 (2022-02-11)
4
16
 
5
17
  * Regenerated from discovery document revision 20220210
@@ -34,11 +34,11 @@ module Google
34
34
  # Represents a whole or partial calendar date, such as a birthday. The time of
35
35
  # day and time zone are either specified elsewhere or are insignificant. The
36
36
  # date is relative to the Gregorian Calendar. This can represent one of the
37
- # following: * A full date, with non-zero year, month, and day values * A month
38
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
39
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
40
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
41
- # DateTime * google.protobuf.Timestamp
37
+ # following: * A full date, with non-zero year, month, and day values. * A month
38
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
39
+ # with a zero month and a zero day. * A year and month, with a zero day (for
40
+ # example, a credit card expiration date). Related types: * google.type.
41
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
42
42
  # Corresponds to the JSON property `endSupport`
43
43
  # @return [Google::Apis::ChromepolicyV1::GoogleTypeDate]
44
44
  attr_accessor :end_support
@@ -349,8 +349,9 @@ module Google
349
349
  # @return [String]
350
350
  attr_accessor :field
351
351
 
352
- # Output only. Provides a list of fields and the values they must have for this
353
- # field to be allowed to be set.
352
+ # Output only. Provides a list of fields and values. At least one of the fields
353
+ # must have the corresponding value in order for this field to be allowed to be
354
+ # set.
354
355
  # Corresponds to the JSON property `fieldDependencies`
355
356
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]
356
357
  attr_accessor :field_dependencies
@@ -372,6 +373,12 @@ module Google
372
373
  # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]
373
374
  attr_accessor :nested_field_descriptions
374
375
 
376
+ # Output only. Provides a list of fields that are required to be set if this
377
+ # field has a certain value.
378
+ # Corresponds to the JSON property `requiredItems`
379
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaRequiredItems>]
380
+ attr_accessor :required_items
381
+
375
382
  def initialize(**args)
376
383
  update!(**args)
377
384
  end
@@ -384,6 +391,7 @@ module Google
384
391
  @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
385
392
  @known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
386
393
  @nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
394
+ @required_items = args[:required_items] if args.key?(:required_items)
387
395
  end
388
396
  end
389
397
 
@@ -456,6 +464,33 @@ module Google
456
464
  end
457
465
  end
458
466
 
467
+ # The fields that will become required based on the value of this field.
468
+ class GoogleChromePolicyV1PolicySchemaRequiredItems
469
+ include Google::Apis::Core::Hashable
470
+
471
+ # The value(s) of the field that provoke required field enforcement. An empty
472
+ # field_conditions implies that any value assigned to this field will provoke
473
+ # required field enforcement.
474
+ # Corresponds to the JSON property `fieldConditions`
475
+ # @return [Array<String>]
476
+ attr_accessor :field_conditions
477
+
478
+ # The fields that are required as a consequence of the field conditions.
479
+ # Corresponds to the JSON property `requiredFields`
480
+ # @return [Array<String>]
481
+ attr_accessor :required_fields
482
+
483
+ def initialize(**args)
484
+ update!(**args)
485
+ end
486
+
487
+ # Update properties of this object
488
+ def update!(**args)
489
+ @field_conditions = args[:field_conditions] if args.key?(:field_conditions)
490
+ @required_fields = args[:required_fields] if args.key?(:required_fields)
491
+ end
492
+ end
493
+
459
494
  # The key used to identify the target on which the policy will be applied.
460
495
  class GoogleChromePolicyV1PolicyTargetKey
461
496
  include Google::Apis::Core::Hashable
@@ -659,8 +694,7 @@ module Google
659
694
  # A generic empty message that you can re-use to avoid defining duplicated empty
660
695
  # messages in your APIs. A typical example is to use it as the request or the
661
696
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
662
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
663
- # `Empty` is empty JSON object ````.
697
+ # protobuf.Empty) returns (google.protobuf.Empty); `
664
698
  class GoogleProtobufEmpty
665
699
  include Google::Apis::Core::Hashable
666
700
 
@@ -676,11 +710,11 @@ module Google
676
710
  # Represents a whole or partial calendar date, such as a birthday. The time of
677
711
  # day and time zone are either specified elsewhere or are insignificant. The
678
712
  # date is relative to the Gregorian Calendar. This can represent one of the
679
- # following: * A full date, with non-zero year, month, and day values * A month
680
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
681
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
682
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
683
- # DateTime * google.protobuf.Timestamp
713
+ # following: * A full date, with non-zero year, month, and day values. * A month
714
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
715
+ # with a zero month and a zero day. * A year and month, with a zero day (for
716
+ # example, a credit card expiration date). Related types: * google.type.
717
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
684
718
  class GoogleTypeDate
685
719
  include Google::Apis::Core::Hashable
686
720
 
@@ -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.14.0"
19
+ GEM_VERSION = "0.17.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 = "20220210"
25
+ REVISION = "20220506"
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.14.0
4
+ version: 0.17.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-02-14 00:00:00.000000000 Z
11
+ date: 2022-05-16 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.17.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: []