Skip to content

Commit 97ff4eb

Browse files
feat(iap): update the api
#### iap:v1 The following keys were added: - resources.v1.methods.validateAttributeExpression (Total Keys: 13) - schemas.ValidateIapAttributeExpressionResponse (Total Keys: 2)
1 parent 214d212 commit 97ff4eb

File tree

3 files changed

+60
-2
lines changed

3 files changed

+60
-2
lines changed

docs/dyn/iap_v1.v1.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ <h2>Instance Methods</h2>
9292
<p class="toc_element">
9393
<code><a href="#updateIapSettings">updateIapSettings(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the `update_mask` is set.</p>
95+
<p class="toc_element">
96+
<code><a href="#validateAttributeExpression">validateAttributeExpression(name, expression=None, x__xgafv=None)</a></code></p>
97+
<p class="firstline">Validates a given CEL expression conforms to IAP restrictions.</p>
9598
<h3>Method Details</h3>
9699
<div class="method">
97100
<code class="details" id="close">close()</code>
@@ -455,4 +458,23 @@ <h3>Method Details</h3>
455458
}</pre>
456459
</div>
457460

461+
<div class="method">
462+
<code class="details" id="validateAttributeExpression">validateAttributeExpression(name, expression=None, x__xgafv=None)</code>
463+
<pre>Validates a given CEL expression conforms to IAP restrictions.
464+
465+
Args:
466+
name: string, Required. The resource name of the IAP protected resource. (required)
467+
expression: string, Required. User input string expression. Should be of the form &#x27;attributes.saml_attributes.filter(attribute, attribute.name in [&#x27;{attribute_name}&#x27;, &#x27;{attribute_name}&#x27;])&#x27;
468+
x__xgafv: string, V1 error format.
469+
Allowed values
470+
1 - v1 error format
471+
2 - v2 error format
472+
473+
Returns:
474+
An object of the form:
475+
476+
{ # API requires a return message, but currently all response strings will fit in the status and public message. In the future, this response can hold AST validation info.
477+
}</pre>
478+
</div>
479+
458480
</body></html>

googleapiclient/discovery_cache/documents/iap.v1.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,11 +648,41 @@
648648
"scopes": [
649649
"https://www.googleapis.com/auth/cloud-platform"
650650
]
651+
},
652+
"validateAttributeExpression": {
653+
"description": "Validates a given CEL expression conforms to IAP restrictions.",
654+
"flatPath": "v1/{v1Id}:validateAttributeExpression",
655+
"httpMethod": "POST",
656+
"id": "iap.validateAttributeExpression",
657+
"parameterOrder": [
658+
"name"
659+
],
660+
"parameters": {
661+
"expression": {
662+
"description": "Required. User input string expression. Should be of the form 'attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])'",
663+
"location": "query",
664+
"type": "string"
665+
},
666+
"name": {
667+
"description": "Required. The resource name of the IAP protected resource.",
668+
"location": "path",
669+
"pattern": "^.*$",
670+
"required": true,
671+
"type": "string"
672+
}
673+
},
674+
"path": "v1/{+name}:validateAttributeExpression",
675+
"response": {
676+
"$ref": "ValidateIapAttributeExpressionResponse"
677+
},
678+
"scopes": [
679+
"https://www.googleapis.com/auth/cloud-platform"
680+
]
651681
}
652682
}
653683
}
654684
},
655-
"revision": "20230519",
685+
"revision": "20230526",
656686
"rootUrl": "https://iap.googleapis.com/",
657687
"schemas": {
658688
"AccessDeniedPageSettings": {
@@ -1224,6 +1254,12 @@
12241254
}
12251255
},
12261256
"type": "object"
1257+
},
1258+
"ValidateIapAttributeExpressionResponse": {
1259+
"description": "API requires a return message, but currently all response strings will fit in the status and public message. In the future, this response can hold AST validation info.",
1260+
"id": "ValidateIapAttributeExpressionResponse",
1261+
"properties": {},
1262+
"type": "object"
12271263
}
12281264
},
12291265
"servicePath": "",

googleapiclient/discovery_cache/documents/iap.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
}
195195
}
196196
},
197-
"revision": "20230519",
197+
"revision": "20230526",
198198
"rootUrl": "https://iap.googleapis.com/",
199199
"schemas": {
200200
"Binding": {

0 commit comments

Comments
 (0)