83 lines
5.5 KiB
HTML
83 lines
5.5 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: class Resource</title>
|
|
</head><body bgcolor="#f0f0f8">
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>
|
|
|
|
<dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns a single product<br>
|
|
<br>
|
|
Args:<br>
|
|
productIdType: Type of productId (required)<br>
|
|
categories_include: Category specification<br>
|
|
thumbnails: Thumbnail specification<br>
|
|
debug_useGcsConfig: Google Internal<br>
|
|
taxonomy: Merchant taxonomy<br>
|
|
recommendations_include: Recommendation specification<br>
|
|
debug_enableLogging: Google Internal<br>
|
|
recommendations_enabled: Whether to return recommendation information<br>
|
|
debug_enabled: Google Internal<br>
|
|
source: Query source (required)<br>
|
|
debug_searchRequest: Google Internal<br>
|
|
categories_enabled: Whether to return category information<br>
|
|
recommendations_useGcsConfig: This parameter is currently ignored<br>
|
|
productId: Id of product (required)<br>
|
|
categories_useGcsConfig: This parameter is currently ignored<br>
|
|
accountId: Merchant center account id (required)<br>
|
|
debug_searchResponse: Google Internal</tt></dd></dl>
|
|
|
|
<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Returns a list of products and content modules<br>
|
|
<br>
|
|
Args:<br>
|
|
facets_enabled: Whether to return facet information<br>
|
|
rankBy: Ranking specification<br>
|
|
debug_searchResponse: Google Internal<br>
|
|
taxonomy: Taxonomy name<br>
|
|
promotions_enabled: Whether to return promotion information<br>
|
|
facets_discover: Facets to discover<br>
|
|
startIndex: Index (1-based) of first product to return<br>
|
|
redirects_useGcsConfig: Whether to return redirect information as configured in the GCS account<br>
|
|
crowdBy: Crowding specification<br>
|
|
spelling_enabled: Whether to return spelling suggestions<br>
|
|
debug_enabled: Google Internal<br>
|
|
spelling_useGcsConfig: This parameter is currently ignored<br>
|
|
source: Query source (required)<br>
|
|
useCase: One of CommerceSearchUseCase, ProductSearchUseCase<br>
|
|
debug_searchRequest: Google Internal<br>
|
|
facets_useGcsConfig: Whether to return facet information as configured in the GCS account<br>
|
|
boostBy: Boosting specification<br>
|
|
debug_useGcsConfig: Google Internal<br>
|
|
debug_enableLogging: Google Internal<br>
|
|
maxResults: Maximum number of results to return<br>
|
|
categories_enabled: Whether to return category information<br>
|
|
categories_useGcsConfig: This parameter is currently ignored<br>
|
|
facets_include: Facets to include (applies when useGcsConfig == false)<br>
|
|
thumbnails: Image thumbnails specification<br>
|
|
language: Language restriction (BCP 47)<br>
|
|
currency: Currency restriction (ISO 4217)<br>
|
|
country: Country restriction (ISO 3166)<br>
|
|
categories_include: Category specification<br>
|
|
redirects_enabled: Whether to return redirect information<br>
|
|
restrictBy: Restriction specification<br>
|
|
q: Search query<br>
|
|
promotions_useGcsConfig: Whether to return promotion information as configured in the GCS account</tt></dd></dl>
|
|
|
|
<hr>
|
|
Data descriptors defined here:<br>
|
|
<dl><dt><strong>__dict__</strong></dt>
|
|
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
</dl>
|
|
<dl><dt><strong>__weakref__</strong></dt>
|
|
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</body></html> |