- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Search templates based on user query and filters. This api would query the templates and return a list of templates based on the user filter.
HTTP request
GET https://integrations.googleapis.com/v1/{parent=projects/*/locations/*}/templates:search
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The client, which owns this collection of Templates. |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The size of the response entries. If unspecified, defaults to 100. The maximum value is 1000; values above 1000 will be coerced to 1000. |
pageToken |
Optional. The token returned in the previous response. |
filter |
Optional. Standard filter field to filter templates. clientId filter won't be supported and will restrict to templates belonging to the current client only. Return all templates of the current client if the filter is empty. Also supports operators like AND, OR, NOT For example, "status="ACTIVE" |
orderBy |
Optional. The results would be returned in the order you specified here. |
readMask |
Optional. The mask which specifies fields that need to be returned in the template's response. This is a comma-separated list of fully qualified names of fields. Example: |
query |
Optional. The search query that will be passed to Vertex search service. |
enableNaturalLanguageQueryUnderstanding |
Optional. Whether to enable natural language query understanding. |
Request body
The request body must be empty.
Response body
Response for a request to search templates
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"templates": [
{
object ( |
Fields | |
---|---|
templates[] |
List of templates retrieved. |
nextPageToken |
The token used to retrieve the next page results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
integrations.templates.list
For more information, see the IAM documentation.