google-apis-chromepolicy_v1 0.33.0 → 0.35.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: aeef93aea35ff01561faf2461f86a6ae20df2117fdeda2ea431f276251644fde
4
- data.tar.gz: d3df49639f0a3f3a840fab6c3687aea4eda8997353ee2d643132565ae1a26ef7
3
+ metadata.gz: 3178200159bde9497f18007adfe43152e2ce4de4e98f3f869c4c5381d0abc7af
4
+ data.tar.gz: 784947657c046db56abdb357dae216abbdea44b5e16305b93726038c02d710a6
5
5
  SHA512:
6
- metadata.gz: abf6bd692b7067a0a5463efd779f6b1c1b65352f1137a769d117056da5010f17abef1d4dc427f4bfc2b094808dc1e7941848afd86516b45c857ef613a7a96021
7
- data.tar.gz: 32fa80ab322d7949a0e90f6b6aff61ccc7bfa2ced5ed98099b29a963357440751f1a99a7bcf5c73fe709351037038b0c9b348fc968414784fbf57fcd34525df4
6
+ metadata.gz: e055e3a4ce03c3b29623358fdd6b212f96c9602ec11d8acea59afab62d85cdb33df2cf8ee159ad494031fda247678c8b80987063dc89bd49d5172df58b2c4fa3
7
+ data.tar.gz: '07339e9530d204593eb3853c493255fb72e59325779a39eea78a85587573a4d5eb8e22ef7da7deb941680c8e8da2f815fac3ac66dd4f017b62953297c86f5792'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-chromepolicy_v1
2
2
 
3
+ ### v0.35.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230304
6
+
7
+ ### v0.34.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230220
10
+
3
11
  ### v0.33.0 (2023-02-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230211
@@ -628,6 +628,66 @@ module Google
628
628
  end
629
629
  end
630
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
+
631
691
  # Error information for a modification request of a specific field on a specific
632
692
  # policy.
633
693
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
@@ -701,11 +761,6 @@ module Google
701
761
  # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
702
762
  attr_accessor :policy_api_lifecycle
703
763
 
704
- # Deprecated field because of typo.
705
- # Corresponds to the JSON property `policyApiLifeycle`
706
- # @return [Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle]
707
- attr_accessor :policy_api_lifeycle
708
-
709
764
  # Output only. Description about the policy schema for user consumption.
710
765
  # Corresponds to the JSON property `policyDescription`
711
766
  # @return [String]
@@ -743,7 +798,6 @@ module Google
743
798
  @name = args[:name] if args.key?(:name)
744
799
  @notices = args[:notices] if args.key?(:notices)
745
800
  @policy_api_lifecycle = args[:policy_api_lifecycle] if args.key?(:policy_api_lifecycle)
746
- @policy_api_lifeycle = args[:policy_api_lifeycle] if args.key?(:policy_api_lifeycle)
747
801
  @policy_description = args[:policy_description] if args.key?(:policy_description)
748
802
  @schema_name = args[:schema_name] if args.key?(:schema_name)
749
803
  @support_uri = args[:support_uri] if args.key?(:support_uri)
@@ -1131,13 +1185,13 @@ module Google
1131
1185
  # @return [String]
1132
1186
  attr_accessor :page_token
1133
1187
 
1134
- # The schema filter to apply to the resolve request. Specify a schema name to
1135
- # view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards
1136
- # are supported, but only in the leaf portion of the schema name. Wildcards
1137
- # cannot be used in namespace directly. Please read https://developers.google.
1138
- # com/chrome/policy/guides/policy-schemas for details on schema namespaces. For
1139
- # example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*"
1140
- # Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
1188
+ # Required. The schema filter to apply to the resolve request. Specify a schema
1189
+ # name to view a particular schema, for example: chrome.users.ShowLogoutButton
1190
+ # Wildcards are supported, but only in the leaf portion of the schema name.
1191
+ # Wildcards cannot be used in namespace directly. Please read https://developers.
1192
+ # google.com/chrome/policy/guides/policy-schemas for details on schema
1193
+ # namespaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "
1194
+ # chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
1141
1195
  # Corresponds to the JSON property `policySchemaFilter`
1142
1196
  # @return [String]
1143
1197
  attr_accessor :policy_schema_filter
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230211"
25
+ REVISION = "20230304"
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
 
@@ -508,6 +520,26 @@ module Google
508
520
  end
509
521
  end
510
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
+
511
543
  class GoogleChromePolicyVersionsV1PolicyModificationFieldError
512
544
  # @private
513
545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -532,8 +564,6 @@ module Google
532
564
 
533
565
  property :policy_api_lifecycle, as: 'policyApiLifecycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
534
566
 
535
- property :policy_api_lifeycle, as: 'policyApiLifeycle', class: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle, decorator: Google::Apis::ChromepolicyV1::ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle::Representation
536
-
537
567
  property :policy_description, as: 'policyDescription'
538
568
  property :schema_name, as: 'schemaName'
539
569
  property :support_uri, as: 'supportUri'
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.33.0
4
+ version: 0.35.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-12 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromepolicy_v1/v0.35.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: []