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
ProjectsResource.EnrollSolutionRequest
Inherited Members
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes EnrollSolution parameter list.
Declaration
protected override void InitParameters()