google-apis-chromepolicy_v1 0.32.0 → 0.34.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: '092ddd5d3c4394b7e138a03158d2548d84ac3031080793a26801f98bbfd936aa'
4
- data.tar.gz: 559b59f179b866d224f066f5aa17213f6cf287a256ab9ce3e226fef01066b241
3
+ metadata.gz: 898fc53db811357e1f7db0c541aa95cd1761997aaee450347125eb975037053c
4
+ data.tar.gz: 82c16d1038df05e534ec0f442c0f4150432e05afbb6bd2e883413b9984618b13
5
5
  SHA512:
6
- metadata.gz: be0ba7e45c65830454064c200f415e5625a68ae0e87f00c85e0409feb5bedd71d2485cab690180872a1dbade3e8560638b9ff13d3c665a08a2d519c3d9e94281
7
- data.tar.gz: 7ad0a9234965632a132df035d0c271d797e188e841835d37d52ab947e0039850fc2b2b89604c2f3abefd4f2e37ac2992b20559d2bb3d2b57df21e672a5c6ffb8
6
+ metadata.gz: '0911e0ee3052c966f7556986b2ec5df01433b94b84ef1e6be54018b05152145e5caf104a9ad13f41aece3192bd46400b95d547bbdebbef77ae8d47d0a13dd0cc'
7
+ data.tar.gz: 96cfb0e0c11e8f3a173d90fee8cac3854f07f7afbd89c9c35b3a20f2750ad9827db9bb6ff0aa8d489a92c4aa949bdbf7b290f384e9fbe2e002d5550ebda9e75b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.34.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230220
6
+
7
+ ### v0.33.0 (2023-02-15)
8
+
9
+ * Regenerated from discovery document revision 20230211
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.32.0 (2023-01-08)
4
13
 
5
14
  * Regenerated from discovery document revision 20230105
@@ -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)
@@ -620,6 +628,66 @@ module Google
620
628
  end
621
629
  end
622
630
 
631
+ # Error information for a modification request of a specific policy on a
632
+ # specific target.
633
+ class GoogleChromePolicyVersionsV1PolicyModificationError
634
+ include Google::Apis::Core::Hashable
635
+
636
+ # Output only. The non-field errors related to the modification.
637
+ # Corresponds to the JSON property `errors`
638
+ # @return [Array<String>]
639
+ attr_accessor :errors
640
+
641
+ # Output only. The error messages related to the modification.
642
+ # Corresponds to the JSON property `fieldErrors`
643
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationFieldError>]
644
+ attr_accessor :field_errors
645
+
646
+ # Output only. The specific policy schema modification that had an error.
647
+ # Corresponds to the JSON property `policySchema`
648
+ # @return [String]
649
+ attr_accessor :policy_schema
650
+
651
+ # The key used to identify the target on which the policy will be applied.
652
+ # Corresponds to the JSON property `policyTargetKey`
653
+ # @return [Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey]
654
+ attr_accessor :policy_target_key
655
+
656
+ def initialize(**args)
657
+ update!(**args)
658
+ end
659
+
660
+ # Update properties of this object
661
+ def update!(**args)
662
+ @errors = args[:errors] if args.key?(:errors)
663
+ @field_errors = args[:field_errors] if args.key?(:field_errors)
664
+ @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
665
+ @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
666
+ end
667
+ end
668
+
669
+ # Details of the errors encountered during a policy modification request. This
670
+ # message will be returned as part of the details of a google.rpc.Status
671
+ # returned to the user when there is an error in their request.
672
+ class GoogleChromePolicyVersionsV1PolicyModificationErrorDetails
673
+ include Google::Apis::Core::Hashable
674
+
675
+ # Output only. List of specific policy modifications errors that may have
676
+ # occurred during a modifying request.
677
+ # Corresponds to the JSON property `modificationErrors`
678
+ # @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationError>]
679
+ attr_accessor :modification_errors
680
+
681
+ def initialize(**args)
682
+ update!(**args)
683
+ end
684
+
685
+ # Update properties of this object
686
+ def update!(**args)
687
+ @modification_errors = args[:modification_errors] if args.key?(:modification_errors)
688
+ end
689
+ end
690
+
623
691
  # Error information for a modification request of a specific field on a specific
624
692
  # policy.
625
693
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
@@ -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.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230105"
25
+ REVISION = "20230220"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,18 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class GoogleChromePolicyVersionsV1PolicyModificationError
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleChromePolicyVersionsV1PolicyModificationErrorDetails
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
151
163
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
152
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
165
 
@@ -319,6 +331,7 @@ module Google
319
331
  class ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle
320
332
  # @private
321
333
  class Representation < Google::Apis::Core::JsonRepresentation
334
+ collection :deprecated_in_favor_of, as: 'deprecatedInFavorOf'
322
335
  property :description, as: 'description'
323
336
  property :end_support, as: 'endSupport', class: Google::Apis::ChromepolicyV1::GoogleTypeDate, decorator: Google::Apis::ChromepolicyV1::GoogleTypeDate::Representation
324
337
 
@@ -507,6 +520,26 @@ module Google
507
520
  end
508
521
  end
509
522
 
523
+ class GoogleChromePolicyVersionsV1PolicyModificationError
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ collection :errors, as: 'errors'
527
+ collection :field_errors, as: 'fieldErrors', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationFieldError, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationFieldError::Representation
528
+
529
+ property :policy_schema, as: 'policySchema'
530
+ property :policy_target_key, as: 'policyTargetKey', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey::Representation
531
+
532
+ end
533
+ end
534
+
535
+ class GoogleChromePolicyVersionsV1PolicyModificationErrorDetails
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ collection :modification_errors, as: 'modificationErrors', class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationError, decorator: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyModificationError::Representation
539
+
540
+ end
541
+ end
542
+
510
543
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
511
544
  # @private
512
545
  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.32.0
4
+ version: 0.34.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: 2023-01-08 00:00:00.000000000 Z
11
+ date: 2023-02-26 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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.34.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: []