Required. The format will be projects/{projectNumber}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier}
The client-assigned feed identifier must be unique within the parent project/folder/organization.
Request body
The request body contains data with the following structure:
JSON representation
{"feed":{"name":string,"assetNames":[string],"assetTypes":[string],"contentType":enum (ContentType),"feedOutputConfig":{// Union fielddestinationcan be only one of the following:"pubsubDestination":{object (PubsubDestination)}// End of list of possible types for union fielddestination.}},"updateMask":string}
Fields
feed.assetNames[]
string
A list of the full names of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames or assetTypes are exported to the feed. For example://compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. SeeResource Namesfor more info.
feed.assetTypes[]
string
A list of types of the assets to receive updates. You must specify either or both of assetNames and assetTypes. Only asset updates matching specified assetNames or assetTypes are exported to the feed. For example: "compute.googleapis.com/Disk" SeeIntroduction to Cloud Asset Inventoryfor all supported asset types.
Required. Only updates thefeedfields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server.
This is a comma-separated list of fully qualified names of fields. Example:"user.displayName,photo".
Response body
If successful, the response body contains an instance ofFeed.
[[["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-07-30 UTC."],[[["\u003cp\u003eThis page details how to update an asset feed configuration using a PATCH HTTP request to a specific URL that includes parameters for the feed's location.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003efeed.name\u003c/code\u003e parameter that uniquely identifies the feed within a project, folder, or organization, and follows a prescribed format.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a JSON representation with fields like \u003ccode\u003eassetNames\u003c/code\u003e, \u003ccode\u003eassetTypes\u003c/code\u003e, \u003ccode\u003econtentType\u003c/code\u003e, \u003ccode\u003efeedOutputConfig\u003c/code\u003e, and \u003ccode\u003eupdateMask\u003c/code\u003e, which are used to specify the feed's update criteria and destination.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return a response body containing an instance of \u003ccode\u003eFeed\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: feeds.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION.feed.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates an asset feed configuration.\n\n### HTTP request\n\n`PATCH https://cloudasset.googleapis.com/v1p2beta1/{feed.name=*/*/feeds/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Feed](/asset-inventory/docs/reference/rest/v1p2beta1/feeds#Feed).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]