class ListLocationsResponse extends Message

The response message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations].

Generated from protobuf message google.cloud.location.ListLocationsResponse

Properties

protected $next_page_token The standard List next-page token.

Methods

__construct(array $data = NULL)

Constructor.

RepeatedField
getLocations()

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

$this
setLocations(Location[]|RepeatedField $var)

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

string
getNextPageToken()

The standard List next-page token.

$this
setNextPageToken(string $var)

The standard List next-page token.

Details

at line 43
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type \Google\Cloud\Location\Location[]|\Google\Protobuf\Internal\RepeatedField $locations
      A list of locations that matches the specified filter in the request.
@type string $next_page_token
      The standard List next-page token.

}

at line 54
RepeatedField getLocations()

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

Generated from protobuf field repeated .google.cloud.location.Location locations = 1;

Return Value

RepeatedField

at line 66
$this setLocations(Location[]|RepeatedField $var)

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

Generated from protobuf field repeated .google.cloud.location.Location locations = 1;

Parameters

Location[]|RepeatedField $var

Return Value

$this

at line 80
string getNextPageToken()

The standard List next-page token.

Generated from protobuf field string next_page_token = 2;

Return Value

string

at line 92
$this setNextPageToken(string $var)

The standard List next-page token.

Generated from protobuf field string next_page_token = 2;

Parameters

string $var

Return Value

$this