Grafeas V1 Client - Class ListOccurrencesResponse (1.0.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setOccurrences

The occurrences requested.

Parameter
Name Description
var array<Grafeas\V1\Occurrence>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this