Skip to main content

saved_queries

Overview

Namesaved_queries
TypeResource
Idgoogle.cloudasset.saved_queries

Fields

NameDatatypeDescription
namestringThe 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
descriptionstringThe description of this saved query. This value should be fewer than 255 characters.
contentobjectThe query content.
createTimestringOutput only. The create time of this saved query.
creatorstringOutput only. The account's email address who has created this saved query.
labelsobjectLabels 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.
lastUpdateTimestringOutput only. The last update time of this saved query.
lastUpdaterstringOutput only. The account's email address who has updated this saved query most recently.

Methods

NameAccessible byRequired ParamsDescription
listSELECTparent, parentTypeLists all saved queries in a parent project/folder/organization.
createINSERTparent, parentTypeCreates a saved query in a parent project/folder/organization.
_listEXECparent, parentTypeLists all saved queries in a parent project/folder/organization.