Grafeas V1 Client - Class License (1.2.1)

Reference documentation and code samples for the Grafeas V1 Client class License.

License information.

Generated from protobuf message grafeas.v1.License

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ expression
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".

↳ comments
string

Comments

getExpression

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
Type
Description
string

setExpression

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".

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getComments

Comments

Returns
Type
Description
string

setComments

Comments

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: