Skip to content

Commit ae136e1

Browse files
yoshi-automationsofisl
authored andcommitted
feat(chromemanagement): update the API
#### chromemanagement:v1 The following keys were added: - resources.customers.resources.profiles.resources.commands.methods.create.description - resources.customers.resources.profiles.resources.commands.methods.create.flatPath - resources.customers.resources.profiles.resources.commands.methods.create.httpMethod - resources.customers.resources.profiles.resources.commands.methods.create.id - resources.customers.resources.profiles.resources.commands.methods.create.parameterOrder - resources.customers.resources.profiles.resources.commands.methods.create.parameters.parent.description - resources.customers.resources.profiles.resources.commands.methods.create.parameters.parent.location - resources.customers.resources.profiles.resources.commands.methods.create.parameters.parent.pattern - resources.customers.resources.profiles.resources.commands.methods.create.parameters.parent.required - resources.customers.resources.profiles.resources.commands.methods.create.parameters.parent.type - resources.customers.resources.profiles.resources.commands.methods.create.path - resources.customers.resources.profiles.resources.commands.methods.create.request.$ref - resources.customers.resources.profiles.resources.commands.methods.create.response.$ref - resources.customers.resources.profiles.resources.commands.methods.create.scopes - resources.customers.resources.profiles.resources.commands.methods.get.description - resources.customers.resources.profiles.resources.commands.methods.get.flatPath - resources.customers.resources.profiles.resources.commands.methods.get.httpMethod - resources.customers.resources.profiles.resources.commands.methods.get.id - resources.customers.resources.profiles.resources.commands.methods.get.parameterOrder - resources.customers.resources.profiles.resources.commands.methods.get.parameters.name.description - resources.customers.resources.profiles.resources.commands.methods.get.parameters.name.location - resources.customers.resources.profiles.resources.commands.methods.get.parameters.name.pattern - resources.customers.resources.profiles.resources.commands.methods.get.parameters.name.required - resources.customers.resources.profiles.resources.commands.methods.get.parameters.name.type - resources.customers.resources.profiles.resources.commands.methods.get.path - resources.customers.resources.profiles.resources.commands.methods.get.response.$ref - resources.customers.resources.profiles.resources.commands.methods.get.scopes - resources.customers.resources.profiles.resources.commands.methods.list.description - resources.customers.resources.profiles.resources.commands.methods.list.flatPath - resources.customers.resources.profiles.resources.commands.methods.list.httpMethod - resources.customers.resources.profiles.resources.commands.methods.list.id - resources.customers.resources.profiles.resources.commands.methods.list.parameterOrder - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageSize.description - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageSize.format - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageSize.location - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageSize.type - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageToken.description - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageToken.location - resources.customers.resources.profiles.resources.commands.methods.list.parameters.pageToken.type - resources.customers.resources.profiles.resources.commands.methods.list.parameters.parent.description - resources.customers.resources.profiles.resources.commands.methods.list.parameters.parent.location - resources.customers.resources.profiles.resources.commands.methods.list.parameters.parent.pattern - resources.customers.resources.profiles.resources.commands.methods.list.parameters.parent.required - resources.customers.resources.profiles.resources.commands.methods.list.parameters.parent.type - resources.customers.resources.profiles.resources.commands.methods.list.path - resources.customers.resources.profiles.resources.commands.methods.list.response.$ref - resources.customers.resources.profiles.resources.commands.methods.list.scopes - schemas.GoogleChromeManagementV1ChromeAppInfo.properties.manifestVersion.description - schemas.GoogleChromeManagementV1ChromeAppInfo.properties.manifestVersion.format - schemas.GoogleChromeManagementV1ChromeAppInfo.properties.manifestVersion.readOnly - schemas.GoogleChromeManagementV1ChromeAppInfo.properties.manifestVersion.type - schemas.GoogleChromeManagementV1DisplayDevice.properties.edidVersion.description - schemas.GoogleChromeManagementV1DisplayDevice.properties.edidVersion.readOnly - schemas.GoogleChromeManagementV1DisplayDevice.properties.edidVersion.type - schemas.GoogleChromeManagementV1DisplayDevice.properties.serialNumber.description - schemas.GoogleChromeManagementV1DisplayDevice.properties.serialNumber.format - schemas.GoogleChromeManagementV1DisplayDevice.properties.serialNumber.readOnly - schemas.GoogleChromeManagementV1DisplayDevice.properties.serialNumber.type - schemas.GoogleChromeManagementV1DisplayInfo.properties.edidVersion.description - schemas.GoogleChromeManagementV1DisplayInfo.properties.edidVersion.readOnly - schemas.GoogleChromeManagementV1DisplayInfo.properties.edidVersion.type - schemas.GoogleChromeManagementV1DisplayInfo.properties.serialNumber.description - schemas.GoogleChromeManagementV1DisplayInfo.properties.serialNumber.format - schemas.GoogleChromeManagementV1DisplayInfo.properties.serialNumber.readOnly - schemas.GoogleChromeManagementV1DisplayInfo.properties.serialNumber.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.id - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandResult.$ref - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandResult.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandResult.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandState.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandState.enum - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandState.enumDescriptions - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandState.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandState.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandType.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.commandType.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.issueTime.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.issueTime.format - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.issueTime.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.issueTime.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.name.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.name.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.payload.additionalProperties.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.payload.additionalProperties.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.payload.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.payload.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.validDuration.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.validDuration.format - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.validDuration.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.properties.validDuration.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.id - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.clientExecutionTime.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.clientExecutionTime.format - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.clientExecutionTime.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.clientExecutionTime.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultCode.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultCode.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultCode.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultType.description - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultType.enum - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultType.enumDescriptions - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultType.readOnly - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.properties.resultType.type - schemas.GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.type - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.description - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.id - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.chromeBrowserProfileCommands.description - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.chromeBrowserProfileCommands.items.$ref - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.chromeBrowserProfileCommands.type - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.nextPageToken.description - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.nextPageToken.type - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.totalSize.description - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.totalSize.format - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.properties.totalSize.type - schemas.GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse.type
1 parent d0de349 commit ae136e1

File tree

2 files changed

+851
-1
lines changed

2 files changed

+851
-1
lines changed

discovery/chromemanagement-v1.json

Lines changed: 241 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,103 @@
450450
"https://www.googleapis.com/auth/chrome.management.profiles.readonly"
451451
]
452452
}
453+
},
454+
"resources": {
455+
"commands": {
456+
"methods": {
457+
"create": {
458+
"description": "Creates a Chrome browser profile remote command.",
459+
"flatPath": "v1/customers/{customersId}/profiles/{profilesId}/commands",
460+
"httpMethod": "POST",
461+
"id": "chromemanagement.customers.profiles.commands.create",
462+
"parameterOrder": [
463+
"parent"
464+
],
465+
"parameters": {
466+
"parent": {
467+
"description": "Required. Format: customers/{customer_id}/profiles/{profile_permanent_id}",
468+
"location": "path",
469+
"pattern": "^customers/[^/]+/profiles/[^/]+$",
470+
"required": true,
471+
"type": "string"
472+
}
473+
},
474+
"path": "v1/{+parent}/commands",
475+
"request": {
476+
"$ref": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand"
477+
},
478+
"response": {
479+
"$ref": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand"
480+
},
481+
"scopes": [
482+
"https://www.googleapis.com/auth/chrome.management.profiles"
483+
]
484+
},
485+
"get": {
486+
"description": "Gets a Chrome browser profile remote command.",
487+
"flatPath": "v1/customers/{customersId}/profiles/{profilesId}/commands/{commandsId}",
488+
"httpMethod": "GET",
489+
"id": "chromemanagement.customers.profiles.commands.get",
490+
"parameterOrder": [
491+
"name"
492+
],
493+
"parameters": {
494+
"name": {
495+
"description": "Required. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}",
496+
"location": "path",
497+
"pattern": "^customers/[^/]+/profiles/[^/]+/commands/[^/]+$",
498+
"required": true,
499+
"type": "string"
500+
}
501+
},
502+
"path": "v1/{+name}",
503+
"response": {
504+
"$ref": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand"
505+
},
506+
"scopes": [
507+
"https://www.googleapis.com/auth/chrome.management.profiles",
508+
"https://www.googleapis.com/auth/chrome.management.profiles.readonly"
509+
]
510+
},
511+
"list": {
512+
"description": "Lists remote commands of a Chrome browser profile.",
513+
"flatPath": "v1/customers/{customersId}/profiles/{profilesId}/commands",
514+
"httpMethod": "GET",
515+
"id": "chromemanagement.customers.profiles.commands.list",
516+
"parameterOrder": [
517+
"parent"
518+
],
519+
"parameters": {
520+
"pageSize": {
521+
"description": "Optional. The maximum number of commands to return. The default page size is 100 if page_size is unspecified, and the maximum page size allowed is 100.",
522+
"format": "int32",
523+
"location": "query",
524+
"type": "integer"
525+
},
526+
"pageToken": {
527+
"description": "Optional. The page token used to retrieve a specific page of the listing request.",
528+
"location": "query",
529+
"type": "string"
530+
},
531+
"parent": {
532+
"description": "Required. Format: customers/{customer_id}/profiles/{profile_permanent_id}",
533+
"location": "path",
534+
"pattern": "^customers/[^/]+/profiles/[^/]+$",
535+
"required": true,
536+
"type": "string"
537+
}
538+
},
539+
"path": "v1/{+parent}/commands",
540+
"response": {
541+
"$ref": "GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse"
542+
},
543+
"scopes": [
544+
"https://www.googleapis.com/auth/chrome.management.profiles",
545+
"https://www.googleapis.com/auth/chrome.management.profiles.readonly"
546+
]
547+
}
548+
}
549+
}
453550
}
454551
},
455552
"reports": {
@@ -1280,7 +1377,7 @@
12801377
}
12811378
}
12821379
},
1283-
"revision": "20250623",
1380+
"revision": "20250710",
12841381
"rootUrl": "https://chromemanagement.googleapis.com/",
12851382
"schemas": {
12861383
"GoogleChromeManagementV1AndroidAppInfo": {
@@ -1869,6 +1966,12 @@
18691966
"readOnly": true,
18701967
"type": "boolean"
18711968
},
1969+
"manifestVersion": {
1970+
"description": "Output only. The version of this extension's manifest.",
1971+
"format": "int64",
1972+
"readOnly": true,
1973+
"type": "string"
1974+
},
18721975
"minUserCount": {
18731976
"description": "Output only. The minimum number of users using this app.",
18741977
"format": "int32",
@@ -2576,6 +2679,11 @@
25762679
"readOnly": true,
25772680
"type": "integer"
25782681
},
2682+
"edidVersion": {
2683+
"description": "Output only. EDID version.",
2684+
"readOnly": true,
2685+
"type": "string"
2686+
},
25792687
"internal": {
25802688
"description": "Output only. Is display internal or not.",
25812689
"readOnly": true,
@@ -2597,6 +2705,12 @@
25972705
"format": "int32",
25982706
"readOnly": true,
25992707
"type": "integer"
2708+
},
2709+
"serialNumber": {
2710+
"description": "Output only. Serial number.",
2711+
"format": "int32",
2712+
"readOnly": true,
2713+
"type": "integer"
26002714
}
26012715
},
26022716
"type": "object"
@@ -2616,6 +2730,11 @@
26162730
"readOnly": true,
26172731
"type": "string"
26182732
},
2733+
"edidVersion": {
2734+
"description": "Output only. EDID version.",
2735+
"readOnly": true,
2736+
"type": "string"
2737+
},
26192738
"isInternal": {
26202739
"description": "Output only. Indicates if display is internal or not.",
26212740
"readOnly": true,
@@ -2638,6 +2757,12 @@
26382757
"format": "int32",
26392758
"readOnly": true,
26402759
"type": "integer"
2760+
},
2761+
"serialNumber": {
2762+
"description": "Output only. Serial number.",
2763+
"format": "int32",
2764+
"readOnly": true,
2765+
"type": "integer"
26412766
}
26422767
},
26432768
"type": "object"
@@ -5311,6 +5436,98 @@
53115436
},
53125437
"type": "object"
53135438
},
5439+
"GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand": {
5440+
"description": "A representation of a remote command for a Chrome browser profile.",
5441+
"id": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand",
5442+
"properties": {
5443+
"commandResult": {
5444+
"$ref": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult",
5445+
"description": "Output only. Result of the remote command.",
5446+
"readOnly": true
5447+
},
5448+
"commandState": {
5449+
"description": "Output only. State of the remote command.",
5450+
"enum": [
5451+
"COMMAND_STATE_UNSPECIFIED",
5452+
"PENDING",
5453+
"EXPIRED",
5454+
"EXECUTED_BY_CLIENT"
5455+
],
5456+
"enumDescriptions": [
5457+
"Represents an unspecified command state.",
5458+
"Represents a command in a pending state.",
5459+
"Represents a command that has expired.",
5460+
"Represents a command that has been executed by the client."
5461+
],
5462+
"readOnly": true,
5463+
"type": "string"
5464+
},
5465+
"commandType": {
5466+
"description": "Required. Type of the remote command. The only supported command_type is \"clearBrowsingData\".",
5467+
"type": "string"
5468+
},
5469+
"issueTime": {
5470+
"description": "Output only. Timestamp of the issurance of the remote command.",
5471+
"format": "google-datetime",
5472+
"readOnly": true,
5473+
"type": "string"
5474+
},
5475+
"name": {
5476+
"description": "Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}",
5477+
"type": "string"
5478+
},
5479+
"payload": {
5480+
"additionalProperties": {
5481+
"description": "Properties of the object.",
5482+
"type": "any"
5483+
},
5484+
"description": "Required. Payload of the remote command. The payload for \"clearBrowsingData\" command supports: - fields \"clearCache\" and \"clearCookies\" - values of boolean type.",
5485+
"type": "object"
5486+
},
5487+
"validDuration": {
5488+
"description": "Output only. Valid duration of the remote command.",
5489+
"format": "google-duration",
5490+
"readOnly": true,
5491+
"type": "string"
5492+
}
5493+
},
5494+
"type": "object"
5495+
},
5496+
"GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult": {
5497+
"description": "Result of the execution of a command.",
5498+
"id": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult",
5499+
"properties": {
5500+
"clientExecutionTime": {
5501+
"description": "Output only. Timestamp of the client execution of the remote command.",
5502+
"format": "google-datetime",
5503+
"readOnly": true,
5504+
"type": "string"
5505+
},
5506+
"resultCode": {
5507+
"description": "Output only. Result code that indicates the type of error or success of the command.",
5508+
"readOnly": true,
5509+
"type": "string"
5510+
},
5511+
"resultType": {
5512+
"description": "Output only. Result type of the remote command.",
5513+
"enum": [
5514+
"COMMAND_RESULT_TYPE_UNSPECIFIED",
5515+
"IGNORED",
5516+
"FAILURE",
5517+
"SUCCESS"
5518+
],
5519+
"enumDescriptions": [
5520+
"Represents an unspecified command result.",
5521+
"Represents a command with an ignored result.",
5522+
"Represents a failed command.",
5523+
"Represents a succeeded command."
5524+
],
5525+
"readOnly": true,
5526+
"type": "string"
5527+
}
5528+
},
5529+
"type": "object"
5530+
},
53145531
"GoogleChromeManagementVersionsV1ChromeOsDevice": {
53155532
"description": "Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.",
53165533
"id": "GoogleChromeManagementVersionsV1ChromeOsDevice",
@@ -5409,6 +5626,29 @@
54095626
},
54105627
"type": "object"
54115628
},
5629+
"GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse": {
5630+
"description": "Response to ListChromeBrowserProfileCommands method.",
5631+
"id": "GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse",
5632+
"properties": {
5633+
"chromeBrowserProfileCommands": {
5634+
"description": "The list of commands returned.",
5635+
"items": {
5636+
"$ref": "GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand"
5637+
},
5638+
"type": "array"
5639+
},
5640+
"nextPageToken": {
5641+
"description": "The pagination token that can be used to list the next page.",
5642+
"type": "string"
5643+
},
5644+
"totalSize": {
5645+
"description": "Total size represents an estimated number of resources returned.",
5646+
"format": "int64",
5647+
"type": "string"
5648+
}
5649+
},
5650+
"type": "object"
5651+
},
54125652
"GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse": {
54135653
"description": "Response to ListChromeBrowserProfiles method.",
54145654
"id": "GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse",

0 commit comments

Comments
 (0)