Reference documentation and code samples for the Google Cloud Asset V1 Client class SavedQuery.
A saved query which can be shared with others or used later.
Generated from protobuf message google.cloud.asset.v1.SavedQuery
Namespace
Google \ Cloud \ Asset \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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
↳ description
string
The description of this saved query. This value should be fewer than 255 characters.
↳ create_time
↳ creator
string
Output only. The account's email address who has created this saved query.
↳ last_update_time
↳ last_updater
string
Output only. The account's email address who has updated this saved query most recently.
↳ labels
array| Google\Protobuf\Internal\MapField
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.
↳ content
getName
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
string
setName
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
var
string
$this
getDescription
The description of this saved query. This value should be fewer than 255 characters.
string
setDescription
The description of this saved query. This value should be fewer than 255 characters.
var
string
$this
getCreateTime
Output only. The create time of this saved query.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The create time of this saved query.
$this
getCreator
Output only. The account's email address who has created this saved query.
string
setCreator
Output only. The account's email address who has created this saved query.
var
string
$this
getLastUpdateTime
Output only. The last update time of this saved query.
hasLastUpdateTime
clearLastUpdateTime
setLastUpdateTime
Output only. The last update time of this saved query.
$this
getLastUpdater
Output only. The account's email address who has updated this saved query most recently.
string
setLastUpdater
Output only. The account's email address who has updated this saved query most recently.
var
string
$this
getLabels
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.
setLabels
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.
$this
getContent
The query content.
hasContent
clearContent
setContent
The query content.
$this