Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class CreateMuteConfigRequest.
Request message for creating a mute config.
Generated from protobuf messagegoogle.cloud.securitycenter.v2.CreateMuteConfigRequest
Namespace
Google \ Cloud \ SecurityCenter \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Resource name of the new mute configs's parent. Its format isorganizations/[organization_id]/locations/[location_id],folders/[folder_id]/locations/[location_id], orprojects/[project_id]/locations/[location_id].
Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.
getParent
Required. Resource name of the new mute configs's parent. Its format isorganizations/[organization_id]/locations/[location_id],folders/[folder_id]/locations/[location_id], orprojects/[project_id]/locations/[location_id].
Returns
Type
Description
string
setParent
Required. Resource name of the new mute configs's parent. Its format isorganizations/[organization_id]/locations/[location_id],folders/[folder_id]/locations/[location_id], orprojects/[project_id]/locations/[location_id].
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
Returns
Type
Description
string
setMuteConfigId
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. Resource name of the new mute configs's parent. Its format isorganizations/[organization_id]/locations/[location_id],folders/[folder_id]/locations/[location_id], orprojects/[project_id]/locations/[location_id]. Please seeSecurityCenterClient::organizationLocationName()for help formatting this field.
Required. Unique identifier provided by the client within the parent scope.
It must consist of only lowercase letters, numbers, and hyphens, must start
with a letter, must end with either a letter or a number, and must be 63
characters or less.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Command Center V2 Client - Class CreateMuteConfigRequest (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V2.CreateMuteConfigRequest)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V2.CreateMuteConfigRequest)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V2.CreateMuteConfigRequest)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V2.CreateMuteConfigRequest)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V2.CreateMuteConfigRequest)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V2.CreateMuteConfigRequest)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V2.CreateMuteConfigRequest)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V2.CreateMuteConfigRequest)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V2.CreateMuteConfigRequest)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V2.CreateMuteConfigRequest)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V2.CreateMuteConfigRequest)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V2.CreateMuteConfigRequest)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V2.CreateMuteConfigRequest)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V2.CreateMuteConfigRequest)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V2.CreateMuteConfigRequest)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V2.CreateMuteConfigRequest)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V2.CreateMuteConfigRequest)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V2.CreateMuteConfigRequest) \nReference documentation and code samples for the Google Cloud Security Command Center V2 Client class CreateMuteConfigRequest.\n\nRequest message for creating a mute config.\n\nGenerated from protobuf message `google.cloud.securitycenter.v2.CreateMuteConfigRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Resource name of the new mute configs's parent. Its format is\n`organizations/[organization_id]/locations/[location_id]`,\n`folders/[folder_id]/locations/[location_id]`, or\n`projects/[project_id]/locations/[location_id]`.\n\n### setParent\n\nRequired. Resource name of the new mute configs's parent. Its format is\n`organizations/[organization_id]/locations/[location_id]`,\n`folders/[folder_id]/locations/[location_id]`, or\n`projects/[project_id]/locations/[location_id]`.\n\n### getMuteConfig\n\nRequired. The mute config being created.\n\n### hasMuteConfig\n\n### clearMuteConfig\n\n### setMuteConfig\n\nRequired. The mute config being created.\n\n### getMuteConfigId\n\nRequired. Unique identifier provided by the client within the parent scope.\n\nIt must consist of only lowercase letters, numbers, and hyphens, must start\nwith a letter, must end with either a letter or a number, and must be 63\ncharacters or less.\n\n### setMuteConfigId\n\nRequired. Unique identifier provided by the client within the parent scope.\n\nIt must consist of only lowercase letters, numbers, and hyphens, must start\nwith a letter, must end with either a letter or a number, and must be 63\ncharacters or less.\n\n### static::build"]]