google-apis-chromepolicy_v1 0.15.0 → 0.18.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: b696c9bf9396cd643c8c80789ec7b56d26dee6e48ef50f61e665d6f57bbfe28b
4
- data.tar.gz: 84e10f7972188e6c58386182dd5f345ebf856bd5ab73a8760fffe99a7df1141b
3
+ metadata.gz: 8532f21b554b7759e6490091c16a3a242eb58acb27b22d9ea88c1401cdfc4d45
4
+ data.tar.gz: 511f607bc0c02f395a0b45e75cc2d38954225a686c08a63ce66d14b30405fede
5
5
  SHA512:
6
- metadata.gz: d6d91d550770f2850ab0fa1af7fc3e608a2f5d11f103a0d0ba7894a1be2d264e2fb1def59b4d8f5c8e1811bfcfeedec7bf7a2a4b8ea80d89dbf287afaf4d1944
7
- data.tar.gz: 52f3b05de2b84b43a606ac5032e7c98e3477956d166d4e6c18ee2a80269488920bac784d3a64d38db076025c1e77766da4e6417d1ede233fcae9ca3bd2edeef1
6
+ metadata.gz: 938c6c5a7466372a07cda83cb95c650850040bddf53d48e08cdb027ab78ef24101b8c354cdc91445062f649cba1822cc4f135ef5bcfd7dcace01a0b3fa801579
7
+ data.tar.gz: 95d01a13b5f045861ad60bb864501f7cd14eb2ca8d43238a4b00e19182f928a2214d8d2ae4e6dc9ceda348cad0145dec3c3e4a55ac891c73754ee15c3710f4a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.18.0 (2022-06-05)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.17.0 (2022-05-10)
8
+
9
+ * Regenerated from discovery document revision 20220506
10
+
11
+ ### v0.16.0 (2022-03-23)
12
+
13
+ * Regenerated from discovery document revision 20220321
14
+
3
15
  ### v0.15.0 (2022-03-02)
4
16
 
5
17
  * Regenerated from discovery document revision 20220228
@@ -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
 
@@ -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.15.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220228"
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.15.0
4
+ version: 0.18.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-07 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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/main/generated/google-apis-chromepolicy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.18.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Policy API V1