Google Cloud Security Command Center V1 Client - Class GetMuteConfigRequest (1.20.2)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class GetMuteConfigRequest.

Request message for retrieving a mute config.

Generated from protobuf message google.cloud.securitycenter.v1.GetMuteConfigRequest

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}

getName

Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}

Returns
TypeDescription
string

setName

Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id} Please see Google\Cloud\SecurityCenter\V1\SecurityCenterClient::muteConfigName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\GetMuteConfigRequest