Vision/src/V1/ImageContext.php
public function setProductSearchParams($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\ProductSearchParams::class);
        $this->product_search_params = $var;

        return $this;
    }
public function setProductSearchParams($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\ProductSearchParams::class);
        $this->product_search_params = $var;

        return $this;
    }
public function setProductSearchParams ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Vision \ V1 \ ProductSearchParams :: class ) ; $ this -> product_search_params = $ var ; return $ this ; }
Parameters for product search.

Generated from protobuf field <code>.google.cloud.vision.v1.ProductSearchParams product_search_params = 5;</code>
@param \Google\Cloud\Vision\V1\ProductSearchParams $var
@return $this
Parameters for product search .