Class ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource
The "catalogItems" collection of methods.
Inherited Members
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
|
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
|
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
|
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. |
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
|
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
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CatalogsResource.CatalogItemsResource.PatchRequest |