Google API Common Protos Client - Class ListLocationsResponse (4.8.2)

Reference documentation and code samples for the Google API Common Protos Client class ListLocationsResponse.

The response message for Locations.ListLocations.

Generated from protobuf message google.cloud.location.ListLocationsResponse

Namespace

Google \ Cloud \ Location

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ locations array<Google\Cloud\Location\Location>

A list of locations that matches the specified filter in the request.

↳ next_page_token string

The standard List next-page token.

getLocations

A list of locations that matches the specified filter in the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setLocations

A list of locations that matches the specified filter in the request.

Parameter
Name Description
var array<Google\Cloud\Location\Location>
Returns
Type Description
$this

getNextPageToken

The standard List next-page token.

Returns
Type Description
string

setNextPageToken

The standard List next-page token.

Parameter
Name Description
var string
Returns
Type Description
$this