Google Shopping Merchant Conversions V1beta Client - Class ListConversionSourcesRequest (0.1.3)

Reference documentation and code samples for the Google Shopping Merchant Conversions V1beta Client class ListConversionSourcesRequest.

Request message for the ListConversionSources method.

Generated from protobuf message google.shopping.merchant.conversions.v1beta.ListConversionSourcesRequest

Namespace

Google \ Shopping \ Merchant \ Conversions \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account}

↳ page_size int

Optional. The maximum number of conversion sources to return in a page. If no page_size is specified, 100 is used as the default value. The maximum value is 200. Values above 200 will be coerced to 200. Regardless of pagination, at most 200 conversion sources are returned in total.

↳ page_token string

Optional. Page token.

↳ show_deleted bool

Optional. Show deleted (archived) option.

getParent

Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of conversion sources to return in a page.

If no page_size is specified, 100 is used as the default value. The maximum value is 200. Values above 200 will be coerced to 200. Regardless of pagination, at most 200 conversion sources are returned in total.

Returns
Type Description
int

setPageSize

Optional. The maximum number of conversion sources to return in a page.

If no page_size is specified, 100 is used as the default value. The maximum value is 200. Values above 200 will be coerced to 200. Regardless of pagination, at most 200 conversion sources are returned in total.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. Page token.

Returns
Type Description
string

setPageToken

Optional. Page token.

Parameter
Name Description
var string
Returns
Type Description
$this

getShowDeleted

Optional. Show deleted (archived) option.

Returns
Type Description
bool

setShowDeleted

Optional. Show deleted (archived) option.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account} Please see ConversionSourcesServiceClient::accountName() for help formatting this field.

Returns
Type Description
ListConversionSourcesRequest