Skip to content

Commit a8b1c75

Browse files
feat: Automated regeneration of chromepolicy v1 client (#17119)
Auto-created at 2024-01-07 10:20:41 +0000 using the toys pull request generator.
1 parent 5833772 commit a8b1c75

5 files changed

Lines changed: 16 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46692,6 +46692,8 @@
4669246692
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/policyDescription": policy_description
4669346693
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/schemaName": schema_name
4669446694
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/supportUri": support_uri
46695+
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/supportedPlatforms": supported_platforms
46696+
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/supportedPlatforms/supported_platform": supported_platform
4669546697
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/validTargetResources": valid_target_resources
4669646698
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchema/validTargetResources/valid_target_resource": valid_target_resource
4669746699
"/chromepolicy:v1/GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies": google_chrome_policy_versions_v1_policy_schema_field_dependencies

generated/google-apis-chromepolicy_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-chromepolicy_v1
22

3+
### v0.43.0 (2024-01-07)
4+
5+
* Regenerated from discovery document revision 20240101
6+
37
### v0.42.0 (2023-12-03)
48

59
* Regenerated from discovery document revision 20231127

generated/google-apis-chromepolicy_v1/lib/google/apis/chromepolicy_v1/classes.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,12 @@ class GoogleChromePolicyVersionsV1PolicySchema
802802
# @return [String]
803803
attr_accessor :support_uri
804804

805+
# Output only. List indicates that the policy will only apply to devices/users
806+
# on these platforms.
807+
# Corresponds to the JSON property `supportedPlatforms`
808+
# @return [Array<String>]
809+
attr_accessor :supported_platforms
810+
805811
# Output only. Information about applicable target resources for the policy.
806812
# Corresponds to the JSON property `validTargetResources`
807813
# @return [Array<String>]
@@ -824,6 +830,7 @@ def update!(**args)
824830
@policy_description = args[:policy_description] if args.key?(:policy_description)
825831
@schema_name = args[:schema_name] if args.key?(:schema_name)
826832
@support_uri = args[:support_uri] if args.key?(:support_uri)
833+
@supported_platforms = args[:supported_platforms] if args.key?(:supported_platforms)
827834
@valid_target_resources = args[:valid_target_resources] if args.key?(:valid_target_resources)
828835
end
829836
end

generated/google-apis-chromepolicy_v1/lib/google/apis/chromepolicy_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ChromepolicyV1
1818
# Version of the google-apis-chromepolicy_v1 gem
19-
GEM_VERSION = "0.42.0"
19+
GEM_VERSION = "0.43.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.12.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20231127"
25+
REVISION = "20240101"
2626
end
2727
end
2828
end

generated/google-apis-chromepolicy_v1/lib/google/apis/chromepolicy_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
570570
property :policy_description, as: 'policyDescription'
571571
property :schema_name, as: 'schemaName'
572572
property :support_uri, as: 'supportUri'
573+
collection :supported_platforms, as: 'supportedPlatforms'
573574
collection :valid_target_resources, as: 'validTargetResources'
574575
end
575576
end

0 commit comments

Comments
 (0)