Google Cloud Asset V1 Client - Class DeleteSavedQueryRequest (1.14.1)

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

Request to delete a saved query.

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

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the saved query to delete. It must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id

getName

Required. The name of the saved query to delete. It must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id
Returns
TypeDescription
string

setName

Required. The name of the saved query to delete. It must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id
Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the saved query to delete. It must be in the format of:

  • projects/project_number/savedQueries/saved_query_id
  • folders/folder_number/savedQueries/saved_query_id
  • organizations/organization_number/savedQueries/saved_query_id Please see Google\Cloud\Asset\V1\AssetServiceClient::savedQueryName() for help formatting this field.
Returns
TypeDescription
Google\Cloud\Asset\V1\DeleteSavedQueryRequest