public class ShoppingContent.Recommendations.Generate extends ShoppingContentRequest<GenerateRecommendationsResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Generate(Long merchantId)
Generates recommendations for a merchant.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Generate(Long merchantId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
ShoppingContent.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
merchantId
- Required. The ID of the account to fetch recommendations for.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GenerateRecommendationsResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GenerateRecommendationsResponse>
IOException
public ShoppingContent.Recommendations.Generate set$Xgafv(String $Xgafv)
ShoppingContentRequest
set$Xgafv
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setAccessToken(String accessToken)
ShoppingContentRequest
setAccessToken
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setAlt(String alt)
ShoppingContentRequest
setAlt
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setCallback(String callback)
ShoppingContentRequest
setCallback
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setFields(String fields)
ShoppingContentRequest
setFields
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setKey(String key)
ShoppingContentRequest
setKey
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setOauthToken(String oauthToken)
ShoppingContentRequest
setOauthToken
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setPrettyPrint(Boolean prettyPrint)
ShoppingContentRequest
setPrettyPrint
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setQuotaUser(String quotaUser)
ShoppingContentRequest
setQuotaUser
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setUploadType(String uploadType)
ShoppingContentRequest
setUploadType
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public ShoppingContent.Recommendations.Generate setUploadProtocol(String uploadProtocol)
ShoppingContentRequest
setUploadProtocol
in class ShoppingContentRequest<GenerateRecommendationsResponse>
public Long getMerchantId()
public ShoppingContent.Recommendations.Generate setMerchantId(Long merchantId)
public List<String> getAllowedTag()
public ShoppingContent.Recommendations.Generate setAllowedTag(List<String> allowedTag)
public String getLanguageCode()
public ShoppingContent.Recommendations.Generate setLanguageCode(String languageCode)
public ShoppingContent.Recommendations.Generate set(String parameterName, Object value)
set
in class ShoppingContentRequest<GenerateRecommendationsResponse>
Copyright © 2011–2024 Google. All rights reserved.