Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 177 additions & 0 deletions testdata/goldens/php/V1.AddProductToProductSetRequest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
<!DOCTYPE html>
<html devsite="">
<head>
<meta name="project_path" value="/php/docs/reference/_project.yaml">
<meta name="book_path" value="/php/docs/reference/vision/latest/_book.yaml">
</head>
<body>
{% verbatim %}
<div>
<article data-uid="\Google\Cloud\Vision\V1\AddProductToProductSetRequest">
<h1 class="page-title">Class AddProductToProductSetRequest (v2.2.2)</h1>


<div class="markdown level0 summary"><p>Request message for the <code>AddProductToProductSet</code> method.</p>
<p>Generated from protobuf message <code>google.cloud.vision.v1.AddProductToProductSetRequest</code></p>
</div>
<h2 id="methods">Methods
</h2>
<h3 id="_Google_Cloud_Vision_V1_AddProductToProductSetRequest____construct__" data-uid="\Google\Cloud\Vision\V1\AddProductToProductSetRequest::__construct()" class="notranslate">__construct</h3>
<div class="markdown level1 summary"><p>Constructor.</p>
</div>
<strong>Parameters</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Name</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>data</td>
<td>
<code>array</code>
<br>
<p>Optional. Data for populating the Message object.</p>


</td>
</tr>
<tr>
<td>↳ name</td>
<td>
<code>string</code>
<br>
<p>Required. The resource name for the ProductSet to modify. Format is: <code>projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID</code></p>


</td>
</tr>
<tr>
<td>↳ product</td>
<td>
<code>string</code>
<br>
<p>Required. The resource name for the Product to be added to this ProductSet. Format is: <code>projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID</code></p>


</td>
</tr>
</tbody>
</table>
<h3 id="_Google_Cloud_Vision_V1_AddProductToProductSetRequest__getName__" data-uid="\Google\Cloud\Vision\V1\AddProductToProductSetRequest::getName()" class="notranslate">getName</h3>
<div class="markdown level1 summary"><p>Required. The resource name for the ProductSet to modify.</p>
<p>Format is:
<code>projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID</code></p>
<p>Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code></p>
</div>
<strong>Returns</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Type</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td><span class="xref">string</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="_Google_Cloud_Vision_V1_AddProductToProductSetRequest__setName__" data-uid="\Google\Cloud\Vision\V1\AddProductToProductSetRequest::setName()" class="notranslate">setName</h3>
<div class="markdown level1 summary"><p>Required. The resource name for the ProductSet to modify.</p>
<p>Format is:
<code>projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID</code></p>
<p>Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code></p>
</div>
<strong>Parameter</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Name</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>var</td>
<td>
<code>string</code>
<br>


</td>
</tr>
</tbody>
</table>
<strong>Returns</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Type</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td><span class="xref">$this</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="_Google_Cloud_Vision_V1_AddProductToProductSetRequest__getProduct__" data-uid="\Google\Cloud\Vision\V1\AddProductToProductSetRequest::getProduct()" class="notranslate">getProduct</h3>
<div class="markdown level1 summary"><p>Required. The resource name for the Product to be added to this ProductSet.</p>
<p>Format is:
<code>projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID</code></p>
<p>Generated from protobuf field <code>string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code></p>
</div>
<strong>Returns</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Type</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td><span class="xref">string</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="_Google_Cloud_Vision_V1_AddProductToProductSetRequest__setProduct__" data-uid="\Google\Cloud\Vision\V1\AddProductToProductSetRequest::setProduct()" class="notranslate">setProduct</h3>
<div class="markdown level1 summary"><p>Required. The resource name for the Product to be added to this ProductSet.</p>
<p>Format is:
<code>projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID</code></p>
<p>Generated from protobuf field <code>string product = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code></p>
</div>
<strong>Parameter</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Name</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>var</td>
<td>
<code>string</code>
<br>


</td>
</tr>
</tbody>
</table>
<strong>Returns</strong>
<table class="responsive">
<tbody>
<tr>
<td><strong>Type</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td><span class="xref">$this</span></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
{% endverbatim %}
</body>
</html>
Loading