Grafeas V1 Client - Class SlsaInvocation (1.0.0)

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

Identifies the event that kicked off the build.

Generated from protobuf message grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation

Namespace

Grafeas \ V1 \ SlsaProvenanceZeroTwo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ config_source Grafeas\V1\SlsaProvenanceZeroTwo\SlsaConfigSource
↳ parameters Google\Protobuf\Struct
↳ environment Google\Protobuf\Struct

getConfigSource

Generated from protobuf field .grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Returns
Type Description
Grafeas\V1\SlsaProvenanceZeroTwo\SlsaConfigSource|null

hasConfigSource

clearConfigSource

setConfigSource

Generated from protobuf field .grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource config_source = 1;

Parameter
Name Description
var Grafeas\V1\SlsaProvenanceZeroTwo\SlsaConfigSource
Returns
Type Description
$this

getParameters

Generated from protobuf field .google.protobuf.Struct parameters = 2;

Returns
Type Description
Google\Protobuf\Struct|null

hasParameters

clearParameters

setParameters

Generated from protobuf field .google.protobuf.Struct parameters = 2;

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this

getEnvironment

Generated from protobuf field .google.protobuf.Struct environment = 3;

Returns
Type Description
Google\Protobuf\Struct|null

hasEnvironment

clearEnvironment

setEnvironment

Generated from protobuf field .google.protobuf.Struct environment = 3;

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this