Google Cloud Asset V1 Client - Class UpdateSavedQueryRequest (1.11.3)

Reference documentation and code samples for the Google Cloud Asset V1 Client class UpdateSavedQueryRequest.

Request to update a saved query.

Generated from protobuf message google.cloud.asset.v1.UpdateSavedQueryRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ saved_query Google\Cloud\Asset\V1\SavedQuery

Required. The saved query to update. The saved query's name field is used to identify the one to update, which has format as below: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getSavedQuery

Required. The saved query to update.

The saved query's name field is used to identify the one to update, which has format as below:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id
Returns
TypeDescription
Google\Cloud\Asset\V1\SavedQuery|null

hasSavedQuery

clearSavedQuery

setSavedQuery

Required. The saved query to update.

The saved query's name field is used to identify the one to update, which has format as below:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id
Parameter
NameDescription
var Google\Cloud\Asset\V1\SavedQuery
Returns
TypeDescription
$this

getUpdateMask

Required. The list of fields to update.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this