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 | |
---|---|
Name | Description |
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 |
↳ 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
Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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
Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\SavedQuery
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Required. The list of fields to update.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The list of fields to update.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |