@@ -77,17 +77,26 @@ public function getAllowAll()
7777 * A condition that determines whether this rule is used to evaluate the
7878 * policy. When set, the google.type.Expr.expression field must contain 1 to
7979 * 10 subexpressions, joined by the `||` or `&&` operators. Each subexpression
80- * must use the `resource.matchTag()` or `resource.matchTagId()` Common
81- * Expression Language (CEL) function. The `resource.matchTag()` function
82- * takes the following arguments: * `key_name`: the namespaced name of the tag
83- * key, with the organization ID and a slash (`/`) as a prefix; for example,
80+ * must use the `resource.matchTag()`, `resource.matchTagId()`,
81+ * `resource.hasTagKey()`, or `resource.hasTagKeyId()` Common Expression
82+ * Language (CEL) function. The `resource.matchTag()` function takes the
83+ * following arguments: * `key_name`: the namespaced name of the tag key, with
84+ * the organization ID and a slash (`/`) as a prefix; for example,
8485 * `123456789012/environment` * `value_name`: the short name of the tag value
8586 * For example: `resource.matchTag('123456789012/environment, 'prod')` The
8687 * `resource.matchTagId()` function takes the following arguments: * `key_id`:
8788 * the permanent ID of the tag key; for example, `tagKeys/123456789012` *
8889 * `value_id`: the permanent ID of the tag value; for example,
8990 * `tagValues/567890123456` For example:
90- * `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')`
91+ * `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` The
92+ * `resource.hasTagKey()` function takes the following argument: * `key_name`:
93+ * the namespaced name of the tag key, with the organization ID and a slash
94+ * (`/`) as a prefix; for example, `123456789012/environment` For example:
95+ * `resource.hasTagKey('123456789012/environment')` The
96+ * `resource.hasTagKeyId()` function takes the following arguments: *
97+ * `key_id`: the permanent ID of the tag key; for example,
98+ * `tagKeys/123456789012` For example:
99+ * `resource.hasTagKeyId('tagKeys/123456789012')`
91100 *
92101 * @param Expr $condition
93102 */
0 commit comments