Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.CompletionConfigResource.RemoveSuggestionRequest

Removes the search history suggestion in an engine for a user. This will remove the suggestion from being returned in the AdvancedCompleteQueryResponse.recent_search_suggestions for this user. If the user searches the same suggestion again, the new history will override and suggest this suggestion again.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.CompletionConfigResource.RemoveSuggestionRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.CompletionConfigResource.RemoveSuggestionRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>, IClientServiceRequest

Constructors

RemoveSuggestionRequest(IClientService, GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest, string)

Constructs a new RemoveSuggestion request.

Declaration
public RemoveSuggestionRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest body, string completionConfig)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1alphaRemoveSuggestionRequest body
string completionConfig

Properties

CompletionConfig

Required. The completion_config of the parent engine resource name for which the search history suggestion is to be removed, such as projects/*/locations/global/collections/default_collection/engines/*/completionConfig.

Declaration
[RequestParameter("completionConfig", RequestParameterType.Path)]
public virtual string CompletionConfig { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.GetBody()

InitParameters()

Initializes RemoveSuggestion parameter list.

Declaration
protected override void InitParameters()
Overrides
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX