[[["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."],[],[],null,["# Class protos.google.cloud.asset.v1p5beta1.Resource (5.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.5.0 (latest)](/nodejs/docs/reference/asset/latest/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [5.3.0](/nodejs/docs/reference/asset/5.3.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [5.2.0](/nodejs/docs/reference/asset/5.2.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [5.1.0](/nodejs/docs/reference/asset/5.1.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [5.0.1](/nodejs/docs/reference/asset/5.0.1/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [4.6.3](/nodejs/docs/reference/asset/4.6.3/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [4.5.0](/nodejs/docs/reference/asset/4.5.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [4.4.0](/nodejs/docs/reference/asset/4.4.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [4.3.0](/nodejs/docs/reference/asset/4.3.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [4.2.0](/nodejs/docs/reference/asset/4.2.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [4.1.0](/nodejs/docs/reference/asset/4.1.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.23.1](/nodejs/docs/reference/asset/3.23.1/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.22.0](/nodejs/docs/reference/asset/3.22.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.21.0](/nodejs/docs/reference/asset/3.21.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.20.0](/nodejs/docs/reference/asset/3.20.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.19.0](/nodejs/docs/reference/asset/3.19.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.18.0](/nodejs/docs/reference/asset/3.18.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.17.0](/nodejs/docs/reference/asset/3.17.0/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.16.1](/nodejs/docs/reference/asset/3.16.1/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.15.5](/nodejs/docs/reference/asset/3.15.5/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.14.1](/nodejs/docs/reference/asset/3.14.1/asset/protos.google.cloud.asset.v1p5beta1.resource)\n- [3.13.0](/nodejs/docs/reference/asset/3.13.0/asset/protos.google.cloud.asset.v1p5beta1.resource) \nRepresents a Resource.\n\nPackage\n-------\n\n[@google-cloud/asset](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(properties)\n\n constructor(properties?: google.cloud.asset.v1p5beta1.IResource);\n\nConstructs a new Resource.\n\nProperties\n----------\n\n### data\n\n public data?: (google.protobuf.IStruct|null);\n\nResource data.\n\n### discoveryDocumentUri\n\n public discoveryDocumentUri: string;\n\nResource discoveryDocumentUri.\n\n### discoveryName\n\n public discoveryName: string;\n\nResource discoveryName.\n\n### parent\n\n public parent: string;\n\nResource parent.\n\n### resourceUrl\n\n public resourceUrl: string;\n\nResource resourceUrl.\n\n### version\n\n public version: string;\n\nResource version.\n\nMethods\n-------\n\n### create(properties)\n\n public static create(properties?: google.cloud.asset.v1p5beta1.IResource): google.cloud.asset.v1p5beta1.Resource;\n\nCreates a new Resource instance using the specified properties.\n\n### decode(reader, length)\n\n public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.asset.v1p5beta1.Resource;\n\nDecodes a Resource message from the specified reader or buffer.\n\n### decodeDelimited(reader)\n\n public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.asset.v1p5beta1.Resource;\n\nDecodes a Resource message from the specified reader or buffer, length delimited.\n\n### encode(message, writer)\n\n public static encode(message: google.cloud.asset.v1p5beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer;\n\nEncodes the specified Resource message. Does not implicitly messages.\n\n### encodeDelimited(message, writer)\n\n public static encodeDelimited(message: google.cloud.asset.v1p5beta1.IResource, writer?: $protobuf.Writer): $protobuf.Writer;\n\nEncodes the specified Resource message, length delimited. Does not implicitly messages.\n\n### fromObject(object)\n\n public static fromObject(object: { [k: string]: any }): google.cloud.asset.v1p5beta1.Resource;\n\nCreates a Resource message from a plain object. Also converts values to their respective internal types.\n\n### getTypeUrl(typeUrlPrefix)\n\n public static getTypeUrl(typeUrlPrefix?: string): string;\n\nGets the default type url for Resource\n\n### toJSON()\n\n public toJSON(): { [k: string]: any };\n\nConverts this Resource to JSON.\n\n### toObject(message, options)\n\n public static toObject(message: google.cloud.asset.v1p5beta1.Resource, options?: $protobuf.IConversionOptions): { [k: string]: any };\n\nCreates a plain object from a Resource message. Also converts values to other types if specified.\n\n### verify(message)\n\n public static verify(message: { [k: string]: any }): (string|null);\n\nVerifies a Resource message."]]