From f3e866e2c16ba430d7fb3bf0abc723b04ea9e994 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 09:59:08 -0400 Subject: [PATCH] feat: [cloudbuild] added e2-medium machine type (#4402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: added e2-medium machine type Clients can now specify the e2-medium machine type. PiperOrigin-RevId: 546077446 Source-Link: https://github.com/googleapis/googleapis/commit/b98e88f494ffeadd9294cecf3d1612d964003e26 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5619d9aae754c565175ef73a6b64e884b549a06 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWRldnRvb2xzLWNsb3VkYnVpbGQvLk93bEJvdC55YW1sIiwiaCI6ImQ1NjE5ZDlhYWU3NTRjNTY1MTc1ZWY3M2E2YjY0ZTg4NGI1NDlhMDYifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot Co-authored-by: Denis DelGrosso <85250797+ddelgrosso1@users.noreply.github.com> --- .../protos/google/devtools/cloudbuild/v1/cloudbuild.proto | 3 +++ packages/google-devtools-cloudbuild/protos/protos.d.ts | 3 ++- packages/google-devtools-cloudbuild/protos/protos.js | 7 +++++++ packages/google-devtools-cloudbuild/protos/protos.json | 3 ++- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/google-devtools-cloudbuild/protos/google/devtools/cloudbuild/v1/cloudbuild.proto b/packages/google-devtools-cloudbuild/protos/google/devtools/cloudbuild/v1/cloudbuild.proto index bcefce6b603..2bbb8e7e057 100644 --- a/packages/google-devtools-cloudbuild/protos/google/devtools/cloudbuild/v1/cloudbuild.proto +++ b/packages/google-devtools-cloudbuild/protos/google/devtools/cloudbuild/v1/cloudbuild.proto @@ -1916,6 +1916,9 @@ message BuildOptions { // Highcpu e2 machine with 32 CPUs. E2_HIGHCPU_32 = 6; + + // E2 machine with 1 CPU. + E2_MEDIUM = 7; } // Specifies the behavior when there is an error in the substitution checks. diff --git a/packages/google-devtools-cloudbuild/protos/protos.d.ts b/packages/google-devtools-cloudbuild/protos/protos.d.ts index a01bcaf015d..ca24abe84f0 100644 --- a/packages/google-devtools-cloudbuild/protos/protos.d.ts +++ b/packages/google-devtools-cloudbuild/protos/protos.d.ts @@ -7117,7 +7117,8 @@ export namespace google { N1_HIGHCPU_8 = 1, N1_HIGHCPU_32 = 2, E2_HIGHCPU_8 = 5, - E2_HIGHCPU_32 = 6 + E2_HIGHCPU_32 = 6, + E2_MEDIUM = 7 } /** SubstitutionOption enum. */ diff --git a/packages/google-devtools-cloudbuild/protos/protos.js b/packages/google-devtools-cloudbuild/protos/protos.js index 34226f5f5d3..c06dec413d7 100644 --- a/packages/google-devtools-cloudbuild/protos/protos.js +++ b/packages/google-devtools-cloudbuild/protos/protos.js @@ -18028,6 +18028,7 @@ case 2: case 5: case 6: + case 7: break; } if (message.diskSizeGb != null && message.hasOwnProperty("diskSizeGb")) @@ -18191,6 +18192,10 @@ case 6: message.machineType = 6; break; + case "E2_MEDIUM": + case 7: + message.machineType = 7; + break; } if (object.diskSizeGb != null) if ($util.Long) @@ -18654,6 +18659,7 @@ * @property {number} N1_HIGHCPU_32=2 N1_HIGHCPU_32 value * @property {number} E2_HIGHCPU_8=5 E2_HIGHCPU_8 value * @property {number} E2_HIGHCPU_32=6 E2_HIGHCPU_32 value + * @property {number} E2_MEDIUM=7 E2_MEDIUM value */ BuildOptions.MachineType = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -18662,6 +18668,7 @@ values[valuesById[2] = "N1_HIGHCPU_32"] = 2; values[valuesById[5] = "E2_HIGHCPU_8"] = 5; values[valuesById[6] = "E2_HIGHCPU_32"] = 6; + values[valuesById[7] = "E2_MEDIUM"] = 7; return values; })(); diff --git a/packages/google-devtools-cloudbuild/protos/protos.json b/packages/google-devtools-cloudbuild/protos/protos.json index 8e365abd37c..265d29f8c2a 100644 --- a/packages/google-devtools-cloudbuild/protos/protos.json +++ b/packages/google-devtools-cloudbuild/protos/protos.json @@ -2166,7 +2166,8 @@ "N1_HIGHCPU_8": 1, "N1_HIGHCPU_32": 2, "E2_HIGHCPU_8": 5, - "E2_HIGHCPU_32": 6 + "E2_HIGHCPU_32": 6, + "E2_MEDIUM": 7 } }, "SubstitutionOption": {