Grafeas V1 API - Class Grafeas::V1::License (v0.9.0)

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

def comments() -> ::String
Returns
  • (::String) — Comments

#comments=

def comments=(value) -> ::String
Parameter
  • value (::String) — Comments
Returns
  • (::String) — Comments

#expression

def expression() -> ::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=

def expression=(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".