Google Cloud Api Hub V1 Client - Class ListVersionsResponse (0.1.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ListVersionsResponse.

The ListVersions method's response.

Generated from protobuf message google.cloud.apihub.v1.ListVersionsResponse

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ versions array<Google\Cloud\ApiHub\V1\Version>

The versions corresponding to an API.

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

getVersions

The versions corresponding to an API.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setVersions

The versions corresponding to an API.

Parameter
Name Description
var array<Google\Cloud\ApiHub\V1\Version>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this