Reference documentation and code samples for the Grafeas V1 Client class SecretOccurrence.
The occurrence provides details of a secret.
Generated from protobuf message grafeas.v1.SecretOccurrence
Namespace
Grafeas \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kind |
int
Type of secret. |
↳ locations |
array<SecretLocation>
Locations where the secret is detected. |
↳ statuses |
array<SecretStatus>
Status of the secret. |
getKind
Type of secret.
Returns | |
---|---|
Type | Description |
int |
setKind
Type of secret.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getLocations
Locations where the secret is detected.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLocations
Locations where the secret is detected.
Parameter | |
---|---|
Name | Description |
var |
array<SecretLocation>
|
Returns | |
---|---|
Type | Description |
$this |
getStatuses
Status of the secret.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setStatuses
Status of the secret.
Parameter | |
---|---|
Name | Description |
var |
array<SecretStatus>
|
Returns | |
---|---|
Type | Description |
$this |