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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eFeedName\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFeedName\u003c/code\u003e class is used to represent the resource name for a \u003ccode\u003eFeed\u003c/code\u003e and it supports various patterns, including \u003ccode\u003eprojects/{project}/feeds/{feed}\u003c/code\u003e, \u003ccode\u003efolders/{folder}/feeds/{feed}\u003c/code\u003e, and \u003ccode\u003eorganizations/{organization}/feeds/{feed}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.12.0 and there are versions dating back to 2.7.0, each available with respective reference links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFeedName\u003c/code\u003e class includes properties like \u003ccode\u003eProjectId\u003c/code\u003e, \u003ccode\u003eFeedId\u003c/code\u003e, \u003ccode\u003eFolderId\u003c/code\u003e, and \u003ccode\u003eOrganizationId\u003c/code\u003e to represent different components of a Feed resource name.\u003c/p\u003e\n"],["\u003cp\u003eMethods are provided for parsing, formatting, and creating \u003ccode\u003eFeedName\u003c/code\u003e instances, as well as operators for comparing them.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class FeedName (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.FeedName)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.FeedName)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.FeedName)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.FeedName)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.FeedName)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.FeedName)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.FeedName)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.FeedName)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.FeedName)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.FeedName)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.FeedName)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.FeedName)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.FeedName)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.FeedName)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.FeedName)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.FeedName)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.FeedName)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.FeedName) \n\n public sealed class FeedName : IResourceName, IEquatable\u003cFeedName\u003e\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class FeedName.\n\nResource name for the `Feed` resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FeedName \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)[FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) \n\nInherited Members\n-----------------\n\n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)\n\nNamespace\n---------\n\n[Google.Cloud.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### FeedName(string, string)\n\n public FeedName(string projectId, string feedId)\n\nConstructs a new instance of a [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) class from the component parts of pattern\n`projects/{project}/feeds/{feed}`\n\nProperties\n----------\n\n### FeedId\n\n public string FeedId { get; }\n\nThe `Feed` ID. May be `null`, depending on which resource name is contained by this instance.\n\n### FolderId\n\n public string FolderId { get; }\n\nThe `Folder` ID. May be `null`, depending on which resource name is contained by this instance.\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. May be `null`, depending on which resource name is contained by this\ninstance.\n\n### ProjectId\n\n public string ProjectId { get; }\n\nThe `Project` ID. May be `null`, depending on which resource name is contained by this instance.\n\n### Type\n\n public FeedName.ResourceNameType Type { get; }\n\nThe [FeedName.ResourceNameType](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName.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 projectId, string feedId)\n\nFormats the IDs into the string representation of this [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with pattern\n`projects/{project}/feeds/{feed}`.\n\n### FormatFolderFeed(string, string)\n\n public static string FormatFolderFeed(string folderId, string feedId)\n\nFormats the IDs into the string representation of this [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with pattern\n`folders/{folder}/feeds/{feed}`.\n\n### FormatOrganizationFeed(string, string)\n\n public static string FormatOrganizationFeed(string organizationId, string feedId)\n\nFormats the IDs into the string representation of this [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with pattern\n`organizations/{organization}/feeds/{feed}`.\n\n### FormatProjectFeed(string, string)\n\n public static string FormatProjectFeed(string projectId, string feedId)\n\nFormats the IDs into the string representation of this [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with pattern\n`projects/{project}/feeds/{feed}`.\n\n### FromFolderFeed(string, string)\n\n public static FeedName FromFolderFeed(string folderId, string feedId)\n\nCreates a [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with the pattern `folders/{folder}/feeds/{feed}`.\n\n### FromOrganizationFeed(string, string)\n\n public static FeedName FromOrganizationFeed(string organizationId, string feedId)\n\nCreates a [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with the pattern `organizations/{organization}/feeds/{feed}`.\n\n### FromProjectFeed(string, string)\n\n public static FeedName FromProjectFeed(string projectId, string feedId)\n\nCreates a [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) with the pattern `projects/{project}/feeds/{feed}`.\n\n### FromUnparsed(UnparsedResourceName)\n\n public static FeedName FromUnparsed(UnparsedResourceName unparsedResourceName)\n\nCreates a [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) 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 FeedName Parse(string feedName)\n\nParses the given resource name string into a new [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/feeds/{feed}`\n- `folders/{folder}/feeds/{feed}`\n- `organizations/{organization}/feeds/{feed}`\n\n\u003cbr /\u003e\n\n### Parse(string, bool)\n\n public static FeedName Parse(string feedName, bool allowUnparsed)\n\nParses the given resource name string into a new [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) instance; optionally allowing an\nunparseable resource name.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/feeds/{feed}`\n- `folders/{folder}/feeds/{feed}`\n- `organizations/{organization}/feeds/{feed}`\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 FeedName)\n\n public static bool TryParse(string feedName, out FeedName result)\n\nTries to parse the given resource name string into a new [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) instance.\n\n**Remarks** \nTo parse successfully, the resource name must be formatted as one of the following:\n\n- `projects/{project}/feeds/{feed}`\n- `folders/{folder}/feeds/{feed}`\n- `organizations/{organization}/feeds/{feed}`\n\n\u003cbr /\u003e\n\n### TryParse(string, bool, out FeedName)\n\n public static bool TryParse(string feedName, bool allowUnparsed, out FeedName result)\n\nTries to parse the given resource name string into a new [FeedName](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.FeedName) 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- `projects/{project}/feeds/{feed}`\n- `folders/{folder}/feeds/{feed}`\n- `organizations/{organization}/feeds/{feed}`\n\nOr may be in any format if `allowUnparsed` is `true`.\n\n\u003cbr /\u003e\n\nOperators\n---------\n\n### operator ==(FeedName, FeedName)\n\n public static bool operator ==(FeedName a, FeedName b)\n\nDetermines whether two specified resource names have the same value.\n\n### operator !=(FeedName, FeedName)\n\n public static bool operator !=(FeedName a, FeedName b)\n\nDetermines whether two specified resource names have different values."]]