Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::FileLocation.
Indicates the location at which a package was found.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#file_path
deffile_path()->::String
Returns
(::String) — For jars that are contained inside .war files, this filepath
can indicate the path to war file combined with the path to jar file.
#file_path=
deffile_path=(value)->::String
Parameter
value (::String) — For jars that are contained inside .war files, this filepath
can indicate the path to war file combined with the path to jar file.
Returns
(::String) — For jars that are contained inside .war files, this filepath
can indicate the path to war file combined with the path to jar file.
#layer_details
deflayer_details()->::Grafeas::V1::LayerDetails
Returns
(::Grafeas::V1::LayerDetails) — Each package found in a file should have its own layer metadata (that is,
information from the origin layer of the package).
value (::Grafeas::V1::LayerDetails) — Each package found in a file should have its own layer metadata (that is,
information from the origin layer of the package).
Returns
(::Grafeas::V1::LayerDetails) — Each package found in a file should have its own layer metadata (that is,
information from the origin layer of the package).
[[["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-09-04 UTC."],[],[],null,["# Grafeas V1 API - Class Grafeas::V1::FileLocation (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-FileLocation)\n- [1.3.1](/ruby/docs/reference/grafeas-v1/1.3.1/Grafeas-V1-FileLocation)\n- [1.2.0](/ruby/docs/reference/grafeas-v1/1.2.0/Grafeas-V1-FileLocation)\n- [1.1.1](/ruby/docs/reference/grafeas-v1/1.1.1/Grafeas-V1-FileLocation)\n- [1.0.0](/ruby/docs/reference/grafeas-v1/1.0.0/Grafeas-V1-FileLocation)\n- [0.16.1](/ruby/docs/reference/grafeas-v1/0.16.1/Grafeas-V1-FileLocation)\n- [0.15.0](/ruby/docs/reference/grafeas-v1/0.15.0/Grafeas-V1-FileLocation)\n- [0.14.2](/ruby/docs/reference/grafeas-v1/0.14.2/Grafeas-V1-FileLocation)\n- [0.13.0](/ruby/docs/reference/grafeas-v1/0.13.0/Grafeas-V1-FileLocation)\n- [0.12.1](/ruby/docs/reference/grafeas-v1/0.12.1/Grafeas-V1-FileLocation)\n- [0.11.0](/ruby/docs/reference/grafeas-v1/0.11.0/Grafeas-V1-FileLocation)\n- [0.10.0](/ruby/docs/reference/grafeas-v1/0.10.0/Grafeas-V1-FileLocation)\n- [0.9.0](/ruby/docs/reference/grafeas-v1/0.9.0/Grafeas-V1-FileLocation)\n- [0.8.0](/ruby/docs/reference/grafeas-v1/0.8.0/Grafeas-V1-FileLocation)\n- [0.7.0](/ruby/docs/reference/grafeas-v1/0.7.0/Grafeas-V1-FileLocation)\n- [0.6.1](/ruby/docs/reference/grafeas-v1/0.6.1/Grafeas-V1-FileLocation)\n- [0.5.0](/ruby/docs/reference/grafeas-v1/0.5.0/Grafeas-V1-FileLocation)\n- [0.4.0](/ruby/docs/reference/grafeas-v1/0.4.0/Grafeas-V1-FileLocation)\n- [0.3.1](/ruby/docs/reference/grafeas-v1/0.3.1/Grafeas-V1-FileLocation) \nReference documentation and code samples for the Grafeas V1 API class Grafeas::V1::FileLocation.\n\nIndicates the location at which a package was found. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #file_path\n\n def file_path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.\n\n### #file_path=\n\n def file_path=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. \n**Returns**\n\n- (::String) --- For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.\n\n### #layer_details\n\n def layer_details() -\u003e ::Grafeas::V1::LayerDetails\n\n**Returns**\n\n- ([::Grafeas::V1::LayerDetails](./Grafeas-V1-LayerDetails)) --- Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).\n\n### #layer_details=\n\n def layer_details=(value) -\u003e ::Grafeas::V1::LayerDetails\n\n**Parameter**\n\n- **value** ([::Grafeas::V1::LayerDetails](./Grafeas-V1-LayerDetails)) --- Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). \n**Returns**\n\n- ([::Grafeas::V1::LayerDetails](./Grafeas-V1-LayerDetails)) --- Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package)."]]