Google Cloud Apigee Registry V1 Client - Class ListApiVersionsResponse (0.2.7)

Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class ListApiVersionsResponse.

Response message for ListApiVersions.

Generated from protobuf message google.cloud.apigeeregistry.v1.ListApiVersionsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ api_versions array<Google\Cloud\ApigeeRegistry\V1\ApiVersion>

The versions from the specified publisher.

↳ 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.

getApiVersions

The versions from the specified publisher.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setApiVersions

The versions from the specified publisher.

Parameter
NameDescription
var array<Google\Cloud\ApigeeRegistry\V1\ApiVersion>
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