first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
||||
import nock from 'nock';
|
||||
|
||||
describe('Google GSuiteAdmin Node', () => {
|
||||
beforeEach(() => {
|
||||
nock.disableNetConnect();
|
||||
nock('https://www.googleapis.com/admin')
|
||||
.post(
|
||||
'/directory/v1/customer/my_customer/devices/chromeos/9140fcff-7ba7-4324-8552-f7de68481b4c/action',
|
||||
{
|
||||
action: 'reenable',
|
||||
},
|
||||
)
|
||||
.reply(200, {
|
||||
kind: 'admin#directory#chromeosdeviceAction',
|
||||
action: 'reenable',
|
||||
status: 'SUCCESS',
|
||||
});
|
||||
});
|
||||
|
||||
new NodeTestHarness().setupTests({
|
||||
workflowFiles: ['changeStatus.workflow.json'],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [-180, 240],
|
||||
"id": "db450654-d59c-4fb4-a06c-af7b971f0c14",
|
||||
"name": "When clicking ‘Execute workflow’"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "device",
|
||||
"operation": "changeStatus",
|
||||
"deviceId": {
|
||||
"__rl": true,
|
||||
"value": "9140fcff-7ba7-4324-8552-f7de68481b4c",
|
||||
"mode": "list",
|
||||
"cachedResultName": "5CC115NN33"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.gSuiteAdmin",
|
||||
"typeVersion": 1,
|
||||
"position": [-320, 680],
|
||||
"id": "d441de38-e340-495d-8177-f8bd8bb33e50",
|
||||
"name": "Change Status",
|
||||
"credentials": {
|
||||
"gSuiteAdminOAuth2Api": {
|
||||
"id": "OXfPMaggXFJ0RLkw",
|
||||
"name": "Google Workspace Admin account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"When clicking ‘Execute workflow’": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Change Status",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"pinData": {
|
||||
"Change Status": [
|
||||
{
|
||||
"json": {
|
||||
"kind": "admin#directory#chromeosdeviceAction",
|
||||
"action": "reenable",
|
||||
"status": "SUCCESS"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
||||
import nock from 'nock';
|
||||
|
||||
describe('Google GSuiteAdmin Node', () => {
|
||||
beforeEach(() => {
|
||||
nock.disableNetConnect();
|
||||
nock('https://www.googleapis.com/admin')
|
||||
.get(
|
||||
'/directory/v1/customer/my_customer/devices/chromeos/9999ffff-7aa7-4444-8555-f7de48484b4a?projection=basic',
|
||||
)
|
||||
.reply(200, {
|
||||
kind: 'admin#directory#chromeosdevice',
|
||||
etag: '"example"',
|
||||
deviceId: '9999ffff-7aa7-4444-8555-f7de48484b4a',
|
||||
serialNumber: '5DD1155DD44',
|
||||
status: 'DISABLED',
|
||||
lastSync: '2025-02-12T07:17:16.950Z',
|
||||
annotatedUser: 'my user',
|
||||
annotatedLocation: 'test',
|
||||
annotatedAssetId: '1234567788',
|
||||
notes: 'test',
|
||||
orgUnitPath: '/',
|
||||
orgUnitId: '00pp8a2z1uu85pp',
|
||||
extendedSupportEligible: false,
|
||||
chromeOsType: 'chromeOs',
|
||||
diskSpaceUsage: {
|
||||
capacityBytes: '549755813888',
|
||||
usedBytes: '549755813888',
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
new NodeTestHarness().setupTests({
|
||||
workflowFiles: ['get.workflow.json'],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [120, 700],
|
||||
"id": "0ffead0b-d690-48b8-b406-bea5e0029c15",
|
||||
"name": "When clicking ‘Execute workflow’"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "device",
|
||||
"deviceId": {
|
||||
"__rl": true,
|
||||
"value": "9999ffff-7aa7-4444-8555-f7de48484b4a",
|
||||
"mode": "list",
|
||||
"cachedResultName": "5DD1155DD44"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.gSuiteAdmin",
|
||||
"typeVersion": 1,
|
||||
"position": [0, 1120],
|
||||
"id": "cda57e63-1620-4f75-b11e-48b83565ad80",
|
||||
"name": "Get Device",
|
||||
"credentials": {
|
||||
"gSuiteAdminOAuth2Api": {
|
||||
"id": "OXfPMaggXFJ0RLkw",
|
||||
"name": "Google Workspace Admin account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"When clicking ‘Execute workflow’": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get Device",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"pinData": {
|
||||
"Get Device": [
|
||||
{
|
||||
"json": {
|
||||
"kind": "admin#directory#chromeosdevice",
|
||||
"etag": "\"example\"",
|
||||
"deviceId": "9999ffff-7aa7-4444-8555-f7de48484b4a",
|
||||
"serialNumber": "5DD1155DD44",
|
||||
"status": "DISABLED",
|
||||
"lastSync": "2025-02-12T07:17:16.950Z",
|
||||
"annotatedUser": "my user",
|
||||
"annotatedLocation": "test",
|
||||
"annotatedAssetId": "1234567788",
|
||||
"notes": "test",
|
||||
"orgUnitPath": "/",
|
||||
"orgUnitId": "00pp8a2z1uu85pp",
|
||||
"extendedSupportEligible": false,
|
||||
"chromeOsType": "chromeOs",
|
||||
"diskSpaceUsage": {
|
||||
"capacityBytes": "549755813888",
|
||||
"usedBytes": "549755813888"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
||||
import nock from 'nock';
|
||||
|
||||
describe('Google GSuiteAdmin Node', () => {
|
||||
beforeEach(() => {
|
||||
nock.disableNetConnect();
|
||||
nock('https://www.googleapis.com/admin')
|
||||
.get('/directory/v1/customer/my_customer/devices/chromeos/')
|
||||
.query({
|
||||
customer: 'my_customer',
|
||||
includeChildOrgunits: false,
|
||||
maxResults: 100,
|
||||
orderBy: 'notes',
|
||||
orgUnitPath: '/admin-google Testing OU/Child OU',
|
||||
projection: 'basic',
|
||||
})
|
||||
.reply(200, [
|
||||
{
|
||||
kind: 'admin#directory#chromeosdevices',
|
||||
etag: '"example"',
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
new NodeTestHarness().setupTests({
|
||||
workflowFiles: ['getAll.workflow.json'],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [120, 700],
|
||||
"id": "0e76b314-4994-4141-975f-9614c6094c80",
|
||||
"name": "When clicking ‘Execute workflow’"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "device",
|
||||
"operation": "getAll",
|
||||
"filter": {
|
||||
"orgUnitPath": "/admin-google Testing OU/Child OU"
|
||||
},
|
||||
"sort": {
|
||||
"sortRules": {
|
||||
"orderBy": "notes",
|
||||
"sortBy": "ascending"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.gSuiteAdmin",
|
||||
"typeVersion": 1,
|
||||
"position": [40, 1120],
|
||||
"id": "b8a51950-2fdb-4161-9dc3-09f73de5a45b",
|
||||
"name": "Get Many Device",
|
||||
"credentials": {
|
||||
"gSuiteAdminOAuth2Api": {
|
||||
"id": "OXfPMaggXFJ0RLkw",
|
||||
"name": "Google Workspace Admin account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"When clicking ‘Execute workflow’": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get Many Device",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"pinData": {
|
||||
"Get Many Device": [
|
||||
{
|
||||
"json": {
|
||||
"kind": "admin#directory#chromeosdevices",
|
||||
"etag": "\"example\""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,620 @@
|
||||
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
||||
import nock from 'nock';
|
||||
|
||||
describe('Google GSuiteAdmin Node', () => {
|
||||
beforeEach(() => {
|
||||
nock.disableNetConnect();
|
||||
nock('https://www.googleapis.com/admin')
|
||||
.put(
|
||||
'/directory/v1/customer/my_customer/devices/chromeos/9990fpff-8ba8-4444-8555-f7ee88881b4c',
|
||||
)
|
||||
.reply(200, {
|
||||
kind: 'admin#directory#chromeosdevice',
|
||||
etag: '"example"',
|
||||
deviceId: '9990fpff-8ba8-4444-8555-f7ee88881b4c',
|
||||
serialNumber: '5CC115NN33',
|
||||
status: 'DISABLED',
|
||||
lastSync: '2025-02-12T07:17:16.950Z',
|
||||
annotatedUser: 'my user',
|
||||
annotatedLocation: 'test',
|
||||
annotatedAssetId: '1234567788',
|
||||
notes: 'test',
|
||||
model: 'Test Model',
|
||||
osVersion: '129.0.6668.99',
|
||||
platformVersion: '16002.51.0 (Official Build) stable-channel reven',
|
||||
firmwareVersion: 'FirmwareNotParsed',
|
||||
macAddress: '666c8888ffccf',
|
||||
lastEnrollmentTime: '2025-02-10T17:03:10.324Z',
|
||||
firstEnrollmentTime: '2025-02-10T17:03:10.324Z',
|
||||
orgUnitPath: '/',
|
||||
orgUnitId: '00pp88a2z2uu88pp',
|
||||
recentUsers: [
|
||||
{
|
||||
type: 'USER_TYPE_MANAGED',
|
||||
email: 'admin-google@example.com',
|
||||
},
|
||||
],
|
||||
activeTimeRanges: [
|
||||
{
|
||||
date: '2025-02-10',
|
||||
activeTime: 300000,
|
||||
},
|
||||
{
|
||||
date: '2025-02-11',
|
||||
activeTime: 1920025,
|
||||
},
|
||||
{
|
||||
date: '2025-02-12',
|
||||
activeTime: 30000,
|
||||
},
|
||||
],
|
||||
tpmVersionInfo: {
|
||||
family: '0',
|
||||
specLevel: '0',
|
||||
manufacturer: '0',
|
||||
tpmModel: '0',
|
||||
firmwareVersion: '0',
|
||||
vendorSpecific: '',
|
||||
},
|
||||
cpuStatusReports: [
|
||||
{
|
||||
reportTime: '2025-02-10T17:03:13.233Z',
|
||||
cpuUtilizationPercentageInfo: [12],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:04:13.233Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 43,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:11:01.943Z',
|
||||
cpuUtilizationPercentageInfo: [28],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:12:02.223Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 51,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 43,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:47:32.621Z',
|
||||
cpuUtilizationPercentageInfo: [28],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:48:42.770Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 43,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 44,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 44,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T18:56:24.294Z',
|
||||
cpuUtilizationPercentageInfo: [29],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T18:57:27.841Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 34,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 35,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 35,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T23:04:56.582Z',
|
||||
cpuUtilizationPercentageInfo: [27],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T23:05:56.563Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 27,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 28,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 27,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T23:56:47.138Z',
|
||||
cpuUtilizationPercentageInfo: [28],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T23:57:50.717Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 39,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 39,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 40,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T07:49:44.333Z',
|
||||
cpuUtilizationPercentageInfo: [26],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T07:50:48.473Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 26,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 27,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 27,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T15:46:23.530Z',
|
||||
cpuUtilizationPercentageInfo: [27],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T15:47:22.723Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 27,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 28,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 27,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T15:52:40.368Z',
|
||||
cpuUtilizationPercentageInfo: [28],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T15:53:41.233Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 34,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 35,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 35,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:06:07.349Z',
|
||||
cpuUtilizationPercentageInfo: [30],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:07:07.921Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 39,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 39,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 40,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:13:28.511Z',
|
||||
cpuUtilizationPercentageInfo: [25],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:14:27.628Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 36,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 37,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 37,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:17:06.188Z',
|
||||
cpuUtilizationPercentageInfo: [27],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:18:06.375Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 40,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 41,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:36:20.232Z',
|
||||
cpuUtilizationPercentageInfo: [27],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:37:20.599Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 45,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 58,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 45,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:48:45.267Z',
|
||||
cpuUtilizationPercentageInfo: [27],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:49:44.854Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 44,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 44,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-12T06:35:29.337Z',
|
||||
cpuUtilizationPercentageInfo: [30],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-12T06:36:28.433Z',
|
||||
cpuTemperatureInfo: [
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'edge\n',
|
||||
},
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'Tctl\n',
|
||||
},
|
||||
{
|
||||
temperature: 42,
|
||||
label: 'acpitz\n',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
systemRamTotal: '16089374720',
|
||||
systemRamFreeReports: [
|
||||
{
|
||||
reportTime: '2025-02-10T17:03:13.230Z',
|
||||
systemRamFreeInfo: ['13905453056'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:11:01.697Z',
|
||||
systemRamFreeInfo: ['15221055488'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T17:47:32.153Z',
|
||||
systemRamFreeInfo: ['15237283840'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T18:56:23.878Z',
|
||||
systemRamFreeInfo: ['15228760064'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T23:04:56.127Z',
|
||||
systemRamFreeInfo: ['15228022784'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-10T23:56:46.839Z',
|
||||
systemRamFreeInfo: ['15226499072'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T07:49:43.939Z',
|
||||
systemRamFreeInfo: ['15229087744'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T15:46:23.165Z',
|
||||
systemRamFreeInfo: ['15226187776'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T15:52:39.966Z',
|
||||
systemRamFreeInfo: ['15226843136'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:06:06.871Z',
|
||||
systemRamFreeInfo: ['15225753600'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:13:28.176Z',
|
||||
systemRamFreeInfo: ['15228182528'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:17:05.936Z',
|
||||
systemRamFreeInfo: ['15223095296'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:36:19.897Z',
|
||||
systemRamFreeInfo: ['15226126336'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-11T16:48:44.934Z',
|
||||
systemRamFreeInfo: ['15226707968'],
|
||||
},
|
||||
{
|
||||
reportTime: '2025-02-12T06:35:28.949Z',
|
||||
systemRamFreeInfo: ['15222706176'],
|
||||
},
|
||||
],
|
||||
diskVolumeReports: [
|
||||
{
|
||||
volumeInfo: [
|
||||
{
|
||||
volumeId: '/media/archive',
|
||||
storageTotal: '8044687360',
|
||||
storageFree: '8044687360',
|
||||
},
|
||||
{
|
||||
volumeId: '/media/removable',
|
||||
storageTotal: '8044687360',
|
||||
storageFree: '8044687360',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
lastKnownNetwork: [
|
||||
{
|
||||
ipAddress: '192.168.0.106',
|
||||
wanIpAddress: '87.121.13.137',
|
||||
},
|
||||
],
|
||||
cpuInfo: [
|
||||
{
|
||||
model: 'AMD Ryzen 5 4500U with Radeon Graphics',
|
||||
architecture: 'x64',
|
||||
maxClockSpeedKhz: 2375000,
|
||||
logicalCpus: [
|
||||
{
|
||||
maxScalingFrequencyKhz: 2375000,
|
||||
currentScalingFrequencyKhz: 1397253,
|
||||
idleDuration: '60s',
|
||||
cStates: [
|
||||
{
|
||||
displayName: 'C3',
|
||||
sessionDuration: '59.509354s',
|
||||
},
|
||||
{
|
||||
displayName: 'C1',
|
||||
sessionDuration: '1.338153s',
|
||||
},
|
||||
{
|
||||
displayName: 'C2',
|
||||
sessionDuration: '0.241264s',
|
||||
},
|
||||
{
|
||||
displayName: 'POLL',
|
||||
sessionDuration: '0.004477s',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
maxScalingFrequencyKhz: 2375000,
|
||||
currentScalingFrequencyKhz: 1397372,
|
||||
idleDuration: '60s',
|
||||
cStates: [
|
||||
{
|
||||
displayName: 'C3',
|
||||
sessionDuration: '58.861175s',
|
||||
},
|
||||
{
|
||||
displayName: 'C1',
|
||||
sessionDuration: '1.335068s',
|
||||
},
|
||||
{
|
||||
displayName: 'C2',
|
||||
sessionDuration: '0.761853s',
|
||||
},
|
||||
{
|
||||
displayName: 'POLL',
|
||||
sessionDuration: '0.007583s',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
maxScalingFrequencyKhz: 2375000,
|
||||
currentScalingFrequencyKhz: 1397454,
|
||||
idleDuration: '58s',
|
||||
cStates: [
|
||||
{
|
||||
displayName: 'C3',
|
||||
sessionDuration: '57.457528s',
|
||||
},
|
||||
{
|
||||
displayName: 'C1',
|
||||
sessionDuration: '1.280076s',
|
||||
},
|
||||
{
|
||||
displayName: 'C2',
|
||||
sessionDuration: '0.167642s',
|
||||
},
|
||||
{
|
||||
displayName: 'POLL',
|
||||
sessionDuration: '0.003444s',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
maxScalingFrequencyKhz: 2375000,
|
||||
currentScalingFrequencyKhz: 1397348,
|
||||
idleDuration: '59s',
|
||||
cStates: [
|
||||
{
|
||||
displayName: 'C3',
|
||||
sessionDuration: '58.906343s',
|
||||
},
|
||||
{
|
||||
displayName: 'C1',
|
||||
sessionDuration: '1.101873s',
|
||||
},
|
||||
{
|
||||
displayName: 'C2',
|
||||
sessionDuration: '0.119013s',
|
||||
},
|
||||
{
|
||||
displayName: 'POLL',
|
||||
sessionDuration: '0.009095s',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
maxScalingFrequencyKhz: 2375000,
|
||||
currentScalingFrequencyKhz: 1383188,
|
||||
idleDuration: '60s',
|
||||
cStates: [
|
||||
{
|
||||
displayName: 'C3',
|
||||
sessionDuration: '59.476621s',
|
||||
},
|
||||
{
|
||||
displayName: 'C1',
|
||||
sessionDuration: '1.048691s',
|
||||
},
|
||||
{
|
||||
displayName: 'C2',
|
||||
sessionDuration: '0.192808s',
|
||||
},
|
||||
{
|
||||
displayName: 'POLL',
|
||||
sessionDuration: '0.003546s',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
maxScalingFrequencyKhz: 2375000,
|
||||
currentScalingFrequencyKhz: 1397437,
|
||||
idleDuration: '60s',
|
||||
cStates: [
|
||||
{
|
||||
displayName: 'C3',
|
||||
sessionDuration: '60.155800s',
|
||||
},
|
||||
{
|
||||
displayName: 'C1',
|
||||
sessionDuration: '0.681644s',
|
||||
},
|
||||
{
|
||||
displayName: 'C2',
|
||||
sessionDuration: '0.143131s',
|
||||
},
|
||||
{
|
||||
displayName: 'POLL',
|
||||
sessionDuration: '0.004276s',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
extendedSupportEligible: false,
|
||||
chromeOsType: 'chromeOsFlex',
|
||||
diskSpaceUsage: {
|
||||
capacityBytes: '549755813888',
|
||||
usedBytes: '85613068288',
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
new NodeTestHarness().setupTests({
|
||||
workflowFiles: ['update.workflow.json'],
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,661 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {},
|
||||
"type": "n8n-nodes-base.manualTrigger",
|
||||
"typeVersion": 1,
|
||||
"position": [120, 700],
|
||||
"id": "0e76b314-4994-4141-975f-9614c6094c80",
|
||||
"name": "When clicking ‘Execute workflow’"
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"resource": "device",
|
||||
"operation": "update",
|
||||
"deviceId": {
|
||||
"__rl": true,
|
||||
"value": "9990fpff-8ba8-4444-8555-f7ee88881b4c",
|
||||
"mode": "list",
|
||||
"cachedResultName": "5CC115NN33"
|
||||
},
|
||||
"updateOptions": {
|
||||
"notes": "test"
|
||||
}
|
||||
},
|
||||
"type": "n8n-nodes-base.gSuiteAdmin",
|
||||
"typeVersion": 1,
|
||||
"position": [40, 1140],
|
||||
"id": "52f7a4b5-7ab5-4bd1-b6eb-230341ab6057",
|
||||
"name": "Update Device",
|
||||
"credentials": {
|
||||
"gSuiteAdminOAuth2Api": {
|
||||
"id": "OXfPMaggXFJ0RLkw",
|
||||
"name": "Google Workspace Admin account"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"When clicking ‘Execute workflow’": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Update Device",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"pinData": {
|
||||
"Update Device": [
|
||||
{
|
||||
"json": {
|
||||
"kind": "admin#directory#chromeosdevice",
|
||||
"etag": "\"example\"",
|
||||
"deviceId": "9990fpff-8ba8-4444-8555-f7ee88881b4c",
|
||||
"serialNumber": "5CC115NN33",
|
||||
"status": "DISABLED",
|
||||
"lastSync": "2025-02-12T07:17:16.950Z",
|
||||
"annotatedUser": "my user",
|
||||
"annotatedLocation": "test",
|
||||
"annotatedAssetId": "1234567788",
|
||||
"notes": "test",
|
||||
"model": "Test Model",
|
||||
"osVersion": "129.0.6668.99",
|
||||
"platformVersion": "16002.51.0 (Official Build) stable-channel reven",
|
||||
"firmwareVersion": "FirmwareNotParsed",
|
||||
"macAddress": "666c8888ffccf",
|
||||
"lastEnrollmentTime": "2025-02-10T17:03:10.324Z",
|
||||
"firstEnrollmentTime": "2025-02-10T17:03:10.324Z",
|
||||
"orgUnitPath": "/",
|
||||
"orgUnitId": "00pp88a2z2uu88pp",
|
||||
"recentUsers": [
|
||||
{
|
||||
"type": "USER_TYPE_MANAGED",
|
||||
"email": "admin-google@example.com"
|
||||
}
|
||||
],
|
||||
"activeTimeRanges": [
|
||||
{
|
||||
"date": "2025-02-10",
|
||||
"activeTime": 300000
|
||||
},
|
||||
{
|
||||
"date": "2025-02-11",
|
||||
"activeTime": 1920025
|
||||
},
|
||||
{
|
||||
"date": "2025-02-12",
|
||||
"activeTime": 30000
|
||||
}
|
||||
],
|
||||
"tpmVersionInfo": {
|
||||
"family": "0",
|
||||
"specLevel": "0",
|
||||
"manufacturer": "0",
|
||||
"tpmModel": "0",
|
||||
"firmwareVersion": "0",
|
||||
"vendorSpecific": ""
|
||||
},
|
||||
"cpuStatusReports": [
|
||||
{
|
||||
"reportTime": "2025-02-10T17:03:13.233Z",
|
||||
"cpuUtilizationPercentageInfo": [12]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:04:13.233Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 43,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:11:01.943Z",
|
||||
"cpuUtilizationPercentageInfo": [28]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:12:02.223Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 51,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 43,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:47:32.621Z",
|
||||
"cpuUtilizationPercentageInfo": [28]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:48:42.770Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 43,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 44,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 44,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T18:56:24.294Z",
|
||||
"cpuUtilizationPercentageInfo": [29]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T18:57:27.841Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 34,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 35,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 35,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T23:04:56.582Z",
|
||||
"cpuUtilizationPercentageInfo": [27]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T23:05:56.563Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 27,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 28,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 27,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T23:56:47.138Z",
|
||||
"cpuUtilizationPercentageInfo": [28]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T23:57:50.717Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 39,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 39,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 40,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T07:49:44.333Z",
|
||||
"cpuUtilizationPercentageInfo": [26]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T07:50:48.473Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 26,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 27,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 27,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T15:46:23.530Z",
|
||||
"cpuUtilizationPercentageInfo": [27]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T15:47:22.723Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 27,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 28,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 27,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T15:52:40.368Z",
|
||||
"cpuUtilizationPercentageInfo": [28]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T15:53:41.233Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 34,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 35,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 35,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:06:07.349Z",
|
||||
"cpuUtilizationPercentageInfo": [30]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:07:07.921Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 39,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 39,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 40,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:13:28.511Z",
|
||||
"cpuUtilizationPercentageInfo": [25]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:14:27.628Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 36,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 37,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 37,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:17:06.188Z",
|
||||
"cpuUtilizationPercentageInfo": [27]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:18:06.375Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 40,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 41,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:36:20.232Z",
|
||||
"cpuUtilizationPercentageInfo": [27]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:37:20.599Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 45,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 58,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 45,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:48:45.267Z",
|
||||
"cpuUtilizationPercentageInfo": [27]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:49:44.854Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 44,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 44,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-12T06:35:29.337Z",
|
||||
"cpuUtilizationPercentageInfo": [30]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-12T06:36:28.433Z",
|
||||
"cpuTemperatureInfo": [
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "edge\n"
|
||||
},
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "Tctl\n"
|
||||
},
|
||||
{
|
||||
"temperature": 42,
|
||||
"label": "acpitz\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"systemRamTotal": "16089374720",
|
||||
"systemRamFreeReports": [
|
||||
{
|
||||
"reportTime": "2025-02-10T17:03:13.230Z",
|
||||
"systemRamFreeInfo": ["13905453056"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:11:01.697Z",
|
||||
"systemRamFreeInfo": ["15221055488"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T17:47:32.153Z",
|
||||
"systemRamFreeInfo": ["15237283840"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T18:56:23.878Z",
|
||||
"systemRamFreeInfo": ["15228760064"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T23:04:56.127Z",
|
||||
"systemRamFreeInfo": ["15228022784"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-10T23:56:46.839Z",
|
||||
"systemRamFreeInfo": ["15226499072"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T07:49:43.939Z",
|
||||
"systemRamFreeInfo": ["15229087744"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T15:46:23.165Z",
|
||||
"systemRamFreeInfo": ["15226187776"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T15:52:39.966Z",
|
||||
"systemRamFreeInfo": ["15226843136"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:06:06.871Z",
|
||||
"systemRamFreeInfo": ["15225753600"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:13:28.176Z",
|
||||
"systemRamFreeInfo": ["15228182528"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:17:05.936Z",
|
||||
"systemRamFreeInfo": ["15223095296"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:36:19.897Z",
|
||||
"systemRamFreeInfo": ["15226126336"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-11T16:48:44.934Z",
|
||||
"systemRamFreeInfo": ["15226707968"]
|
||||
},
|
||||
{
|
||||
"reportTime": "2025-02-12T06:35:28.949Z",
|
||||
"systemRamFreeInfo": ["15222706176"]
|
||||
}
|
||||
],
|
||||
"diskVolumeReports": [
|
||||
{
|
||||
"volumeInfo": [
|
||||
{
|
||||
"volumeId": "/media/archive",
|
||||
"storageTotal": "8044687360",
|
||||
"storageFree": "8044687360"
|
||||
},
|
||||
{
|
||||
"volumeId": "/media/removable",
|
||||
"storageTotal": "8044687360",
|
||||
"storageFree": "8044687360"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lastKnownNetwork": [
|
||||
{
|
||||
"ipAddress": "192.168.0.106",
|
||||
"wanIpAddress": "87.121.13.137"
|
||||
}
|
||||
],
|
||||
"cpuInfo": [
|
||||
{
|
||||
"model": "AMD Ryzen 5 4500U with Radeon Graphics",
|
||||
"architecture": "x64",
|
||||
"maxClockSpeedKhz": 2375000,
|
||||
"logicalCpus": [
|
||||
{
|
||||
"maxScalingFrequencyKhz": 2375000,
|
||||
"currentScalingFrequencyKhz": 1397253,
|
||||
"idleDuration": "60s",
|
||||
"cStates": [
|
||||
{
|
||||
"displayName": "C3",
|
||||
"sessionDuration": "59.509354s"
|
||||
},
|
||||
{
|
||||
"displayName": "C1",
|
||||
"sessionDuration": "1.338153s"
|
||||
},
|
||||
{
|
||||
"displayName": "C2",
|
||||
"sessionDuration": "0.241264s"
|
||||
},
|
||||
{
|
||||
"displayName": "POLL",
|
||||
"sessionDuration": "0.004477s"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"maxScalingFrequencyKhz": 2375000,
|
||||
"currentScalingFrequencyKhz": 1397372,
|
||||
"idleDuration": "60s",
|
||||
"cStates": [
|
||||
{
|
||||
"displayName": "C3",
|
||||
"sessionDuration": "58.861175s"
|
||||
},
|
||||
{
|
||||
"displayName": "C1",
|
||||
"sessionDuration": "1.335068s"
|
||||
},
|
||||
{
|
||||
"displayName": "C2",
|
||||
"sessionDuration": "0.761853s"
|
||||
},
|
||||
{
|
||||
"displayName": "POLL",
|
||||
"sessionDuration": "0.007583s"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"maxScalingFrequencyKhz": 2375000,
|
||||
"currentScalingFrequencyKhz": 1397454,
|
||||
"idleDuration": "58s",
|
||||
"cStates": [
|
||||
{
|
||||
"displayName": "C3",
|
||||
"sessionDuration": "57.457528s"
|
||||
},
|
||||
{
|
||||
"displayName": "C1",
|
||||
"sessionDuration": "1.280076s"
|
||||
},
|
||||
{
|
||||
"displayName": "C2",
|
||||
"sessionDuration": "0.167642s"
|
||||
},
|
||||
{
|
||||
"displayName": "POLL",
|
||||
"sessionDuration": "0.003444s"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"maxScalingFrequencyKhz": 2375000,
|
||||
"currentScalingFrequencyKhz": 1397348,
|
||||
"idleDuration": "59s",
|
||||
"cStates": [
|
||||
{
|
||||
"displayName": "C3",
|
||||
"sessionDuration": "58.906343s"
|
||||
},
|
||||
{
|
||||
"displayName": "C1",
|
||||
"sessionDuration": "1.101873s"
|
||||
},
|
||||
{
|
||||
"displayName": "C2",
|
||||
"sessionDuration": "0.119013s"
|
||||
},
|
||||
{
|
||||
"displayName": "POLL",
|
||||
"sessionDuration": "0.009095s"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"maxScalingFrequencyKhz": 2375000,
|
||||
"currentScalingFrequencyKhz": 1383188,
|
||||
"idleDuration": "60s",
|
||||
"cStates": [
|
||||
{
|
||||
"displayName": "C3",
|
||||
"sessionDuration": "59.476621s"
|
||||
},
|
||||
{
|
||||
"displayName": "C1",
|
||||
"sessionDuration": "1.048691s"
|
||||
},
|
||||
{
|
||||
"displayName": "C2",
|
||||
"sessionDuration": "0.192808s"
|
||||
},
|
||||
{
|
||||
"displayName": "POLL",
|
||||
"sessionDuration": "0.003546s"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"maxScalingFrequencyKhz": 2375000,
|
||||
"currentScalingFrequencyKhz": 1397437,
|
||||
"idleDuration": "60s",
|
||||
"cStates": [
|
||||
{
|
||||
"displayName": "C3",
|
||||
"sessionDuration": "60.155800s"
|
||||
},
|
||||
{
|
||||
"displayName": "C1",
|
||||
"sessionDuration": "0.681644s"
|
||||
},
|
||||
{
|
||||
"displayName": "C2",
|
||||
"sessionDuration": "0.143131s"
|
||||
},
|
||||
{
|
||||
"displayName": "POLL",
|
||||
"sessionDuration": "0.004276s"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extendedSupportEligible": false,
|
||||
"chromeOsType": "chromeOsFlex",
|
||||
"diskSpaceUsage": {
|
||||
"capacityBytes": "549755813888",
|
||||
"usedBytes": "85613068288"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user