Google Shopping Merchant DataSources V1beta Client - Class ListDataSourcesResponse (0.2.0)

Reference documentation and code samples for the Google Shopping Merchant DataSources V1beta Client class ListDataSourcesResponse.

Response message for the ListDataSources method.

Generated from protobuf message google.shopping.merchant.datasources.v1beta.ListDataSourcesResponse

Namespace

Google \ Shopping \ Merchant \ DataSources \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_sources array<Google\Shopping\Merchant\DataSources\V1beta\DataSource>

The data sources from the specified account.

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

getDataSources

The data sources from the specified account.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDataSources

The data sources from the specified account.

Parameter
Name Description
var array<Google\Shopping\Merchant\DataSources\V1beta\DataSource>
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