Grafeas V1 Client - Class SlsaInvocation (0.8.3)

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
NameDescription
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
TypeDescription
Grafeas\V1\SlsaProvenanceZeroTwo\SlsaConfigSource|null

hasConfigSource

clearConfigSource

setConfigSource

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

Parameter
NameDescription
var Grafeas\V1\SlsaProvenanceZeroTwo\SlsaConfigSource
Returns
TypeDescription
$this

getParameters

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

Returns
TypeDescription
Google\Protobuf\Struct|null

hasParameters

clearParameters

setParameters

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

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this

getEnvironment

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

Returns
TypeDescription
Google\Protobuf\Struct|null

hasEnvironment

clearEnvironment

setEnvironment

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

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this