public GcpUserAccessBindingName(string organizationId, string gcpUserAccessBindingId)
Constructs a new instance of a GcpUserAccessBindingName class from the component parts of
pattern organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}
public static string Format(string organizationId, string gcpUserAccessBindingId)
Formats the IDs into the string representation of this GcpUserAccessBindingName with pattern
organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}.
public static string FormatOrganizationGcpUserAccessBinding(string organizationId, string gcpUserAccessBindingId)
Formats the IDs into the string representation of this GcpUserAccessBindingName with pattern
organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}.
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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGcpUserAccessBindingName\u003c/code\u003e class in the Identity Access Context Manager v1 API represents a resource name for the \u003ccode\u003eGcpUserAccessBinding\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 2.5.0, with prior versions ranging back to 1.2.0 also documented and accessible.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIResourceName\u003c/code\u003e and \u003ccode\u003eIEquatable<GcpUserAccessBindingName>\u003c/code\u003e, and its instances are constructed from component parts of the pattern \u003ccode\u003eorganizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eOrganizationId\u003c/code\u003e, \u003ccode\u003eGcpUserAccessBindingId\u003c/code\u003e, \u003ccode\u003eIsKnownPattern\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which provide details about the resource name's structure and content.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers static methods for formatting, parsing, and creating \u003ccode\u003eGcpUserAccessBindingName\u003c/code\u003e instances, as well as methods to convert to and from string representations.\u003c/p\u003e\n"]]],[],null,["# Identity Access Context Manager v1 API - Class GcpUserAccessBindingName (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [2.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.4.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [2.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.3.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [2.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.2.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [2.1.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.1.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [2.0.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/2.0.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [1.5.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.5.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [1.4.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.4.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [1.3.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.3.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName)\n- [1.2.0](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/1.2.0/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) \n\n public sealed class GcpUserAccessBindingName : IResourceName, IEquatable\u003cGcpUserAccessBindingName\u003e\n\nReference documentation and code samples for the Identity Access Context Manager v1 API class GcpUserAccessBindingName.\n\nResource name for the `GcpUserAccessBinding` resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GcpUserAccessBindingName \n\nImplements\n----------\n\n[IResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/IResourceName.cs), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) \n\nInherited Members\n-----------------\n\n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)\n\nNamespace\n---------\n\n[Google.Identity.AccessContextManager.V1](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1)\n\nAssembly\n--------\n\nGoogle.Identity.AccessContextManager.V1.dll\n\nConstructors\n------------\n\n### GcpUserAccessBindingName(string, string)\n\n public GcpUserAccessBindingName(string organizationId, string gcpUserAccessBindingId)\n\nConstructs a new instance of a [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) class from the component parts of\npattern `organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}`\n\nProperties\n----------\n\n### GcpUserAccessBindingId\n\n public string GcpUserAccessBindingId { get; }\n\nThe `GcpUserAccessBinding` ID. Will not be `null`, unless this instance contains an unparsed\nresource name.\n\n### IsKnownPattern\n\n public bool IsKnownPattern { get; }\n\nWhether this instance contains a resource name with a known pattern.\n\n### OrganizationId\n\n public string OrganizationId { get; }\n\nThe `Organization` ID. Will not be `null`, unless this instance contains an unparsed resource\nname.\n\n### Type\n\n public GcpUserAccessBindingName.ResourceNameType Type { get; }\n\nThe [GcpUserAccessBindingName.ResourceNameType](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName.ResourceNameType) of the contained resource name.\n\n### UnparsedResource\n\n public UnparsedResourceName UnparsedResource { get; }\n\nThe contained [UnparsedResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/UnparsedResourceName.cs). 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 gcpUserAccessBindingId)\n\nFormats the IDs into the string representation of this [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) with pattern\n`organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}`.\n\n### FormatOrganizationGcpUserAccessBinding(string, string)\n\n public static string FormatOrganizationGcpUserAccessBinding(string organizationId, string gcpUserAccessBindingId)\n\nFormats the IDs into the string representation of this [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) with pattern\n`organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}`.\n\n### FromOrganizationGcpUserAccessBinding(string, string)\n\n public static GcpUserAccessBindingName FromOrganizationGcpUserAccessBinding(string organizationId, string gcpUserAccessBindingId)\n\nCreates a [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) with the pattern\n`organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}`.\n\n### FromUnparsed(UnparsedResourceName)\n\n public static GcpUserAccessBindingName FromUnparsed(UnparsedResourceName unparsedResourceName)\n\nCreates a [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) 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 GcpUserAccessBindingName Parse(string gcpUserAccessBindingName)\n\nParses the given resource name string into a new [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}`\n\n\u003cbr /\u003e\n\n### Parse(string, bool)\n\n public static GcpUserAccessBindingName Parse(string gcpUserAccessBindingName, bool allowUnparsed)\n\nParses the given resource name string into a new [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) 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}/gcpUserAccessBindings/{gcp_user_access_binding}`\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 GcpUserAccessBindingName)\n\n public static bool TryParse(string gcpUserAccessBindingName, out GcpUserAccessBindingName result)\n\nTries to parse the given resource name string into a new [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `organizations/{organization}/gcpUserAccessBindings/{gcp_user_access_binding}`\n\n\u003cbr /\u003e\n\n### TryParse(string, bool, out GcpUserAccessBindingName)\n\n public static bool TryParse(string gcpUserAccessBindingName, bool allowUnparsed, out GcpUserAccessBindingName result)\n\nTries to parse the given resource name string into a new [GcpUserAccessBindingName](/dotnet/docs/reference/Google.Identity.AccessContextManager.V1/latest/Google.Identity.AccessContextManager.V1.GcpUserAccessBindingName) instance;\noptionally allowing 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}/gcpUserAccessBindings/{gcp_user_access_binding}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\nOperators\n---------\n\n### operator ==(GcpUserAccessBindingName, GcpUserAccessBindingName)\n\n public static bool operator ==(GcpUserAccessBindingName a, GcpUserAccessBindingName b)\n\nDetermines whether two specified resource names have the same value.\n\n### operator !=(GcpUserAccessBindingName, GcpUserAccessBindingName)\n\n public static bool operator !=(GcpUserAccessBindingName a, GcpUserAccessBindingName b)\n\nDetermines whether two specified resource names have different values."]]