google-apis-chromepolicy_v1 0.30.0 → 0.32.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: 21fa50a1733c8d4bb5395b388fae37b8a678f078a8db6c2333721c2e7a42b0e9
4
- data.tar.gz: 9c4b56aa5faad0d761bc13535b9fb9b3fcf9502484b115f0a1e7b919d15d7342
3
+ metadata.gz: '092ddd5d3c4394b7e138a03158d2548d84ac3031080793a26801f98bbfd936aa'
4
+ data.tar.gz: 559b59f179b866d224f066f5aa17213f6cf287a256ab9ce3e226fef01066b241
5
5
  SHA512:
6
- metadata.gz: 2c59677cc495ab1b97982019ef6cc60d20e0d51e32243faf535f2f1e952da3584a3aa41790ac0332ddba7c5147b71c1bc620721e80b16b689eb71b44a7ae083d
7
- data.tar.gz: dae2613e262c35af72ba1bbc9a4696a1c8b281dc28c61b854aeb3133a14ed5cd1d2c3c5bedb2df6958a83bb9d147e36267141c26b0859f02a7918ab69258c33b
6
+ metadata.gz: be0ba7e45c65830454064c200f415e5625a68ae0e87f00c85e0409feb5bedd71d2485cab690180872a1dbade3e8560638b9ff13d3c665a08a2d519c3d9e94281
7
+ data.tar.gz: 7ad0a9234965632a132df035d0c271d797e188e841835d37d52ab947e0039850fc2b2b89604c2f3abefd4f2e37ac2992b20559d2bb3d2b57df21e672a5c6ffb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.31.0 (2022-10-28)
9
+
10
+ * Regenerated from discovery document revision 20221021
11
+
3
12
  ### v0.30.0 (2022-10-20)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -190,6 +190,32 @@ module Google
190
190
  end
191
191
  end
192
192
 
193
+ # Error information for removing of a specific certificate on a specific target.
194
+ # A reference to a certificate.
195
+ class GoogleChromePolicyVersionsV1CertificateReference
196
+ include Google::Apis::Core::Hashable
197
+
198
+ # Output only. The name of the referencing network.
199
+ # Corresponds to the JSON property `network`
200
+ # @return [String]
201
+ attr_accessor :network
202
+
203
+ # Output only. The obfuscated id of the org unit the referencing network is in.
204
+ # Corresponds to the JSON property `orgUnitId`
205
+ # @return [String]
206
+ attr_accessor :org_unit_id
207
+
208
+ def initialize(**args)
209
+ update!(**args)
210
+ end
211
+
212
+ # Update properties of this object
213
+ def update!(**args)
214
+ @network = args[:network] if args.key?(:network)
215
+ @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
216
+ end
217
+ end
218
+
193
219
  # Request object for creating a certificate.
194
220
  class GoogleChromePolicyVersionsV1DefineCertificateRequest
195
221
  include Google::Apis::Core::Hashable
@@ -352,6 +378,25 @@ module Google
352
378
  end
353
379
  end
354
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
+
355
400
  # Request parameters for inheriting policy value of a specific org unit target
356
401
  # from the policy value of its parent org unit.
357
402
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
@@ -550,6 +595,31 @@ module Google
550
595
  end
551
596
  end
552
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
+
553
623
  # Error information for a modification request of a specific field on a specific
554
624
  # policy.
555
625
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
@@ -720,6 +790,11 @@ module Google
720
790
  # @return [String]
721
791
  attr_accessor :field
722
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
+
723
798
  # Output only. Provides a list of fields and values. At least one of the fields
724
799
  # must have the corresponding value in order for this field to be allowed to be
725
800
  # set.
@@ -769,6 +844,7 @@ module Google
769
844
  @default_value = args[:default_value] if args.key?(:default_value)
770
845
  @description = args[:description] if args.key?(:description)
771
846
  @field = args[:field] if args.key?(:field)
847
+ @field_constraints = args[:field_constraints] if args.key?(:field_constraints)
772
848
  @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
773
849
  @field_description = args[:field_description] if args.key?(:field_description)
774
850
  @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
@@ -929,6 +1005,29 @@ module Google
929
1005
  end
930
1006
  end
931
1007
 
1008
+ # Details of the errors encountered during a remove certificate request. This
1009
+ # message will be returned as part of the details of a google.rpc.Status
1010
+ # returned to the user when there is an error in their request.
1011
+ class GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails
1012
+ include Google::Apis::Core::Hashable
1013
+
1014
+ # Output only. If the certificate was not removed, a list of references to the
1015
+ # certificate that prevented it from being removed. Only unreferenced
1016
+ # certificates can be removed.
1017
+ # Corresponds to the JSON property `certificateReferences`
1018
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1CertificateReference>]
1019
+ attr_accessor :certificate_references
1020
+
1021
+ def initialize(**args)
1022
+ update!(**args)
1023
+ end
1024
+
1025
+ # Update properties of this object
1026
+ def update!(**args)
1027
+ @certificate_references = args[:certificate_references] if args.key?(:certificate_references)
1028
+ end
1029
+ end
1030
+
932
1031
  # Request object for removing a certificate.
933
1032
  class GoogleChromePolicyVersionsV1RemoveCertificateRequest
934
1033
  include Google::Apis::Core::Hashable
@@ -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.30.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 = "20221014"
25
+ REVISION = "20230105"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleChromePolicyVersionsV1CertificateReference
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleChromePolicyVersionsV1DefineCertificateRequest
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -88,6 +94,12 @@ module Google
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
97
+ class GoogleChromePolicyVersionsV1FieldConstraints
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -130,6 +142,12 @@ module Google
130
142
  include Google::Apis::Core::JsonObjectSupport
131
143
  end
132
144
 
145
+ class GoogleChromePolicyVersionsV1NumericRangeConstraint
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
@@ -184,6 +202,12 @@ module Google
184
202
  include Google::Apis::Core::JsonObjectSupport
185
203
  end
186
204
 
205
+ class GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
187
211
  class GoogleChromePolicyVersionsV1RemoveCertificateRequest
188
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
213
 
@@ -342,6 +366,14 @@ module Google
342
366
  end
343
367
  end
344
368
 
369
+ class GoogleChromePolicyVersionsV1CertificateReference
370
+ # @private
371
+ class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :network, as: 'network'
373
+ property :org_unit_id, as: 'orgUnitId'
374
+ end
375
+ end
376
+
345
377
  class GoogleChromePolicyVersionsV1DefineCertificateRequest
346
378
  # @private
347
379
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -392,6 +424,14 @@ module Google
392
424
  end
393
425
  end
394
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
+
395
435
  class GoogleChromePolicyVersionsV1InheritOrgUnitPolicyRequest
396
436
  # @private
397
437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -459,6 +499,14 @@ module Google
459
499
  end
460
500
  end
461
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
+
462
510
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
463
511
  # @private
464
512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -506,6 +554,8 @@ module Google
506
554
  property :default_value, as: 'defaultValue'
507
555
  property :description, as: 'description'
508
556
  property :field, as: 'field'
557
+ property :field_constraints, as: 'fieldConstraints', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints::Representation
558
+
509
559
  collection :field_dependencies, as: 'fieldDependencies', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies::Representation
510
560
 
511
561
  property :field_description, as: 'fieldDescription'
@@ -562,6 +612,14 @@ module Google
562
612
  end
563
613
  end
564
614
 
615
+ class GoogleChromePolicyVersionsV1RemoveCertificateErrorDetails
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ collection :certificate_references, as: 'certificateReferences', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1CertificateReference, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1CertificateReference::Representation
619
+
620
+ end
621
+ end
622
+
565
623
  class GoogleChromePolicyVersionsV1RemoveCertificateRequest
566
624
  # @private
567
625
  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.30.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-21 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.30.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