Skip to content

Commit 131c12a

Browse files
yoshi-automationsofisl
authored andcommitted
feat(chromemanagement): update the API
#### chromemanagement:v1 The following keys were added: - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.description - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.flatPath - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.httpMethod - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.id - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameterOrder - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.customer.description - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.customer.location - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.customer.pattern - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.customer.required - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.customer.type - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.extensionId.description - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.extensionId.location - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.extensionId.type - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.orgUnitId.description - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.orgUnitId.location - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.orgUnitId.type - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageSize.description - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageSize.format - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageSize.location - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageSize.type - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageToken.description - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageToken.location - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.parameters.pageToken.type - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.path - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.response.$ref - resources.customers.resources.apps.methods.fetchDevicesRequestingExtension.scopes - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.description - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.flatPath - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.httpMethod - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.id - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameterOrder - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.customer.description - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.customer.location - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.customer.pattern - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.customer.required - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.customer.type - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.extensionId.description - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.extensionId.location - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.extensionId.type - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.orgUnitId.description - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.orgUnitId.location - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.orgUnitId.type - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageSize.description - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageSize.format - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageSize.location - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageSize.type - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageToken.description - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageToken.location - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.parameters.pageToken.type - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.path - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.response.$ref - resources.customers.resources.apps.methods.fetchUsersRequestingExtension.scopes - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.description - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.id - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.properties.deviceName.description - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.properties.deviceName.type - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.properties.justification.description - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.properties.justification.type - schemas.GoogleChromeManagementV1DeviceRequestingExtensionDetails.type - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.description - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.id - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.deviceDetails.description - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.deviceDetails.items.$ref - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.deviceDetails.type - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.nextPageToken.description - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.nextPageToken.type - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.totalSize.description - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.totalSize.format - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.properties.totalSize.type - schemas.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse.type - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.description - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.id - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.nextPageToken.description - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.nextPageToken.type - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.totalSize.description - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.totalSize.format - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.totalSize.type - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.userDetails.description - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.userDetails.items.$ref - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.properties.userDetails.type - schemas.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse.type - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.description - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.id - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.properties.email.description - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.properties.email.type - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.properties.justification.description - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.properties.justification.type - schemas.GoogleChromeManagementV1UserRequestingExtensionDetails.type The following keys were changed: - resources.customers.resources.telemetry.resources.devices.methods.get.parameters.readMask.description - resources.customers.resources.telemetry.resources.devices.methods.list.parameters.readMask.description - resources.customers.resources.telemetry.resources.events.methods.list.parameters.readMask.description - resources.customers.resources.telemetry.resources.users.methods.get.parameters.readMask.description - resources.customers.resources.telemetry.resources.users.methods.list.parameters.readMask.description
1 parent 2ac1b12 commit 131c12a

File tree

2 files changed

+479
-11
lines changed

2 files changed

+479
-11
lines changed

discovery/chromemanagement-v1.json

Lines changed: 174 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,98 @@
160160
"scopes": [
161161
"https://www.googleapis.com/auth/chrome.management.appdetails.readonly"
162162
]
163+
},
164+
"fetchDevicesRequestingExtension": {
165+
"description": "Get a list of devices that have requested to install an extension.",
166+
"flatPath": "v1/customers/{customersId}/apps:fetchDevicesRequestingExtension",
167+
"httpMethod": "GET",
168+
"id": "chromemanagement.customers.apps.fetchDevicesRequestingExtension",
169+
"parameterOrder": [
170+
"customer"
171+
],
172+
"parameters": {
173+
"customer": {
174+
"description": "Required. The customer ID or \"my_customer\" prefixed with \"customers/\".",
175+
"location": "path",
176+
"pattern": "^customers/[^/]+$",
177+
"required": true,
178+
"type": "string"
179+
},
180+
"extensionId": {
181+
"description": "Required. The extension for which we want to find requesting devices.",
182+
"location": "query",
183+
"type": "string"
184+
},
185+
"orgUnitId": {
186+
"description": "The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.",
187+
"location": "query",
188+
"type": "string"
189+
},
190+
"pageSize": {
191+
"description": "Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.",
192+
"format": "int32",
193+
"location": "query",
194+
"type": "integer"
195+
},
196+
"pageToken": {
197+
"description": "Optional. Token to specify the page of the request to be returned. Token expires after 1 day.",
198+
"location": "query",
199+
"type": "string"
200+
}
201+
},
202+
"path": "v1/{+customer}/apps:fetchDevicesRequestingExtension",
203+
"response": {
204+
"$ref": "GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse"
205+
},
206+
"scopes": [
207+
"https://www.googleapis.com/auth/chrome.management.appdetails.readonly"
208+
]
209+
},
210+
"fetchUsersRequestingExtension": {
211+
"description": "Get a list of users that have requested to install an extension.",
212+
"flatPath": "v1/customers/{customersId}/apps:fetchUsersRequestingExtension",
213+
"httpMethod": "GET",
214+
"id": "chromemanagement.customers.apps.fetchUsersRequestingExtension",
215+
"parameterOrder": [
216+
"customer"
217+
],
218+
"parameters": {
219+
"customer": {
220+
"description": "Required. The customer ID or \"my_customer\" prefixed with \"customers/\".",
221+
"location": "path",
222+
"pattern": "^customers/[^/]+$",
223+
"required": true,
224+
"type": "string"
225+
},
226+
"extensionId": {
227+
"description": "Required. The extension for which we want to find the requesting users.",
228+
"location": "query",
229+
"type": "string"
230+
},
231+
"orgUnitId": {
232+
"description": "The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.",
233+
"location": "query",
234+
"type": "string"
235+
},
236+
"pageSize": {
237+
"description": "Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.",
238+
"format": "int32",
239+
"location": "query",
240+
"type": "integer"
241+
},
242+
"pageToken": {
243+
"description": "Optional. Token to specify the page of the request to be returned. Token expires after 1 day.",
244+
"location": "query",
245+
"type": "string"
246+
}
247+
},
248+
"path": "v1/{+customer}/apps:fetchUsersRequestingExtension",
249+
"response": {
250+
"$ref": "GoogleChromeManagementV1FetchUsersRequestingExtensionResponse"
251+
},
252+
"scopes": [
253+
"https://www.googleapis.com/auth/chrome.management.appdetails.readonly"
254+
]
163255
}
164256
},
165257
"resources": {
@@ -746,7 +838,7 @@
746838
"type": "string"
747839
},
748840
"readMask": {
749-
"description": "Required. Read mask to specify which fields to return.",
841+
"description": "Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report ",
750842
"format": "google-fieldmask",
751843
"location": "query",
752844
"type": "string"
@@ -793,7 +885,7 @@
793885
"type": "string"
794886
},
795887
"readMask": {
796-
"description": "Required. Read mask to specify which fields to return.",
888+
"description": "Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report ",
797889
"format": "google-fieldmask",
798890
"location": "query",
799891
"type": "string"
@@ -844,7 +936,7 @@
844936
"type": "string"
845937
},
846938
"readMask": {
847-
"description": "Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required.",
939+
"description": "Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event ",
848940
"format": "google-fieldmask",
849941
"location": "query",
850942
"type": "string"
@@ -972,7 +1064,7 @@
9721064
"type": "string"
9731065
},
9741066
"readMask": {
975-
"description": "Read mask to specify which fields to return.",
1067+
"description": "Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report ",
9761068
"format": "google-fieldmask",
9771069
"location": "query",
9781070
"type": "string"
@@ -1019,7 +1111,7 @@
10191111
"type": "string"
10201112
},
10211113
"readMask": {
1022-
"description": "Read mask to specify which fields to return.",
1114+
"description": "Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report ",
10231115
"format": "google-fieldmask",
10241116
"location": "query",
10251117
"type": "string"
@@ -1040,7 +1132,7 @@
10401132
}
10411133
}
10421134
},
1043-
"revision": "20240227",
1135+
"revision": "20240312",
10441136
"rootUrl": "https://chromemanagement.googleapis.com/",
10451137
"schemas": {
10461138
"GoogleChromeManagementV1AndroidAppInfo": {
@@ -2087,6 +2179,21 @@
20872179
},
20882180
"type": "object"
20892181
},
2182+
"GoogleChromeManagementV1DeviceRequestingExtensionDetails": {
2183+
"description": "Details of a device requesting an extension, including the name of the device and the justification of the request.",
2184+
"id": "GoogleChromeManagementV1DeviceRequestingExtensionDetails",
2185+
"properties": {
2186+
"deviceName": {
2187+
"description": "The name of a device that has requested the extension.",
2188+
"type": "string"
2189+
},
2190+
"justification": {
2191+
"description": "Request justification as entered by the user.",
2192+
"type": "string"
2193+
}
2194+
},
2195+
"type": "object"
2196+
},
20902197
"GoogleChromeManagementV1DiskInfo": {
20912198
"description": "Status of the single storage device.",
20922199
"id": "GoogleChromeManagementV1DiskInfo",
@@ -2279,6 +2386,52 @@
22792386
},
22802387
"type": "object"
22812388
},
2389+
"GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse": {
2390+
"description": "Response containing a list of devices that have requested the queried extension.",
2391+
"id": "GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse",
2392+
"properties": {
2393+
"deviceDetails": {
2394+
"description": "Details of devices that have requested the queried extension.",
2395+
"items": {
2396+
"$ref": "GoogleChromeManagementV1DeviceRequestingExtensionDetails"
2397+
},
2398+
"type": "array"
2399+
},
2400+
"nextPageToken": {
2401+
"description": "Optional. Token to specify the next page in the list. Token expires after 1 day.",
2402+
"type": "string"
2403+
},
2404+
"totalSize": {
2405+
"description": "Optional. Total number of devices in response.",
2406+
"format": "int32",
2407+
"type": "integer"
2408+
}
2409+
},
2410+
"type": "object"
2411+
},
2412+
"GoogleChromeManagementV1FetchUsersRequestingExtensionResponse": {
2413+
"description": "Response containing a list of users that have requested the queried extension.",
2414+
"id": "GoogleChromeManagementV1FetchUsersRequestingExtensionResponse",
2415+
"properties": {
2416+
"nextPageToken": {
2417+
"description": "Token to specify the next page in the list.",
2418+
"type": "string"
2419+
},
2420+
"totalSize": {
2421+
"description": "Total number of users in response.",
2422+
"format": "int32",
2423+
"type": "integer"
2424+
},
2425+
"userDetails": {
2426+
"description": "Details of users that have requested the queried extension.",
2427+
"items": {
2428+
"$ref": "GoogleChromeManagementV1UserRequestingExtensionDetails"
2429+
},
2430+
"type": "array"
2431+
}
2432+
},
2433+
"type": "object"
2434+
},
22822435
"GoogleChromeManagementV1FindInstalledAppDevicesResponse": {
22832436
"description": "Response containing a list of devices with queried app installed.",
22842437
"id": "GoogleChromeManagementV1FindInstalledAppDevicesResponse",
@@ -3988,6 +4141,21 @@
39884141
},
39894142
"type": "object"
39904143
},
4144+
"GoogleChromeManagementV1UserRequestingExtensionDetails": {
4145+
"description": "Details of a user requesting an extension, including the email and the justification.",
4146+
"id": "GoogleChromeManagementV1UserRequestingExtensionDetails",
4147+
"properties": {
4148+
"email": {
4149+
"description": "The e-mail address of a user that has requested the extension.",
4150+
"type": "string"
4151+
},
4152+
"justification": {
4153+
"description": "Request justification as entered by the user.",
4154+
"type": "string"
4155+
}
4156+
},
4157+
"type": "object"
4158+
},
39914159
"GoogleProtobufEmpty": {
39924160
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
39934161
"id": "GoogleProtobufEmpty",

0 commit comments

Comments
 (0)