Google Cloud Service Directory V1beta1 Client - Class ListNamespacesResponse (1.1.2)

Reference documentation and code samples for the Google Cloud Service Directory V1beta1 Client class ListNamespacesResponse.

The response message for RegistrationService.ListNamespaces.

Generated from protobuf message google.cloud.servicedirectory.v1beta1.ListNamespacesResponse

Namespace

Google \ Cloud \ ServiceDirectory \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ namespaces array<Google\Cloud\ServiceDirectory\V1beta1\PBNamespace>

The list of namespaces.

↳ next_page_token string

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

getNamespaces

The list of namespaces.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNamespaces

The list of namespaces.

Parameter
NameDescription
var array<Google\Cloud\ServiceDirectory\V1beta1\PBNamespace>
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