v1beta1

package
v0.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Default item stock status. Should never be used.
	GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateStockStateUnspecified = GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("STOCK_STATE_UNSPECIFIED")
	// Item in stock.
	GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateInStock = GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("IN_STOCK")
	// Item out of stock.
	GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutOfStock = GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("OUT_OF_STOCK")
	// Item that is in pre-order state.
	GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePreorder = GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("PREORDER")
	// Item that is back-ordered (i.e. temporarily out of stock).
	GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateBackorder = GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState("BACKORDER")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogItem added in v0.3.0

type CatalogItem struct {
	pulumi.CustomResourceState

	CatalogId pulumi.StringOutput `pulumi:"catalogId"`
	// Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
	CategoryHierarchies GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput `pulumi:"categoryHierarchies"`
	// Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
	Description pulumi.StringOutput `pulumi:"description"`
	// Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
	ItemAttributes GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput `pulumi:"itemAttributes"`
	// Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).
	ItemGroupId pulumi.StringOutput `pulumi:"itemGroupId"`
	// Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
	//
	// Deprecated: Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
	LanguageCode pulumi.StringOutput `pulumi:"languageCode"`
	Location     pulumi.StringOutput `pulumi:"location"`
	// Optional. Metadata specific to retail products.
	ProductMetadata GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput `pulumi:"productMetadata"`
	Project         pulumi.StringOutput                                                    `pulumi:"project"`
	// Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
	Title pulumi.StringOutput `pulumi:"title"`
}

Creates a catalog item. Auto-naming is currently not supported for this resource.

func GetCatalogItem added in v0.3.0

func GetCatalogItem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogItemState, opts ...pulumi.ResourceOption) (*CatalogItem, error)

GetCatalogItem gets an existing CatalogItem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCatalogItem added in v0.3.0

func NewCatalogItem(ctx *pulumi.Context,
	name string, args *CatalogItemArgs, opts ...pulumi.ResourceOption) (*CatalogItem, error)

NewCatalogItem registers a new resource with the given unique name, arguments, and options.

func (*CatalogItem) ElementType added in v0.3.0

func (*CatalogItem) ElementType() reflect.Type

func (*CatalogItem) ToCatalogItemOutput added in v0.3.0

func (i *CatalogItem) ToCatalogItemOutput() CatalogItemOutput

func (*CatalogItem) ToCatalogItemOutputWithContext added in v0.3.0

func (i *CatalogItem) ToCatalogItemOutputWithContext(ctx context.Context) CatalogItemOutput

type CatalogItemArgs added in v0.3.0

type CatalogItemArgs struct {
	CatalogId pulumi.StringInput
	// Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
	CategoryHierarchies GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput
	// Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
	Description pulumi.StringPtrInput
	// Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
	Id pulumi.StringInput
	// Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
	ItemAttributes GoogleCloudRecommendationengineV1beta1FeatureMapPtrInput
	// Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).
	ItemGroupId pulumi.StringPtrInput
	// Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
	//
	// Deprecated: Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
	LanguageCode pulumi.StringPtrInput
	Location     pulumi.StringPtrInput
	// Optional. Metadata specific to retail products.
	ProductMetadata GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrInput
	Project         pulumi.StringPtrInput
	// Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
	Tags pulumi.StringArrayInput
	// Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
	Title pulumi.StringInput
}

The set of arguments for constructing a CatalogItem resource.

func (CatalogItemArgs) ElementType added in v0.3.0

func (CatalogItemArgs) ElementType() reflect.Type

type CatalogItemInput added in v0.3.0

type CatalogItemInput interface {
	pulumi.Input

	ToCatalogItemOutput() CatalogItemOutput
	ToCatalogItemOutputWithContext(ctx context.Context) CatalogItemOutput
}

type CatalogItemOutput added in v0.3.0

type CatalogItemOutput struct{ *pulumi.OutputState }

func (CatalogItemOutput) CatalogId added in v0.21.0

func (o CatalogItemOutput) CatalogId() pulumi.StringOutput

func (CatalogItemOutput) CategoryHierarchies added in v0.19.0

Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]

func (CatalogItemOutput) Description added in v0.19.0

func (o CatalogItemOutput) Description() pulumi.StringOutput

Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.

func (CatalogItemOutput) ElementType added in v0.3.0

func (CatalogItemOutput) ElementType() reflect.Type

func (CatalogItemOutput) ItemAttributes added in v0.19.0

Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.

func (CatalogItemOutput) ItemGroupId added in v0.19.0

func (o CatalogItemOutput) ItemGroupId() pulumi.StringOutput

Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).

func (CatalogItemOutput) LanguageCode deprecated added in v0.19.0

func (o CatalogItemOutput) LanguageCode() pulumi.StringOutput

Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.

Deprecated: Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.

func (CatalogItemOutput) Location added in v0.21.0

func (o CatalogItemOutput) Location() pulumi.StringOutput

func (CatalogItemOutput) ProductMetadata added in v0.19.0

Optional. Metadata specific to retail products.

func (CatalogItemOutput) Project added in v0.21.0

func (CatalogItemOutput) Tags added in v0.19.0

Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.

func (CatalogItemOutput) Title added in v0.19.0

Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.

func (CatalogItemOutput) ToCatalogItemOutput added in v0.3.0

func (o CatalogItemOutput) ToCatalogItemOutput() CatalogItemOutput

func (CatalogItemOutput) ToCatalogItemOutputWithContext added in v0.3.0

func (o CatalogItemOutput) ToCatalogItemOutputWithContext(ctx context.Context) CatalogItemOutput

type CatalogItemState added in v0.3.0

type CatalogItemState struct {
}

func (CatalogItemState) ElementType added in v0.3.0

func (CatalogItemState) ElementType() reflect.Type

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy struct {
	// Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific).
	Categories []string `pulumi:"categories"`
}

Category represents catalog item category hierarchy.

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs struct {
	// Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific).
	Categories pulumi.StringArrayInput `pulumi:"categories"`
}

Category represents catalog item category hierarchy.

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs) ElementType

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray []GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyInput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray) ElementType

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput() GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput
	ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput
}

GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput is an input type that accepts GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray and GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayInput` via:

GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArray{ GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs{...} }

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArrayOutputWithContext

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyInput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput() GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput
	ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput
}

GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyInput is an input type that accepts GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs and GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyInput` via:

GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs{...}

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput struct{ *pulumi.OutputState }

Category represents catalog item category hierarchy.

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) Categories

Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific).

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyOutputWithContext

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse struct {
	// Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific).
	Categories []string `pulumi:"categories"`
}

Category represents catalog item category hierarchy.

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArrayOutputWithContext

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput

type GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput struct{ *pulumi.OutputState }

Category represents catalog item category hierarchy.

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput) Categories

Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least to most specific).

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput

func (GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutput) ToGoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseOutputWithContext

type GoogleCloudRecommendationengineV1beta1FeatureMap

type GoogleCloudRecommendationengineV1beta1FeatureMap struct {
	// Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`
	CategoricalFeatures map[string]string `pulumi:"categoricalFeatures"`
	// Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`
	NumericalFeatures map[string]string `pulumi:"numericalFeatures"`
}

FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.

type GoogleCloudRecommendationengineV1beta1FeatureMapArgs

type GoogleCloudRecommendationengineV1beta1FeatureMapArgs struct {
	// Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`
	CategoricalFeatures pulumi.StringMapInput `pulumi:"categoricalFeatures"`
	// Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`
	NumericalFeatures pulumi.StringMapInput `pulumi:"numericalFeatures"`
}

FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.

func (GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ElementType

func (GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutput

func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutput() GoogleCloudRecommendationengineV1beta1FeatureMapOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput() GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1FeatureMapArgs) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

type GoogleCloudRecommendationengineV1beta1FeatureMapInput

type GoogleCloudRecommendationengineV1beta1FeatureMapInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1FeatureMapOutput() GoogleCloudRecommendationengineV1beta1FeatureMapOutput
	ToGoogleCloudRecommendationengineV1beta1FeatureMapOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapOutput
}

GoogleCloudRecommendationengineV1beta1FeatureMapInput is an input type that accepts GoogleCloudRecommendationengineV1beta1FeatureMap and GoogleCloudRecommendationengineV1beta1FeatureMapOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1FeatureMapInput` via:

GoogleCloudRecommendationengineV1beta1FeatureMap{ "key": GoogleCloudRecommendationengineV1beta1FeatureArgs{...} }

type GoogleCloudRecommendationengineV1beta1FeatureMapOutput

type GoogleCloudRecommendationengineV1beta1FeatureMapOutput struct{ *pulumi.OutputState }

FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) CategoricalFeatures

Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) NumericalFeatures

Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

func (o GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput() GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1FeatureMapOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

type GoogleCloudRecommendationengineV1beta1FeatureMapPtrInput

type GoogleCloudRecommendationengineV1beta1FeatureMapPtrInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput() GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput
	ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput
}

GoogleCloudRecommendationengineV1beta1FeatureMapPtrInput is an input type that accepts GoogleCloudRecommendationengineV1beta1FeatureMapArgs, GoogleCloudRecommendationengineV1beta1FeatureMapPtr and GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1FeatureMapPtrInput` via:

        GoogleCloudRecommendationengineV1beta1FeatureMapArgs{...}

or:

        nil

type GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

type GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) CategoricalFeatures

Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`

func (GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) Elem

func (GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) NumericalFeatures

Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`

func (GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapPtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapPtrOutput

type GoogleCloudRecommendationengineV1beta1FeatureMapResponse

type GoogleCloudRecommendationengineV1beta1FeatureMapResponse struct {
	// Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`
	CategoricalFeatures map[string]string `pulumi:"categoricalFeatures"`
	// Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`
	NumericalFeatures map[string]string `pulumi:"numericalFeatures"`
}

FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.

type GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput

type GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput struct{ *pulumi.OutputState }

FeatureMap represents extra features that customers want to include in the recommendation model for catalogs/user events as categorical/numerical features.

func (GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) CategoricalFeatures

Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`

func (GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) NumericalFeatures

Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`

func (GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput

func (GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapResponseOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput) ToGoogleCloudRecommendationengineV1beta1FeatureMapResponseOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1FeatureMapResponseOutput

type GoogleCloudRecommendationengineV1beta1Image

type GoogleCloudRecommendationengineV1beta1Image struct {
	// Optional. Height of the image in number of pixels.
	Height *int `pulumi:"height"`
	// URL of the image with a length limit of 5 KiB.
	Uri string `pulumi:"uri"`
	// Optional. Width of the image in number of pixels.
	Width *int `pulumi:"width"`
}

Catalog item thumbnail/detail image.

type GoogleCloudRecommendationengineV1beta1ImageArgs

type GoogleCloudRecommendationengineV1beta1ImageArgs struct {
	// Optional. Height of the image in number of pixels.
	Height pulumi.IntPtrInput `pulumi:"height"`
	// URL of the image with a length limit of 5 KiB.
	Uri pulumi.StringInput `pulumi:"uri"`
	// Optional. Width of the image in number of pixels.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

Catalog item thumbnail/detail image.

func (GoogleCloudRecommendationengineV1beta1ImageArgs) ElementType

func (GoogleCloudRecommendationengineV1beta1ImageArgs) ToGoogleCloudRecommendationengineV1beta1ImageOutput

func (i GoogleCloudRecommendationengineV1beta1ImageArgs) ToGoogleCloudRecommendationengineV1beta1ImageOutput() GoogleCloudRecommendationengineV1beta1ImageOutput

func (GoogleCloudRecommendationengineV1beta1ImageArgs) ToGoogleCloudRecommendationengineV1beta1ImageOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ImageArgs) ToGoogleCloudRecommendationengineV1beta1ImageOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ImageOutput

type GoogleCloudRecommendationengineV1beta1ImageArray

type GoogleCloudRecommendationengineV1beta1ImageArray []GoogleCloudRecommendationengineV1beta1ImageInput

func (GoogleCloudRecommendationengineV1beta1ImageArray) ElementType

func (GoogleCloudRecommendationengineV1beta1ImageArray) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutput

func (i GoogleCloudRecommendationengineV1beta1ImageArray) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutput() GoogleCloudRecommendationengineV1beta1ImageArrayOutput

func (GoogleCloudRecommendationengineV1beta1ImageArray) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ImageArray) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ImageArrayOutput

type GoogleCloudRecommendationengineV1beta1ImageArrayInput

type GoogleCloudRecommendationengineV1beta1ImageArrayInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ImageArrayOutput() GoogleCloudRecommendationengineV1beta1ImageArrayOutput
	ToGoogleCloudRecommendationengineV1beta1ImageArrayOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ImageArrayOutput
}

GoogleCloudRecommendationengineV1beta1ImageArrayInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ImageArray and GoogleCloudRecommendationengineV1beta1ImageArrayOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ImageArrayInput` via:

GoogleCloudRecommendationengineV1beta1ImageArray{ GoogleCloudRecommendationengineV1beta1ImageArgs{...} }

type GoogleCloudRecommendationengineV1beta1ImageArrayOutput

type GoogleCloudRecommendationengineV1beta1ImageArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ImageArrayOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ImageArrayOutput) Index

func (GoogleCloudRecommendationengineV1beta1ImageArrayOutput) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutput

func (GoogleCloudRecommendationengineV1beta1ImageArrayOutput) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ImageArrayOutput) ToGoogleCloudRecommendationengineV1beta1ImageArrayOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ImageArrayOutput

type GoogleCloudRecommendationengineV1beta1ImageInput

type GoogleCloudRecommendationengineV1beta1ImageInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ImageOutput() GoogleCloudRecommendationengineV1beta1ImageOutput
	ToGoogleCloudRecommendationengineV1beta1ImageOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ImageOutput
}

GoogleCloudRecommendationengineV1beta1ImageInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ImageArgs and GoogleCloudRecommendationengineV1beta1ImageOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ImageInput` via:

GoogleCloudRecommendationengineV1beta1ImageArgs{...}

type GoogleCloudRecommendationengineV1beta1ImageOutput

type GoogleCloudRecommendationengineV1beta1ImageOutput struct{ *pulumi.OutputState }

Catalog item thumbnail/detail image.

func (GoogleCloudRecommendationengineV1beta1ImageOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ImageOutput) Height

Optional. Height of the image in number of pixels.

func (GoogleCloudRecommendationengineV1beta1ImageOutput) ToGoogleCloudRecommendationengineV1beta1ImageOutput

func (o GoogleCloudRecommendationengineV1beta1ImageOutput) ToGoogleCloudRecommendationengineV1beta1ImageOutput() GoogleCloudRecommendationengineV1beta1ImageOutput

func (GoogleCloudRecommendationengineV1beta1ImageOutput) ToGoogleCloudRecommendationengineV1beta1ImageOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ImageOutput) ToGoogleCloudRecommendationengineV1beta1ImageOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ImageOutput

func (GoogleCloudRecommendationengineV1beta1ImageOutput) Uri

URL of the image with a length limit of 5 KiB.

func (GoogleCloudRecommendationengineV1beta1ImageOutput) Width

Optional. Width of the image in number of pixels.

type GoogleCloudRecommendationengineV1beta1ImageResponse

type GoogleCloudRecommendationengineV1beta1ImageResponse struct {
	// Optional. Height of the image in number of pixels.
	Height int `pulumi:"height"`
	// URL of the image with a length limit of 5 KiB.
	Uri string `pulumi:"uri"`
	// Optional. Width of the image in number of pixels.
	Width int `pulumi:"width"`
}

Catalog item thumbnail/detail image.

type GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput

type GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) Index

func (GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) ToGoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput

func (GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) ToGoogleCloudRecommendationengineV1beta1ImageResponseArrayOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput) ToGoogleCloudRecommendationengineV1beta1ImageResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ImageResponseArrayOutput

type GoogleCloudRecommendationengineV1beta1ImageResponseOutput

type GoogleCloudRecommendationengineV1beta1ImageResponseOutput struct{ *pulumi.OutputState }

Catalog item thumbnail/detail image.

func (GoogleCloudRecommendationengineV1beta1ImageResponseOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ImageResponseOutput) Height

Optional. Height of the image in number of pixels.

func (GoogleCloudRecommendationengineV1beta1ImageResponseOutput) ToGoogleCloudRecommendationengineV1beta1ImageResponseOutput

func (GoogleCloudRecommendationengineV1beta1ImageResponseOutput) ToGoogleCloudRecommendationengineV1beta1ImageResponseOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ImageResponseOutput) ToGoogleCloudRecommendationengineV1beta1ImageResponseOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ImageResponseOutput

func (GoogleCloudRecommendationengineV1beta1ImageResponseOutput) Uri

URL of the image with a length limit of 5 KiB.

func (GoogleCloudRecommendationengineV1beta1ImageResponseOutput) Width

Optional. Width of the image in number of pixels.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItem

type GoogleCloudRecommendationengineV1beta1ProductCatalogItem struct {
	// Optional. The available quantity of the item.
	AvailableQuantity *string `pulumi:"availableQuantity"`
	// Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
	CanonicalProductUri *string `pulumi:"canonicalProductUri"`
	// Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
	Costs map[string]string `pulumi:"costs"`
	// Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
	CurrencyCode *string `pulumi:"currencyCode"`
	// Optional. The exact product price.
	ExactPrice *GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice `pulumi:"exactPrice"`
	// Optional. Product images for the catalog item.
	Images []GoogleCloudRecommendationengineV1beta1Image `pulumi:"images"`
	// Optional. The product price range.
	PriceRange *GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange `pulumi:"priceRange"`
	// Optional. Online stock state of the catalog item. Default is `IN_STOCK`.
	StockState *GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState `pulumi:"stockState"`
}

ProductCatalogItem captures item metadata specific to retail products.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs struct {
	// Optional. The available quantity of the item.
	AvailableQuantity pulumi.StringPtrInput `pulumi:"availableQuantity"`
	// Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
	CanonicalProductUri pulumi.StringPtrInput `pulumi:"canonicalProductUri"`
	// Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
	Costs pulumi.StringMapInput `pulumi:"costs"`
	// Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
	CurrencyCode pulumi.StringPtrInput `pulumi:"currencyCode"`
	// Optional. The exact product price.
	ExactPrice GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrInput `pulumi:"exactPrice"`
	// Optional. Product images for the catalog item.
	Images GoogleCloudRecommendationengineV1beta1ImageArrayInput `pulumi:"images"`
	// Optional. The product price range.
	PriceRange GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrInput `pulumi:"priceRange"`
	// Optional. Online stock state of the catalog item. Default is `IN_STOCK`.
	StockState GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrInput `pulumi:"stockState"`
}

ProductCatalogItem captures item metadata specific to retail products.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice struct {
	// Optional. Display price of the product.
	DisplayPrice *float64 `pulumi:"displayPrice"`
	// Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
	OriginalPrice *float64 `pulumi:"originalPrice"`
}

Exact product price.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs struct {
	// Optional. Display price of the product.
	DisplayPrice pulumi.Float64PtrInput `pulumi:"displayPrice"`
	// Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
	OriginalPrice pulumi.Float64PtrInput `pulumi:"originalPrice"`
}

Exact product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs and GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceInput` via:

GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs{...}

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput struct{ *pulumi.OutputState }

Exact product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) DisplayPrice

Optional. Display price of the product.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) OriginalPrice

Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutputWithContext

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs, GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtr and GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrInput` via:

        GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs{...}

or:

        nil

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) DisplayPrice

Optional. Display price of the product.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) Elem

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) OriginalPrice

Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPricePtrOutputWithContext

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse struct {
	// Optional. Display price of the product.
	DisplayPrice float64 `pulumi:"displayPrice"`
	// Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
	OriginalPrice float64 `pulumi:"originalPrice"`
}

Exact product price.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput struct{ *pulumi.OutputState }

Exact product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) DisplayPrice

Optional. Display price of the product.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) OriginalPrice

Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseOutputWithContext

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs and GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemInput` via:

GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs{...}

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput struct{ *pulumi.OutputState }

ProductCatalogItem captures item metadata specific to retail products.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) AvailableQuantity

Optional. The available quantity of the item.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) CanonicalProductUri

Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) Costs

Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) CurrencyCode

Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ExactPrice

Optional. The exact product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) Images

Optional. Product images for the catalog item.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) PriceRange

Optional. The product price range.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) StockState

Optional. Online stock state of the catalog item. Default is `IN_STOCK`.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange struct {
	// The maximum product price.
	Max float64 `pulumi:"max"`
	// The minimum product price.
	Min float64 `pulumi:"min"`
}

Product price range when there are a range of prices for different variations of the same product.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs struct {
	// The maximum product price.
	Max pulumi.Float64Input `pulumi:"max"`
	// The minimum product price.
	Min pulumi.Float64Input `pulumi:"min"`
}

Product price range when there are a range of prices for different variations of the same product.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext

func (i GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs and GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeInput` via:

GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs{...}

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput struct{ *pulumi.OutputState }

Product price range when there are a range of prices for different variations of the same product.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) Max

The maximum product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) Min

The minimum product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutputWithContext

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs, GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtr and GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrInput` via:

        GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs{...}

or:

        nil

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) Elem

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) Max

The maximum product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) Min

The minimum product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangePtrOutputWithContext

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse struct {
	// The maximum product price.
	Max float64 `pulumi:"max"`
	// The minimum product price.
	Min float64 `pulumi:"min"`
}

Product price range when there are a range of prices for different variations of the same product.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput struct{ *pulumi.OutputState }

Product price range when there are a range of prices for different variations of the same product.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) Max

The maximum product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) Min

The minimum product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseOutputWithContext

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs, GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtr and GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrInput` via:

        GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs{...}

or:

        nil

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) AvailableQuantity

Optional. The available quantity of the item.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) CanonicalProductUri

Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) Costs

Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) CurrencyCode

Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) Elem

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ExactPrice

Optional. The exact product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) Images

Optional. Product images for the catalog item.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) PriceRange

Optional. The product price range.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) StockState

Optional. Online stock state of the catalog item. Default is `IN_STOCK`.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemPtrOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse struct {
	// Optional. The available quantity of the item.
	AvailableQuantity string `pulumi:"availableQuantity"`
	// Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
	CanonicalProductUri string `pulumi:"canonicalProductUri"`
	// Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
	Costs map[string]string `pulumi:"costs"`
	// Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
	CurrencyCode string `pulumi:"currencyCode"`
	// Optional. The exact product price.
	ExactPrice GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse `pulumi:"exactPrice"`
	// Optional. Product images for the catalog item.
	Images []GoogleCloudRecommendationengineV1beta1ImageResponse `pulumi:"images"`
	// Optional. The product price range.
	PriceRange GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse `pulumi:"priceRange"`
	// Optional. Online stock state of the catalog item. Default is `IN_STOCK`.
	StockState string `pulumi:"stockState"`
}

ProductCatalogItem captures item metadata specific to retail products.

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput struct{ *pulumi.OutputState }

ProductCatalogItem captures item metadata specific to retail products.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) AvailableQuantity

Optional. The available quantity of the item.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) CanonicalProductUri

Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) Costs

Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) CurrencyCode

Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) ElementType

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) ExactPrice

Optional. The exact product price.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) Images

Optional. Product images for the catalog item.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) PriceRange

Optional. The product price range.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) StockState

Optional. Online stock state of the catalog item. Default is `IN_STOCK`.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutputWithContext

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseOutput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState added in v0.4.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState string

Optional. Online stock state of the catalog item. Default is `IN_STOCK`.

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ElementType added in v0.4.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutputWithContext added in v0.6.0

func (e GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext added in v0.6.0

func (e GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToStringOutput added in v0.4.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToStringOutputWithContext added in v0.4.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToStringPtrOutput added in v0.4.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState) ToStringPtrOutputWithContext added in v0.4.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateInput added in v0.6.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput
}

GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateInput is an input type that accepts GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateArgs and GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput values. You can construct a concrete instance of `GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateInput` via:

GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateArgs{...}

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput added in v0.6.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ElementType added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutputWithContext added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext added in v0.6.0

func (o GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext(ctx context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToStringOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToStringOutputWithContext added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateOutput) ToStringPtrOutputWithContext added in v0.6.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrInput added in v0.6.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrInput interface {
	pulumi.Input

	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput() GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput
	ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext(context.Context) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput
}

func GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtr added in v0.6.0

func GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtr(v string) GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrInput

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput added in v0.6.0

type GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) Elem added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) ElementType added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) ToGoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutputWithContext added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) ToStringPtrOutput added in v0.6.0

func (GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStatePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

type LookupCatalogItemArgs added in v0.4.0

type LookupCatalogItemArgs struct {
	CatalogId     string  `pulumi:"catalogId"`
	CatalogItemId string  `pulumi:"catalogItemId"`
	Location      string  `pulumi:"location"`
	Project       *string `pulumi:"project"`
}

type LookupCatalogItemOutputArgs added in v0.8.0

type LookupCatalogItemOutputArgs struct {
	CatalogId     pulumi.StringInput    `pulumi:"catalogId"`
	CatalogItemId pulumi.StringInput    `pulumi:"catalogItemId"`
	Location      pulumi.StringInput    `pulumi:"location"`
	Project       pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupCatalogItemOutputArgs) ElementType added in v0.8.0

type LookupCatalogItemResult added in v0.4.0

type LookupCatalogItemResult struct {
	// Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
	CategoryHierarchies []GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse `pulumi:"categoryHierarchies"`
	// Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
	Description string `pulumi:"description"`
	// Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
	ItemAttributes GoogleCloudRecommendationengineV1beta1FeatureMapResponse `pulumi:"itemAttributes"`
	// Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).
	ItemGroupId string `pulumi:"itemGroupId"`
	// Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
	//
	// Deprecated: Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
	LanguageCode string `pulumi:"languageCode"`
	// Optional. Metadata specific to retail products.
	ProductMetadata GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse `pulumi:"productMetadata"`
	// Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
	Tags []string `pulumi:"tags"`
	// Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
	Title string `pulumi:"title"`
}

func LookupCatalogItem added in v0.4.0

func LookupCatalogItem(ctx *pulumi.Context, args *LookupCatalogItemArgs, opts ...pulumi.InvokeOption) (*LookupCatalogItemResult, error)

Gets a specific catalog item.

type LookupCatalogItemResultOutput added in v0.8.0

type LookupCatalogItemResultOutput struct{ *pulumi.OutputState }

func LookupCatalogItemOutput added in v0.8.0

func (LookupCatalogItemResultOutput) CategoryHierarchies added in v0.8.0

Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]

func (LookupCatalogItemResultOutput) Description added in v0.8.0

Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.

func (LookupCatalogItemResultOutput) ElementType added in v0.8.0

func (LookupCatalogItemResultOutput) ItemAttributes added in v0.8.0

Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.

func (LookupCatalogItemResultOutput) ItemGroupId added in v0.8.0

Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn more](/recommendations-ai/docs/catalog#item-group-id).

func (LookupCatalogItemResultOutput) LanguageCode deprecated added in v0.17.0

Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.

Deprecated: Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.

func (LookupCatalogItemResultOutput) ProductMetadata added in v0.8.0

Optional. Metadata specific to retail products.

func (LookupCatalogItemResultOutput) Tags added in v0.8.0

Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.

func (LookupCatalogItemResultOutput) Title added in v0.8.0

Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.

func (LookupCatalogItemResultOutput) ToLookupCatalogItemResultOutput added in v0.8.0

func (o LookupCatalogItemResultOutput) ToLookupCatalogItemResultOutput() LookupCatalogItemResultOutput

func (LookupCatalogItemResultOutput) ToLookupCatalogItemResultOutputWithContext added in v0.8.0

func (o LookupCatalogItemResultOutput) ToLookupCatalogItemResultOutputWithContext(ctx context.Context) LookupCatalogItemResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL