91 lines
6.8 KiB
HTML
91 lines
6.8 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>
|
|
debug_searchResponse: boolean, Google Internal<br>
|
|
taxonomy: string, Merchant taxonomy<br>
|
|
recommendations_useGcsConfig: boolean, This parameter is currently ignored<br>
|
|
accountId: string, Merchant center account id (required)<br>
|
|
source: string, Query source (required)<br>
|
|
recommendations_include: string, Recommendation specification<br>
|
|
debug_enabled: boolean, Google Internal<br>
|
|
debug_searchRequest: boolean, Google Internal<br>
|
|
productId: string, Id of product (required)<br>
|
|
productIdType: string, Type of productId (required)<br>
|
|
debug_enableLogging: boolean, Google Internal<br>
|
|
recommendations_enabled: boolean, Whether to return recommendation information<br>
|
|
categories_enabled: boolean, Whether to return category information<br>
|
|
categories_useGcsConfig: boolean, This parameter is currently ignored<br>
|
|
thumbnails: string, Thumbnail specification<br>
|
|
categories_include: string, Category specification</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: boolean, Whether to return facet information<br>
|
|
debug_geocodeRequest: boolean, Google Internal<br>
|
|
stores: string, Local stores specification<br>
|
|
debug_searchResponse: boolean, Google Internal<br>
|
|
debug_rdcRequest: boolean, Google Internal<br>
|
|
taxonomy: string, Taxonomy name<br>
|
|
promotions_enabled: boolean, Whether to return promotion information<br>
|
|
debug_rdcResponse: boolean, Google Internal<br>
|
|
facets_discover: string, Facets to discover<br>
|
|
startIndex: integer, Index (1-based) of first product to return<br>
|
|
crowdBy: string, Crowding specification<br>
|
|
spelling_enabled: boolean, Whether to return spelling suggestions<br>
|
|
debug_enabled: boolean, Google Internal<br>
|
|
spelling_useGcsConfig: boolean, This parameter is currently ignored<br>
|
|
source: string, Query source (required)<br>
|
|
useCase: string, One of CommerceSearchUseCase, ProductSearchUseCase<br>
|
|
debug_geocodeResponse: boolean, Google Internal<br>
|
|
categories_include: string, Category specification<br>
|
|
debug_searchRequest: boolean, Google Internal<br>
|
|
relatedQueries_enabled: boolean, Whether to return related queries<br>
|
|
facets_useGcsConfig: boolean, Whether to return facet information as configured in the GCS account<br>
|
|
safe: boolean, Whether safe search is enabled. Default: true<br>
|
|
boostBy: string, Boosting specification<br>
|
|
debug_enableLogging: boolean, Google Internal<br>
|
|
maxResults: integer, Maximum number of results to return<br>
|
|
categories_enabled: boolean, Whether to return category information<br>
|
|
categories_useGcsConfig: boolean, This parameter is currently ignored<br>
|
|
facets_include: string, Facets to include (applies when useGcsConfig == false)<br>
|
|
thumbnails: string, Image thumbnails specification<br>
|
|
language: string, Language restriction (BCP 47)<br>
|
|
currency: string, Currency restriction (ISO 4217)<br>
|
|
sayt_enabled: boolean, Google Internal<br>
|
|
rankBy: string, Ranking specification<br>
|
|
redirects_enabled: boolean, Whether to return redirect information<br>
|
|
restrictBy: string, Restriction specification<br>
|
|
q: string, Search query<br>
|
|
redirects_useGcsConfig: boolean, Whether to return redirect information as configured in the GCS account<br>
|
|
sayt_useGcsConfig: boolean, Google Internal<br>
|
|
country: string, Country restriction (ISO 3166)<br>
|
|
relatedQueries_useGcsConfig: boolean, This parameter is currently ignored<br>
|
|
promotions_useGcsConfig: boolean, 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> |