Cloud Vision V1 Client - Class ListProductsInProductSetRequest (1.7.6)

Reference documentation and code samples for the Cloud Vision V1 Client class ListProductsInProductSetRequest.

Request message for the ListProductsInProductSet method.

Generated from protobuf message google.cloud.vision.v1.ListProductsInProductSetRequest

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The ProductSet resource for which to retrieve Products. Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

↳ page_size int

The maximum number of items to return. Default 10, maximum 100.

↳ page_token string

The next_page_token returned from a previous List request, if any.

getName

Required. The ProductSet resource for which to retrieve Products.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

Returns
TypeDescription
string

setName

Required. The ProductSet resource for which to retrieve Products.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return. Default 10, maximum 100.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return. Default 10, maximum 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The next_page_token returned from a previous List request, if any.

Returns
TypeDescription
string

setPageToken

The next_page_token returned from a previous List request, if any.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The ProductSet resource for which to retrieve Products.

Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID Please see Google\Cloud\Vision\V1\ProductSearchClient::productSetName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Vision\V1\ListProductsInProductSetRequest