Google Cloud Channel V1 Client - Class ListOffersResponse (1.0.1)

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

Response message for ListOffers.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ offers array<Google\Cloud\Channel\V1\Offer>

The list of Offers requested.

↳ next_page_token string

A token to retrieve the next page of results.

getOffers

The list of Offers requested.

Generated from protobuf field repeated .google.cloud.channel.v1.Offer offers = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setOffers

The list of Offers requested.

Generated from protobuf field repeated .google.cloud.channel.v1.Offer offers = 1;

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

getNextPageToken

A token to retrieve the next page of results.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

A token to retrieve the next page of results.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this