Skip to content

Commit

Permalink
feat(remotebuildexecution): update the API
Browse files Browse the repository at this point in the history
#### remotebuildexecution:v1alpha

The following keys were added:
- schemas.GoogleDevtoolsRemotebuildbotResourceUsage.properties.totalDiskIoStats.$ref
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.id
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readBytesCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readBytesCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readTimeMs.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readTimeMs.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeBytesCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeBytesCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeTimeMs.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeTimeMs.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.type

The following keys were changed:
- schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage.enum
- schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage.enumDescriptions
- schemas.GoogleDevtoolsRemotebuildbotCommandStatus.properties.code.enum
- schemas.GoogleDevtoolsRemotebuildbotCommandStatus.properties.code.enumDescriptions

#### remotebuildexecution:v1

The following keys were added:
- schemas.GoogleDevtoolsRemotebuildbotResourceUsage.properties.totalDiskIoStats.$ref
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.id
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readBytesCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readBytesCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readTimeMs.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readTimeMs.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeBytesCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeBytesCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeTimeMs.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeTimeMs.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.type

The following keys were changed:
- schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage.enum
- schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage.enumDescriptions
- schemas.GoogleDevtoolsRemotebuildbotCommandStatus.properties.code.enum
- schemas.GoogleDevtoolsRemotebuildbotCommandStatus.properties.code.enumDescriptions

#### remotebuildexecution:v2

The following keys were added:
- schemas.GoogleDevtoolsRemotebuildbotResourceUsage.properties.totalDiskIoStats.$ref
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.id
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readBytesCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readBytesCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readTimeMs.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.readTimeMs.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeBytesCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeBytesCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeCount.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeCount.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeTimeMs.format
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.properties.writeTimeMs.type
- schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats.type

The following keys were changed:
- schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage.enum
- schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.cmUsage.enumDescriptions
- schemas.GoogleDevtoolsRemotebuildbotCommandStatus.properties.code.enum
- schemas.GoogleDevtoolsRemotebuildbotCommandStatus.properties.code.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent f1803f1 commit 76890b7
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 15 deletions.
47 changes: 42 additions & 5 deletions discovery/remotebuildexecution-v1.json
Expand Up @@ -307,7 +307,7 @@
}
}
},
"revision": "20210412",
"revision": "20210517",
"rootUrl": "https://remotebuildexecution.googleapis.com/",
"schemas": {
"BuildBazelRemoteExecutionV2Action": {
Expand Down Expand Up @@ -1023,12 +1023,14 @@
"enum": [
"CONFIG_NONE",
"CONFIG_MATCH",
"CONFIG_MISMATCH"
"CONFIG_MISMATCH",
"CONFIG_MISSING_CONTAINER"
],
"enumDescriptions": [
"Container Manager is disabled or not running for this execution.",
"Container Manager is enabled and there was a matching container available for use during execution.",
"Container Manager is enabled, but there was no matching container available for execution."
"Container Manager is enabled, but there was no matching container available for execution.",
"Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container."
],
"type": "string"
},
Expand Down Expand Up @@ -1132,7 +1134,8 @@
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED",
"WORKING_DIR_NOT_RELATIVE"
"WORKING_DIR_NOT_RELATIVE",
"DOCKER_MISSING_CONTAINER"
],
"enumDescriptions": [
"The command succeeded.",
Expand Down Expand Up @@ -1176,7 +1179,8 @@
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
"The local Container Manager is not running.",
"Docker failed because a request was denied by the organization's policy.",
"Working directory is not relative"
"Working directory is not relative",
"Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run."
],
"type": "string"
},
Expand All @@ -1200,6 +1204,39 @@
},
"memoryUsage": {
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat"
},
"totalDiskIoStats": {
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats"
}
},
"type": "object"
},
"GoogleDevtoolsRemotebuildbotResourceUsageIOStats": {
"id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats",
"properties": {
"readBytesCount": {
"format": "uint64",
"type": "string"
},
"readCount": {
"format": "uint64",
"type": "string"
},
"readTimeMs": {
"format": "uint64",
"type": "string"
},
"writeBytesCount": {
"format": "uint64",
"type": "string"
},
"writeCount": {
"format": "uint64",
"type": "string"
},
"writeTimeMs": {
"format": "uint64",
"type": "string"
}
},
"type": "object"
Expand Down
47 changes: 42 additions & 5 deletions discovery/remotebuildexecution-v1alpha.json
Expand Up @@ -432,7 +432,7 @@
}
}
},
"revision": "20210412",
"revision": "20210517",
"rootUrl": "https://admin-remotebuildexecution.googleapis.com/",
"schemas": {
"BuildBazelRemoteExecutionV2Action": {
Expand Down Expand Up @@ -1137,12 +1137,14 @@
"enum": [
"CONFIG_NONE",
"CONFIG_MATCH",
"CONFIG_MISMATCH"
"CONFIG_MISMATCH",
"CONFIG_MISSING_CONTAINER"
],
"enumDescriptions": [
"Container Manager is disabled or not running for this execution.",
"Container Manager is enabled and there was a matching container available for use during execution.",
"Container Manager is enabled, but there was no matching container available for execution."
"Container Manager is enabled, but there was no matching container available for execution.",
"Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container."
],
"type": "string"
},
Expand Down Expand Up @@ -1246,7 +1248,8 @@
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED",
"WORKING_DIR_NOT_RELATIVE"
"WORKING_DIR_NOT_RELATIVE",
"DOCKER_MISSING_CONTAINER"
],
"enumDescriptions": [
"The command succeeded.",
Expand Down Expand Up @@ -1290,7 +1293,8 @@
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
"The local Container Manager is not running.",
"Docker failed because a request was denied by the organization's policy.",
"Working directory is not relative"
"Working directory is not relative",
"Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run."
],
"type": "string"
},
Expand All @@ -1314,6 +1318,39 @@
},
"memoryUsage": {
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat"
},
"totalDiskIoStats": {
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats"
}
},
"type": "object"
},
"GoogleDevtoolsRemotebuildbotResourceUsageIOStats": {
"id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats",
"properties": {
"readBytesCount": {
"format": "uint64",
"type": "string"
},
"readCount": {
"format": "uint64",
"type": "string"
},
"readTimeMs": {
"format": "uint64",
"type": "string"
},
"writeBytesCount": {
"format": "uint64",
"type": "string"
},
"writeCount": {
"format": "uint64",
"type": "string"
},
"writeTimeMs": {
"format": "uint64",
"type": "string"
}
},
"type": "object"
Expand Down
47 changes: 42 additions & 5 deletions discovery/remotebuildexecution-v2.json
Expand Up @@ -447,7 +447,7 @@
}
}
},
"revision": "20210412",
"revision": "20210517",
"rootUrl": "https://remotebuildexecution.googleapis.com/",
"schemas": {
"BuildBazelRemoteExecutionV2Action": {
Expand Down Expand Up @@ -1573,12 +1573,14 @@
"enum": [
"CONFIG_NONE",
"CONFIG_MATCH",
"CONFIG_MISMATCH"
"CONFIG_MISMATCH",
"CONFIG_MISSING_CONTAINER"
],
"enumDescriptions": [
"Container Manager is disabled or not running for this execution.",
"Container Manager is enabled and there was a matching container available for use during execution.",
"Container Manager is enabled, but there was no matching container available for execution."
"Container Manager is enabled, but there was no matching container available for execution.",
"Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container."
],
"type": "string"
},
Expand Down Expand Up @@ -1682,7 +1684,8 @@
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED",
"WORKING_DIR_NOT_RELATIVE"
"WORKING_DIR_NOT_RELATIVE",
"DOCKER_MISSING_CONTAINER"
],
"enumDescriptions": [
"The command succeeded.",
Expand Down Expand Up @@ -1726,7 +1729,8 @@
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
"The local Container Manager is not running.",
"Docker failed because a request was denied by the organization's policy.",
"Working directory is not relative"
"Working directory is not relative",
"Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run."
],
"type": "string"
},
Expand All @@ -1750,6 +1754,39 @@
},
"memoryUsage": {
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat"
},
"totalDiskIoStats": {
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats"
}
},
"type": "object"
},
"GoogleDevtoolsRemotebuildbotResourceUsageIOStats": {
"id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats",
"properties": {
"readBytesCount": {
"format": "uint64",
"type": "string"
},
"readCount": {
"format": "uint64",
"type": "string"
},
"readTimeMs": {
"format": "uint64",
"type": "string"
},
"writeBytesCount": {
"format": "uint64",
"type": "string"
},
"writeCount": {
"format": "uint64",
"type": "string"
},
"writeTimeMs": {
"format": "uint64",
"type": "string"
}
},
"type": "object"
Expand Down
9 changes: 9 additions & 0 deletions src/apis/remotebuildexecution/v1.ts
Expand Up @@ -726,6 +726,15 @@ export namespace remotebuildexecution_v1 {
cpuUsedPercent?: number | null;
diskUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat;
memoryUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat;
totalDiskIoStats?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats;
}
export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats {
readBytesCount?: string | null;
readCount?: string | null;
readTimeMs?: string | null;
writeBytesCount?: string | null;
writeCount?: string | null;
writeTimeMs?: string | null;
}
export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat {
total?: string | null;
Expand Down
9 changes: 9 additions & 0 deletions src/apis/remotebuildexecution/v1alpha.ts
Expand Up @@ -713,6 +713,15 @@ export namespace remotebuildexecution_v1alpha {
cpuUsedPercent?: number | null;
diskUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat;
memoryUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat;
totalDiskIoStats?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats;
}
export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats {
readBytesCount?: string | null;
readCount?: string | null;
readTimeMs?: string | null;
writeBytesCount?: string | null;
writeCount?: string | null;
writeTimeMs?: string | null;
}
export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat {
total?: string | null;
Expand Down
9 changes: 9 additions & 0 deletions src/apis/remotebuildexecution/v2.ts
Expand Up @@ -995,6 +995,15 @@ export namespace remotebuildexecution_v2 {
cpuUsedPercent?: number | null;
diskUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat;
memoryUsage?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat;
totalDiskIoStats?: Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats;
}
export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageIOStats {
readBytesCount?: string | null;
readCount?: string | null;
readTimeMs?: string | null;
writeBytesCount?: string | null;
writeCount?: string | null;
writeTimeMs?: string | null;
}
export interface Schema$GoogleDevtoolsRemotebuildbotResourceUsageStat {
total?: string | null;
Expand Down

0 comments on commit 76890b7

Please sign in to comment.