Google Cloud Service Directory V1 Client - Class ListServicesResponse (1.1.2)

Reference documentation and code samples for the Google Cloud Service Directory V1 Client class ListServicesResponse.

The response message for RegistrationService.ListServices.

Generated from protobuf message google.cloud.servicedirectory.v1.ListServicesResponse

Namespace

Google \ Cloud \ ServiceDirectory \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ services array<Google\Cloud\ServiceDirectory\V1\Service>

The list of services.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

getServices

The list of services.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServices

The list of services.

Parameter
NameDescription
var array<Google\Cloud\ServiceDirectory\V1\Service>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this