public sealed class CreateMuteConfigRequest : IMessage<CreateMuteConfigRequest>, IEquatable<CreateMuteConfigRequest>, IDeepCloneable<CreateMuteConfigRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class CreateMuteConfigRequest.
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.
Required. Resource name of the new mute configs's parent. Its format is
organizations/[organization_id]/locations/[location_id],
folders/[folder_id]/locations/[location_id], or
projects/[project_id]/locations/[location_id].
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateMuteConfigRequest\u003c/code\u003e class is used to create a request for a mute config within the Security Command Center v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data management.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties like \u003ccode\u003eMuteConfig\u003c/code\u003e, \u003ccode\u003eMuteConfigId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which are essential for defining the configuration, providing a unique identifier, and specifying the parent resource for the new mute config, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property can be represented in various typed views, such as \u003ccode\u003eFolderLocationName\u003c/code\u003e, \u003ccode\u003eFolderName\u003c/code\u003e, \u003ccode\u003eLocationName\u003c/code\u003e, \u003ccode\u003eOrganizationLocationName\u003c/code\u003e, \u003ccode\u003eOrganizationName\u003c/code\u003e, \u003ccode\u003eProjectName\u003c/code\u003e, and \u003ccode\u003eIResourceName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 1.1.0, while a version 1.0.0 is also available.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class CreateMuteConfigRequest (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest) \n\n public sealed class CreateMuteConfigRequest : IMessage\u003cCreateMuteConfigRequest\u003e, IEquatable\u003cCreateMuteConfigRequest\u003e, IDeepCloneable\u003cCreateMuteConfigRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class CreateMuteConfigRequest.\n\nRequest message for creating a mute config. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateMuteConfigRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateMuteConfigRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateMuteConfigRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateMuteConfigRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### CreateMuteConfigRequest()\n\n public CreateMuteConfigRequest()\n\n### CreateMuteConfigRequest(CreateMuteConfigRequest)\n\n public CreateMuteConfigRequest(CreateMuteConfigRequest other)\n\nProperties\n----------\n\n### MuteConfig\n\n public MuteConfig MuteConfig { get; set; }\n\nRequired. The mute config being created.\n\n### MuteConfigId\n\n public string MuteConfigId { get; set; }\n\nRequired. Unique identifier provided by the client within the parent scope.\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### Parent\n\n public string Parent { get; set; }\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### ParentAsFolderLocationName\n\n public FolderLocationName ParentAsFolderLocationName { get; set; }\n\n[FolderLocationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.FolderLocationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property.\n\n### ParentAsFolderName\n\n public FolderName ParentAsFolderName { get; set; }\n\n[FolderName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.FolderName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property.\n\n### ParentAsOrganizationLocationName\n\n public OrganizationLocationName ParentAsOrganizationLocationName { get; set; }\n\n[OrganizationLocationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.OrganizationLocationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property.\n\n### ParentAsOrganizationName\n\n public OrganizationName ParentAsOrganizationName { get; set; }\n\n[OrganizationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.OrganizationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property.\n\n### ParentAsProjectName\n\n public ProjectName ParentAsProjectName { get; set; }\n\n[ProjectName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property.\n\n### ParentAsResourceName\n\n public IResourceName ParentAsResourceName { get; set; }\n\n[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateMuteConfigRequest#Google_Cloud_SecurityCenter_V2_CreateMuteConfigRequest_Parent) resource name property."]]