Skip to content

Commit 24b5a08

Browse files
yoshi-automationsofisl
authored andcommitted
feat(chromepolicy)!: update the API
BREAKING CHANGE: This release has breaking changes. #### chromepolicy:v1 The following keys were deleted: - schemas.GoogleChromePolicyVersionsV1PolicySchema.properties.policyApiLifeycle.$ref - schemas.GoogleChromePolicyVersionsV1PolicySchema.properties.policyApiLifeycle.description The following keys were changed: - schemas.GoogleChromePolicyVersionsV1ResolveRequest.properties.policySchemaFilter.description
1 parent b11e7ce commit 24b5a08

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

discovery/chromepolicy-v1.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
}
558558
}
559559
},
560-
"revision": "20230220",
560+
"revision": "20230321",
561561
"rootUrl": "https://chromepolicy.googleapis.com/",
562562
"schemas": {
563563
"ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": {
@@ -1072,10 +1072,6 @@
10721072
"description": "Output only. Current lifecycle information.",
10731073
"readOnly": true
10741074
},
1075-
"policyApiLifeycle": {
1076-
"$ref": "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle",
1077-
"description": "Deprecated field because of typo."
1078-
},
10791075
"policyDescription": {
10801076
"description": "Output only. Description about the policy schema for user consumption.",
10811077
"readOnly": true,
@@ -1373,7 +1369,7 @@
13731369
"type": "string"
13741370
},
13751371
"policySchemaFilter": {
1376-
"description": "The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: \"chrome.users.*\", \"chrome.users.apps.*\", \"chrome.printers.*\" Invalid: \"*\", \"*.users\", \"chrome.*\", \"chrome.*.apps.*\"",
1372+
"description": "Required. The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: \"chrome.users.*\", \"chrome.users.apps.*\", \"chrome.printers.*\" Invalid: \"*\", \"*.users\", \"chrome.*\", \"chrome.*.apps.*\"",
13771373
"type": "string"
13781374
},
13791375
"policyTargetKey": {

src/apis/chromepolicy/v1.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,6 @@ export namespace chromepolicy_v1 {
495495
* Output only. Current lifecycle information.
496496
*/
497497
policyApiLifecycle?: Schema$ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle;
498-
/**
499-
* Deprecated field because of typo.
500-
*/
501-
policyApiLifeycle?: Schema$ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle;
502498
/**
503499
* Output only. Description about the policy schema for user consumption.
504500
*/
@@ -728,7 +724,7 @@ export namespace chromepolicy_v1 {
728724
*/
729725
pageToken?: string | null;
730726
/**
731-
* The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
727+
* Required. The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google.com/chrome/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: "chrome.users.*", "chrome.users.apps.*", "chrome.printers.*" Invalid: "*", "*.users", "chrome.*", "chrome.*.apps.*"
732728
*/
733729
policySchemaFilter?: string | null;
734730
/**
@@ -2720,7 +2716,6 @@ export namespace chromepolicy_v1 {
27202716
* // "name": "my_name",
27212717
* // "notices": [],
27222718
* // "policyApiLifecycle": {},
2723-
* // "policyApiLifeycle": {},
27242719
* // "policyDescription": "my_policyDescription",
27252720
* // "schemaName": "my_schemaName",
27262721
* // "supportUri": "my_supportUri",

0 commit comments

Comments
 (0)