Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource

The "catalogItems" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.RecommendationsAI.v1beta1
Assembly: Google.Apis.RecommendationsAI.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource

Constructors

CatalogItemsResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudRecommendationengineV1beta1CatalogItem, string)

Creates a catalog item.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.CreateRequest Create(GoogleCloudRecommendationengineV1beta1CatalogItem body, string parent)
Parameters
Type Name Description
GoogleCloudRecommendationengineV1beta1CatalogItem body

The body of the request.

string parent

Required. The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.CreateRequest

Delete(string)

Deletes a catalog item.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.DeleteRequest

Get(string)

Gets a specific catalog item.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.GetRequest

Import(GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest, string)

Bulk import of multiple catalog items. Request processing may be synchronous. No partial updating supported. Non-existing items will be created. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully updated.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.ImportRequest Import(GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest body, string parent)
Parameters
Type Name Description
GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest body

The body of the request.

string parent

Required. projects/1234/locations/global/catalogs/default_catalog If no updateMask is specified, requires catalogItems.create permission. If updateMask is specified, requires catalogItems.update permission.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.ImportRequest

List(string)

Gets a list of catalog items.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent catalog resource name, such as projects/*/locations/global/catalogs/default_catalog.

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.ListRequest

Patch(GoogleCloudRecommendationengineV1beta1CatalogItem, string)

Updates a catalog item. Partial updating is supported. Non-existing items will be created.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.PatchRequest Patch(GoogleCloudRecommendationengineV1beta1CatalogItem body, string name)
Parameters
Type Name Description
GoogleCloudRecommendationengineV1beta1CatalogItem body

The body of the request.

string name

Required. Full resource name of catalog item, such as projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id.

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