Grafeas V1 Client - Class SecretOccurrence (1.2.2)

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 \ V1

Methods

__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

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

setStatuses

Status of the secret.

Parameter
Name
Description
var
array< SecretStatus >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: