google-apis-chromepolicy_v1 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a197452efe9fc4eafb734a711b5452884e8a0114c4ce003c022f1dbb329c7b1e
4
- data.tar.gz: 639e7ab60ca76787560cc4c6b2652b9cf7e43808030b9964936e74d50dd38a3b
3
+ metadata.gz: aeef93aea35ff01561faf2461f86a6ae20df2117fdeda2ea431f276251644fde
4
+ data.tar.gz: d3df49639f0a3f3a840fab6c3687aea4eda8997353ee2d643132565ae1a26ef7
5
5
  SHA512:
6
- metadata.gz: dcdde4c9b91829daa281353ad7bdbc159649d2d67536bf1b449d70cc8ae52dec17e32948cb53720860300357caf0b7f1eae5615de3a2db380178965068dc57f7
7
- data.tar.gz: f5ace45c0f2c2212e2c280c1db2ef83b9739b71e65c0c28abdb6d162a75329218b1509a0312cddb36f5b504da8b02306cb714141539b22c5bbe047ae353d1ac8
6
+ metadata.gz: abf6bd692b7067a0a5463efd779f6b1c1b65352f1137a769d117056da5010f17abef1d4dc427f4bfc2b094808dc1e7941848afd86516b45c857ef613a7a96021
7
+ data.tar.gz: 32fa80ab322d7949a0e90f6b6aff61ccc7bfa2ced5ed98099b29a963357440751f1a99a7bcf5c73fe709351037038b0c9b348fc968414784fbf57fcd34525df4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.33.0 (2023-02-15)
4
+
5
+ * Regenerated from discovery document revision 20230211
6
+ * Regenerated using generator version 0.12.0
7
+
8
+ ### v0.32.0 (2023-01-08)
9
+
10
+ * Regenerated from discovery document revision 20230105
11
+ * Regenerated using generator version 0.11.1
12
+
3
13
  ### v0.31.0 (2022-10-28)
4
14
 
5
15
  * Regenerated from discovery document revision 20221021
@@ -26,6 +26,13 @@ module Google
26
26
  class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
+ # In the event that this policy was deprecated in favor of another policy, the
30
+ # fully qualified namespace(s) of the new policies as they will show in
31
+ # PolicyAPI.
32
+ # Corresponds to the JSON property `deprecatedInFavorOf`
33
+ # @return [Array<String>]
34
+ attr_accessor :deprecated_in_favor_of
35
+
29
36
  # Description about current life cycle.
30
37
  # Corresponds to the JSON property `description`
31
38
  # @return [String]
@@ -54,6 +61,7 @@ module Google
54
61
 
55
62
  # Update properties of this object
56
63
  def update!(**args)
64
+ @deprecated_in_favor_of = args[:deprecated_in_favor_of] if args.key?(:deprecated_in_favor_of)
57
65
  @description = args[:description] if args.key?(:description)
58
66
  @end_support = args[:end_support] if args.key?(:end_support)
59
67
  @policy_api_lifecycle_stage = args[:policy_api_lifecycle_stage] if args.key?(:policy_api_lifecycle_stage)
@@ -378,6 +386,25 @@ module Google
378
386
  end
379
387
  end
380
388
 
389
+ # Information about any range constraints.
390
+ class GoogleChromePolicyVersionsV1FieldConstraints
391
+ include Google::Apis::Core::Hashable
392
+
393
+ # A constraint on upper and/or lower bounds, with at least one being set.
394
+ # Corresponds to the JSON property `numericRangeConstraint`
395
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint]
396
+ attr_accessor :numeric_range_constraint
397
+
398
+ def initialize(**args)
399
+ update!(**args)
400
+ end
401
+
402
+ # Update properties of this object
403
+ def update!(**args)
404
+ @numeric_range_constraint = args[:numeric_range_constraint] if args.key?(:numeric_range_constraint)
405
+ end
406
+ end
407
+
381
408
  # Request parameters for inheriting policy value of a specific org unit target
382
409
  # from the policy value of its parent org unit.
383
410
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
@@ -576,6 +603,31 @@ module Google
576
603
  end
577
604
  end
578
605
 
606
+ # A constraint on upper and/or lower bounds, with at least one being set.
607
+ class GoogleChromePolicyVersionsV1NumericRangeConstraint
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # Maximum value.
611
+ # Corresponds to the JSON property `maximum`
612
+ # @return [Fixnum]
613
+ attr_accessor :maximum
614
+
615
+ # Minimum value.
616
+ # Corresponds to the JSON property `minimum`
617
+ # @return [Fixnum]
618
+ attr_accessor :minimum
619
+
620
+ def initialize(**args)
621
+ update!(**args)
622
+ end
623
+
624
+ # Update properties of this object
625
+ def update!(**args)
626
+ @maximum = args[:maximum] if args.key?(:maximum)
627
+ @minimum = args[:minimum] if args.key?(:minimum)
628
+ end
629
+ end
630
+
579
631
  # Error information for a modification request of a specific field on a specific
580
632
  # policy.
581
633
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
@@ -746,6 +798,11 @@ module Google
746
798
  # @return [String]
747
799
  attr_accessor :field
748
800
 
801
+ # Information about any range constraints.
802
+ # Corresponds to the JSON property `fieldConstraints`
803
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints]
804
+ attr_accessor :field_constraints
805
+
749
806
  # Output only. Provides a list of fields and values. At least one of the fields
750
807
  # must have the corresponding value in order for this field to be allowed to be
751
808
  # set.
@@ -795,6 +852,7 @@ module Google
795
852
  @default_value = args[:default_value] if args.key?(:default_value)
796
853
  @description = args[:description] if args.key?(:description)
797
854
  @field = args[:field] if args.key?(:field)
855
+ @field_constraints = args[:field_constraints] if args.key?(:field_constraints)
798
856
  @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
799
857
  @field_description = args[:field_description] if args.key?(:field_description)
800
858
  @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221021"
25
+ REVISION = "20230211"
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 GoogleChromePolicyVersionsV1FieldConstraints
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class GoogleChromePolicyVersionsV1NumericRangeConstraint
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -307,6 +319,7 @@ module Google
307
319
  class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
308
320
  # @private
309
321
  class Representation < Google::Apis::Core::JsonRepresentation
322
+ collection :deprecated_in_favor_of, as: 'deprecatedInFavorOf'
310
323
  property :description, as: 'description'
311
324
  property :end_support, as: 'endSupport', class: Google::Apis::ChromepolicyV1::GoogleTypeDate, decorator: Google::Apis::ChromepolicyV1::GoogleTypeDate::Representation
312
325
 
@@ -412,6 +425,14 @@ module Google
412
425
  end
413
426
  end
414
427
 
428
+ class GoogleChromePolicyVersionsV1FieldConstraints
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :numeric_range_constraint, as: 'numericRangeConstraint', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint::Representation
432
+
433
+ end
434
+ end
435
+
415
436
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
416
437
  # @private
417
438
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -479,6 +500,14 @@ module Google
479
500
  end
480
501
  end
481
502
 
503
+ class GoogleChromePolicyVersionsV1NumericRangeConstraint
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :maximum, :numeric_string => true, as: 'maximum'
507
+ property :minimum, :numeric_string => true, as: 'minimum'
508
+ end
509
+ end
510
+
482
511
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
483
512
  # @private
484
513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +555,8 @@ module Google
526
555
  property :default_value, as: 'defaultValue'
527
556
  property :description, as: 'description'
528
557
  property :field, as: 'field'
558
+ property :field_constraints, as: 'fieldConstraints', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints::Representation
559
+
529
560
  collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::Representation
530
561
 
531
562
  property :field_description, as: 'fieldDescription'
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.31.0
4
+ version: 0.33.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-10-31 00:00:00.000000000 Z
11
+ date: 2023-02-19 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.9.1
19
+ version: 0.11.0
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.9.1
29
+ version: 0.11.0
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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.33.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.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Chrome Policy API V1