public final class GoogleCloudDiscoveryengineV1RecommendRequest
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudDiscoveryengineV1RecommendRequest() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1RecommendRequest |
clone() |
String |
getFilter()
Filter for restricting recommendation results with a length limit of 5,000 characters.
|
Integer |
getPageSize()
Maximum number of results to return.
|
Map<String,Object> |
getParams()
Additional domain specific parameters for the recommendations.
|
GoogleCloudDiscoveryengineV1UserEvent |
getUserEvent()
Required.
|
Map<String,String> |
getUserLabels()
The user labels applied to a resource must meet the following requirements: * Each resource can
have multiple labels, up to a maximum of 64.
|
Boolean |
getValidateOnly()
Use validate only mode for this recommendation query.
|
GoogleCloudDiscoveryengineV1RecommendRequest |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1RecommendRequest |
setFilter(String filter)
Filter for restricting recommendation results with a length limit of 5,000 characters.
|
GoogleCloudDiscoveryengineV1RecommendRequest |
setPageSize(Integer pageSize)
Maximum number of results to return.
|
GoogleCloudDiscoveryengineV1RecommendRequest |
setParams(Map<String,Object> params)
Additional domain specific parameters for the recommendations.
|
GoogleCloudDiscoveryengineV1RecommendRequest |
setUserEvent(GoogleCloudDiscoveryengineV1UserEvent userEvent)
Required.
|
GoogleCloudDiscoveryengineV1RecommendRequest |
setUserLabels(Map<String,String> userLabels)
The user labels applied to a resource must meet the following requirements: * Each resource can
have multiple labels, up to a maximum of 64.
|
GoogleCloudDiscoveryengineV1RecommendRequest |
setValidateOnly(Boolean validateOnly)
Use validate only mode for this recommendation query.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudDiscoveryengineV1RecommendRequest()
public String getFilter()
null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest setFilter(String filter)
filter - filter or null for nonepublic Integer getPageSize()
null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest setPageSize(Integer pageSize)
pageSize - pageSize or null for nonepublic Map<String,Object> getParams()
null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest setParams(Map<String,Object> params)
params - params or null for nonepublic GoogleCloudDiscoveryengineV1UserEvent getUserEvent()
null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest setUserEvent(GoogleCloudDiscoveryengineV1UserEvent userEvent)
userEvent - userEvent or null for nonepublic Map<String,String> getUserLabels()
null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest setUserLabels(Map<String,String> userLabels)
userLabels - userLabels or null for nonepublic Boolean getValidateOnly()
null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest setValidateOnly(Boolean validateOnly)
validateOnly - validateOnly or null for nonepublic GoogleCloudDiscoveryengineV1RecommendRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1RecommendRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.