Google Cloud Api Hub V1 Client - Class ListSpecsResponse (0.1.0)

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

The ListSpecs method's response.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ specs array<Google\Cloud\ApiHub\V1\Spec>

The specs 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.

getSpecs

The specs corresponding to an API.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSpecs

The specs corresponding to an API.

Parameter
Name Description
var array<Google\Cloud\ApiHub\V1\Spec>
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