public static string FormatOrganizationLocationSimluation(string organizationId, string locationId, string simluationId)
Formats the IDs into the string representation of this SimulationName with pattern
organizations/{organization}/locations/{location}/simulations/{simluation}.
If true will successfully store an unparseable resource name into the UnparsedResource
property; otherwise will throw an ArgumentException if an unparseable resource name is
specified.
If true will successfully store an unparseable resource name into the UnparsedResource
property; otherwise will throw an ArgumentException if an unparseable resource name is
specified.
[[["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\u003e\u003ccode\u003eSimulationName\u003c/code\u003e is a class within the Security Command Center v2 API, designed to represent the resource name for a \u003ccode\u003eSimulation\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThis class can be constructed by providing an \u003ccode\u003eorganizationId\u003c/code\u003e and a \u003ccode\u003esimulationId\u003c/code\u003e, adhering to the pattern \u003ccode\u003eorganizations/{organization}/simulations/{simulation}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt supports parsing and formatting resource names, and offers methods like \u003ccode\u003eFormat\u003c/code\u003e, \u003ccode\u003eParse\u003c/code\u003e, and \u003ccode\u003eTryParse\u003c/code\u003e to ensure resource name integrity and validation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSimulationName\u003c/code\u003e class also includes properties like \u003ccode\u003eIsKnownPattern\u003c/code\u003e, \u003ccode\u003eOrganizationId\u003c/code\u003e, \u003ccode\u003eSimulationId\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e to provide details about the resource name it represents.\u003c/p\u003e\n"],["\u003cp\u003eThis class also supports the string representations for resource names, allowing it to be compared with other \u003ccode\u003eSimulationName\u003c/code\u003e instances using \u003ccode\u003e==\u003c/code\u003e and \u003ccode\u003e!=\u003c/code\u003e operators.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class SimulationName (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.SimulationName)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.SimulationName)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.SimulationName) \n\n public sealed class SimulationName : IResourceName, IEquatable\u003cSimulationName\u003e\n\nReference documentation and code samples for the Security Command Center v2 API class SimulationName.\n\nResource name for the `Simulation` resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SimulationName \n\nImplements\n----------\n\n[IResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.IResourceName.html), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) \n\nInherited Members\n-----------------\n\n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)\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### SimulationName(string, string)\n\n public SimulationName(string organizationId, string simulationId)\n\nConstructs a new instance of a [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) class from the component parts of pattern\n`organizations/{organization}/simulations/{simulation}`\n\nProperties\n----------\n\n### IsKnownPattern\n\n public bool IsKnownPattern { get; }\n\nWhether this instance contains a resource name with a known pattern.\n\n### LocationId\n\n public string LocationId { get; }\n\nThe `Location` ID. May be `null`, depending on which resource name is contained by this instance.\n\n### OrganizationId\n\n public string OrganizationId { get; }\n\nThe `Organization` ID. May be `null`, depending on which resource name is contained by this\ninstance.\n\n### SimluationId\n\n public string SimluationId { get; }\n\nThe `Simluation` ID. May be `null`, depending on which resource name is contained by this\ninstance.\n\n### SimulationId\n\n public string SimulationId { get; }\n\nThe `Simulation` ID. May be `null`, depending on which resource name is contained by this\ninstance.\n\n### Type\n\n public SimulationName.ResourceNameType Type { get; }\n\nThe [SimulationName.ResourceNameType](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName.ResourceNameType) of the contained resource name.\n\n### UnparsedResource\n\n public UnparsedResourceName UnparsedResource { get; }\n\nThe contained [UnparsedResourceName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.UnparsedResourceName.html). Only non-`null` if this instance contains an\nunparsed resource name.\n\nMethods\n-------\n\n### Format(string, string)\n\n public static string Format(string organizationId, string simulationId)\n\nFormats the IDs into the string representation of this [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) with pattern\n`organizations/{organization}/simulations/{simulation}`.\n\n### FormatOrganizationLocationSimluation(string, string, string)\n\n public static string FormatOrganizationLocationSimluation(string organizationId, string locationId, string simluationId)\n\nFormats the IDs into the string representation of this [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) with pattern\n`organizations/{organization}/locations/{location}/simulations/{simluation}`.\n\n### FormatOrganizationSimulation(string, string)\n\n public static string FormatOrganizationSimulation(string organizationId, string simulationId)\n\nFormats the IDs into the string representation of this [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) with pattern\n`organizations/{organization}/simulations/{simulation}`.\n\n### FromOrganizationLocationSimluation(string, string, string)\n\n public static SimulationName FromOrganizationLocationSimluation(string organizationId, string locationId, string simluationId)\n\nCreates a [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) with the pattern\n`organizations/{organization}/locations/{location}/simulations/{simluation}`.\n\n### FromOrganizationSimulation(string, string)\n\n public static SimulationName FromOrganizationSimulation(string organizationId, string simulationId)\n\nCreates a [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) with the pattern\n`organizations/{organization}/simulations/{simulation}`.\n\n### FromUnparsed(UnparsedResourceName)\n\n public static SimulationName FromUnparsed(UnparsedResourceName unparsedResourceName)\n\nCreates a [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) containing an unparsed resource name.\n\n### GetHashCode()\n\n public override int GetHashCode()\n\nReturns a hash code for this resource name.\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### Parse(string)\n\n public static SimulationName Parse(string simulationName)\n\nParses the given resource name string into a new [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `organizations/{organization}/simulations/{simulation}`\n- `organizations/{organization}/locations/{location}/simulations/{simluation}`\n\n\u003cbr /\u003e\n\n### Parse(string, bool)\n\n public static SimulationName Parse(string simulationName, bool allowUnparsed)\n\nParses the given resource name string into a new [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) instance; optionally allowing\nan unparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `organizations/{organization}/simulations/{simulation}`\n- `organizations/{organization}/locations/{location}/simulations/{simluation}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\n### ToString()\n\n public override string ToString()\n\nThe string representation of the resource name.\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### TryParse(string, out SimulationName)\n\n public static bool TryParse(string simulationName, out SimulationName result)\n\nTries to parse the given resource name string into a new [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `organizations/{organization}/simulations/{simulation}`\n- `organizations/{organization}/locations/{location}/simulations/{simluation}`\n\n\u003cbr /\u003e\n\n### TryParse(string, bool, out SimulationName)\n\n public static bool TryParse(string simulationName, bool allowUnparsed, out SimulationName result)\n\nTries to parse the given resource name string into a new [SimulationName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SimulationName) instance; optionally\nallowing an unparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `organizations/{organization}/simulations/{simulation}`\n- `organizations/{organization}/locations/{location}/simulations/{simluation}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\nOperators\n---------\n\n### operator ==(SimulationName, SimulationName)\n\n public static bool operator ==(SimulationName a, SimulationName b)\n\nDetermines whether two specified resource names have the same value.\n\n### operator !=(SimulationName, SimulationName)\n\n public static bool operator !=(SimulationName a, SimulationName b)\n\nDetermines whether two specified resource names have different values."]]