Skip to content

Commit bde41c0

Browse files
feat(remotebuildexecution): update the api
#### remotebuildexecution:v1 The following keys were added: - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.actionMnemonic (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.configurationId (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.targetId (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.outputLocation (Total Keys: 1) #### remotebuildexecution:v1alpha The following keys were added: - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.actionMnemonic (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.configurationId (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.targetId (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.outputLocation (Total Keys: 1) #### remotebuildexecution:v2 The following keys were added: - schemas.BuildBazelRemoteExecutionV2CacheCapabilities.properties.supportedCompressor (Total Keys: 2) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.actionMnemonic (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.configurationId (Total Keys: 1) - schemas.BuildBazelRemoteExecutionV2RequestMetadata.properties.targetId (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotCommandEvents.properties.outputLocation (Total Keys: 1)
1 parent 5829103 commit bde41c0

File tree

4 files changed

+129
-15
lines changed

4 files changed

+129
-15
lines changed

docs/dyn/remotebuildexecution_v2.v2.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ <h3>Method Details</h3>
117117
&quot;A String&quot;,
118118
],
119119
&quot;maxBatchTotalSizeBytes&quot;: &quot;A String&quot;, # Maximum total size of blobs to be uploaded/downloaded using batch methods. A value of 0 means no limit is set, although in practice there will always be a message size limitation of the protocol in use, e.g. GRPC.
120+
&quot;supportedCompressor&quot;: [ # Compressors supported by the &quot;compressed-blobs&quot; bytestream resources. Servers MUST support identity/no-compression, even if it is not listed here. Note that this does not imply which if any compressors are supported by the server at the gRPC level.
121+
&quot;A String&quot;,
122+
],
120123
&quot;symlinkAbsolutePathStrategy&quot;: &quot;A String&quot;, # Whether absolute symlink targets are supported.
121124
},
122125
&quot;deprecatedApiVersion&quot;: { # The full version of a given tool. # Earliest RE API version supported, including deprecated versions.

googleapiclient/discovery_cache/documents/remotebuildexecution.v1.json

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "View and manage your data across Google Cloud Platform services"
6+
"description": "See, edit, configure, and delete your Google Cloud Platform data"
77
}
88
}
99
}
@@ -307,7 +307,7 @@
307307
}
308308
}
309309
},
310-
"revision": "20210224",
310+
"revision": "20210322",
311311
"rootUrl": "https://remotebuildexecution.googleapis.com/",
312312
"schemas": {
313313
"BuildBazelRemoteExecutionV2Action": {
@@ -853,10 +853,22 @@
853853
"description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.",
854854
"type": "string"
855855
},
856+
"actionMnemonic": {
857+
"description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.",
858+
"type": "string"
859+
},
860+
"configurationId": {
861+
"description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.",
862+
"type": "string"
863+
},
856864
"correlatedInvocationsId": {
857865
"description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.",
858866
"type": "string"
859867
},
868+
"targetId": {
869+
"description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.",
870+
"type": "string"
871+
},
860872
"toolDetails": {
861873
"$ref": "BuildBazelRemoteExecutionV2ToolDetails",
862874
"description": "The details for the tool invoking the requests."
@@ -1009,7 +1021,7 @@
10091021
"cmUsage": {
10101022
"description": "Indicates if and how Container Manager is being used for task execution.",
10111023
"enum": [
1012-
"NONE",
1024+
"CONFIG_NONE",
10131025
"CONFIG_MATCH",
10141026
"CONFIG_MISMATCH"
10151027
],
@@ -1043,6 +1055,24 @@
10431055
"format": "uint64",
10441056
"type": "string"
10451057
},
1058+
"outputLocation": {
1059+
"description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.",
1060+
"enum": [
1061+
"LOCATION_UNDEFINED",
1062+
"LOCATION_NONE",
1063+
"LOCATION_EXEC_ROOT_RELATIVE",
1064+
"LOCATION_WORKING_DIR_RELATIVE",
1065+
"LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE"
1066+
],
1067+
"enumDescriptions": [
1068+
"Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.",
1069+
"No output files or directories were found neither relative to the execution root directory nor relative to the working directory.",
1070+
"Output files or directories were found relative to the execution root directory but not relative to the working directory.",
1071+
"Output files or directories were found relative to the working directory but not relative to the execution root directory.",
1072+
"Output files or directories were found both relative to the execution root directory and relative to the working directory."
1073+
],
1074+
"type": "string"
1075+
},
10461076
"usedAsyncContainer": {
10471077
"description": "Indicates whether an asynchronous container was used for execution.",
10481078
"type": "boolean"
@@ -1096,7 +1126,8 @@
10961126
"DOCKER_CREATE_PROCESS_FILE_NOT_FOUND",
10971127
"DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR",
10981128
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
1099-
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING"
1129+
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
1130+
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED"
11001131
],
11011132
"enumDescriptions": [
11021133
"The command succeeded.",
@@ -1138,7 +1169,8 @@
11381169
"Docker failed to create process because of file not found.",
11391170
"Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).",
11401171
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
1141-
"The local Container Manager is not running."
1172+
"The local Container Manager is not running.",
1173+
"Docker failed because a request was denied by the organization's policy."
11421174
],
11431175
"type": "string"
11441176
},

googleapiclient/discovery_cache/documents/remotebuildexecution.v1alpha.json

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "View and manage your data across Google Cloud Platform services"
6+
"description": "See, edit, configure, and delete your Google Cloud Platform data"
77
}
88
}
99
}
@@ -432,7 +432,7 @@
432432
}
433433
}
434434
},
435-
"revision": "20210224",
435+
"revision": "20210322",
436436
"rootUrl": "https://admin-remotebuildexecution.googleapis.com/",
437437
"schemas": {
438438
"BuildBazelRemoteExecutionV2Action": {
@@ -978,10 +978,22 @@
978978
"description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.",
979979
"type": "string"
980980
},
981+
"actionMnemonic": {
982+
"description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.",
983+
"type": "string"
984+
},
985+
"configurationId": {
986+
"description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.",
987+
"type": "string"
988+
},
981989
"correlatedInvocationsId": {
982990
"description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.",
983991
"type": "string"
984992
},
993+
"targetId": {
994+
"description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.",
995+
"type": "string"
996+
},
985997
"toolDetails": {
986998
"$ref": "BuildBazelRemoteExecutionV2ToolDetails",
987999
"description": "The details for the tool invoking the requests."
@@ -1123,7 +1135,7 @@
11231135
"cmUsage": {
11241136
"description": "Indicates if and how Container Manager is being used for task execution.",
11251137
"enum": [
1126-
"NONE",
1138+
"CONFIG_NONE",
11271139
"CONFIG_MATCH",
11281140
"CONFIG_MISMATCH"
11291141
],
@@ -1157,6 +1169,24 @@
11571169
"format": "uint64",
11581170
"type": "string"
11591171
},
1172+
"outputLocation": {
1173+
"description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.",
1174+
"enum": [
1175+
"LOCATION_UNDEFINED",
1176+
"LOCATION_NONE",
1177+
"LOCATION_EXEC_ROOT_RELATIVE",
1178+
"LOCATION_WORKING_DIR_RELATIVE",
1179+
"LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE"
1180+
],
1181+
"enumDescriptions": [
1182+
"Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.",
1183+
"No output files or directories were found neither relative to the execution root directory nor relative to the working directory.",
1184+
"Output files or directories were found relative to the execution root directory but not relative to the working directory.",
1185+
"Output files or directories were found relative to the working directory but not relative to the execution root directory.",
1186+
"Output files or directories were found both relative to the execution root directory and relative to the working directory."
1187+
],
1188+
"type": "string"
1189+
},
11601190
"usedAsyncContainer": {
11611191
"description": "Indicates whether an asynchronous container was used for execution.",
11621192
"type": "boolean"
@@ -1210,7 +1240,8 @@
12101240
"DOCKER_CREATE_PROCESS_FILE_NOT_FOUND",
12111241
"DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR",
12121242
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
1213-
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING"
1243+
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
1244+
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED"
12141245
],
12151246
"enumDescriptions": [
12161247
"The command succeeded.",
@@ -1252,7 +1283,8 @@
12521283
"Docker failed to create process because of file not found.",
12531284
"Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).",
12541285
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
1255-
"The local Container Manager is not running."
1286+
"The local Container Manager is not running.",
1287+
"Docker failed because a request was denied by the organization's policy."
12561288
],
12571289
"type": "string"
12581290
},

googleapiclient/discovery_cache/documents/remotebuildexecution.v2.json

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"oauth2": {
44
"scopes": {
55
"https://www.googleapis.com/auth/cloud-platform": {
6-
"description": "View and manage your data across Google Cloud Platform services"
6+
"description": "See, edit, configure, and delete your Google Cloud Platform data"
77
}
88
}
99
}
@@ -447,7 +447,7 @@
447447
}
448448
}
449449
},
450-
"revision": "20210224",
450+
"revision": "20210322",
451451
"rootUrl": "https://remotebuildexecution.googleapis.com/",
452452
"schemas": {
453453
"BuildBazelRemoteExecutionV2Action": {
@@ -713,6 +713,21 @@
713713
"format": "int64",
714714
"type": "string"
715715
},
716+
"supportedCompressor": {
717+
"description": "Compressors supported by the \"compressed-blobs\" bytestream resources. Servers MUST support identity/no-compression, even if it is not listed here. Note that this does not imply which if any compressors are supported by the server at the gRPC level.",
718+
"items": {
719+
"enum": [
720+
"IDENTITY",
721+
"ZSTD"
722+
],
723+
"enumDescriptions": [
724+
"No compression. Servers and clients MUST always support this, and do not need to advertise it.",
725+
"Zstandard compression."
726+
],
727+
"type": "string"
728+
},
729+
"type": "array"
730+
},
716731
"symlinkAbsolutePathStrategy": {
717732
"description": "Whether absolute symlink targets are supported.",
718733
"enum": [
@@ -1328,10 +1343,22 @@
13281343
"description": "An identifier that ties multiple requests to the same action. For example, multiple requests to the CAS, Action Cache, and Execution API are used in order to compile foo.cc.",
13291344
"type": "string"
13301345
},
1346+
"actionMnemonic": {
1347+
"description": "A brief description of the kind of action, for example, CppCompile or GoLink. There is no standard agreed set of values for this, and they are expected to vary between different client tools.",
1348+
"type": "string"
1349+
},
1350+
"configurationId": {
1351+
"description": "An identifier for the configuration in which the target was built, e.g. for differentiating building host tools or different target platforms. There is no expectation that this value will have any particular structure, or equality across invocations, though some client tools may offer these guarantees.",
1352+
"type": "string"
1353+
},
13311354
"correlatedInvocationsId": {
13321355
"description": "An identifier to tie multiple tool invocations together. For example, runs of foo_test, bar_test and baz_test on a post-submit of a given patch.",
13331356
"type": "string"
13341357
},
1358+
"targetId": {
1359+
"description": "An identifier for the target which produced this action. No guarantees are made around how many actions may relate to a single target.",
1360+
"type": "string"
1361+
},
13351362
"toolDetails": {
13361363
"$ref": "BuildBazelRemoteExecutionV2ToolDetails",
13371364
"description": "The details for the tool invoking the requests."
@@ -1544,7 +1571,7 @@
15441571
"cmUsage": {
15451572
"description": "Indicates if and how Container Manager is being used for task execution.",
15461573
"enum": [
1547-
"NONE",
1574+
"CONFIG_NONE",
15481575
"CONFIG_MATCH",
15491576
"CONFIG_MISMATCH"
15501577
],
@@ -1578,6 +1605,24 @@
15781605
"format": "uint64",
15791606
"type": "string"
15801607
},
1608+
"outputLocation": {
1609+
"description": "Indicates whether output files and/or output directories were found relative to the execution root or to the user provided work directory or both or none.",
1610+
"enum": [
1611+
"LOCATION_UNDEFINED",
1612+
"LOCATION_NONE",
1613+
"LOCATION_EXEC_ROOT_RELATIVE",
1614+
"LOCATION_WORKING_DIR_RELATIVE",
1615+
"LOCATION_EXEC_ROOT_AND_WORKING_DIR_RELATIVE"
1616+
],
1617+
"enumDescriptions": [
1618+
"Location is set to LOCATION_UNDEFINED for tasks where the working directorty is not specified or is identical to the execution root directory.",
1619+
"No output files or directories were found neither relative to the execution root directory nor relative to the working directory.",
1620+
"Output files or directories were found relative to the execution root directory but not relative to the working directory.",
1621+
"Output files or directories were found relative to the working directory but not relative to the execution root directory.",
1622+
"Output files or directories were found both relative to the execution root directory and relative to the working directory."
1623+
],
1624+
"type": "string"
1625+
},
15811626
"usedAsyncContainer": {
15821627
"description": "Indicates whether an asynchronous container was used for execution.",
15831628
"type": "boolean"
@@ -1631,7 +1676,8 @@
16311676
"DOCKER_CREATE_PROCESS_FILE_NOT_FOUND",
16321677
"DOCKER_CREATE_COMPUTE_SYSTEM_INCORRECT_PARAMETER_ERROR",
16331678
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
1634-
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING"
1679+
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
1680+
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED"
16351681
],
16361682
"enumDescriptions": [
16371683
"The command succeeded.",
@@ -1673,7 +1719,8 @@
16731719
"Docker failed to create process because of file not found.",
16741720
"Docker failed to run containers with CreateComputeSystem error that involves an incorrect parameter (more specific version of DOCKER_CREATE_COMPUTE_SYSTEM_ERROR that is user-caused).",
16751721
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
1676-
"The local Container Manager is not running."
1722+
"The local Container Manager is not running.",
1723+
"Docker failed because a request was denied by the organization's policy."
16771724
],
16781725
"type": "string"
16791726
},

0 commit comments

Comments
 (0)