Grafeas V1 Client - Class ListOccurrencesResponse (0.9.0)

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

Response for listing occurrences.

Generated from protobuf message grafeas.v1.ListOccurrencesResponse

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ occurrences array<Grafeas\V1\Occurrence>

The occurrences requested.

↳ next_page_token string

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

getOccurrences

The occurrences requested.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOccurrences

The occurrences requested.

Parameter
NameDescription
var array<Grafeas\V1\Occurrence>
Returns
TypeDescription
$this

getNextPageToken

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

Returns
TypeDescription
string

setNextPageToken

The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this