Google Cloud Channel V1 Client - Class ListEntitlementsResponse (1.5.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ListEntitlementsResponse.

Response message for CloudChannelService.ListEntitlements.

Generated from protobuf message google.cloud.channel.v1.ListEntitlementsResponse

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entitlements array<Google\Cloud\Channel\V1\Entitlement>

The reseller customer's entitlements.

↳ next_page_token string

A token to list the next page of results. Pass to ListEntitlementsRequest.page_token to obtain that page.

getEntitlements

The reseller customer's entitlements.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEntitlements

The reseller customer's entitlements.

Parameter
NameDescription
var array<Google\Cloud\Channel\V1\Entitlement>
Returns
TypeDescription
$this

getNextPageToken

A token to list the next page of results.

Pass to ListEntitlementsRequest.page_token to obtain that page.

Returns
TypeDescription
string

setNextPageToken

A token to list the next page of results.

Pass to ListEntitlementsRequest.page_token to obtain that page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this