82 lines
		
	
	
		
			6.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			6.0 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: string, Type of productId (required)<br>
 | 
						|
  categories_include: string, Category specification<br>
 | 
						|
  thumbnails: string, Thumbnail specification<br>
 | 
						|
  taxonomy: string, Merchant taxonomy<br>
 | 
						|
  recommendations_include: string, Recommendation specification<br>
 | 
						|
  debug_enableLogging: boolean, Google Internal<br>
 | 
						|
  recommendations_enabled: boolean, Whether to return recommendation information<br>
 | 
						|
  debug_enabled: boolean, Google Internal<br>
 | 
						|
  source: string, Query source (required)<br>
 | 
						|
  debug_searchRequest: boolean, Google Internal<br>
 | 
						|
  categories_enabled: boolean, Whether to return category information<br>
 | 
						|
  recommendations_useGcsConfig: boolean, This parameter is currently ignored<br>
 | 
						|
  productId: string, Id of product (required)<br>
 | 
						|
  categories_useGcsConfig: boolean, This parameter is currently ignored<br>
 | 
						|
  accountId: string, Merchant center account id (required)<br>
 | 
						|
  debug_searchResponse: boolean, 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: boolean, Whether to return facet information<br>
 | 
						|
  rankBy: string, Ranking specification<br>
 | 
						|
  debug_searchResponse: 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>
 | 
						|
  redirects_useGcsConfig: boolean, Whether to return redirect information as configured in the GCS account<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_searchRequest: boolean, Google Internal<br>
 | 
						|
  facets_useGcsConfig: boolean, Whether to return facet information as configured in the GCS account<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>
 | 
						|
  country: string, Country restriction (ISO 3166)<br>
 | 
						|
  categories_include: string, Category specification<br>
 | 
						|
  redirects_enabled: boolean, Whether to return redirect information<br>
 | 
						|
  restrictBy: string, Restriction specification<br>
 | 
						|
  q: string, Search query<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> |