v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1320145229.2 KB
savedQueries

Creates a saved query in a parent project/folder/organization.

post/v1/{+parent}/savedQueries

Path parameters

parentstring required

Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a project number (such as "projects/12345").

Query parameters

savedQueryIdstring

Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are a-z-. Notice that this field is required in the saved query creation, and the name field of the saved_query will be ignored.

Request body

namestring

The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id

creatorstring

Output only. The account's email address who has created this saved query.

descriptionstring

The description of this saved query. This value should be fewer than 255 characters.

createTimestring google-datetime

Output only. The create time of this saved query.

lastUpdaterstring

Output only. The account's email address who has updated this saved query most recently.

labelsobject

Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters.

lastUpdateTimestring google-datetime

Output only. The last update time of this saved query.

Response

Successful response