Google Cloud Functions V2 Client - Class ListFunctionsResponse (1.1.2)

Reference documentation and code samples for the Google Cloud Functions V2 Client class ListFunctionsResponse.

Response for the ListFunctions method.

Generated from protobuf message google.cloud.functions.v2.ListFunctionsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ functions array<Google\Cloud\Functions\V2\PBFunction>

The functions that match the request.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable array

Locations that could not be reached. The response does not include any functions from these locations.

getFunctions

The functions that match the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setFunctions

The functions that match the request.

Parameter
NameDescription
var array<Google\Cloud\Functions\V2\PBFunction>
Returns
TypeDescription
$this

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached. The response does not include any functions from these locations.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached. The response does not include any functions from these locations.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this