Reference documentation and code samples for the Grafeas V1 Client class InTotoSlsaProvenanceV1.
Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1
Namespace
Grafeas \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
string
InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement |
↳ subject |
array<Grafeas\V1\Subject>
|
↳ predicate_type |
string
|
↳ predicate |
Grafeas\V1\InTotoSlsaProvenanceV1\SlsaProvenanceV1
|
getType
InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
Returns | |
---|---|
Type | Description |
string |
setType
InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSubject
Generated from protobuf field repeated .grafeas.v1.Subject subject = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSubject
Generated from protobuf field repeated .grafeas.v1.Subject subject = 2;
Parameter | |
---|---|
Name | Description |
var |
array<Grafeas\V1\Subject>
|
Returns | |
---|---|
Type | Description |
$this |
getPredicateType
Generated from protobuf field string predicate_type = 3;
Returns | |
---|---|
Type | Description |
string |
setPredicateType
Generated from protobuf field string predicate_type = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPredicate
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
Returns | |
---|---|
Type | Description |
Grafeas\V1\InTotoSlsaProvenanceV1\SlsaProvenanceV1|null |
hasPredicate
clearPredicate
setPredicate
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1 predicate = 4;
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\InTotoSlsaProvenanceV1\SlsaProvenanceV1
|
Returns | |
---|---|
Type | Description |
$this |