google-apis-chromepolicy_v1 0.31.0 → 0.32.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: a197452efe9fc4eafb734a711b5452884e8a0114c4ce003c022f1dbb329c7b1e
4
- data.tar.gz: 639e7ab60ca76787560cc4c6b2652b9cf7e43808030b9964936e74d50dd38a3b
3
+ metadata.gz: '092ddd5d3c4394b7e138a03158d2548d84ac3031080793a26801f98bbfd936aa'
4
+ data.tar.gz: 559b59f179b866d224f066f5aa17213f6cf287a256ab9ce3e226fef01066b241
5
5
  SHA512:
6
- metadata.gz: dcdde4c9b91829daa281353ad7bdbc159649d2d67536bf1b449d70cc8ae52dec17e32948cb53720860300357caf0b7f1eae5615de3a2db380178965068dc57f7
7
- data.tar.gz: f5ace45c0f2c2212e2c280c1db2ef83b9739b71e65c0c28abdb6d162a75329218b1509a0312cddb36f5b504da8b02306cb714141539b22c5bbe047ae353d1ac8
6
+ metadata.gz: be0ba7e45c65830454064c200f415e5625a68ae0e87f00c85e0409feb5bedd71d2485cab690180872a1dbade3e8560638b9ff13d3c665a08a2d519c3d9e94281
7
+ data.tar.gz: 7ad0a9234965632a132df035d0c271d797e188e841835d37d52ab947e0039850fc2b2b89604c2f3abefd4f2e37ac2992b20559d2bb3d2b57df21e672a5c6ffb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.32.0 (2023-01-08)
4
+
5
+ * Regenerated from discovery document revision 20230105
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.31.0 (2022-10-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20221021
@@ -378,6 +378,25 @@ module Google
378
378
  end
379
379
  end
380
380
 
381
+ # Information about any range constraints.
382
+ class GoogleChromePolicyVersionsV1FieldConstraints
383
+ include Google::Apis::Core::Hashable
384
+
385
+ # A constraint on upper and/or lower bounds, with at least one being set.
386
+ # Corresponds to the JSON property `numericRangeConstraint`
387
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint]
388
+ attr_accessor :numeric_range_constraint
389
+
390
+ def initialize(**args)
391
+ update!(**args)
392
+ end
393
+
394
+ # Update properties of this object
395
+ def update!(**args)
396
+ @numeric_range_constraint = args[:numeric_range_constraint] if args.key?(:numeric_range_constraint)
397
+ end
398
+ end
399
+
381
400
  # Request parameters for inheriting policy value of a specific org unit target
382
401
  # from the policy value of its parent org unit.
383
402
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
@@ -576,6 +595,31 @@ module Google
576
595
  end
577
596
  end
578
597
 
598
+ # A constraint on upper and/or lower bounds, with at least one being set.
599
+ class GoogleChromePolicyVersionsV1NumericRangeConstraint
600
+ include Google::Apis::Core::Hashable
601
+
602
+ # Maximum value.
603
+ # Corresponds to the JSON property `maximum`
604
+ # @return [Fixnum]
605
+ attr_accessor :maximum
606
+
607
+ # Minimum value.
608
+ # Corresponds to the JSON property `minimum`
609
+ # @return [Fixnum]
610
+ attr_accessor :minimum
611
+
612
+ def initialize(**args)
613
+ update!(**args)
614
+ end
615
+
616
+ # Update properties of this object
617
+ def update!(**args)
618
+ @maximum = args[:maximum] if args.key?(:maximum)
619
+ @minimum = args[:minimum] if args.key?(:minimum)
620
+ end
621
+ end
622
+
579
623
  # Error information for a modification request of a specific field on a specific
580
624
  # policy.
581
625
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
@@ -746,6 +790,11 @@ module Google
746
790
  # @return [String]
747
791
  attr_accessor :field
748
792
 
793
+ # Information about any range constraints.
794
+ # Corresponds to the JSON property `fieldConstraints`
795
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints]
796
+ attr_accessor :field_constraints
797
+
749
798
  # Output only. Provides a list of fields and values. At least one of the fields
750
799
  # must have the corresponding value in order for this field to be allowed to be
751
800
  # set.
@@ -795,6 +844,7 @@ module Google
795
844
  @default_value = args[:default_value] if args.key?(:default_value)
796
845
  @description = args[:description] if args.key?(:description)
797
846
  @field = args[:field] if args.key?(:field)
847
+ @field_constraints = args[:field_constraints] if args.key?(:field_constraints)
798
848
  @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
799
849
  @field_description = args[:field_description] if args.key?(:field_description)
800
850
  @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.32.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.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221021"
25
+ REVISION = "20230105"
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
 
@@ -412,6 +424,14 @@ module Google
412
424
  end
413
425
  end
414
426
 
427
+ class GoogleChromePolicyVersionsV1FieldConstraints
428
+ # @private
429
+ class Representation < Google::Apis::Core::JsonRepresentation
430
+ property :numeric_range_constraint, as: 'numericRangeConstraint', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint::Representation
431
+
432
+ end
433
+ end
434
+
415
435
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
416
436
  # @private
417
437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -479,6 +499,14 @@ module Google
479
499
  end
480
500
  end
481
501
 
502
+ class GoogleChromePolicyVersionsV1NumericRangeConstraint
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :maximum, :numeric_string => true, as: 'maximum'
506
+ property :minimum, :numeric_string => true, as: 'minimum'
507
+ end
508
+ end
509
+
482
510
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
483
511
  # @private
484
512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +554,8 @@ module Google
526
554
  property :default_value, as: 'defaultValue'
527
555
  property :description, as: 'description'
528
556
  property :field, as: 'field'
557
+ property :field_constraints, as: 'fieldConstraints', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints::Representation
558
+
529
559
  collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::Representation
530
560
 
531
561
  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.32.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-01-08 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.32.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