Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource

The "placements" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource
Inherited Members
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.LocationsResource.CatalogsResource.PlacementsResource

Constructors

PlacementsResource(IClientService)

Constructs a new resource.

Declaration
public PlacementsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

ConversationalSearch(GoogleCloudRetailV2alphaConversationalSearchRequest, string)

Performs a conversational search. This feature is only available for users who have Conversational Search enabled.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.ConversationalSearchRequest ConversationalSearch(GoogleCloudRetailV2alphaConversationalSearchRequest body, string placement)
Parameters
Type Name Description
GoogleCloudRetailV2alphaConversationalSearchRequest body

The body of the request.

string placement

Required. The resource name of the search engine placement, such as projects/*/locations/global/catalogs/default_catalog/placements/default_search or projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config This field is used to identify the serving config name and the set of models that will be used to make the search.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.ConversationalSearchRequest

Predict(GoogleCloudRetailV2alphaPredictRequest, string)

Makes a recommendation prediction.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.PredictRequest Predict(GoogleCloudRetailV2alphaPredictRequest body, string placement)
Parameters
Type Name Description
GoogleCloudRetailV2alphaPredictRequest body

The body of the request.

string placement

Required. Full resource name of the format: {placement=projects/*/locations/global/catalogs/default_catalog/servingConfigs/*} or {placement=projects/*/locations/global/catalogs/default_catalog/placements/*}. We recommend using the servingConfigs resource. placements is a legacy resource. The ID of the Recommendations AI serving config or placement. Before you can request predictions from your model, you must create at least one serving config or placement for it. For more information, see [Manage serving configs] (https://cloud.google.com/retail/docs/manage-configs). The full list of available serving configs can be seen at https://console.cloud.google.com/ai/retail/catalogs/default_catalog/configs

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.PredictRequest

Search(GoogleCloudRetailV2alphaSearchRequest, string)

Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.SearchRequest Search(GoogleCloudRetailV2alphaSearchRequest body, string placement)
Parameters
Type Name Description
GoogleCloudRetailV2alphaSearchRequest body

The body of the request.

string placement

Required. The resource name of the Retail Search serving config, such as projects/*/locations/global/catalogs/default_catalog/servingConfigs/default_serving_config or the name of the legacy placement resource, such as projects/*/locations/global/catalogs/default_catalog/placements/default_search. This field is used to identify the serving config name and the set of models that are used to make the search.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.SearchRequest
In this article
Back to top Generated by DocFX