diff --git a/packages/google-cloud-orgpolicy/protos/google/cloud/orgpolicy/v2/constraint.proto b/packages/google-cloud-orgpolicy/protos/google/cloud/orgpolicy/v2/constraint.proto index ed6374bbdce..532bb6180c3 100644 --- a/packages/google-cloud-orgpolicy/protos/google/cloud/orgpolicy/v2/constraint.proto +++ b/packages/google-cloud-orgpolicy/protos/google/cloud/orgpolicy/v2/constraint.proto @@ -161,6 +161,12 @@ message CustomConstraint { // Constraint applied when deleting the resource. // Not supported yet. DELETE = 3; + + // Constraint applied when removing an IAM grant. + REMOVE_GRANT = 4; + + // Constraint applied when enforcing forced tagging. + GOVERN_TAGS = 5; } // Allow or deny type. diff --git a/packages/google-cloud-orgpolicy/protos/protos.d.ts b/packages/google-cloud-orgpolicy/protos/protos.d.ts index e42cc637569..7cecc27b6b6 100644 --- a/packages/google-cloud-orgpolicy/protos/protos.d.ts +++ b/packages/google-cloud-orgpolicy/protos/protos.d.ts @@ -512,7 +512,9 @@ export namespace google { METHOD_TYPE_UNSPECIFIED = 0, CREATE = 1, UPDATE = 2, - DELETE = 3 + DELETE = 3, + REMOVE_GRANT = 4, + GOVERN_TAGS = 5 } /** ActionType enum. */ diff --git a/packages/google-cloud-orgpolicy/protos/protos.js b/packages/google-cloud-orgpolicy/protos/protos.js index 147c7a83517..4bca0631f53 100644 --- a/packages/google-cloud-orgpolicy/protos/protos.js +++ b/packages/google-cloud-orgpolicy/protos/protos.js @@ -1160,6 +1160,8 @@ case 1: case 2: case 3: + case 4: + case 5: break; } } @@ -1237,6 +1239,14 @@ case 3: message.methodTypes[i] = 3; break; + case "REMOVE_GRANT": + case 4: + message.methodTypes[i] = 4; + break; + case "GOVERN_TAGS": + case 5: + message.methodTypes[i] = 5; + break; } } if (object.condition != null) @@ -1357,6 +1367,8 @@ * @property {number} CREATE=1 CREATE value * @property {number} UPDATE=2 UPDATE value * @property {number} DELETE=3 DELETE value + * @property {number} REMOVE_GRANT=4 REMOVE_GRANT value + * @property {number} GOVERN_TAGS=5 GOVERN_TAGS value */ CustomConstraint.MethodType = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -1364,6 +1376,8 @@ values[valuesById[1] = "CREATE"] = 1; values[valuesById[2] = "UPDATE"] = 2; values[valuesById[3] = "DELETE"] = 3; + values[valuesById[4] = "REMOVE_GRANT"] = 4; + values[valuesById[5] = "GOVERN_TAGS"] = 5; return values; })(); diff --git a/packages/google-cloud-orgpolicy/protos/protos.json b/packages/google-cloud-orgpolicy/protos/protos.json index 72ef781b1b4..7224b833024 100644 --- a/packages/google-cloud-orgpolicy/protos/protos.json +++ b/packages/google-cloud-orgpolicy/protos/protos.json @@ -144,7 +144,9 @@ "METHOD_TYPE_UNSPECIFIED": 0, "CREATE": 1, "UPDATE": 2, - "DELETE": 3 + "DELETE": 3, + "REMOVE_GRANT": 4, + "GOVERN_TAGS": 5 } }, "ActionType": {