Show / Hide Table of Contents

Class ProjectsResource.EnrollSolutionRequest

The method enrolls a solution of type Retail Search into a project. The Recommendations AI solution type is enrolled by default when your project enables Retail API, so you don't need to call the enrollSolution method for recommendations.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleLongrunningOperation>
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>
ProjectsResource.EnrollSolutionRequest
Implements
IClientServiceRequest<GoogleLongrunningOperation>
IClientServiceRequest
Inherited Members
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Xgafv
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.AccessToken
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Alt
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Callback
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Fields
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.Key
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.OauthToken
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.PrettyPrint
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.QuotaUser
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.UploadType
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.UploadProtocol
ClientServiceRequest<GoogleLongrunningOperation>.Execute()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStream()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleLongrunningOperation>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleLongrunningOperation>.CreateRequest(bool?)
ClientServiceRequest<GoogleLongrunningOperation>.GenerateRequestUri()
ClientServiceRequest<GoogleLongrunningOperation>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleLongrunningOperation>.ETagAction
ClientServiceRequest<GoogleLongrunningOperation>.ModifyRequest
ClientServiceRequest<GoogleLongrunningOperation>.ValidateParameters
ClientServiceRequest<GoogleLongrunningOperation>.ApiVersion
ClientServiceRequest<GoogleLongrunningOperation>.RequestParameters
ClientServiceRequest<GoogleLongrunningOperation>.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.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class ProjectsResource.EnrollSolutionRequest : CloudRetailBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest

Constructors

EnrollSolutionRequest(IClientService, GoogleCloudRetailV2alphaEnrollSolutionRequest, string)

Constructs a new EnrollSolution request.

Declaration
public EnrollSolutionRequest(IClientService service, GoogleCloudRetailV2alphaEnrollSolutionRequest body, string project)
Parameters
Type Name Description
IClientService service
GoogleCloudRetailV2alphaEnrollSolutionRequest body
string project

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Project

Required. Full resource name of parent. Format: projects/{project_number_or_id}

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

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes EnrollSolution parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudRetailBaseServiceRequest<GoogleLongrunningOperation>.InitParameters()

Implements

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