Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::License.
License information.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#comments
defcomments()->::String
Returns
(::String) — Comments
#comments=
defcomments=(value)->::String
Parameter
value (::String) — Comments
Returns
(::String) — Comments
#expression
defexpression()->::String
Returns
(::String) — Often a single license can be used to represent the licensing terms.
Sometimes it is necessary to include a choice of one or more licenses
or some combination of license identifiers.
Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
"GPL-2.0-or-later WITH Bison-exception-2.2".
#expression=
defexpression=(value)->::String
Parameter
value (::String) — Often a single license can be used to represent the licensing terms.
Sometimes it is necessary to include a choice of one or more licenses
or some combination of license identifiers.
Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
"GPL-2.0-or-later WITH Bison-exception-2.2".
Returns
(::String) — Often a single license can be used to represent the licensing terms.
Sometimes it is necessary to include a choice of one or more licenses
or some combination of license identifiers.
Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
"GPL-2.0-or-later WITH Bison-exception-2.2".
[[["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::License (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-License)\n- [1.3.1](/ruby/docs/reference/grafeas-v1/1.3.1/Grafeas-V1-License)\n- [1.2.0](/ruby/docs/reference/grafeas-v1/1.2.0/Grafeas-V1-License)\n- [1.1.1](/ruby/docs/reference/grafeas-v1/1.1.1/Grafeas-V1-License)\n- [1.0.0](/ruby/docs/reference/grafeas-v1/1.0.0/Grafeas-V1-License)\n- [0.16.1](/ruby/docs/reference/grafeas-v1/0.16.1/Grafeas-V1-License)\n- [0.15.0](/ruby/docs/reference/grafeas-v1/0.15.0/Grafeas-V1-License)\n- [0.14.2](/ruby/docs/reference/grafeas-v1/0.14.2/Grafeas-V1-License)\n- [0.13.0](/ruby/docs/reference/grafeas-v1/0.13.0/Grafeas-V1-License)\n- [0.12.1](/ruby/docs/reference/grafeas-v1/0.12.1/Grafeas-V1-License)\n- [0.11.0](/ruby/docs/reference/grafeas-v1/0.11.0/Grafeas-V1-License)\n- [0.10.0](/ruby/docs/reference/grafeas-v1/0.10.0/Grafeas-V1-License)\n- [0.9.0](/ruby/docs/reference/grafeas-v1/0.9.0/Grafeas-V1-License)\n- [0.8.0](/ruby/docs/reference/grafeas-v1/0.8.0/Grafeas-V1-License)\n- [0.7.0](/ruby/docs/reference/grafeas-v1/0.7.0/Grafeas-V1-License)\n- [0.6.1](/ruby/docs/reference/grafeas-v1/0.6.1/Grafeas-V1-License)\n- [0.5.0](/ruby/docs/reference/grafeas-v1/0.5.0/Grafeas-V1-License)\n- [0.4.0](/ruby/docs/reference/grafeas-v1/0.4.0/Grafeas-V1-License)\n- [0.3.1](/ruby/docs/reference/grafeas-v1/0.3.1/Grafeas-V1-License) \nReference documentation and code samples for the Grafeas V1 API class Grafeas::V1::License.\n\nLicense information. \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### #comments\n\n def comments() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Comments\n\n### #comments=\n\n def comments=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Comments \n**Returns**\n\n- (::String) --- Comments\n\n### #expression\n\n def expression() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".\n\n### #expression=\n\n def expression=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\". \n**Returns**\n\n- (::String) --- Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\"."]]