Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource

The "placements" collection of methods.

Inheritance
System.Object
ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class PlacementsResource

Constructors

PlacementsResource(IClientService)

Constructs a new resource.

Declaration
public PlacementsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Predict(GoogleCloudRetailV2PredictRequest, String)

Makes a recommendation prediction.

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

The body of the request.

System.String placement

Required. Full resource name of the format: {name=projects//locations/global/catalogs/default_catalog/placements/} The ID of the Recommendations AI placement. Before you can request predictions from your model, you must create at least one placement for it. For more information, see Managing placements. The full list of available placements can be seen at https://console.cloud.google.com/recommendation/catalogs/default_catalog/placements

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.PlacementsResource.PredictRequest
In This Article
Back to top