v2

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 (
	// The value when it's unspecified. In this case, server behavior defaults to SEARCH_SOLUTION_USE_CASE_SEARCH.
	ControlSearchSolutionUseCaseItemSearchSolutionUseCaseUnspecified = ControlSearchSolutionUseCaseItem("SEARCH_SOLUTION_USE_CASE_UNSPECIFIED")
	// Search use case. Expects the traffic has a non-empty query.
	ControlSearchSolutionUseCaseItemSearchSolutionUseCaseSearch = ControlSearchSolutionUseCaseItem("SEARCH_SOLUTION_USE_CASE_SEARCH")
	// Browse use case. Expects the traffic has an empty query.
	ControlSearchSolutionUseCaseItemSearchSolutionUseCaseBrowse = ControlSearchSolutionUseCaseItem("SEARCH_SOLUTION_USE_CASE_BROWSE")
)
View Source
const (
	// Default value.
	ControlSolutionTypesItemSolutionTypeUnspecified = ControlSolutionTypesItem("SOLUTION_TYPE_UNSPECIFIED")
	// Used for Recommendations AI.
	ControlSolutionTypesItemSolutionTypeRecommendation = ControlSolutionTypesItem("SOLUTION_TYPE_RECOMMENDATION")
	// Used for Retail Search.
	ControlSolutionTypesItemSolutionTypeSearch = ControlSolutionTypesItem("SOLUTION_TYPE_SEARCH")
)
View Source
const (
	// Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.
	GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeContextProductsTypeUnspecified = GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("CONTEXT_PRODUCTS_TYPE_UNSPECIFIED")
	// Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.
	GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeSingleContextProduct = GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("SINGLE_CONTEXT_PRODUCT")
	// Use one or multiple products as context for the recommendation. Typically used on shopping cart pages.
	GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeMultipleContextProducts = GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("MULTIPLE_CONTEXT_PRODUCTS")
)
View Source
const (
	// Default value.
	GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeModeUnspecified = GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode("MODE_UNSPECIFIED")
	// Disable Dynamic Facet.
	GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeDisabled = GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode("DISABLED")
	// Automatic mode built by Google Retail Search.
	GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeEnabled = GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode("ENABLED")
)
View Source
const (
	// Default value. In this case, server behavior defaults to Mode.AUTO.
	GoogleCloudRetailV2SearchRequestPersonalizationSpecModeModeUnspecified = GoogleCloudRetailV2SearchRequestPersonalizationSpecMode("MODE_UNSPECIFIED")
	// Let CRS decide whether to use personalization based on quality of user event data.
	GoogleCloudRetailV2SearchRequestPersonalizationSpecModeAuto = GoogleCloudRetailV2SearchRequestPersonalizationSpecMode("AUTO")
	// Disable personalization.
	GoogleCloudRetailV2SearchRequestPersonalizationSpecModeDisabled = GoogleCloudRetailV2SearchRequestPersonalizationSpecMode("DISABLED")
)
View Source
const (
	// Value used when unset. In this case, server behavior defaults to RECOMMENDATIONS_FILTERING_DISABLED.
	ModelFilteringOptionRecommendationsFilteringOptionUnspecified = ModelFilteringOption("RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED")
	// Recommendation filtering is disabled.
	ModelFilteringOptionRecommendationsFilteringDisabled = ModelFilteringOption("RECOMMENDATIONS_FILTERING_DISABLED")
	// Recommendation filtering is enabled.
	ModelFilteringOptionRecommendationsFilteringEnabled = ModelFilteringOption("RECOMMENDATIONS_FILTERING_ENABLED")
)
View Source
const (
	// Unspecified default value, should never be explicitly set.
	ModelPeriodicTuningStatePeriodicTuningStateUnspecified = ModelPeriodicTuningState("PERIODIC_TUNING_STATE_UNSPECIFIED")
	// The model has periodic tuning disabled. Tuning can be reenabled by calling the `EnableModelPeriodicTuning` method or by calling the `TuneModel` method.
	ModelPeriodicTuningStatePeriodicTuningDisabled = ModelPeriodicTuningState("PERIODIC_TUNING_DISABLED")
	// The model cannot be tuned with periodic tuning OR the `TuneModel` method. Hide the options in customer UI and reject any requests through the backend self serve API.
	ModelPeriodicTuningStateAllTuningDisabled = ModelPeriodicTuningState("ALL_TUNING_DISABLED")
	// The model has periodic tuning enabled. Tuning can be disabled by calling the `DisableModelPeriodicTuning` method.
	ModelPeriodicTuningStatePeriodicTuningEnabled = ModelPeriodicTuningState("PERIODIC_TUNING_ENABLED")
)
View Source
const (
	// Unspecified training state.
	ModelTrainingStateTrainingStateUnspecified = ModelTrainingState("TRAINING_STATE_UNSPECIFIED")
	// The model training is paused.
	ModelTrainingStatePaused = ModelTrainingState("PAUSED")
	// The model is training.
	ModelTrainingStateTraining = ModelTrainingState("TRAINING")
)
View Source
const (
	// Default product availability. Default to Availability.IN_STOCK if unset.
	ProductAvailabilityAvailabilityUnspecified = ProductAvailability("AVAILABILITY_UNSPECIFIED")
	// Product in stock.
	ProductAvailabilityInStock = ProductAvailability("IN_STOCK")
	// Product out of stock.
	ProductAvailabilityOutOfStock = ProductAvailability("OUT_OF_STOCK")
	// Product that is in pre-order state.
	ProductAvailabilityPreorder = ProductAvailability("PREORDER")
	// Product that is back-ordered (i.e. temporarily out of stock).
	ProductAvailabilityBackorder = ProductAvailability("BACKORDER")
)
View Source
const (
	// Default value. Default to Catalog.product_level_config.ingestion_product_type if unset.
	ProductTypeTypeUnspecified = ProductType("TYPE_UNSPECIFIED")
	// The primary type. As the primary unit for predicting, indexing and search serving, a Type.PRIMARY Product is grouped with multiple Type.VARIANT Products.
	ProductTypePrimary = ProductType("PRIMARY")
	// The variant type. Type.VARIANT Products usually share some common attributes on the same Type.PRIMARY Products, but they have variant attributes like different colors, sizes and prices, etc.
	ProductTypeVariant = ProductType("VARIANT")
	// The collection type. Collection products are bundled Type.PRIMARY Products or Type.VARIANT Products that are sold together, such as a jewelry set with necklaces, earrings and rings, etc.
	ProductTypeCollection = ProductType("COLLECTION")
)
View Source
const (
	// Default value.
	ServingConfigDiversityTypeDiversityTypeUnspecified = ServingConfigDiversityType("DIVERSITY_TYPE_UNSPECIFIED")
	// Rule based diversity.
	ServingConfigDiversityTypeRuleBasedDiversity = ServingConfigDiversityType("RULE_BASED_DIVERSITY")
	// Data driven diversity.
	ServingConfigDiversityTypeDataDrivenDiversity = ServingConfigDiversityType("DATA_DRIVEN_DIVERSITY")
)
View Source
const (
	// Default value.
	ServingConfigSolutionTypesItemSolutionTypeUnspecified = ServingConfigSolutionTypesItem("SOLUTION_TYPE_UNSPECIFIED")
	// Used for Recommendations AI.
	ServingConfigSolutionTypesItemSolutionTypeRecommendation = ServingConfigSolutionTypesItem("SOLUTION_TYPE_RECOMMENDATION")
	// Used for Retail Search.
	ServingConfigSolutionTypesItemSolutionTypeSearch = ServingConfigSolutionTypesItem("SOLUTION_TYPE_SEARCH")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Control added in v0.25.0

type Control struct {
	pulumi.CustomResourceState

	// List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.
	AssociatedServingConfigIds pulumi.StringArrayOutput `pulumi:"associatedServingConfigIds"`
	CatalogId                  pulumi.StringOutput      `pulumi:"catalogId"`
	// Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.
	ControlId pulumi.StringOutput `pulumi:"controlId"`
	// The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	Location    pulumi.StringOutput `pulumi:"location"`
	// Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".
	Rule GoogleCloudRetailV2RuleResponseOutput `pulumi:"rule"`
	// Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.
	SearchSolutionUseCase pulumi.StringArrayOutput `pulumi:"searchSolutionUseCase"`
	// Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.
	SolutionTypes pulumi.StringArrayOutput `pulumi:"solutionTypes"`
}

Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. Auto-naming is currently not supported for this resource.

func GetControl added in v0.25.0

func GetControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControlState, opts ...pulumi.ResourceOption) (*Control, error)

GetControl gets an existing Control 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 NewControl added in v0.25.0

func NewControl(ctx *pulumi.Context,
	name string, args *ControlArgs, opts ...pulumi.ResourceOption) (*Control, error)

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

func (*Control) ElementType added in v0.25.0

func (*Control) ElementType() reflect.Type

func (*Control) ToControlOutput added in v0.25.0

func (i *Control) ToControlOutput() ControlOutput

func (*Control) ToControlOutputWithContext added in v0.25.0

func (i *Control) ToControlOutputWithContext(ctx context.Context) ControlOutput

type ControlArgs added in v0.25.0

type ControlArgs struct {
	CatalogId pulumi.StringInput
	// Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.
	ControlId pulumi.StringInput
	// The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.
	DisplayName pulumi.StringInput
	Location    pulumi.StringPtrInput
	// Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`
	Name    pulumi.StringPtrInput
	Project pulumi.StringPtrInput
	// A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".
	Rule GoogleCloudRetailV2RulePtrInput
	// Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.
	SearchSolutionUseCase ControlSearchSolutionUseCaseItemArrayInput
	// Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.
	SolutionTypes ControlSolutionTypesItemArrayInput
}

The set of arguments for constructing a Control resource.

func (ControlArgs) ElementType added in v0.25.0

func (ControlArgs) ElementType() reflect.Type

type ControlInput added in v0.25.0

type ControlInput interface {
	pulumi.Input

	ToControlOutput() ControlOutput
	ToControlOutputWithContext(ctx context.Context) ControlOutput
}

type ControlOutput added in v0.25.0

type ControlOutput struct{ *pulumi.OutputState }

func (ControlOutput) AssociatedServingConfigIds added in v0.25.0

func (o ControlOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput

List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.

func (ControlOutput) CatalogId added in v0.25.0

func (o ControlOutput) CatalogId() pulumi.StringOutput

func (ControlOutput) ControlId added in v0.25.0

func (o ControlOutput) ControlId() pulumi.StringOutput

Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.

func (ControlOutput) DisplayName added in v0.25.0

func (o ControlOutput) DisplayName() pulumi.StringOutput

The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.

func (ControlOutput) ElementType added in v0.25.0

func (ControlOutput) ElementType() reflect.Type

func (ControlOutput) Location added in v0.25.0

func (o ControlOutput) Location() pulumi.StringOutput

func (ControlOutput) Name added in v0.25.0

Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`

func (ControlOutput) Project added in v0.25.0

func (o ControlOutput) Project() pulumi.StringOutput

func (ControlOutput) Rule added in v0.25.0

A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".

func (ControlOutput) SearchSolutionUseCase added in v0.25.0

func (o ControlOutput) SearchSolutionUseCase() pulumi.StringArrayOutput

Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.

func (ControlOutput) SolutionTypes added in v0.25.0

func (o ControlOutput) SolutionTypes() pulumi.StringArrayOutput

Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.

func (ControlOutput) ToControlOutput added in v0.25.0

func (o ControlOutput) ToControlOutput() ControlOutput

func (ControlOutput) ToControlOutputWithContext added in v0.25.0

func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOutput

type ControlSearchSolutionUseCaseItem added in v0.25.0

type ControlSearchSolutionUseCaseItem string

func (ControlSearchSolutionUseCaseItem) ElementType added in v0.25.0

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutput added in v0.25.0

func (e ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutput() ControlSearchSolutionUseCaseItemOutput

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutputWithContext added in v0.25.0

func (e ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemOutput

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutput added in v0.25.0

func (e ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutputWithContext added in v0.25.0

func (e ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItem) ToStringOutput added in v0.25.0

func (ControlSearchSolutionUseCaseItem) ToStringOutputWithContext added in v0.25.0

func (e ControlSearchSolutionUseCaseItem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ControlSearchSolutionUseCaseItem) ToStringPtrOutput added in v0.25.0

func (ControlSearchSolutionUseCaseItem) ToStringPtrOutputWithContext added in v0.25.0

func (e ControlSearchSolutionUseCaseItem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ControlSearchSolutionUseCaseItemArray added in v0.25.0

type ControlSearchSolutionUseCaseItemArray []ControlSearchSolutionUseCaseItem

func (ControlSearchSolutionUseCaseItemArray) ElementType added in v0.25.0

func (ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutput added in v0.25.0

func (i ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutput() ControlSearchSolutionUseCaseItemArrayOutput

func (ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutputWithContext added in v0.25.0

func (i ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemArrayOutput

type ControlSearchSolutionUseCaseItemArrayInput added in v0.25.0

type ControlSearchSolutionUseCaseItemArrayInput interface {
	pulumi.Input

	ToControlSearchSolutionUseCaseItemArrayOutput() ControlSearchSolutionUseCaseItemArrayOutput
	ToControlSearchSolutionUseCaseItemArrayOutputWithContext(context.Context) ControlSearchSolutionUseCaseItemArrayOutput
}

ControlSearchSolutionUseCaseItemArrayInput is an input type that accepts ControlSearchSolutionUseCaseItemArray and ControlSearchSolutionUseCaseItemArrayOutput values. You can construct a concrete instance of `ControlSearchSolutionUseCaseItemArrayInput` via:

ControlSearchSolutionUseCaseItemArray{ ControlSearchSolutionUseCaseItemArgs{...} }

type ControlSearchSolutionUseCaseItemArrayOutput added in v0.25.0

type ControlSearchSolutionUseCaseItemArrayOutput struct{ *pulumi.OutputState }

func (ControlSearchSolutionUseCaseItemArrayOutput) ElementType added in v0.25.0

func (ControlSearchSolutionUseCaseItemArrayOutput) Index added in v0.25.0

func (ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutput added in v0.25.0

func (o ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutput() ControlSearchSolutionUseCaseItemArrayOutput

func (ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutputWithContext added in v0.25.0

func (o ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemArrayOutput

type ControlSearchSolutionUseCaseItemInput added in v0.25.0

type ControlSearchSolutionUseCaseItemInput interface {
	pulumi.Input

	ToControlSearchSolutionUseCaseItemOutput() ControlSearchSolutionUseCaseItemOutput
	ToControlSearchSolutionUseCaseItemOutputWithContext(context.Context) ControlSearchSolutionUseCaseItemOutput
}

ControlSearchSolutionUseCaseItemInput is an input type that accepts ControlSearchSolutionUseCaseItemArgs and ControlSearchSolutionUseCaseItemOutput values. You can construct a concrete instance of `ControlSearchSolutionUseCaseItemInput` via:

ControlSearchSolutionUseCaseItemArgs{...}

type ControlSearchSolutionUseCaseItemOutput added in v0.25.0

type ControlSearchSolutionUseCaseItemOutput struct{ *pulumi.OutputState }

func (ControlSearchSolutionUseCaseItemOutput) ElementType added in v0.25.0

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutput added in v0.25.0

func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutput() ControlSearchSolutionUseCaseItemOutput

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutputWithContext added in v0.25.0

func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemOutput

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutput added in v0.25.0

func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutputWithContext added in v0.25.0

func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItemOutput) ToStringOutput added in v0.25.0

func (ControlSearchSolutionUseCaseItemOutput) ToStringOutputWithContext added in v0.25.0

func (ControlSearchSolutionUseCaseItemOutput) ToStringPtrOutput added in v0.25.0

func (ControlSearchSolutionUseCaseItemOutput) ToStringPtrOutputWithContext added in v0.25.0

func (o ControlSearchSolutionUseCaseItemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ControlSearchSolutionUseCaseItemPtrInput added in v0.25.0

type ControlSearchSolutionUseCaseItemPtrInput interface {
	pulumi.Input

	ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput
	ToControlSearchSolutionUseCaseItemPtrOutputWithContext(context.Context) ControlSearchSolutionUseCaseItemPtrOutput
}

func ControlSearchSolutionUseCaseItemPtr added in v0.25.0

func ControlSearchSolutionUseCaseItemPtr(v string) ControlSearchSolutionUseCaseItemPtrInput

type ControlSearchSolutionUseCaseItemPtrOutput added in v0.25.0

type ControlSearchSolutionUseCaseItemPtrOutput struct{ *pulumi.OutputState }

func (ControlSearchSolutionUseCaseItemPtrOutput) Elem added in v0.25.0

func (ControlSearchSolutionUseCaseItemPtrOutput) ElementType added in v0.25.0

func (ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutput added in v0.25.0

func (o ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutputWithContext added in v0.25.0

func (o ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutputWithContext(ctx context.Context) ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItemPtrOutput) ToStringPtrOutput added in v0.25.0

func (ControlSearchSolutionUseCaseItemPtrOutput) ToStringPtrOutputWithContext added in v0.25.0

type ControlSolutionTypesItem added in v0.25.0

type ControlSolutionTypesItem string

func (ControlSolutionTypesItem) ElementType added in v0.25.0

func (ControlSolutionTypesItem) ElementType() reflect.Type

func (ControlSolutionTypesItem) ToControlSolutionTypesItemOutput added in v0.25.0

func (e ControlSolutionTypesItem) ToControlSolutionTypesItemOutput() ControlSolutionTypesItemOutput

func (ControlSolutionTypesItem) ToControlSolutionTypesItemOutputWithContext added in v0.25.0

func (e ControlSolutionTypesItem) ToControlSolutionTypesItemOutputWithContext(ctx context.Context) ControlSolutionTypesItemOutput

func (ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutput added in v0.25.0

func (e ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutputWithContext added in v0.25.0

func (e ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutputWithContext(ctx context.Context) ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItem) ToStringOutput added in v0.25.0

func (e ControlSolutionTypesItem) ToStringOutput() pulumi.StringOutput

func (ControlSolutionTypesItem) ToStringOutputWithContext added in v0.25.0

func (e ControlSolutionTypesItem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ControlSolutionTypesItem) ToStringPtrOutput added in v0.25.0

func (e ControlSolutionTypesItem) ToStringPtrOutput() pulumi.StringPtrOutput

func (ControlSolutionTypesItem) ToStringPtrOutputWithContext added in v0.25.0

func (e ControlSolutionTypesItem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ControlSolutionTypesItemArray added in v0.25.0

type ControlSolutionTypesItemArray []ControlSolutionTypesItem

func (ControlSolutionTypesItemArray) ElementType added in v0.25.0

func (ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutput added in v0.25.0

func (i ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutput() ControlSolutionTypesItemArrayOutput

func (ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutputWithContext added in v0.25.0

func (i ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutputWithContext(ctx context.Context) ControlSolutionTypesItemArrayOutput

type ControlSolutionTypesItemArrayInput added in v0.25.0

type ControlSolutionTypesItemArrayInput interface {
	pulumi.Input

	ToControlSolutionTypesItemArrayOutput() ControlSolutionTypesItemArrayOutput
	ToControlSolutionTypesItemArrayOutputWithContext(context.Context) ControlSolutionTypesItemArrayOutput
}

ControlSolutionTypesItemArrayInput is an input type that accepts ControlSolutionTypesItemArray and ControlSolutionTypesItemArrayOutput values. You can construct a concrete instance of `ControlSolutionTypesItemArrayInput` via:

ControlSolutionTypesItemArray{ ControlSolutionTypesItemArgs{...} }

type ControlSolutionTypesItemArrayOutput added in v0.25.0

type ControlSolutionTypesItemArrayOutput struct{ *pulumi.OutputState }

func (ControlSolutionTypesItemArrayOutput) ElementType added in v0.25.0

func (ControlSolutionTypesItemArrayOutput) Index added in v0.25.0

func (ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutput added in v0.25.0

func (o ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutput() ControlSolutionTypesItemArrayOutput

func (ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutputWithContext(ctx context.Context) ControlSolutionTypesItemArrayOutput

type ControlSolutionTypesItemInput added in v0.25.0

type ControlSolutionTypesItemInput interface {
	pulumi.Input

	ToControlSolutionTypesItemOutput() ControlSolutionTypesItemOutput
	ToControlSolutionTypesItemOutputWithContext(context.Context) ControlSolutionTypesItemOutput
}

ControlSolutionTypesItemInput is an input type that accepts ControlSolutionTypesItemArgs and ControlSolutionTypesItemOutput values. You can construct a concrete instance of `ControlSolutionTypesItemInput` via:

ControlSolutionTypesItemArgs{...}

type ControlSolutionTypesItemOutput added in v0.25.0

type ControlSolutionTypesItemOutput struct{ *pulumi.OutputState }

func (ControlSolutionTypesItemOutput) ElementType added in v0.25.0

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutput added in v0.25.0

func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutput() ControlSolutionTypesItemOutput

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutputWithContext(ctx context.Context) ControlSolutionTypesItemOutput

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutput added in v0.25.0

func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutputWithContext(ctx context.Context) ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItemOutput) ToStringOutput added in v0.25.0

func (ControlSolutionTypesItemOutput) ToStringOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ControlSolutionTypesItemOutput) ToStringPtrOutput added in v0.25.0

func (ControlSolutionTypesItemOutput) ToStringPtrOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ControlSolutionTypesItemPtrInput added in v0.25.0

type ControlSolutionTypesItemPtrInput interface {
	pulumi.Input

	ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput
	ToControlSolutionTypesItemPtrOutputWithContext(context.Context) ControlSolutionTypesItemPtrOutput
}

func ControlSolutionTypesItemPtr added in v0.25.0

func ControlSolutionTypesItemPtr(v string) ControlSolutionTypesItemPtrInput

type ControlSolutionTypesItemPtrOutput added in v0.25.0

type ControlSolutionTypesItemPtrOutput struct{ *pulumi.OutputState }

func (ControlSolutionTypesItemPtrOutput) Elem added in v0.25.0

func (ControlSolutionTypesItemPtrOutput) ElementType added in v0.25.0

func (ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutput added in v0.25.0

func (o ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutputWithContext(ctx context.Context) ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItemPtrOutput) ToStringPtrOutput added in v0.25.0

func (ControlSolutionTypesItemPtrOutput) ToStringPtrOutputWithContext added in v0.25.0

func (o ControlSolutionTypesItemPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ControlState added in v0.25.0

type ControlState struct {
}

func (ControlState) ElementType added in v0.25.0

func (ControlState) ElementType() reflect.Type

type GoogleCloudRetailV2Audience added in v0.8.0

type GoogleCloudRetailV2Audience struct {
	// The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).
	AgeGroups []string `pulumi:"ageGroups"`
	// The genders of the audience. Strongly encouraged to use the standard values: "male", "female", "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).
	Genders []string `pulumi:"genders"`
}

An intended audience of the Product for whom it's sold.

type GoogleCloudRetailV2AudienceArgs added in v0.8.0

type GoogleCloudRetailV2AudienceArgs struct {
	// The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).
	AgeGroups pulumi.StringArrayInput `pulumi:"ageGroups"`
	// The genders of the audience. Strongly encouraged to use the standard values: "male", "female", "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).
	Genders pulumi.StringArrayInput `pulumi:"genders"`
}

An intended audience of the Product for whom it's sold.

func (GoogleCloudRetailV2AudienceArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudienceOutput added in v0.8.0

func (i GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudienceOutput() GoogleCloudRetailV2AudienceOutput

func (GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudienceOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudienceOutputWithContext(ctx context.Context) GoogleCloudRetailV2AudienceOutput

func (GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudiencePtrOutput added in v0.8.0

func (i GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudiencePtrOutput() GoogleCloudRetailV2AudiencePtrOutput

func (GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudiencePtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2AudienceArgs) ToGoogleCloudRetailV2AudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2AudiencePtrOutput

type GoogleCloudRetailV2AudienceInput added in v0.8.0

type GoogleCloudRetailV2AudienceInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2AudienceOutput() GoogleCloudRetailV2AudienceOutput
	ToGoogleCloudRetailV2AudienceOutputWithContext(context.Context) GoogleCloudRetailV2AudienceOutput
}

GoogleCloudRetailV2AudienceInput is an input type that accepts GoogleCloudRetailV2AudienceArgs and GoogleCloudRetailV2AudienceOutput values. You can construct a concrete instance of `GoogleCloudRetailV2AudienceInput` via:

GoogleCloudRetailV2AudienceArgs{...}

type GoogleCloudRetailV2AudienceOutput added in v0.8.0

type GoogleCloudRetailV2AudienceOutput struct{ *pulumi.OutputState }

An intended audience of the Product for whom it's sold.

func (GoogleCloudRetailV2AudienceOutput) AgeGroups added in v0.8.0

The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).

func (GoogleCloudRetailV2AudienceOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2AudienceOutput) Genders added in v0.8.0

The genders of the audience. Strongly encouraged to use the standard values: "male", "female", "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).

func (GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudienceOutput added in v0.8.0

func (o GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudienceOutput() GoogleCloudRetailV2AudienceOutput

func (GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudienceOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudienceOutputWithContext(ctx context.Context) GoogleCloudRetailV2AudienceOutput

func (GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudiencePtrOutput added in v0.8.0

func (o GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudiencePtrOutput() GoogleCloudRetailV2AudiencePtrOutput

func (GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudiencePtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2AudienceOutput) ToGoogleCloudRetailV2AudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2AudiencePtrOutput

type GoogleCloudRetailV2AudiencePtrInput added in v0.8.0

type GoogleCloudRetailV2AudiencePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2AudiencePtrOutput() GoogleCloudRetailV2AudiencePtrOutput
	ToGoogleCloudRetailV2AudiencePtrOutputWithContext(context.Context) GoogleCloudRetailV2AudiencePtrOutput
}

GoogleCloudRetailV2AudiencePtrInput is an input type that accepts GoogleCloudRetailV2AudienceArgs, GoogleCloudRetailV2AudiencePtr and GoogleCloudRetailV2AudiencePtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2AudiencePtrInput` via:

        GoogleCloudRetailV2AudienceArgs{...}

or:

        nil

func GoogleCloudRetailV2AudiencePtr added in v0.8.0

type GoogleCloudRetailV2AudiencePtrOutput added in v0.8.0

type GoogleCloudRetailV2AudiencePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2AudiencePtrOutput) AgeGroups added in v0.8.0

The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).

func (GoogleCloudRetailV2AudiencePtrOutput) Elem added in v0.8.0

func (GoogleCloudRetailV2AudiencePtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2AudiencePtrOutput) Genders added in v0.8.0

The genders of the audience. Strongly encouraged to use the standard values: "male", "female", "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).

func (GoogleCloudRetailV2AudiencePtrOutput) ToGoogleCloudRetailV2AudiencePtrOutput added in v0.8.0

func (o GoogleCloudRetailV2AudiencePtrOutput) ToGoogleCloudRetailV2AudiencePtrOutput() GoogleCloudRetailV2AudiencePtrOutput

func (GoogleCloudRetailV2AudiencePtrOutput) ToGoogleCloudRetailV2AudiencePtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2AudiencePtrOutput) ToGoogleCloudRetailV2AudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2AudiencePtrOutput

type GoogleCloudRetailV2AudienceResponse added in v0.8.0

type GoogleCloudRetailV2AudienceResponse struct {
	// The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).
	AgeGroups []string `pulumi:"ageGroups"`
	// The genders of the audience. Strongly encouraged to use the standard values: "male", "female", "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).
	Genders []string `pulumi:"genders"`
}

An intended audience of the Product for whom it's sold.

type GoogleCloudRetailV2AudienceResponseOutput added in v0.8.0

type GoogleCloudRetailV2AudienceResponseOutput struct{ *pulumi.OutputState }

An intended audience of the Product for whom it's sold.

func (GoogleCloudRetailV2AudienceResponseOutput) AgeGroups added in v0.8.0

The age groups of the audience. Strongly encouraged to use the standard values: "newborn" (up to 3 months old), "infant" (3–12 months old), "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically teens or older). At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [age_group](https://support.google.com/merchants/answer/6324463). Schema.org property [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge).

func (GoogleCloudRetailV2AudienceResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2AudienceResponseOutput) Genders added in v0.8.0

The genders of the audience. Strongly encouraged to use the standard values: "male", "female", "unisex". At most 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [gender](https://support.google.com/merchants/answer/6324479). Schema.org property [Product.audience.suggestedGender](https://schema.org/suggestedGender).

func (GoogleCloudRetailV2AudienceResponseOutput) ToGoogleCloudRetailV2AudienceResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2AudienceResponseOutput) ToGoogleCloudRetailV2AudienceResponseOutput() GoogleCloudRetailV2AudienceResponseOutput

func (GoogleCloudRetailV2AudienceResponseOutput) ToGoogleCloudRetailV2AudienceResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2AudienceResponseOutput) ToGoogleCloudRetailV2AudienceResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2AudienceResponseOutput

type GoogleCloudRetailV2ColorInfo added in v0.8.0

type GoogleCloudRetailV2ColorInfo struct {
	// The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorFamilies []string `pulumi:"colorFamilies"`
	// The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single "Mixed" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	Colors []string `pulumi:"colors"`
}

The color information of a Product.

type GoogleCloudRetailV2ColorInfoArgs added in v0.8.0

type GoogleCloudRetailV2ColorInfoArgs struct {
	// The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorFamilies pulumi.StringArrayInput `pulumi:"colorFamilies"`
	// The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single "Mixed" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	Colors pulumi.StringArrayInput `pulumi:"colors"`
}

The color information of a Product.

func (GoogleCloudRetailV2ColorInfoArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoOutput added in v0.8.0

func (i GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoOutput() GoogleCloudRetailV2ColorInfoOutput

func (GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2ColorInfoOutput

func (GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoPtrOutput added in v0.8.0

func (i GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoPtrOutput() GoogleCloudRetailV2ColorInfoPtrOutput

func (GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2ColorInfoArgs) ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ColorInfoPtrOutput

type GoogleCloudRetailV2ColorInfoInput added in v0.8.0

type GoogleCloudRetailV2ColorInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ColorInfoOutput() GoogleCloudRetailV2ColorInfoOutput
	ToGoogleCloudRetailV2ColorInfoOutputWithContext(context.Context) GoogleCloudRetailV2ColorInfoOutput
}

GoogleCloudRetailV2ColorInfoInput is an input type that accepts GoogleCloudRetailV2ColorInfoArgs and GoogleCloudRetailV2ColorInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ColorInfoInput` via:

GoogleCloudRetailV2ColorInfoArgs{...}

type GoogleCloudRetailV2ColorInfoOutput added in v0.8.0

type GoogleCloudRetailV2ColorInfoOutput struct{ *pulumi.OutputState }

The color information of a Product.

func (GoogleCloudRetailV2ColorInfoOutput) ColorFamilies added in v0.8.0

The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ColorInfoOutput) Colors added in v0.8.0

The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single "Mixed" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ColorInfoOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoOutput added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoOutput() GoogleCloudRetailV2ColorInfoOutput

func (GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2ColorInfoOutput

func (GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoPtrOutput() GoogleCloudRetailV2ColorInfoPtrOutput

func (GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoOutput) ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ColorInfoPtrOutput

type GoogleCloudRetailV2ColorInfoPtrInput added in v0.8.0

type GoogleCloudRetailV2ColorInfoPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ColorInfoPtrOutput() GoogleCloudRetailV2ColorInfoPtrOutput
	ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext(context.Context) GoogleCloudRetailV2ColorInfoPtrOutput
}

GoogleCloudRetailV2ColorInfoPtrInput is an input type that accepts GoogleCloudRetailV2ColorInfoArgs, GoogleCloudRetailV2ColorInfoPtr and GoogleCloudRetailV2ColorInfoPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ColorInfoPtrInput` via:

        GoogleCloudRetailV2ColorInfoArgs{...}

or:

        nil

type GoogleCloudRetailV2ColorInfoPtrOutput added in v0.8.0

type GoogleCloudRetailV2ColorInfoPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ColorInfoPtrOutput) ColorFamilies added in v0.8.0

The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ColorInfoPtrOutput) Colors added in v0.8.0

The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single "Mixed" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ColorInfoPtrOutput) Elem added in v0.8.0

func (GoogleCloudRetailV2ColorInfoPtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2ColorInfoPtrOutput) ToGoogleCloudRetailV2ColorInfoPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoPtrOutput) ToGoogleCloudRetailV2ColorInfoPtrOutput() GoogleCloudRetailV2ColorInfoPtrOutput

func (GoogleCloudRetailV2ColorInfoPtrOutput) ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoPtrOutput) ToGoogleCloudRetailV2ColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ColorInfoPtrOutput

type GoogleCloudRetailV2ColorInfoResponse added in v0.8.0

type GoogleCloudRetailV2ColorInfoResponse struct {
	// The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorFamilies []string `pulumi:"colorFamilies"`
	// The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single "Mixed" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	Colors []string `pulumi:"colors"`
}

The color information of a Product.

type GoogleCloudRetailV2ColorInfoResponseOutput added in v0.8.0

type GoogleCloudRetailV2ColorInfoResponseOutput struct{ *pulumi.OutputState }

The color information of a Product.

func (GoogleCloudRetailV2ColorInfoResponseOutput) ColorFamilies added in v0.8.0

The standard color families. Strongly recommended to use the following standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and "Mixed". Normally it is expected to have only 1 color family. May consider using single "Mixed" instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ColorInfoResponseOutput) Colors added in v0.8.0

The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single "Mixed" instead of multiple values. A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ColorInfoResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2ColorInfoResponseOutput) ToGoogleCloudRetailV2ColorInfoResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoResponseOutput) ToGoogleCloudRetailV2ColorInfoResponseOutput() GoogleCloudRetailV2ColorInfoResponseOutput

func (GoogleCloudRetailV2ColorInfoResponseOutput) ToGoogleCloudRetailV2ColorInfoResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2ColorInfoResponseOutput) ToGoogleCloudRetailV2ColorInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ColorInfoResponseOutput

type GoogleCloudRetailV2Condition added in v0.25.0

type GoogleCloudRetailV2Condition struct {
	// Range of time(s) specifying when Condition is active. Condition true if any time range matches.
	ActiveTimeRange []GoogleCloudRetailV2ConditionTimeRange `pulumi:"activeTimeRange"`
	// Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;
	PageCategories []string `pulumi:"pageCategories"`
	// A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).
	QueryTerms []GoogleCloudRetailV2ConditionQueryTerm `pulumi:"queryTerms"`
}

Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.

type GoogleCloudRetailV2ConditionArgs added in v0.25.0

type GoogleCloudRetailV2ConditionArgs struct {
	// Range of time(s) specifying when Condition is active. Condition true if any time range matches.
	ActiveTimeRange GoogleCloudRetailV2ConditionTimeRangeArrayInput `pulumi:"activeTimeRange"`
	// Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;
	PageCategories pulumi.StringArrayInput `pulumi:"pageCategories"`
	// A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).
	QueryTerms GoogleCloudRetailV2ConditionQueryTermArrayInput `pulumi:"queryTerms"`
}

Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.

func (GoogleCloudRetailV2ConditionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionOutput added in v0.25.0

func (i GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionOutput() GoogleCloudRetailV2ConditionOutput

func (GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionOutput

func (GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionPtrOutput() GoogleCloudRetailV2ConditionPtrOutput

func (GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2ConditionArgs) ToGoogleCloudRetailV2ConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionPtrOutput

type GoogleCloudRetailV2ConditionInput added in v0.25.0

type GoogleCloudRetailV2ConditionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ConditionOutput() GoogleCloudRetailV2ConditionOutput
	ToGoogleCloudRetailV2ConditionOutputWithContext(context.Context) GoogleCloudRetailV2ConditionOutput
}

GoogleCloudRetailV2ConditionInput is an input type that accepts GoogleCloudRetailV2ConditionArgs and GoogleCloudRetailV2ConditionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ConditionInput` via:

GoogleCloudRetailV2ConditionArgs{...}

type GoogleCloudRetailV2ConditionOutput added in v0.25.0

type GoogleCloudRetailV2ConditionOutput struct{ *pulumi.OutputState }

Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.

func (GoogleCloudRetailV2ConditionOutput) ActiveTimeRange added in v0.25.0

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

func (GoogleCloudRetailV2ConditionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionOutput) PageCategories added in v0.32.0

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

func (GoogleCloudRetailV2ConditionOutput) QueryTerms added in v0.25.0

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

func (GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionOutput() GoogleCloudRetailV2ConditionOutput

func (GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionOutput

func (GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionPtrOutput() GoogleCloudRetailV2ConditionPtrOutput

func (GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionOutput) ToGoogleCloudRetailV2ConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionPtrOutput

type GoogleCloudRetailV2ConditionPtrInput added in v0.25.0

type GoogleCloudRetailV2ConditionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ConditionPtrOutput() GoogleCloudRetailV2ConditionPtrOutput
	ToGoogleCloudRetailV2ConditionPtrOutputWithContext(context.Context) GoogleCloudRetailV2ConditionPtrOutput
}

GoogleCloudRetailV2ConditionPtrInput is an input type that accepts GoogleCloudRetailV2ConditionArgs, GoogleCloudRetailV2ConditionPtr and GoogleCloudRetailV2ConditionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ConditionPtrInput` via:

        GoogleCloudRetailV2ConditionArgs{...}

or:

        nil

func GoogleCloudRetailV2ConditionPtr added in v0.25.0

type GoogleCloudRetailV2ConditionPtrOutput added in v0.25.0

type GoogleCloudRetailV2ConditionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ConditionPtrOutput) ActiveTimeRange added in v0.25.0

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

func (GoogleCloudRetailV2ConditionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2ConditionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionPtrOutput) PageCategories added in v0.32.0

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

func (GoogleCloudRetailV2ConditionPtrOutput) QueryTerms added in v0.25.0

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

func (GoogleCloudRetailV2ConditionPtrOutput) ToGoogleCloudRetailV2ConditionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionPtrOutput) ToGoogleCloudRetailV2ConditionPtrOutput() GoogleCloudRetailV2ConditionPtrOutput

func (GoogleCloudRetailV2ConditionPtrOutput) ToGoogleCloudRetailV2ConditionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionPtrOutput) ToGoogleCloudRetailV2ConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionPtrOutput

type GoogleCloudRetailV2ConditionQueryTerm added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTerm struct {
	// Whether this is supposed to be a full or partial match.
	FullMatch *bool `pulumi:"fullMatch"`
	// The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
	Value *string `pulumi:"value"`
}

Query terms that we want to match on.

type GoogleCloudRetailV2ConditionQueryTermArgs added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermArgs struct {
	// Whether this is supposed to be a full or partial match.
	FullMatch pulumi.BoolPtrInput `pulumi:"fullMatch"`
	// The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

Query terms that we want to match on.

func (GoogleCloudRetailV2ConditionQueryTermArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermArgs) ToGoogleCloudRetailV2ConditionQueryTermOutput added in v0.25.0

func (i GoogleCloudRetailV2ConditionQueryTermArgs) ToGoogleCloudRetailV2ConditionQueryTermOutput() GoogleCloudRetailV2ConditionQueryTermOutput

func (GoogleCloudRetailV2ConditionQueryTermArgs) ToGoogleCloudRetailV2ConditionQueryTermOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2ConditionQueryTermArgs) ToGoogleCloudRetailV2ConditionQueryTermOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionQueryTermOutput

type GoogleCloudRetailV2ConditionQueryTermArray added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermArray []GoogleCloudRetailV2ConditionQueryTermInput

func (GoogleCloudRetailV2ConditionQueryTermArray) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermArray) ToGoogleCloudRetailV2ConditionQueryTermArrayOutput added in v0.25.0

func (i GoogleCloudRetailV2ConditionQueryTermArray) ToGoogleCloudRetailV2ConditionQueryTermArrayOutput() GoogleCloudRetailV2ConditionQueryTermArrayOutput

func (GoogleCloudRetailV2ConditionQueryTermArray) ToGoogleCloudRetailV2ConditionQueryTermArrayOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2ConditionQueryTermArray) ToGoogleCloudRetailV2ConditionQueryTermArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionQueryTermArrayOutput

type GoogleCloudRetailV2ConditionQueryTermArrayInput added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ConditionQueryTermArrayOutput() GoogleCloudRetailV2ConditionQueryTermArrayOutput
	ToGoogleCloudRetailV2ConditionQueryTermArrayOutputWithContext(context.Context) GoogleCloudRetailV2ConditionQueryTermArrayOutput
}

GoogleCloudRetailV2ConditionQueryTermArrayInput is an input type that accepts GoogleCloudRetailV2ConditionQueryTermArray and GoogleCloudRetailV2ConditionQueryTermArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ConditionQueryTermArrayInput` via:

GoogleCloudRetailV2ConditionQueryTermArray{ GoogleCloudRetailV2ConditionQueryTermArgs{...} }

type GoogleCloudRetailV2ConditionQueryTermArrayOutput added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ConditionQueryTermArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermArrayOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermArrayOutput() GoogleCloudRetailV2ConditionQueryTermArrayOutput

func (GoogleCloudRetailV2ConditionQueryTermArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionQueryTermArrayOutput

type GoogleCloudRetailV2ConditionQueryTermInput added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ConditionQueryTermOutput() GoogleCloudRetailV2ConditionQueryTermOutput
	ToGoogleCloudRetailV2ConditionQueryTermOutputWithContext(context.Context) GoogleCloudRetailV2ConditionQueryTermOutput
}

GoogleCloudRetailV2ConditionQueryTermInput is an input type that accepts GoogleCloudRetailV2ConditionQueryTermArgs and GoogleCloudRetailV2ConditionQueryTermOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ConditionQueryTermInput` via:

GoogleCloudRetailV2ConditionQueryTermArgs{...}

type GoogleCloudRetailV2ConditionQueryTermOutput added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermOutput struct{ *pulumi.OutputState }

Query terms that we want to match on.

func (GoogleCloudRetailV2ConditionQueryTermOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermOutput) FullMatch added in v0.25.0

Whether this is supposed to be a full or partial match.

func (GoogleCloudRetailV2ConditionQueryTermOutput) ToGoogleCloudRetailV2ConditionQueryTermOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermOutput) ToGoogleCloudRetailV2ConditionQueryTermOutput() GoogleCloudRetailV2ConditionQueryTermOutput

func (GoogleCloudRetailV2ConditionQueryTermOutput) ToGoogleCloudRetailV2ConditionQueryTermOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermOutput) ToGoogleCloudRetailV2ConditionQueryTermOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionQueryTermOutput

func (GoogleCloudRetailV2ConditionQueryTermOutput) Value added in v0.25.0

The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.

type GoogleCloudRetailV2ConditionQueryTermResponse added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermResponse struct {
	// Whether this is supposed to be a full or partial match.
	FullMatch bool `pulumi:"fullMatch"`
	// The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
	Value string `pulumi:"value"`
}

Query terms that we want to match on.

type GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseArrayOutput added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionQueryTermResponseArrayOutput

type GoogleCloudRetailV2ConditionQueryTermResponseOutput added in v0.25.0

type GoogleCloudRetailV2ConditionQueryTermResponseOutput struct{ *pulumi.OutputState }

Query terms that we want to match on.

func (GoogleCloudRetailV2ConditionQueryTermResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionQueryTermResponseOutput) FullMatch added in v0.25.0

Whether this is supposed to be a full or partial match.

func (GoogleCloudRetailV2ConditionQueryTermResponseOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermResponseOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseOutput() GoogleCloudRetailV2ConditionQueryTermResponseOutput

func (GoogleCloudRetailV2ConditionQueryTermResponseOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionQueryTermResponseOutput) ToGoogleCloudRetailV2ConditionQueryTermResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionQueryTermResponseOutput

func (GoogleCloudRetailV2ConditionQueryTermResponseOutput) Value added in v0.25.0

The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.

type GoogleCloudRetailV2ConditionResponse added in v0.25.0

type GoogleCloudRetailV2ConditionResponse struct {
	// Range of time(s) specifying when Condition is active. Condition true if any time range matches.
	ActiveTimeRange []GoogleCloudRetailV2ConditionTimeRangeResponse `pulumi:"activeTimeRange"`
	// Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;
	PageCategories []string `pulumi:"pageCategories"`
	// A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).
	QueryTerms []GoogleCloudRetailV2ConditionQueryTermResponse `pulumi:"queryTerms"`
}

Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.

type GoogleCloudRetailV2ConditionResponseOutput added in v0.25.0

type GoogleCloudRetailV2ConditionResponseOutput struct{ *pulumi.OutputState }

Metadata that is used to define a condition that triggers an action. A valid condition must specify at least one of 'query_terms' or 'products_filter'. If multiple fields are specified, the condition is met if all the fields are satisfied e.g. if a set of query terms and product_filter are set, then only items matching the product_filter for requests with a query matching the query terms wil get boosted.

func (GoogleCloudRetailV2ConditionResponseOutput) ActiveTimeRange added in v0.25.0

Range of time(s) specifying when Condition is active. Condition true if any time range matches.

func (GoogleCloudRetailV2ConditionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionResponseOutput) PageCategories added in v0.32.0

Used to support browse uses cases. A list (up to 10 entries) of categories or departments. The format should be the same as UserEvent.page_categories;

func (GoogleCloudRetailV2ConditionResponseOutput) QueryTerms added in v0.25.0

A list (up to 10 entries) of terms to match the query on. If not specified, match all queries. If many query terms are specified, the condition is matched if any of the terms is a match (i.e. using the OR operator).

func (GoogleCloudRetailV2ConditionResponseOutput) ToGoogleCloudRetailV2ConditionResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionResponseOutput) ToGoogleCloudRetailV2ConditionResponseOutput() GoogleCloudRetailV2ConditionResponseOutput

func (GoogleCloudRetailV2ConditionResponseOutput) ToGoogleCloudRetailV2ConditionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionResponseOutput) ToGoogleCloudRetailV2ConditionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionResponseOutput

type GoogleCloudRetailV2ConditionTimeRange added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRange struct {
	// End of time range. Range is inclusive.
	EndTime *string `pulumi:"endTime"`
	// Start of time range. Range is inclusive.
	StartTime *string `pulumi:"startTime"`
}

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

type GoogleCloudRetailV2ConditionTimeRangeArgs added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeArgs struct {
	// End of time range. Range is inclusive.
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// Start of time range. Range is inclusive.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

func (GoogleCloudRetailV2ConditionTimeRangeArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeArgs) ToGoogleCloudRetailV2ConditionTimeRangeOutput added in v0.25.0

func (i GoogleCloudRetailV2ConditionTimeRangeArgs) ToGoogleCloudRetailV2ConditionTimeRangeOutput() GoogleCloudRetailV2ConditionTimeRangeOutput

func (GoogleCloudRetailV2ConditionTimeRangeArgs) ToGoogleCloudRetailV2ConditionTimeRangeOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2ConditionTimeRangeArgs) ToGoogleCloudRetailV2ConditionTimeRangeOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionTimeRangeOutput

type GoogleCloudRetailV2ConditionTimeRangeArray added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeArray []GoogleCloudRetailV2ConditionTimeRangeInput

func (GoogleCloudRetailV2ConditionTimeRangeArray) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeArray) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutput added in v0.25.0

func (i GoogleCloudRetailV2ConditionTimeRangeArray) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutput() GoogleCloudRetailV2ConditionTimeRangeArrayOutput

func (GoogleCloudRetailV2ConditionTimeRangeArray) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2ConditionTimeRangeArray) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionTimeRangeArrayOutput

type GoogleCloudRetailV2ConditionTimeRangeArrayInput added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ConditionTimeRangeArrayOutput() GoogleCloudRetailV2ConditionTimeRangeArrayOutput
	ToGoogleCloudRetailV2ConditionTimeRangeArrayOutputWithContext(context.Context) GoogleCloudRetailV2ConditionTimeRangeArrayOutput
}

GoogleCloudRetailV2ConditionTimeRangeArrayInput is an input type that accepts GoogleCloudRetailV2ConditionTimeRangeArray and GoogleCloudRetailV2ConditionTimeRangeArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ConditionTimeRangeArrayInput` via:

GoogleCloudRetailV2ConditionTimeRangeArray{ GoogleCloudRetailV2ConditionTimeRangeArgs{...} }

type GoogleCloudRetailV2ConditionTimeRangeArrayOutput added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutput() GoogleCloudRetailV2ConditionTimeRangeArrayOutput

func (GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionTimeRangeArrayOutput

type GoogleCloudRetailV2ConditionTimeRangeInput added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ConditionTimeRangeOutput() GoogleCloudRetailV2ConditionTimeRangeOutput
	ToGoogleCloudRetailV2ConditionTimeRangeOutputWithContext(context.Context) GoogleCloudRetailV2ConditionTimeRangeOutput
}

GoogleCloudRetailV2ConditionTimeRangeInput is an input type that accepts GoogleCloudRetailV2ConditionTimeRangeArgs and GoogleCloudRetailV2ConditionTimeRangeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ConditionTimeRangeInput` via:

GoogleCloudRetailV2ConditionTimeRangeArgs{...}

type GoogleCloudRetailV2ConditionTimeRangeOutput added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeOutput struct{ *pulumi.OutputState }

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

func (GoogleCloudRetailV2ConditionTimeRangeOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeOutput) EndTime added in v0.25.0

End of time range. Range is inclusive.

func (GoogleCloudRetailV2ConditionTimeRangeOutput) StartTime added in v0.25.0

Start of time range. Range is inclusive.

func (GoogleCloudRetailV2ConditionTimeRangeOutput) ToGoogleCloudRetailV2ConditionTimeRangeOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeOutput) ToGoogleCloudRetailV2ConditionTimeRangeOutput() GoogleCloudRetailV2ConditionTimeRangeOutput

func (GoogleCloudRetailV2ConditionTimeRangeOutput) ToGoogleCloudRetailV2ConditionTimeRangeOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeOutput) ToGoogleCloudRetailV2ConditionTimeRangeOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionTimeRangeOutput

type GoogleCloudRetailV2ConditionTimeRangeResponse added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeResponse struct {
	// End of time range. Range is inclusive.
	EndTime string `pulumi:"endTime"`
	// Start of time range. Range is inclusive.
	StartTime string `pulumi:"startTime"`
}

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

type GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionTimeRangeResponseArrayOutput

type GoogleCloudRetailV2ConditionTimeRangeResponseOutput added in v0.25.0

type GoogleCloudRetailV2ConditionTimeRangeResponseOutput struct{ *pulumi.OutputState }

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

func (GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2ConditionTimeRangeResponseOutput) EndTime added in v0.25.0

End of time range. Range is inclusive.

func (GoogleCloudRetailV2ConditionTimeRangeResponseOutput) StartTime added in v0.25.0

Start of time range. Range is inclusive.

func (GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseOutput() GoogleCloudRetailV2ConditionTimeRangeResponseOutput

func (GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2ConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2ConditionTimeRangeResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ConditionTimeRangeResponseOutput

type GoogleCloudRetailV2FulfillmentInfo added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfo struct {
	// The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
	PlaceIds []string `pulumi:"placeIds"`
	// The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.
	Type *string `pulumi:"type"`
}

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.

type GoogleCloudRetailV2FulfillmentInfoArgs added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoArgs struct {
	// The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
	PlaceIds pulumi.StringArrayInput `pulumi:"placeIds"`
	// The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.

func (GoogleCloudRetailV2FulfillmentInfoArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoArgs) ToGoogleCloudRetailV2FulfillmentInfoOutput added in v0.8.0

func (i GoogleCloudRetailV2FulfillmentInfoArgs) ToGoogleCloudRetailV2FulfillmentInfoOutput() GoogleCloudRetailV2FulfillmentInfoOutput

func (GoogleCloudRetailV2FulfillmentInfoArgs) ToGoogleCloudRetailV2FulfillmentInfoOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2FulfillmentInfoArgs) ToGoogleCloudRetailV2FulfillmentInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2FulfillmentInfoOutput

type GoogleCloudRetailV2FulfillmentInfoArray added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoArray []GoogleCloudRetailV2FulfillmentInfoInput

func (GoogleCloudRetailV2FulfillmentInfoArray) ElementType added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoArray) ToGoogleCloudRetailV2FulfillmentInfoArrayOutput added in v0.8.0

func (i GoogleCloudRetailV2FulfillmentInfoArray) ToGoogleCloudRetailV2FulfillmentInfoArrayOutput() GoogleCloudRetailV2FulfillmentInfoArrayOutput

func (GoogleCloudRetailV2FulfillmentInfoArray) ToGoogleCloudRetailV2FulfillmentInfoArrayOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2FulfillmentInfoArray) ToGoogleCloudRetailV2FulfillmentInfoArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2FulfillmentInfoArrayOutput

type GoogleCloudRetailV2FulfillmentInfoArrayInput added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2FulfillmentInfoArrayOutput() GoogleCloudRetailV2FulfillmentInfoArrayOutput
	ToGoogleCloudRetailV2FulfillmentInfoArrayOutputWithContext(context.Context) GoogleCloudRetailV2FulfillmentInfoArrayOutput
}

GoogleCloudRetailV2FulfillmentInfoArrayInput is an input type that accepts GoogleCloudRetailV2FulfillmentInfoArray and GoogleCloudRetailV2FulfillmentInfoArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2FulfillmentInfoArrayInput` via:

GoogleCloudRetailV2FulfillmentInfoArray{ GoogleCloudRetailV2FulfillmentInfoArgs{...} }

type GoogleCloudRetailV2FulfillmentInfoArrayOutput added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2FulfillmentInfoArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoArrayOutput() GoogleCloudRetailV2FulfillmentInfoArrayOutput

func (GoogleCloudRetailV2FulfillmentInfoArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2FulfillmentInfoArrayOutput

type GoogleCloudRetailV2FulfillmentInfoInput added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2FulfillmentInfoOutput() GoogleCloudRetailV2FulfillmentInfoOutput
	ToGoogleCloudRetailV2FulfillmentInfoOutputWithContext(context.Context) GoogleCloudRetailV2FulfillmentInfoOutput
}

GoogleCloudRetailV2FulfillmentInfoInput is an input type that accepts GoogleCloudRetailV2FulfillmentInfoArgs and GoogleCloudRetailV2FulfillmentInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2FulfillmentInfoInput` via:

GoogleCloudRetailV2FulfillmentInfoArgs{...}

type GoogleCloudRetailV2FulfillmentInfoOutput added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoOutput struct{ *pulumi.OutputState }

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.

func (GoogleCloudRetailV2FulfillmentInfoOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoOutput) PlaceIds added in v0.8.0

The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2FulfillmentInfoOutput) ToGoogleCloudRetailV2FulfillmentInfoOutput added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoOutput) ToGoogleCloudRetailV2FulfillmentInfoOutput() GoogleCloudRetailV2FulfillmentInfoOutput

func (GoogleCloudRetailV2FulfillmentInfoOutput) ToGoogleCloudRetailV2FulfillmentInfoOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoOutput) ToGoogleCloudRetailV2FulfillmentInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2FulfillmentInfoOutput

func (GoogleCloudRetailV2FulfillmentInfoOutput) Type added in v0.8.0

The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.

type GoogleCloudRetailV2FulfillmentInfoResponse added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoResponse struct {
	// The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
	PlaceIds []string `pulumi:"placeIds"`
	// The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.
	Type string `pulumi:"type"`
}

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.

type GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseArrayOutput added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput

type GoogleCloudRetailV2FulfillmentInfoResponseOutput added in v0.8.0

type GoogleCloudRetailV2FulfillmentInfoResponseOutput struct{ *pulumi.OutputState }

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods.

func (GoogleCloudRetailV2FulfillmentInfoResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2FulfillmentInfoResponseOutput) PlaceIds added in v0.8.0

The IDs for this type, such as the store IDs for FulfillmentInfo.type.pickup-in-store or the region IDs for FulfillmentInfo.type.same-day-delivery. A maximum of 3000 values are allowed. Each value must be a string with a length limit of 30 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2FulfillmentInfoResponseOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoResponseOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseOutput() GoogleCloudRetailV2FulfillmentInfoResponseOutput

func (GoogleCloudRetailV2FulfillmentInfoResponseOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2FulfillmentInfoResponseOutput) ToGoogleCloudRetailV2FulfillmentInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2FulfillmentInfoResponseOutput

func (GoogleCloudRetailV2FulfillmentInfoResponseOutput) Type added in v0.8.0

The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.

type GoogleCloudRetailV2Image

type GoogleCloudRetailV2Image struct {
	// Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	Height *int `pulumi:"height"`
	// URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Uri string `pulumi:"uri"`
	// Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	Width *int `pulumi:"width"`
}

Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.

type GoogleCloudRetailV2ImageArgs

type GoogleCloudRetailV2ImageArgs struct {
	// Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	Height pulumi.IntPtrInput `pulumi:"height"`
	// URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Uri pulumi.StringInput `pulumi:"uri"`
	// Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	Width pulumi.IntPtrInput `pulumi:"width"`
}

Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.

func (GoogleCloudRetailV2ImageArgs) ElementType

func (GoogleCloudRetailV2ImageArgs) ToGoogleCloudRetailV2ImageOutput

func (i GoogleCloudRetailV2ImageArgs) ToGoogleCloudRetailV2ImageOutput() GoogleCloudRetailV2ImageOutput

func (GoogleCloudRetailV2ImageArgs) ToGoogleCloudRetailV2ImageOutputWithContext

func (i GoogleCloudRetailV2ImageArgs) ToGoogleCloudRetailV2ImageOutputWithContext(ctx context.Context) GoogleCloudRetailV2ImageOutput

type GoogleCloudRetailV2ImageArray

type GoogleCloudRetailV2ImageArray []GoogleCloudRetailV2ImageInput

func (GoogleCloudRetailV2ImageArray) ElementType

func (GoogleCloudRetailV2ImageArray) ToGoogleCloudRetailV2ImageArrayOutput

func (i GoogleCloudRetailV2ImageArray) ToGoogleCloudRetailV2ImageArrayOutput() GoogleCloudRetailV2ImageArrayOutput

func (GoogleCloudRetailV2ImageArray) ToGoogleCloudRetailV2ImageArrayOutputWithContext

func (i GoogleCloudRetailV2ImageArray) ToGoogleCloudRetailV2ImageArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ImageArrayOutput

type GoogleCloudRetailV2ImageArrayInput

type GoogleCloudRetailV2ImageArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ImageArrayOutput() GoogleCloudRetailV2ImageArrayOutput
	ToGoogleCloudRetailV2ImageArrayOutputWithContext(context.Context) GoogleCloudRetailV2ImageArrayOutput
}

GoogleCloudRetailV2ImageArrayInput is an input type that accepts GoogleCloudRetailV2ImageArray and GoogleCloudRetailV2ImageArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ImageArrayInput` via:

GoogleCloudRetailV2ImageArray{ GoogleCloudRetailV2ImageArgs{...} }

type GoogleCloudRetailV2ImageArrayOutput

type GoogleCloudRetailV2ImageArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ImageArrayOutput) ElementType

func (GoogleCloudRetailV2ImageArrayOutput) Index

func (GoogleCloudRetailV2ImageArrayOutput) ToGoogleCloudRetailV2ImageArrayOutput

func (o GoogleCloudRetailV2ImageArrayOutput) ToGoogleCloudRetailV2ImageArrayOutput() GoogleCloudRetailV2ImageArrayOutput

func (GoogleCloudRetailV2ImageArrayOutput) ToGoogleCloudRetailV2ImageArrayOutputWithContext

func (o GoogleCloudRetailV2ImageArrayOutput) ToGoogleCloudRetailV2ImageArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ImageArrayOutput

type GoogleCloudRetailV2ImageInput

type GoogleCloudRetailV2ImageInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ImageOutput() GoogleCloudRetailV2ImageOutput
	ToGoogleCloudRetailV2ImageOutputWithContext(context.Context) GoogleCloudRetailV2ImageOutput
}

GoogleCloudRetailV2ImageInput is an input type that accepts GoogleCloudRetailV2ImageArgs and GoogleCloudRetailV2ImageOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ImageInput` via:

GoogleCloudRetailV2ImageArgs{...}

type GoogleCloudRetailV2ImageOutput

type GoogleCloudRetailV2ImageOutput struct{ *pulumi.OutputState }

Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.

func (GoogleCloudRetailV2ImageOutput) ElementType

func (GoogleCloudRetailV2ImageOutput) Height

Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2ImageOutput) ToGoogleCloudRetailV2ImageOutput

func (o GoogleCloudRetailV2ImageOutput) ToGoogleCloudRetailV2ImageOutput() GoogleCloudRetailV2ImageOutput

func (GoogleCloudRetailV2ImageOutput) ToGoogleCloudRetailV2ImageOutputWithContext

func (o GoogleCloudRetailV2ImageOutput) ToGoogleCloudRetailV2ImageOutputWithContext(ctx context.Context) GoogleCloudRetailV2ImageOutput

func (GoogleCloudRetailV2ImageOutput) Uri

URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).

func (GoogleCloudRetailV2ImageOutput) Width

Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

type GoogleCloudRetailV2ImageResponse

type GoogleCloudRetailV2ImageResponse struct {
	// Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	Height int `pulumi:"height"`
	// URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Uri string `pulumi:"uri"`
	// Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	Width int `pulumi:"width"`
}

Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.

type GoogleCloudRetailV2ImageResponseArrayOutput

type GoogleCloudRetailV2ImageResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ImageResponseArrayOutput) ElementType

func (GoogleCloudRetailV2ImageResponseArrayOutput) Index

func (GoogleCloudRetailV2ImageResponseArrayOutput) ToGoogleCloudRetailV2ImageResponseArrayOutput

func (o GoogleCloudRetailV2ImageResponseArrayOutput) ToGoogleCloudRetailV2ImageResponseArrayOutput() GoogleCloudRetailV2ImageResponseArrayOutput

func (GoogleCloudRetailV2ImageResponseArrayOutput) ToGoogleCloudRetailV2ImageResponseArrayOutputWithContext

func (o GoogleCloudRetailV2ImageResponseArrayOutput) ToGoogleCloudRetailV2ImageResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ImageResponseArrayOutput

type GoogleCloudRetailV2ImageResponseOutput

type GoogleCloudRetailV2ImageResponseOutput struct{ *pulumi.OutputState }

Product image. Recommendations AI and Retail Search do not use product images to improve prediction and search results. However, product images can be returned in results, and are shown in prediction or search previews in the console.

func (GoogleCloudRetailV2ImageResponseOutput) ElementType

func (GoogleCloudRetailV2ImageResponseOutput) Height

Height of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2ImageResponseOutput) ToGoogleCloudRetailV2ImageResponseOutput

func (o GoogleCloudRetailV2ImageResponseOutput) ToGoogleCloudRetailV2ImageResponseOutput() GoogleCloudRetailV2ImageResponseOutput

func (GoogleCloudRetailV2ImageResponseOutput) ToGoogleCloudRetailV2ImageResponseOutputWithContext

func (o GoogleCloudRetailV2ImageResponseOutput) ToGoogleCloudRetailV2ImageResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ImageResponseOutput

func (GoogleCloudRetailV2ImageResponseOutput) Uri

URI of the image. This field must be a valid UTF-8 encoded URI with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).

func (GoogleCloudRetailV2ImageResponseOutput) Width

Width of the image in number of pixels. This field must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

type GoogleCloudRetailV2IntervalResponse added in v0.8.0

type GoogleCloudRetailV2IntervalResponse struct {
	// Exclusive upper bound.
	ExclusiveMaximum float64 `pulumi:"exclusiveMaximum"`
	// Exclusive lower bound.
	ExclusiveMinimum float64 `pulumi:"exclusiveMinimum"`
	// Inclusive upper bound.
	Maximum float64 `pulumi:"maximum"`
	// Inclusive lower bound.
	Minimum float64 `pulumi:"minimum"`
}

A floating point interval.

type GoogleCloudRetailV2IntervalResponseOutput added in v0.8.0

type GoogleCloudRetailV2IntervalResponseOutput struct{ *pulumi.OutputState }

A floating point interval.

func (GoogleCloudRetailV2IntervalResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2IntervalResponseOutput) ExclusiveMaximum added in v0.8.0

Exclusive upper bound.

func (GoogleCloudRetailV2IntervalResponseOutput) ExclusiveMinimum added in v0.8.0

Exclusive lower bound.

func (GoogleCloudRetailV2IntervalResponseOutput) Maximum added in v0.8.0

Inclusive upper bound.

func (GoogleCloudRetailV2IntervalResponseOutput) Minimum added in v0.8.0

Inclusive lower bound.

func (GoogleCloudRetailV2IntervalResponseOutput) ToGoogleCloudRetailV2IntervalResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2IntervalResponseOutput) ToGoogleCloudRetailV2IntervalResponseOutput() GoogleCloudRetailV2IntervalResponseOutput

func (GoogleCloudRetailV2IntervalResponseOutput) ToGoogleCloudRetailV2IntervalResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2IntervalResponseOutput) ToGoogleCloudRetailV2IntervalResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2IntervalResponseOutput

type GoogleCloudRetailV2LocalInventoryResponse added in v0.25.0

type GoogleCloudRetailV2LocalInventoryResponse struct {
	// Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.
	Attributes map[string]string `pulumi:"attributes"`
	// Input only. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.
	FulfillmentTypes []string `pulumi:"fulfillmentTypes"`
	// The place ID for the current set of inventory information.
	PlaceId string `pulumi:"placeId"`
	// Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).
	PriceInfo GoogleCloudRetailV2PriceInfoResponse `pulumi:"priceInfo"`
}

The inventory information at a place (e.g. a store) identified by a place ID.

type GoogleCloudRetailV2LocalInventoryResponseArrayOutput added in v0.25.0

type GoogleCloudRetailV2LocalInventoryResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2LocalInventoryResponseArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2LocalInventoryResponseArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2LocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2LocalInventoryResponseArrayOutput added in v0.25.0

func (GoogleCloudRetailV2LocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2LocalInventoryResponseArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2LocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2LocalInventoryResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2LocalInventoryResponseArrayOutput

type GoogleCloudRetailV2LocalInventoryResponseOutput added in v0.25.0

type GoogleCloudRetailV2LocalInventoryResponseOutput struct{ *pulumi.OutputState }

The inventory information at a place (e.g. a store) identified by a place ID.

func (GoogleCloudRetailV2LocalInventoryResponseOutput) Attributes added in v0.25.0

Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.

func (GoogleCloudRetailV2LocalInventoryResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2LocalInventoryResponseOutput) FulfillmentTypes added in v0.25.0

Input only. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2LocalInventoryResponseOutput) PlaceId added in v0.25.0

The place ID for the current set of inventory information.

func (GoogleCloudRetailV2LocalInventoryResponseOutput) PriceInfo added in v0.25.0

Product price and cost information. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).

func (GoogleCloudRetailV2LocalInventoryResponseOutput) ToGoogleCloudRetailV2LocalInventoryResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2LocalInventoryResponseOutput) ToGoogleCloudRetailV2LocalInventoryResponseOutput() GoogleCloudRetailV2LocalInventoryResponseOutput

func (GoogleCloudRetailV2LocalInventoryResponseOutput) ToGoogleCloudRetailV2LocalInventoryResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2LocalInventoryResponseOutput) ToGoogleCloudRetailV2LocalInventoryResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2LocalInventoryResponseOutput

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig struct {
	// Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
	ContextProductsType *GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType `pulumi:"contextProductsType"`
}

Additional configs for the frequently-bought-together model type.

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs struct {
	// Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
	ContextProductsType GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput `pulumi:"contextProductsType"`
}

Additional configs for the frequently-bought-together model type.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType string

Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput
	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext(context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput
}

GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput is an input type that accepts GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeArgs and GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput` via:

GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeArgs{...}

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput
	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext(context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput
}

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigInput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput
	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput
}

GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigInput is an input type that accepts GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs and GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigInput` via:

GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs{...}

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput struct{ *pulumi.OutputState }

Additional configs for the frequently-bought-together model type.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ContextProductsType added in v0.31.1

Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrInput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput() GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput
	ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput
}

GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrInput is an input type that accepts GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs, GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtr and GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrInput` via:

        GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ContextProductsType added in v0.31.1

Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse struct {
	// Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.
	ContextProductsType string `pulumi:"contextProductsType"`
}

Additional configs for the frequently-bought-together model type.

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput added in v0.31.1

type GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput struct{ *pulumi.OutputState }

Additional configs for the frequently-bought-together model type.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ContextProductsType added in v0.31.1

Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS.

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput added in v0.31.1

func (GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToGoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponseOutputWithContext added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfig added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfig struct {
	// Additional configs for frequently-bought-together models.
	FrequentlyBoughtTogetherConfig *GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig `pulumi:"frequentlyBoughtTogetherConfig"`
}

Additional model features config.

type GoogleCloudRetailV2ModelModelFeaturesConfigArgs added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigArgs struct {
	// Additional configs for frequently-bought-together models.
	FrequentlyBoughtTogetherConfig GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigPtrInput `pulumi:"frequentlyBoughtTogetherConfig"`
}

Additional model features config.

func (GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutput added in v0.31.1

func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutput() GoogleCloudRetailV2ModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput added in v0.31.1

func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput

func (GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2ModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2ModelModelFeaturesConfigInput added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ModelModelFeaturesConfigOutput() GoogleCloudRetailV2ModelModelFeaturesConfigOutput
	ToGoogleCloudRetailV2ModelModelFeaturesConfigOutputWithContext(context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigOutput
}

GoogleCloudRetailV2ModelModelFeaturesConfigInput is an input type that accepts GoogleCloudRetailV2ModelModelFeaturesConfigArgs and GoogleCloudRetailV2ModelModelFeaturesConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ModelModelFeaturesConfigInput` via:

GoogleCloudRetailV2ModelModelFeaturesConfigArgs{...}

type GoogleCloudRetailV2ModelModelFeaturesConfigOutput added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigOutput struct{ *pulumi.OutputState }

Additional model features config.

func (GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutput added in v0.31.1

func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutput() GoogleCloudRetailV2ModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput added in v0.31.1

func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput

func (GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2ModelModelFeaturesConfigPtrInput added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput
	ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput
}

GoogleCloudRetailV2ModelModelFeaturesConfigPtrInput is an input type that accepts GoogleCloudRetailV2ModelModelFeaturesConfigArgs, GoogleCloudRetailV2ModelModelFeaturesConfigPtr and GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2ModelModelFeaturesConfigPtrInput` via:

        GoogleCloudRetailV2ModelModelFeaturesConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2ModelModelFeaturesConfigResponse added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigResponse struct {
	// Additional configs for frequently-bought-together models.
	FrequentlyBoughtTogetherConfig GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigResponse `pulumi:"frequentlyBoughtTogetherConfig"`
}

Additional model features config.

type GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput added in v0.31.1

type GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput struct{ *pulumi.OutputState }

Additional model features config.

func (GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput added in v0.31.1

func (GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigResponseOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2ModelModelFeaturesConfigResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput

type GoogleCloudRetailV2ModelServingConfigListResponse added in v0.29.0

type GoogleCloudRetailV2ModelServingConfigListResponse struct {
	// Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.
	ServingConfigIds []string `pulumi:"servingConfigIds"`
}

Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.

type GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput added in v0.29.0

type GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2ModelServingConfigListResponseArrayOutput added in v0.29.0

func (GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2ModelServingConfigListResponseArrayOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2ModelServingConfigListResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput

type GoogleCloudRetailV2ModelServingConfigListResponseOutput added in v0.29.0

type GoogleCloudRetailV2ModelServingConfigListResponseOutput struct{ *pulumi.OutputState }

Represents an ordered combination of valid serving configs, which can be used for `PAGE_OPTIMIZATION` recommendations.

func (GoogleCloudRetailV2ModelServingConfigListResponseOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2ModelServingConfigListResponseOutput) ServingConfigIds added in v0.29.0

Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`.

func (GoogleCloudRetailV2ModelServingConfigListResponseOutput) ToGoogleCloudRetailV2ModelServingConfigListResponseOutput added in v0.29.0

func (GoogleCloudRetailV2ModelServingConfigListResponseOutput) ToGoogleCloudRetailV2ModelServingConfigListResponseOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2ModelServingConfigListResponseOutput) ToGoogleCloudRetailV2ModelServingConfigListResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ModelServingConfigListResponseOutput

type GoogleCloudRetailV2PriceInfo

type GoogleCloudRetailV2PriceInfo struct {
	// The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).
	Cost *float64 `pulumi:"cost"`
	// The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.
	CurrencyCode *string `pulumi:"currencyCode"`
	// Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.
	OriginalPrice *float64 `pulumi:"originalPrice"`
	// Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).
	Price *float64 `pulumi:"price"`
	// The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.
	PriceEffectiveTime *string `pulumi:"priceEffectiveTime"`
	// The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.
	PriceExpireTime *string `pulumi:"priceExpireTime"`
}

The price information of a Product.

type GoogleCloudRetailV2PriceInfoArgs

type GoogleCloudRetailV2PriceInfoArgs struct {
	// The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).
	Cost pulumi.Float64PtrInput `pulumi:"cost"`
	// The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.
	CurrencyCode pulumi.StringPtrInput `pulumi:"currencyCode"`
	// Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.
	OriginalPrice pulumi.Float64PtrInput `pulumi:"originalPrice"`
	// Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).
	Price pulumi.Float64PtrInput `pulumi:"price"`
	// The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.
	PriceEffectiveTime pulumi.StringPtrInput `pulumi:"priceEffectiveTime"`
	// The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.
	PriceExpireTime pulumi.StringPtrInput `pulumi:"priceExpireTime"`
}

The price information of a Product.

func (GoogleCloudRetailV2PriceInfoArgs) ElementType

func (GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoOutput

func (i GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoOutput() GoogleCloudRetailV2PriceInfoOutput

func (GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoOutputWithContext

func (i GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoOutput

func (GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoPtrOutput

func (i GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoPtrOutput() GoogleCloudRetailV2PriceInfoPtrOutput

func (GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext

func (i GoogleCloudRetailV2PriceInfoArgs) ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoPtrOutput

type GoogleCloudRetailV2PriceInfoInput

type GoogleCloudRetailV2PriceInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2PriceInfoOutput() GoogleCloudRetailV2PriceInfoOutput
	ToGoogleCloudRetailV2PriceInfoOutputWithContext(context.Context) GoogleCloudRetailV2PriceInfoOutput
}

GoogleCloudRetailV2PriceInfoInput is an input type that accepts GoogleCloudRetailV2PriceInfoArgs and GoogleCloudRetailV2PriceInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2PriceInfoInput` via:

GoogleCloudRetailV2PriceInfoArgs{...}

type GoogleCloudRetailV2PriceInfoOutput

type GoogleCloudRetailV2PriceInfoOutput struct{ *pulumi.OutputState }

The price information of a Product.

func (GoogleCloudRetailV2PriceInfoOutput) Cost

The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).

func (GoogleCloudRetailV2PriceInfoOutput) CurrencyCode

The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.

func (GoogleCloudRetailV2PriceInfoOutput) ElementType

func (GoogleCloudRetailV2PriceInfoOutput) OriginalPrice

Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.

func (GoogleCloudRetailV2PriceInfoOutput) Price

Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).

func (GoogleCloudRetailV2PriceInfoOutput) PriceEffectiveTime added in v0.8.0

The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.

func (GoogleCloudRetailV2PriceInfoOutput) PriceExpireTime added in v0.8.0

The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.

func (GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoOutput

func (o GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoOutput() GoogleCloudRetailV2PriceInfoOutput

func (GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoOutputWithContext

func (o GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoOutput

func (GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoPtrOutput

func (o GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoPtrOutput() GoogleCloudRetailV2PriceInfoPtrOutput

func (GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext

func (o GoogleCloudRetailV2PriceInfoOutput) ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoPtrOutput

type GoogleCloudRetailV2PriceInfoPriceRangeResponse added in v0.8.0

type GoogleCloudRetailV2PriceInfoPriceRangeResponse struct {
	// The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.
	OriginalPrice GoogleCloudRetailV2IntervalResponse `pulumi:"originalPrice"`
	// The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.
	Price GoogleCloudRetailV2IntervalResponse `pulumi:"price"`
}

The price range of all variant Product having the same Product.primary_product_id.

type GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput added in v0.8.0

type GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput struct{ *pulumi.OutputState }

The price range of all variant Product having the same Product.primary_product_id.

func (GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) OriginalPrice added in v0.8.0

The inclusive Product.pricing_info.original_price internal of all variant Product having the same Product.primary_product_id.

func (GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) Price added in v0.8.0

The inclusive Product.pricing_info.price interval of all variant Product having the same Product.primary_product_id.

func (GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2PriceInfoPriceRangeResponseOutput added in v0.8.0

func (GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2PriceInfoPriceRangeResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2PriceInfoPriceRangeResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoPriceRangeResponseOutput

type GoogleCloudRetailV2PriceInfoPtrInput

type GoogleCloudRetailV2PriceInfoPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2PriceInfoPtrOutput() GoogleCloudRetailV2PriceInfoPtrOutput
	ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext(context.Context) GoogleCloudRetailV2PriceInfoPtrOutput
}

GoogleCloudRetailV2PriceInfoPtrInput is an input type that accepts GoogleCloudRetailV2PriceInfoArgs, GoogleCloudRetailV2PriceInfoPtr and GoogleCloudRetailV2PriceInfoPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2PriceInfoPtrInput` via:

        GoogleCloudRetailV2PriceInfoArgs{...}

or:

        nil

type GoogleCloudRetailV2PriceInfoPtrOutput

type GoogleCloudRetailV2PriceInfoPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2PriceInfoPtrOutput) Cost

The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).

func (GoogleCloudRetailV2PriceInfoPtrOutput) CurrencyCode

The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.

func (GoogleCloudRetailV2PriceInfoPtrOutput) Elem

func (GoogleCloudRetailV2PriceInfoPtrOutput) ElementType

func (GoogleCloudRetailV2PriceInfoPtrOutput) OriginalPrice

Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.

func (GoogleCloudRetailV2PriceInfoPtrOutput) Price

Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).

func (GoogleCloudRetailV2PriceInfoPtrOutput) PriceEffectiveTime added in v0.8.0

The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.

func (GoogleCloudRetailV2PriceInfoPtrOutput) PriceExpireTime added in v0.8.0

The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.

func (GoogleCloudRetailV2PriceInfoPtrOutput) ToGoogleCloudRetailV2PriceInfoPtrOutput

func (o GoogleCloudRetailV2PriceInfoPtrOutput) ToGoogleCloudRetailV2PriceInfoPtrOutput() GoogleCloudRetailV2PriceInfoPtrOutput

func (GoogleCloudRetailV2PriceInfoPtrOutput) ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext

func (o GoogleCloudRetailV2PriceInfoPtrOutput) ToGoogleCloudRetailV2PriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoPtrOutput

type GoogleCloudRetailV2PriceInfoResponse

type GoogleCloudRetailV2PriceInfoResponse struct {
	// The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).
	Cost float64 `pulumi:"cost"`
	// The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.
	CurrencyCode string `pulumi:"currencyCode"`
	// Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.
	OriginalPrice float64 `pulumi:"originalPrice"`
	// Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).
	Price float64 `pulumi:"price"`
	// The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.
	PriceEffectiveTime string `pulumi:"priceEffectiveTime"`
	// The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.
	PriceExpireTime string `pulumi:"priceExpireTime"`
	// The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.
	PriceRange GoogleCloudRetailV2PriceInfoPriceRangeResponse `pulumi:"priceRange"`
}

The price information of a Product.

type GoogleCloudRetailV2PriceInfoResponseOutput

type GoogleCloudRetailV2PriceInfoResponseOutput struct{ *pulumi.OutputState }

The price information of a Product.

func (GoogleCloudRetailV2PriceInfoResponseOutput) Cost

The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = price - cost Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).

func (GoogleCloudRetailV2PriceInfoResponseOutput) CurrencyCode

The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The Product.Type.VARIANT Products with the same Product.primary_product_id must share the same currency_code. Otherwise, a FAILED_PRECONDITION error is returned.

func (GoogleCloudRetailV2PriceInfoResponseOutput) ElementType

func (GoogleCloudRetailV2PriceInfoResponseOutput) OriginalPrice

Price of the product without any discount. If zero, by default set to be the price. If set, original_price should be greater than or equal to price, otherwise an INVALID_ARGUMENT error is thrown.

func (GoogleCloudRetailV2PriceInfoResponseOutput) Price

Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).

func (GoogleCloudRetailV2PriceInfoResponseOutput) PriceEffectiveTime added in v0.8.0

The timestamp when the price starts to be effective. This can be set as a future timestamp, and the price is only used for search after price_effective_time. If so, the original_price must be set and original_price is used before price_effective_time. Do not set if price is always effective because it will cause additional latency during search.

func (GoogleCloudRetailV2PriceInfoResponseOutput) PriceExpireTime added in v0.8.0

The timestamp when the price stops to be effective. The price is used for search before price_expire_time. If this field is set, the original_price must be set and original_price is used after price_expire_time. Do not set if price is always effective because it will cause additional latency during search.

func (GoogleCloudRetailV2PriceInfoResponseOutput) PriceRange added in v0.8.0

The price range of all the child Product.Type.VARIANT Products grouped together on the Product.Type.PRIMARY Product. Only populated for Product.Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.

func (GoogleCloudRetailV2PriceInfoResponseOutput) ToGoogleCloudRetailV2PriceInfoResponseOutput

func (o GoogleCloudRetailV2PriceInfoResponseOutput) ToGoogleCloudRetailV2PriceInfoResponseOutput() GoogleCloudRetailV2PriceInfoResponseOutput

func (GoogleCloudRetailV2PriceInfoResponseOutput) ToGoogleCloudRetailV2PriceInfoResponseOutputWithContext

func (o GoogleCloudRetailV2PriceInfoResponseOutput) ToGoogleCloudRetailV2PriceInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2PriceInfoResponseOutput

type GoogleCloudRetailV2ProductResponse added in v0.8.0

type GoogleCloudRetailV2ProductResponse struct {
	// Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.
	Attributes map[string]string `pulumi:"attributes"`
	// The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.
	Audience GoogleCloudRetailV2AudienceResponse `pulumi:"audience"`
	// The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
	Availability string `pulumi:"availability"`
	// The available quantity of the item.
	AvailableQuantity int `pulumi:"availableQuantity"`
	// The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.
	AvailableTime string `pulumi:"availableTime"`
	// The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).
	Brands []string `pulumi:"brands"`
	// Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436
	Categories []string `pulumi:"categories"`
	// The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.
	CollectionMemberIds []string `pulumi:"collectionMemberIds"`
	// The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorInfo GoogleCloudRetailV2ColorInfoResponse `pulumi:"colorInfo"`
	// The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).
	Conditions []string `pulumi:"conditions"`
	// Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).
	Description string `pulumi:"description"`
	// The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).
	ExpireTime string `pulumi:"expireTime"`
	// Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.
	FulfillmentInfo []GoogleCloudRetailV2FulfillmentInfoResponse `pulumi:"fulfillmentInfo"`
	// The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.
	Gtin string `pulumi:"gtin"`
	// Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Images []GoogleCloudRetailV2ImageResponse `pulumi:"images"`
	// Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.
	LanguageCode string `pulumi:"languageCode"`
	// A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.
	LocalInventories []GoogleCloudRetailV2LocalInventoryResponse `pulumi:"localInventories"`
	// The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).
	Materials []string `pulumi:"materials"`
	// Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
	Name string `pulumi:"name"`
	// The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).
	Patterns []string `pulumi:"patterns"`
	// Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).
	PriceInfo GoogleCloudRetailV2PriceInfoResponse `pulumi:"priceInfo"`
	// Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).
	PrimaryProductId string `pulumi:"primaryProductId"`
	// The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.
	Promotions []GoogleCloudRetailV2PromotionResponse `pulumi:"promotions"`
	// The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.
	PublishTime string `pulumi:"publishTime"`
	// The rating of this product.
	Rating GoogleCloudRetailV2RatingResponse `pulumi:"rating"`
	// Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	//
	// Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	RetrievableFields string `pulumi:"retrievableFields"`
	// The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).
	Sizes []string `pulumi:"sizes"`
	// Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).
	Tags []string `pulumi:"tags"`
	// Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).
	Title string `pulumi:"title"`
	// Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.
	Ttl string `pulumi:"ttl"`
	// Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.
	Type string `pulumi:"type"`
	// Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).
	Uri string `pulumi:"uri"`
	// Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.
	Variants []GoogleCloudRetailV2ProductResponse `pulumi:"variants"`
}

Product captures all metadata information of items to be recommended or searched.

type GoogleCloudRetailV2ProductResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2ProductResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2ProductResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2ProductResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2ProductResponseArrayOutput) ToGoogleCloudRetailV2ProductResponseArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2ProductResponseArrayOutput) ToGoogleCloudRetailV2ProductResponseArrayOutput() GoogleCloudRetailV2ProductResponseArrayOutput

func (GoogleCloudRetailV2ProductResponseArrayOutput) ToGoogleCloudRetailV2ProductResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2ProductResponseArrayOutput) ToGoogleCloudRetailV2ProductResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2ProductResponseArrayOutput

type GoogleCloudRetailV2ProductResponseOutput added in v0.8.0

type GoogleCloudRetailV2ProductResponseOutput struct{ *pulumi.OutputState }

Product captures all metadata information of items to be recommended or searched.

func (GoogleCloudRetailV2ProductResponseOutput) Attributes added in v0.8.0

Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.

func (GoogleCloudRetailV2ProductResponseOutput) Audience added in v0.8.0

The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.

func (GoogleCloudRetailV2ProductResponseOutput) Availability added in v0.8.0

The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).

func (GoogleCloudRetailV2ProductResponseOutput) AvailableQuantity added in v0.8.0

The available quantity of the item.

func (GoogleCloudRetailV2ProductResponseOutput) AvailableTime added in v0.8.0

The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.

func (GoogleCloudRetailV2ProductResponseOutput) Brands added in v0.8.0

The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).

func (GoogleCloudRetailV2ProductResponseOutput) Categories added in v0.8.0

Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436

func (GoogleCloudRetailV2ProductResponseOutput) CollectionMemberIds added in v0.8.0

The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.

func (GoogleCloudRetailV2ProductResponseOutput) ColorInfo added in v0.8.0

The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (GoogleCloudRetailV2ProductResponseOutput) Conditions added in v0.8.0

The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).

func (GoogleCloudRetailV2ProductResponseOutput) Description added in v0.8.0

Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).

func (GoogleCloudRetailV2ProductResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2ProductResponseOutput) ExpireTime added in v0.8.0

The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).

func (GoogleCloudRetailV2ProductResponseOutput) FulfillmentInfo added in v0.8.0

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2ProductResponseOutput) Gtin added in v0.8.0

The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2ProductResponseOutput) Images added in v0.8.0

Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).

func (GoogleCloudRetailV2ProductResponseOutput) LanguageCode added in v0.8.0

Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.

func (GoogleCloudRetailV2ProductResponseOutput) LocalInventories added in v0.25.0

A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.

func (GoogleCloudRetailV2ProductResponseOutput) Materials added in v0.8.0

The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).

func (GoogleCloudRetailV2ProductResponseOutput) Name added in v0.8.0

Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.

func (GoogleCloudRetailV2ProductResponseOutput) Patterns added in v0.8.0

The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).

func (GoogleCloudRetailV2ProductResponseOutput) PriceInfo added in v0.8.0

Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).

func (GoogleCloudRetailV2ProductResponseOutput) PrimaryProductId added in v0.8.0

Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).

func (GoogleCloudRetailV2ProductResponseOutput) Promotions added in v0.8.0

The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.

func (GoogleCloudRetailV2ProductResponseOutput) PublishTime added in v0.8.0

The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.

func (GoogleCloudRetailV2ProductResponseOutput) Rating added in v0.8.0

The rating of this product.

func (GoogleCloudRetailV2ProductResponseOutput) RetrievableFields deprecated added in v0.8.0

Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.

Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.

func (GoogleCloudRetailV2ProductResponseOutput) Sizes added in v0.8.0

The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).

func (GoogleCloudRetailV2ProductResponseOutput) Tags added in v0.8.0

Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).

func (GoogleCloudRetailV2ProductResponseOutput) Title added in v0.8.0

Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).

func (GoogleCloudRetailV2ProductResponseOutput) ToGoogleCloudRetailV2ProductResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2ProductResponseOutput) ToGoogleCloudRetailV2ProductResponseOutput() GoogleCloudRetailV2ProductResponseOutput

func (GoogleCloudRetailV2ProductResponseOutput) ToGoogleCloudRetailV2ProductResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2ProductResponseOutput) ToGoogleCloudRetailV2ProductResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2ProductResponseOutput

func (GoogleCloudRetailV2ProductResponseOutput) Ttl added in v0.8.0

Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.

func (GoogleCloudRetailV2ProductResponseOutput) Type added in v0.8.0

Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.

func (GoogleCloudRetailV2ProductResponseOutput) Uri added in v0.8.0

Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).

func (GoogleCloudRetailV2ProductResponseOutput) Variants added in v0.8.0

Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.

type GoogleCloudRetailV2Promotion added in v0.8.0

type GoogleCloudRetailV2Promotion struct {
	// Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).
	PromotionId *string `pulumi:"promotionId"`
}

Promotion specification.

type GoogleCloudRetailV2PromotionArgs added in v0.8.0

type GoogleCloudRetailV2PromotionArgs struct {
	// Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).
	PromotionId pulumi.StringPtrInput `pulumi:"promotionId"`
}

Promotion specification.

func (GoogleCloudRetailV2PromotionArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2PromotionArgs) ToGoogleCloudRetailV2PromotionOutput added in v0.8.0

func (i GoogleCloudRetailV2PromotionArgs) ToGoogleCloudRetailV2PromotionOutput() GoogleCloudRetailV2PromotionOutput

func (GoogleCloudRetailV2PromotionArgs) ToGoogleCloudRetailV2PromotionOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2PromotionArgs) ToGoogleCloudRetailV2PromotionOutputWithContext(ctx context.Context) GoogleCloudRetailV2PromotionOutput

type GoogleCloudRetailV2PromotionArray added in v0.8.0

type GoogleCloudRetailV2PromotionArray []GoogleCloudRetailV2PromotionInput

func (GoogleCloudRetailV2PromotionArray) ElementType added in v0.8.0

func (GoogleCloudRetailV2PromotionArray) ToGoogleCloudRetailV2PromotionArrayOutput added in v0.8.0

func (i GoogleCloudRetailV2PromotionArray) ToGoogleCloudRetailV2PromotionArrayOutput() GoogleCloudRetailV2PromotionArrayOutput

func (GoogleCloudRetailV2PromotionArray) ToGoogleCloudRetailV2PromotionArrayOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2PromotionArray) ToGoogleCloudRetailV2PromotionArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2PromotionArrayOutput

type GoogleCloudRetailV2PromotionArrayInput added in v0.8.0

type GoogleCloudRetailV2PromotionArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2PromotionArrayOutput() GoogleCloudRetailV2PromotionArrayOutput
	ToGoogleCloudRetailV2PromotionArrayOutputWithContext(context.Context) GoogleCloudRetailV2PromotionArrayOutput
}

GoogleCloudRetailV2PromotionArrayInput is an input type that accepts GoogleCloudRetailV2PromotionArray and GoogleCloudRetailV2PromotionArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2PromotionArrayInput` via:

GoogleCloudRetailV2PromotionArray{ GoogleCloudRetailV2PromotionArgs{...} }

type GoogleCloudRetailV2PromotionArrayOutput added in v0.8.0

type GoogleCloudRetailV2PromotionArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2PromotionArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2PromotionArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2PromotionArrayOutput) ToGoogleCloudRetailV2PromotionArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2PromotionArrayOutput) ToGoogleCloudRetailV2PromotionArrayOutput() GoogleCloudRetailV2PromotionArrayOutput

func (GoogleCloudRetailV2PromotionArrayOutput) ToGoogleCloudRetailV2PromotionArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2PromotionArrayOutput) ToGoogleCloudRetailV2PromotionArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2PromotionArrayOutput

type GoogleCloudRetailV2PromotionInput added in v0.8.0

type GoogleCloudRetailV2PromotionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2PromotionOutput() GoogleCloudRetailV2PromotionOutput
	ToGoogleCloudRetailV2PromotionOutputWithContext(context.Context) GoogleCloudRetailV2PromotionOutput
}

GoogleCloudRetailV2PromotionInput is an input type that accepts GoogleCloudRetailV2PromotionArgs and GoogleCloudRetailV2PromotionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2PromotionInput` via:

GoogleCloudRetailV2PromotionArgs{...}

type GoogleCloudRetailV2PromotionOutput added in v0.8.0

type GoogleCloudRetailV2PromotionOutput struct{ *pulumi.OutputState }

Promotion specification.

func (GoogleCloudRetailV2PromotionOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2PromotionOutput) PromotionId added in v0.8.0

Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).

func (GoogleCloudRetailV2PromotionOutput) ToGoogleCloudRetailV2PromotionOutput added in v0.8.0

func (o GoogleCloudRetailV2PromotionOutput) ToGoogleCloudRetailV2PromotionOutput() GoogleCloudRetailV2PromotionOutput

func (GoogleCloudRetailV2PromotionOutput) ToGoogleCloudRetailV2PromotionOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2PromotionOutput) ToGoogleCloudRetailV2PromotionOutputWithContext(ctx context.Context) GoogleCloudRetailV2PromotionOutput

type GoogleCloudRetailV2PromotionResponse added in v0.8.0

type GoogleCloudRetailV2PromotionResponse struct {
	// Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).
	PromotionId string `pulumi:"promotionId"`
}

Promotion specification.

type GoogleCloudRetailV2PromotionResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2PromotionResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2PromotionResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2PromotionResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2PromotionResponseArrayOutput) ToGoogleCloudRetailV2PromotionResponseArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2PromotionResponseArrayOutput) ToGoogleCloudRetailV2PromotionResponseArrayOutput() GoogleCloudRetailV2PromotionResponseArrayOutput

func (GoogleCloudRetailV2PromotionResponseArrayOutput) ToGoogleCloudRetailV2PromotionResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2PromotionResponseArrayOutput) ToGoogleCloudRetailV2PromotionResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2PromotionResponseArrayOutput

type GoogleCloudRetailV2PromotionResponseOutput added in v0.8.0

type GoogleCloudRetailV2PromotionResponseOutput struct{ *pulumi.OutputState }

Promotion specification.

func (GoogleCloudRetailV2PromotionResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2PromotionResponseOutput) PromotionId added in v0.8.0

Promotion identifier, which is the final component of name. For example, this field is "free_gift", if name is `projects/*/locations/global/catalogs/default_catalog/promotions/free_gift`. The value must be a UTF-8 encoded string with a length limit of 128 characters, and match the pattern: `a-zA-Z*`. For example, id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to Google Merchant Center property [promotion_id](https://support.google.com/merchants/answer/7050148).

func (GoogleCloudRetailV2PromotionResponseOutput) ToGoogleCloudRetailV2PromotionResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2PromotionResponseOutput) ToGoogleCloudRetailV2PromotionResponseOutput() GoogleCloudRetailV2PromotionResponseOutput

func (GoogleCloudRetailV2PromotionResponseOutput) ToGoogleCloudRetailV2PromotionResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2PromotionResponseOutput) ToGoogleCloudRetailV2PromotionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2PromotionResponseOutput

type GoogleCloudRetailV2Rating added in v0.8.0

type GoogleCloudRetailV2Rating struct {
	// The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.
	AverageRating *float64 `pulumi:"averageRating"`
	// The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	RatingCount *int `pulumi:"ratingCount"`
	// List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.
	RatingHistogram []int `pulumi:"ratingHistogram"`
}

The rating of a Product.

type GoogleCloudRetailV2RatingArgs added in v0.8.0

type GoogleCloudRetailV2RatingArgs struct {
	// The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.
	AverageRating pulumi.Float64PtrInput `pulumi:"averageRating"`
	// The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	RatingCount pulumi.IntPtrInput `pulumi:"ratingCount"`
	// List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.
	RatingHistogram pulumi.IntArrayInput `pulumi:"ratingHistogram"`
}

The rating of a Product.

func (GoogleCloudRetailV2RatingArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingOutput added in v0.8.0

func (i GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingOutput() GoogleCloudRetailV2RatingOutput

func (GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingOutputWithContext(ctx context.Context) GoogleCloudRetailV2RatingOutput

func (GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingPtrOutput added in v0.8.0

func (i GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingPtrOutput() GoogleCloudRetailV2RatingPtrOutput

func (GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingPtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2RatingArgs) ToGoogleCloudRetailV2RatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RatingPtrOutput

type GoogleCloudRetailV2RatingInput added in v0.8.0

type GoogleCloudRetailV2RatingInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RatingOutput() GoogleCloudRetailV2RatingOutput
	ToGoogleCloudRetailV2RatingOutputWithContext(context.Context) GoogleCloudRetailV2RatingOutput
}

GoogleCloudRetailV2RatingInput is an input type that accepts GoogleCloudRetailV2RatingArgs and GoogleCloudRetailV2RatingOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RatingInput` via:

GoogleCloudRetailV2RatingArgs{...}

type GoogleCloudRetailV2RatingOutput added in v0.8.0

type GoogleCloudRetailV2RatingOutput struct{ *pulumi.OutputState }

The rating of a Product.

func (GoogleCloudRetailV2RatingOutput) AverageRating added in v0.8.0

The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2RatingOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2RatingOutput) RatingCount added in v0.8.0

The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2RatingOutput) RatingHistogram added in v0.8.0

List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.

func (GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingOutput added in v0.8.0

func (o GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingOutput() GoogleCloudRetailV2RatingOutput

func (GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingOutputWithContext(ctx context.Context) GoogleCloudRetailV2RatingOutput

func (GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingPtrOutput() GoogleCloudRetailV2RatingPtrOutput

func (GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2RatingOutput) ToGoogleCloudRetailV2RatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RatingPtrOutput

type GoogleCloudRetailV2RatingPtrInput added in v0.8.0

type GoogleCloudRetailV2RatingPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RatingPtrOutput() GoogleCloudRetailV2RatingPtrOutput
	ToGoogleCloudRetailV2RatingPtrOutputWithContext(context.Context) GoogleCloudRetailV2RatingPtrOutput
}

GoogleCloudRetailV2RatingPtrInput is an input type that accepts GoogleCloudRetailV2RatingArgs, GoogleCloudRetailV2RatingPtr and GoogleCloudRetailV2RatingPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RatingPtrInput` via:

        GoogleCloudRetailV2RatingArgs{...}

or:

        nil

func GoogleCloudRetailV2RatingPtr added in v0.8.0

type GoogleCloudRetailV2RatingPtrOutput added in v0.8.0

type GoogleCloudRetailV2RatingPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RatingPtrOutput) AverageRating added in v0.8.0

The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2RatingPtrOutput) Elem added in v0.8.0

func (GoogleCloudRetailV2RatingPtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2RatingPtrOutput) RatingCount added in v0.8.0

The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2RatingPtrOutput) RatingHistogram added in v0.8.0

List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.

func (GoogleCloudRetailV2RatingPtrOutput) ToGoogleCloudRetailV2RatingPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2RatingPtrOutput) ToGoogleCloudRetailV2RatingPtrOutput() GoogleCloudRetailV2RatingPtrOutput

func (GoogleCloudRetailV2RatingPtrOutput) ToGoogleCloudRetailV2RatingPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2RatingPtrOutput) ToGoogleCloudRetailV2RatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RatingPtrOutput

type GoogleCloudRetailV2RatingResponse added in v0.8.0

type GoogleCloudRetailV2RatingResponse struct {
	// The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.
	AverageRating float64 `pulumi:"averageRating"`
	// The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.
	RatingCount int `pulumi:"ratingCount"`
	// List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.
	RatingHistogram []int `pulumi:"ratingHistogram"`
}

The rating of a Product.

type GoogleCloudRetailV2RatingResponseOutput added in v0.8.0

type GoogleCloudRetailV2RatingResponseOutput struct{ *pulumi.OutputState }

The rating of a Product.

func (GoogleCloudRetailV2RatingResponseOutput) AverageRating added in v0.8.0

The average rating of the Product. The rating is scaled at 1-5. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2RatingResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2RatingResponseOutput) RatingCount added in v0.8.0

The total number of ratings. This value is independent of the value of rating_histogram. This value must be nonnegative. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2RatingResponseOutput) RatingHistogram added in v0.8.0

List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. Otherwise, an INVALID_ARGUMENT error is returned. For example, [41, 14, 13, 47, 303]. It means that the Product got 41 ratings with 1 star, 14 ratings with 2 star, and so on.

func (GoogleCloudRetailV2RatingResponseOutput) ToGoogleCloudRetailV2RatingResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2RatingResponseOutput) ToGoogleCloudRetailV2RatingResponseOutput() GoogleCloudRetailV2RatingResponseOutput

func (GoogleCloudRetailV2RatingResponseOutput) ToGoogleCloudRetailV2RatingResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2RatingResponseOutput) ToGoogleCloudRetailV2RatingResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RatingResponseOutput

type GoogleCloudRetailV2Rule added in v0.25.0

type GoogleCloudRetailV2Rule struct {
	// A boost action.
	BoostAction *GoogleCloudRetailV2RuleBoostAction `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2Condition `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction *GoogleCloudRetailV2RuleDoNotAssociateAction `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction *GoogleCloudRetailV2RuleFilterAction `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction *GoogleCloudRetailV2RuleForceReturnFacetAction `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction *GoogleCloudRetailV2RuleIgnoreAction `pulumi:"ignoreAction"`
	// Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
	OnewaySynonymsAction *GoogleCloudRetailV2RuleOnewaySynonymsAction `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction *GoogleCloudRetailV2RuleRedirectAction `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction *GoogleCloudRetailV2RuleRemoveFacetAction `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction *GoogleCloudRetailV2RuleReplacementAction `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction *GoogleCloudRetailV2RuleTwowaySynonymsAction `pulumi:"twowaySynonymsAction"`
}

A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

type GoogleCloudRetailV2RuleArgs added in v0.25.0

type GoogleCloudRetailV2RuleArgs struct {
	// A boost action.
	BoostAction GoogleCloudRetailV2RuleBoostActionPtrInput `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2ConditionInput `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction GoogleCloudRetailV2RuleDoNotAssociateActionPtrInput `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction GoogleCloudRetailV2RuleFilterActionPtrInput `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction GoogleCloudRetailV2RuleForceReturnFacetActionPtrInput `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction GoogleCloudRetailV2RuleIgnoreActionPtrInput `pulumi:"ignoreAction"`
	// Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
	OnewaySynonymsAction GoogleCloudRetailV2RuleOnewaySynonymsActionPtrInput `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction GoogleCloudRetailV2RuleRedirectActionPtrInput `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction GoogleCloudRetailV2RuleRemoveFacetActionPtrInput `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction GoogleCloudRetailV2RuleReplacementActionPtrInput `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction GoogleCloudRetailV2RuleTwowaySynonymsActionPtrInput `pulumi:"twowaySynonymsAction"`
}

A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

func (GoogleCloudRetailV2RuleArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RuleOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RuleOutput() GoogleCloudRetailV2RuleOutput

func (GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RuleOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RuleOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOutput

func (GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RulePtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RulePtrOutput() GoogleCloudRetailV2RulePtrOutput

func (GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RulePtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleArgs) ToGoogleCloudRetailV2RulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RulePtrOutput

type GoogleCloudRetailV2RuleBoostAction added in v0.25.0

type GoogleCloudRetailV2RuleBoostAction struct {
	// Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.
	Boost *float64 `pulumi:"boost"`
	// The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *
	ProductsFilter *string `pulumi:"productsFilter"`
}

A boost action to apply to results matching condition specified above.

type GoogleCloudRetailV2RuleBoostActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionArgs struct {
	// Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.
	Boost pulumi.Float64PtrInput `pulumi:"boost"`
	// The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *
	ProductsFilter pulumi.StringPtrInput `pulumi:"productsFilter"`
}

A boost action to apply to results matching condition specified above.

func (GoogleCloudRetailV2RuleBoostActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionOutput() GoogleCloudRetailV2RuleBoostActionOutput

func (GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleBoostActionOutput

func (GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionPtrOutput() GoogleCloudRetailV2RuleBoostActionPtrOutput

func (GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleBoostActionArgs) ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleBoostActionPtrOutput

type GoogleCloudRetailV2RuleBoostActionInput added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleBoostActionOutput() GoogleCloudRetailV2RuleBoostActionOutput
	ToGoogleCloudRetailV2RuleBoostActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleBoostActionOutput
}

GoogleCloudRetailV2RuleBoostActionInput is an input type that accepts GoogleCloudRetailV2RuleBoostActionArgs and GoogleCloudRetailV2RuleBoostActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleBoostActionInput` via:

GoogleCloudRetailV2RuleBoostActionArgs{...}

type GoogleCloudRetailV2RuleBoostActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionOutput struct{ *pulumi.OutputState }

A boost action to apply to results matching condition specified above.

func (GoogleCloudRetailV2RuleBoostActionOutput) Boost added in v0.25.0

Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.

func (GoogleCloudRetailV2RuleBoostActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleBoostActionOutput) ProductsFilter added in v0.25.0

The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *

func (GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionOutput() GoogleCloudRetailV2RuleBoostActionOutput

func (GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleBoostActionOutput

func (GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutput() GoogleCloudRetailV2RuleBoostActionPtrOutput

func (GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleBoostActionPtrOutput

type GoogleCloudRetailV2RuleBoostActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleBoostActionPtrOutput() GoogleCloudRetailV2RuleBoostActionPtrOutput
	ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleBoostActionPtrOutput
}

GoogleCloudRetailV2RuleBoostActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleBoostActionArgs, GoogleCloudRetailV2RuleBoostActionPtr and GoogleCloudRetailV2RuleBoostActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleBoostActionPtrInput` via:

        GoogleCloudRetailV2RuleBoostActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleBoostActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleBoostActionPtrOutput) Boost added in v0.25.0

Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.

func (GoogleCloudRetailV2RuleBoostActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleBoostActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleBoostActionPtrOutput) ProductsFilter added in v0.25.0

The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *

func (GoogleCloudRetailV2RuleBoostActionPtrOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionPtrOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutput() GoogleCloudRetailV2RuleBoostActionPtrOutput

func (GoogleCloudRetailV2RuleBoostActionPtrOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionPtrOutput) ToGoogleCloudRetailV2RuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleBoostActionPtrOutput

type GoogleCloudRetailV2RuleBoostActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionResponse struct {
	// Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.
	Boost float64 `pulumi:"boost"`
	// The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *
	ProductsFilter string `pulumi:"productsFilter"`
}

A boost action to apply to results matching condition specified above.

type GoogleCloudRetailV2RuleBoostActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleBoostActionResponseOutput struct{ *pulumi.OutputState }

A boost action to apply to results matching condition specified above.

func (GoogleCloudRetailV2RuleBoostActionResponseOutput) Boost added in v0.25.0

Strength of the condition boost, which must be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the item a big promotion. However, it does not necessarily mean that the boosted item will be the top result at all times, nor that other items will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant items. Setting to -1.0 gives the item a big demotion. However, results that are deeply relevant might still be shown. The item will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored.

func (GoogleCloudRetailV2RuleBoostActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleBoostActionResponseOutput) ProductsFilter added in v0.25.0

The filter can have a max size of 5000 characters. An expression which specifies which products to apply an action to. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *

func (GoogleCloudRetailV2RuleBoostActionResponseOutput) ToGoogleCloudRetailV2RuleBoostActionResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionResponseOutput) ToGoogleCloudRetailV2RuleBoostActionResponseOutput() GoogleCloudRetailV2RuleBoostActionResponseOutput

func (GoogleCloudRetailV2RuleBoostActionResponseOutput) ToGoogleCloudRetailV2RuleBoostActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleBoostActionResponseOutput) ToGoogleCloudRetailV2RuleBoostActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleBoostActionResponseOutput

type GoogleCloudRetailV2RuleDoNotAssociateAction added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateAction struct {
	// Cannot contain duplicates or the query term. Can specify up to 100 terms.
	DoNotAssociateTerms []string `pulumi:"doNotAssociateTerms"`
	// Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
	QueryTerms []string `pulumi:"queryTerms"`
	// Will be [deprecated = true] post migration;
	Terms []string `pulumi:"terms"`
}

Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

type GoogleCloudRetailV2RuleDoNotAssociateActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionArgs struct {
	// Cannot contain duplicates or the query term. Can specify up to 100 terms.
	DoNotAssociateTerms pulumi.StringArrayInput `pulumi:"doNotAssociateTerms"`
	// Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
	QueryTerms pulumi.StringArrayInput `pulumi:"queryTerms"`
	// Will be [deprecated = true] post migration;
	Terms pulumi.StringArrayInput `pulumi:"terms"`
}

Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

func (GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutput() GoogleCloudRetailV2RuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput

func (GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2RuleDoNotAssociateActionInput added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleDoNotAssociateActionOutput() GoogleCloudRetailV2RuleDoNotAssociateActionOutput
	ToGoogleCloudRetailV2RuleDoNotAssociateActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionOutput
}

GoogleCloudRetailV2RuleDoNotAssociateActionInput is an input type that accepts GoogleCloudRetailV2RuleDoNotAssociateActionArgs and GoogleCloudRetailV2RuleDoNotAssociateActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleDoNotAssociateActionInput` via:

GoogleCloudRetailV2RuleDoNotAssociateActionArgs{...}

type GoogleCloudRetailV2RuleDoNotAssociateActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionOutput struct{ *pulumi.OutputState }

Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) DoNotAssociateTerms added in v0.25.0

Cannot contain duplicates or the query term. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) QueryTerms added in v0.25.0

Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) Terms added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutput() GoogleCloudRetailV2RuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput

func (GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2RuleDoNotAssociateActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput
	ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput
}

GoogleCloudRetailV2RuleDoNotAssociateActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleDoNotAssociateActionArgs, GoogleCloudRetailV2RuleDoNotAssociateActionPtr and GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleDoNotAssociateActionPtrInput` via:

        GoogleCloudRetailV2RuleDoNotAssociateActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) DoNotAssociateTerms added in v0.25.0

Cannot contain duplicates or the query term. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) QueryTerms added in v0.25.0

Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) Terms added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2RuleDoNotAssociateActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionResponse struct {
	// Cannot contain duplicates or the query term. Can specify up to 100 terms.
	DoNotAssociateTerms []string `pulumi:"doNotAssociateTerms"`
	// Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.
	QueryTerms []string `pulumi:"queryTerms"`
	// Will be [deprecated = true] post migration;
	Terms []string `pulumi:"terms"`
}

Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

type GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput struct{ *pulumi.OutputState }

Prevents `query_term` from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

func (GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) DoNotAssociateTerms added in v0.25.0

Cannot contain duplicates or the query term. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) QueryTerms added in v0.25.0

Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) Terms added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput added in v0.25.0

func (GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2RuleDoNotAssociateActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleDoNotAssociateActionResponseOutput

type GoogleCloudRetailV2RuleFilterAction added in v0.25.0

type GoogleCloudRetailV2RuleFilterAction struct {
	// A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *
	Filter *string `pulumi:"filter"`
}

* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.

type GoogleCloudRetailV2RuleFilterActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionArgs struct {
	// A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *
	Filter pulumi.StringPtrInput `pulumi:"filter"`
}

* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.

func (GoogleCloudRetailV2RuleFilterActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionOutput() GoogleCloudRetailV2RuleFilterActionOutput

func (GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleFilterActionOutput

func (GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionPtrOutput() GoogleCloudRetailV2RuleFilterActionPtrOutput

func (GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleFilterActionArgs) ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleFilterActionPtrOutput

type GoogleCloudRetailV2RuleFilterActionInput added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleFilterActionOutput() GoogleCloudRetailV2RuleFilterActionOutput
	ToGoogleCloudRetailV2RuleFilterActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleFilterActionOutput
}

GoogleCloudRetailV2RuleFilterActionInput is an input type that accepts GoogleCloudRetailV2RuleFilterActionArgs and GoogleCloudRetailV2RuleFilterActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleFilterActionInput` via:

GoogleCloudRetailV2RuleFilterActionArgs{...}

type GoogleCloudRetailV2RuleFilterActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionOutput struct{ *pulumi.OutputState }

* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.

func (GoogleCloudRetailV2RuleFilterActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleFilterActionOutput) Filter added in v0.25.0

A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *

func (GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionOutput() GoogleCloudRetailV2RuleFilterActionOutput

func (GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleFilterActionOutput

func (GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutput() GoogleCloudRetailV2RuleFilterActionPtrOutput

func (GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleFilterActionPtrOutput

type GoogleCloudRetailV2RuleFilterActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleFilterActionPtrOutput() GoogleCloudRetailV2RuleFilterActionPtrOutput
	ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleFilterActionPtrOutput
}

GoogleCloudRetailV2RuleFilterActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleFilterActionArgs, GoogleCloudRetailV2RuleFilterActionPtr and GoogleCloudRetailV2RuleFilterActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleFilterActionPtrInput` via:

        GoogleCloudRetailV2RuleFilterActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleFilterActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleFilterActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleFilterActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleFilterActionPtrOutput) Filter added in v0.25.0

A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *

func (GoogleCloudRetailV2RuleFilterActionPtrOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionPtrOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutput() GoogleCloudRetailV2RuleFilterActionPtrOutput

func (GoogleCloudRetailV2RuleFilterActionPtrOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionPtrOutput) ToGoogleCloudRetailV2RuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleFilterActionPtrOutput

type GoogleCloudRetailV2RuleFilterActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionResponse struct {
	// A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *
	Filter string `pulumi:"filter"`
}

* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.

type GoogleCloudRetailV2RuleFilterActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleFilterActionResponseOutput struct{ *pulumi.OutputState }

* Rule Condition: - No Condition.query_terms provided is a global match. - 1 or more Condition.query_terms provided are combined with OR operator. * Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query's existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict. * Action Result: Filters the returned objects to be ONLY those that passed the filter.

func (GoogleCloudRetailV2RuleFilterActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleFilterActionResponseOutput) Filter added in v0.25.0

A filter to apply on the matching condition results. Supported features: * filter must be set. * Filter syntax is identical to SearchRequest.filter. For more information, see [Filter](/retail/docs/filter-and-order#filter). * To filter products with product ID "product_1" or "product_2", and color "Red" or "Blue": *(id: ANY("product_1", "product_2")) * *AND * *(colorFamilies: ANY("Red", "Blue")) *

func (GoogleCloudRetailV2RuleFilterActionResponseOutput) ToGoogleCloudRetailV2RuleFilterActionResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionResponseOutput) ToGoogleCloudRetailV2RuleFilterActionResponseOutput() GoogleCloudRetailV2RuleFilterActionResponseOutput

func (GoogleCloudRetailV2RuleFilterActionResponseOutput) ToGoogleCloudRetailV2RuleFilterActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleFilterActionResponseOutput) ToGoogleCloudRetailV2RuleFilterActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleFilterActionResponseOutput

type GoogleCloudRetailV2RuleForceReturnFacetAction added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetAction struct {
	// Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.
	FacetPositionAdjustments []GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment `pulumi:"facetPositionAdjustments"`
}

Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key "size" is not already in the top 8 slots, then the facet "size" will appear at a position close to 8. b) The facet key "size" in among the top 8 positions in the request, then it will stay at its current rank.

type GoogleCloudRetailV2RuleForceReturnFacetActionArgs added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionArgs struct {
	// Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.
	FacetPositionAdjustments GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayInput `pulumi:"facetPositionAdjustments"`
}

Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key "size" is not already in the top 8 slots, then the facet "size" will appear at a position close to 8. b) The facet key "size" in among the top 8 positions in the request, then it will stay at its current rank.

func (GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutput added in v0.32.0

func (i GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutput() GoogleCloudRetailV2RuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput added in v0.32.0

func (i GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput

func (GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2RuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment struct {
	// The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.
	AttributeName *string `pulumi:"attributeName"`
	// This is the position in the request as explained above. It should be strictly positive be at most 100.
	Position *int `pulumi:"position"`
}

Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs struct {
	// The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.
	AttributeName pulumi.StringPtrInput `pulumi:"attributeName"`
	// This is the position in the request as explained above. It should be strictly positive be at most 100.
	Position pulumi.IntPtrInput `pulumi:"position"`
}

Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray []GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentInput

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayInput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput() GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput
	ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext(context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput
}

GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayInput is an input type that accepts GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray and GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayInput` via:

GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArray{ GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs{...} }

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) Index added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentInput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput() GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput
	ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext(context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput
}

GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentInput is an input type that accepts GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs and GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentInput` via:

GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentArgs{...}

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput struct{ *pulumi.OutputState }

Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput) AttributeName added in v0.32.0

The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput) Position added in v0.32.0

This is the position in the request as explained above. It should be strictly positive be at most 100.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponse added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponse struct {
	// The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.
	AttributeName string `pulumi:"attributeName"`
	// This is the position in the request as explained above. It should be strictly positive be at most 100.
	Position int `pulumi:"position"`
}

Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) Index added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput struct{ *pulumi.OutputState }

Each facet position adjustment consists of a single attribute name (i.e. facet key) along with a specified position.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) AttributeName added in v0.32.0

The attribute name to force return as a facet. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters long.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) Position added in v0.32.0

This is the position in the request as explained above. It should be strictly positive be at most 100.

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponseOutputWithContext added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionInput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleForceReturnFacetActionOutput() GoogleCloudRetailV2RuleForceReturnFacetActionOutput
	ToGoogleCloudRetailV2RuleForceReturnFacetActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionOutput
}

GoogleCloudRetailV2RuleForceReturnFacetActionInput is an input type that accepts GoogleCloudRetailV2RuleForceReturnFacetActionArgs and GoogleCloudRetailV2RuleForceReturnFacetActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleForceReturnFacetActionInput` via:

GoogleCloudRetailV2RuleForceReturnFacetActionArgs{...}

type GoogleCloudRetailV2RuleForceReturnFacetActionOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionOutput struct{ *pulumi.OutputState }

Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key "size" is not already in the top 8 slots, then the facet "size" will appear at a position close to 8. b) The facet key "size" in among the top 8 positions in the request, then it will stay at its current rank.

func (GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionOutput) FacetPositionAdjustments added in v0.32.0

Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.

func (GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutput added in v0.32.0

func (o GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutput() GoogleCloudRetailV2RuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput added in v0.32.0

func (o GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput

func (GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2RuleForceReturnFacetActionPtrInput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput
	ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput
}

GoogleCloudRetailV2RuleForceReturnFacetActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleForceReturnFacetActionArgs, GoogleCloudRetailV2RuleForceReturnFacetActionPtr and GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleForceReturnFacetActionPtrInput` via:

        GoogleCloudRetailV2RuleForceReturnFacetActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput) Elem added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput) FacetPositionAdjustments added in v0.32.0

Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.

func (GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2RuleForceReturnFacetActionResponse added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionResponse struct {
	// Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.
	FacetPositionAdjustments []GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustmentResponse `pulumi:"facetPositionAdjustments"`
}

Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key "size" is not already in the top 8 slots, then the facet "size" will appear at a position close to 8. b) The facet key "size" in among the top 8 positions in the request, then it will stay at its current rank.

type GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput added in v0.32.0

type GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput struct{ *pulumi.OutputState }

Force returns an attribute/facet in the request around a certain position or above. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Inputs: attribute name, position * Action Result: Will force return a facet key around a certain position or above if the condition is satisfied. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes", the ForceReturnFacetAction.FacetPositionAdjustment.attribute_name is "size" and the ForceReturnFacetAction.FacetPositionAdjustment.position is 8. Two cases: a) The facet key "size" is not already in the top 8 slots, then the facet "size" will appear at a position close to 8. b) The facet key "size" in among the top 8 positions in the request, then it will stay at its current rank.

func (GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput) FacetPositionAdjustments added in v0.32.0

Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.

func (GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput added in v0.32.0

func (GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionResponseOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2RuleForceReturnFacetActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleForceReturnFacetActionResponseOutput

type GoogleCloudRetailV2RuleIgnoreAction added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreAction struct {
	// Terms to ignore in the search query.
	IgnoreTerms []string `pulumi:"ignoreTerms"`
}

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

type GoogleCloudRetailV2RuleIgnoreActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionArgs struct {
	// Terms to ignore in the search query.
	IgnoreTerms pulumi.StringArrayInput `pulumi:"ignoreTerms"`
}

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

func (GoogleCloudRetailV2RuleIgnoreActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionOutput() GoogleCloudRetailV2RuleIgnoreActionOutput

func (GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleIgnoreActionOutput

func (GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput() GoogleCloudRetailV2RuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleIgnoreActionArgs) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleIgnoreActionPtrOutput

type GoogleCloudRetailV2RuleIgnoreActionInput added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleIgnoreActionOutput() GoogleCloudRetailV2RuleIgnoreActionOutput
	ToGoogleCloudRetailV2RuleIgnoreActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleIgnoreActionOutput
}

GoogleCloudRetailV2RuleIgnoreActionInput is an input type that accepts GoogleCloudRetailV2RuleIgnoreActionArgs and GoogleCloudRetailV2RuleIgnoreActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleIgnoreActionInput` via:

GoogleCloudRetailV2RuleIgnoreActionArgs{...}

type GoogleCloudRetailV2RuleIgnoreActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionOutput struct{ *pulumi.OutputState }

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

func (GoogleCloudRetailV2RuleIgnoreActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleIgnoreActionOutput) IgnoreTerms added in v0.25.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionOutput() GoogleCloudRetailV2RuleIgnoreActionOutput

func (GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleIgnoreActionOutput

func (GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput() GoogleCloudRetailV2RuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleIgnoreActionPtrOutput

type GoogleCloudRetailV2RuleIgnoreActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput() GoogleCloudRetailV2RuleIgnoreActionPtrOutput
	ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleIgnoreActionPtrOutput
}

GoogleCloudRetailV2RuleIgnoreActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleIgnoreActionArgs, GoogleCloudRetailV2RuleIgnoreActionPtr and GoogleCloudRetailV2RuleIgnoreActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleIgnoreActionPtrInput` via:

        GoogleCloudRetailV2RuleIgnoreActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleIgnoreActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleIgnoreActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleIgnoreActionPtrOutput) IgnoreTerms added in v0.25.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutput() GoogleCloudRetailV2RuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2RuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleIgnoreActionPtrOutput

type GoogleCloudRetailV2RuleIgnoreActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionResponse struct {
	// Terms to ignore in the search query.
	IgnoreTerms []string `pulumi:"ignoreTerms"`
}

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

type GoogleCloudRetailV2RuleIgnoreActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleIgnoreActionResponseOutput struct{ *pulumi.OutputState }

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

func (GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleIgnoreActionResponseOutput) IgnoreTerms added in v0.25.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2RuleIgnoreActionResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2RuleIgnoreActionResponseOutput() GoogleCloudRetailV2RuleIgnoreActionResponseOutput

func (GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2RuleIgnoreActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2RuleIgnoreActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleIgnoreActionResponseOutput

type GoogleCloudRetailV2RuleInput added in v0.25.0

type GoogleCloudRetailV2RuleInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleOutput() GoogleCloudRetailV2RuleOutput
	ToGoogleCloudRetailV2RuleOutputWithContext(context.Context) GoogleCloudRetailV2RuleOutput
}

GoogleCloudRetailV2RuleInput is an input type that accepts GoogleCloudRetailV2RuleArgs and GoogleCloudRetailV2RuleOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleInput` via:

GoogleCloudRetailV2RuleArgs{...}

type GoogleCloudRetailV2RuleOnewaySynonymsAction added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsAction struct {
	// Will be [deprecated = true] post migration;
	OnewayTerms []string `pulumi:"onewayTerms"`
	// Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
	QueryTerms []string `pulumi:"queryTerms"`
	// Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
	Synonyms []string `pulumi:"synonyms"`
}

Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers".

type GoogleCloudRetailV2RuleOnewaySynonymsActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionArgs struct {
	// Will be [deprecated = true] post migration;
	OnewayTerms pulumi.StringArrayInput `pulumi:"onewayTerms"`
	// Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
	QueryTerms pulumi.StringArrayInput `pulumi:"queryTerms"`
	// Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
	Synonyms pulumi.StringArrayInput `pulumi:"synonyms"`
}

Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers".

func (GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput

func (GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2RuleOnewaySynonymsActionInput added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionOutput
	ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionOutput
}

GoogleCloudRetailV2RuleOnewaySynonymsActionInput is an input type that accepts GoogleCloudRetailV2RuleOnewaySynonymsActionArgs and GoogleCloudRetailV2RuleOnewaySynonymsActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleOnewaySynonymsActionInput` via:

GoogleCloudRetailV2RuleOnewaySynonymsActionArgs{...}

type GoogleCloudRetailV2RuleOnewaySynonymsActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionOutput struct{ *pulumi.OutputState }

Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers".

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) OnewayTerms added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) QueryTerms added in v0.25.0

Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) Synonyms added in v0.25.0

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput

func (GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2RuleOnewaySynonymsActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput
	ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput
}

GoogleCloudRetailV2RuleOnewaySynonymsActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleOnewaySynonymsActionArgs, GoogleCloudRetailV2RuleOnewaySynonymsActionPtr and GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleOnewaySynonymsActionPtrInput` via:

        GoogleCloudRetailV2RuleOnewaySynonymsActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) OnewayTerms added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) QueryTerms added in v0.25.0

Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) Synonyms added in v0.25.0

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2RuleOnewaySynonymsActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionResponse struct {
	// Will be [deprecated = true] post migration;
	OnewayTerms []string `pulumi:"onewayTerms"`
	// Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.
	QueryTerms []string `pulumi:"queryTerms"`
	// Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.
	Synonyms []string `pulumi:"synonyms"`
}

Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers".

type GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput struct{ *pulumi.OutputState }

Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only. `query_terms` will not be treated as synonyms of each other. Example: "sneakers" will use a synonym of "shoes". "shoes" will not use a synonym of "sneakers".

func (GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) OnewayTerms added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) QueryTerms added in v0.25.0

Terms from the search query. Will treat synonyms as their synonyms. Not themselves synonyms of the synonyms. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) Synonyms added in v0.25.0

Defines a set of synonyms. Cannot contain duplicates. Can specify up to 100 synonyms.

func (GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput added in v0.25.0

func (GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOnewaySynonymsActionResponseOutput

type GoogleCloudRetailV2RuleOutput added in v0.25.0

type GoogleCloudRetailV2RuleOutput struct{ *pulumi.OutputState }

A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

func (GoogleCloudRetailV2RuleOutput) BoostAction added in v0.25.0

A boost action.

func (GoogleCloudRetailV2RuleOutput) Condition added in v0.25.0

The condition that triggers the rule. If the condition is empty, the rule will always apply.

func (GoogleCloudRetailV2RuleOutput) DoNotAssociateAction added in v0.25.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2RuleOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleOutput) FilterAction added in v0.25.0

Filters results.

func (GoogleCloudRetailV2RuleOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2RuleOutput) IgnoreAction added in v0.25.0

Ignores specific terms from query during search.

func (GoogleCloudRetailV2RuleOutput) OnewaySynonymsAction added in v0.25.0

Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.

func (GoogleCloudRetailV2RuleOutput) RedirectAction added in v0.25.0

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2RuleOutput) RemoveFacetAction added in v0.32.0

Remove an attribute as a facet in the request (if present).

func (GoogleCloudRetailV2RuleOutput) ReplacementAction added in v0.25.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RuleOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RuleOutput() GoogleCloudRetailV2RuleOutput

func (GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RuleOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RuleOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleOutput

func (GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RulePtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RulePtrOutput() GoogleCloudRetailV2RulePtrOutput

func (GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RulePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleOutput) ToGoogleCloudRetailV2RulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RulePtrOutput

func (GoogleCloudRetailV2RuleOutput) TwowaySynonymsAction added in v0.25.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2RulePtrInput added in v0.25.0

type GoogleCloudRetailV2RulePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RulePtrOutput() GoogleCloudRetailV2RulePtrOutput
	ToGoogleCloudRetailV2RulePtrOutputWithContext(context.Context) GoogleCloudRetailV2RulePtrOutput
}

GoogleCloudRetailV2RulePtrInput is an input type that accepts GoogleCloudRetailV2RuleArgs, GoogleCloudRetailV2RulePtr and GoogleCloudRetailV2RulePtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RulePtrInput` via:

        GoogleCloudRetailV2RuleArgs{...}

or:

        nil

func GoogleCloudRetailV2RulePtr added in v0.25.0

func GoogleCloudRetailV2RulePtr(v *GoogleCloudRetailV2RuleArgs) GoogleCloudRetailV2RulePtrInput

type GoogleCloudRetailV2RulePtrOutput added in v0.25.0

type GoogleCloudRetailV2RulePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RulePtrOutput) BoostAction added in v0.25.0

A boost action.

func (GoogleCloudRetailV2RulePtrOutput) Condition added in v0.25.0

The condition that triggers the rule. If the condition is empty, the rule will always apply.

func (GoogleCloudRetailV2RulePtrOutput) DoNotAssociateAction added in v0.25.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2RulePtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RulePtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RulePtrOutput) FilterAction added in v0.25.0

Filters results.

func (GoogleCloudRetailV2RulePtrOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2RulePtrOutput) IgnoreAction added in v0.25.0

Ignores specific terms from query during search.

func (GoogleCloudRetailV2RulePtrOutput) OnewaySynonymsAction added in v0.25.0

Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.

func (GoogleCloudRetailV2RulePtrOutput) RedirectAction added in v0.25.0

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2RulePtrOutput) RemoveFacetAction added in v0.32.0

Remove an attribute as a facet in the request (if present).

func (GoogleCloudRetailV2RulePtrOutput) ReplacementAction added in v0.25.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2RulePtrOutput) ToGoogleCloudRetailV2RulePtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RulePtrOutput) ToGoogleCloudRetailV2RulePtrOutput() GoogleCloudRetailV2RulePtrOutput

func (GoogleCloudRetailV2RulePtrOutput) ToGoogleCloudRetailV2RulePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RulePtrOutput) ToGoogleCloudRetailV2RulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RulePtrOutput

func (GoogleCloudRetailV2RulePtrOutput) TwowaySynonymsAction added in v0.25.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2RuleRedirectAction added in v0.25.0

type GoogleCloudRetailV2RuleRedirectAction struct {
	// URL must have length equal or less than 2000 characters.
	RedirectUri *string `pulumi:"redirectUri"`
}

Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.

type GoogleCloudRetailV2RuleRedirectActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionArgs struct {
	// URL must have length equal or less than 2000 characters.
	RedirectUri pulumi.StringPtrInput `pulumi:"redirectUri"`
}

Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.

func (GoogleCloudRetailV2RuleRedirectActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionOutput() GoogleCloudRetailV2RuleRedirectActionOutput

func (GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRedirectActionOutput

func (GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput() GoogleCloudRetailV2RuleRedirectActionPtrOutput

func (GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleRedirectActionArgs) ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRedirectActionPtrOutput

type GoogleCloudRetailV2RuleRedirectActionInput added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleRedirectActionOutput() GoogleCloudRetailV2RuleRedirectActionOutput
	ToGoogleCloudRetailV2RuleRedirectActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleRedirectActionOutput
}

GoogleCloudRetailV2RuleRedirectActionInput is an input type that accepts GoogleCloudRetailV2RuleRedirectActionArgs and GoogleCloudRetailV2RuleRedirectActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleRedirectActionInput` via:

GoogleCloudRetailV2RuleRedirectActionArgs{...}

type GoogleCloudRetailV2RuleRedirectActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionOutput struct{ *pulumi.OutputState }

Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.

func (GoogleCloudRetailV2RuleRedirectActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleRedirectActionOutput) RedirectUri added in v0.25.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionOutput() GoogleCloudRetailV2RuleRedirectActionOutput

func (GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRedirectActionOutput

func (GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput() GoogleCloudRetailV2RuleRedirectActionPtrOutput

func (GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRedirectActionPtrOutput

type GoogleCloudRetailV2RuleRedirectActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleRedirectActionPtrOutput() GoogleCloudRetailV2RuleRedirectActionPtrOutput
	ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleRedirectActionPtrOutput
}

GoogleCloudRetailV2RuleRedirectActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleRedirectActionArgs, GoogleCloudRetailV2RuleRedirectActionPtr and GoogleCloudRetailV2RuleRedirectActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleRedirectActionPtrInput` via:

        GoogleCloudRetailV2RuleRedirectActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleRedirectActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleRedirectActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleRedirectActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleRedirectActionPtrOutput) RedirectUri added in v0.25.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2RuleRedirectActionPtrOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionPtrOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutput() GoogleCloudRetailV2RuleRedirectActionPtrOutput

func (GoogleCloudRetailV2RuleRedirectActionPtrOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionPtrOutput) ToGoogleCloudRetailV2RuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRedirectActionPtrOutput

type GoogleCloudRetailV2RuleRedirectActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionResponse struct {
	// URL must have length equal or less than 2000 characters.
	RedirectUri string `pulumi:"redirectUri"`
}

Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.

type GoogleCloudRetailV2RuleRedirectActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleRedirectActionResponseOutput struct{ *pulumi.OutputState }

Redirects a shopper to a specific page. * Rule Condition: Must specify Condition.query_terms. * Action Input: Request Query * Action Result: Redirects shopper to provided uri.

func (GoogleCloudRetailV2RuleRedirectActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleRedirectActionResponseOutput) RedirectUri added in v0.25.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2RuleRedirectActionResponseOutput) ToGoogleCloudRetailV2RuleRedirectActionResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionResponseOutput) ToGoogleCloudRetailV2RuleRedirectActionResponseOutput() GoogleCloudRetailV2RuleRedirectActionResponseOutput

func (GoogleCloudRetailV2RuleRedirectActionResponseOutput) ToGoogleCloudRetailV2RuleRedirectActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleRedirectActionResponseOutput) ToGoogleCloudRetailV2RuleRedirectActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRedirectActionResponseOutput

type GoogleCloudRetailV2RuleRemoveFacetAction added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetAction struct {
	// The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.
	AttributeNames []string `pulumi:"attributeNames"`
}

Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes" and the attribute name "size", then facet key "size" will be removed from the request (if it is present).

type GoogleCloudRetailV2RuleRemoveFacetActionArgs added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionArgs struct {
	// The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.
	AttributeNames pulumi.StringArrayInput `pulumi:"attributeNames"`
}

Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes" and the attribute name "size", then facet key "size" will be removed from the request (if it is present).

func (GoogleCloudRetailV2RuleRemoveFacetActionArgs) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionOutput added in v0.32.0

func (i GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionOutput() GoogleCloudRetailV2RuleRemoveFacetActionOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRemoveFacetActionOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput added in v0.32.0

func (i GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2RuleRemoveFacetActionArgs) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2RuleRemoveFacetActionInput added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleRemoveFacetActionOutput() GoogleCloudRetailV2RuleRemoveFacetActionOutput
	ToGoogleCloudRetailV2RuleRemoveFacetActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleRemoveFacetActionOutput
}

GoogleCloudRetailV2RuleRemoveFacetActionInput is an input type that accepts GoogleCloudRetailV2RuleRemoveFacetActionArgs and GoogleCloudRetailV2RuleRemoveFacetActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleRemoveFacetActionInput` via:

GoogleCloudRetailV2RuleRemoveFacetActionArgs{...}

type GoogleCloudRetailV2RuleRemoveFacetActionOutput added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionOutput struct{ *pulumi.OutputState }

Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes" and the attribute name "size", then facet key "size" will be removed from the request (if it is present).

func (GoogleCloudRetailV2RuleRemoveFacetActionOutput) AttributeNames added in v0.32.0

The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.

func (GoogleCloudRetailV2RuleRemoveFacetActionOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionOutput added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionOutput() GoogleCloudRetailV2RuleRemoveFacetActionOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRemoveFacetActionOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2RuleRemoveFacetActionPtrInput added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput
	ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput
}

GoogleCloudRetailV2RuleRemoveFacetActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleRemoveFacetActionArgs, GoogleCloudRetailV2RuleRemoveFacetActionPtr and GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleRemoveFacetActionPtrInput` via:

        GoogleCloudRetailV2RuleRemoveFacetActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) AttributeNames added in v0.32.0

The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.

func (GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) Elem added in v0.32.0

func (GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2RuleRemoveFacetActionResponse added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionResponse struct {
	// The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.
	AttributeNames []string `pulumi:"attributeNames"`
}

Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes" and the attribute name "size", then facet key "size" will be removed from the request (if it is present).

type GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput added in v0.32.0

type GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput struct{ *pulumi.OutputState }

Removes an attribute/facet in the request if is present. * Rule Condition: Must specify non-empty Condition.query_terms (for search only) or Condition.page_categories (for browse only), but can't specify both. * Action Input: attribute name * Action Result: Will remove the attribute (as a facet) from the request if it is present. Example: Suppose the query is "shoes", the Condition.query_terms is "shoes" and the attribute name "size", then facet key "size" will be removed from the request (if it is present).

func (GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput) AttributeNames added in v0.32.0

The attribute names (i.e. facet keys) to remove from the dynamic facets (if present in the request). There can't be more 3 attribute names. Each attribute name should be a valid attribute name, be non-empty and contain at most 80 characters.

func (GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionResponseOutput added in v0.32.0

func (GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionResponseOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2RuleRemoveFacetActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleRemoveFacetActionResponseOutput

type GoogleCloudRetailV2RuleReplacementAction added in v0.25.0

type GoogleCloudRetailV2RuleReplacementAction struct {
	// Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
	QueryTerms []string `pulumi:"queryTerms"`
	// Term that will be used for replacement.
	ReplacementTerm *string `pulumi:"replacementTerm"`
	// Will be [deprecated = true] post migration;
	Term *string `pulumi:"term"`
}

Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

type GoogleCloudRetailV2RuleReplacementActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionArgs struct {
	// Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
	QueryTerms pulumi.StringArrayInput `pulumi:"queryTerms"`
	// Term that will be used for replacement.
	ReplacementTerm pulumi.StringPtrInput `pulumi:"replacementTerm"`
	// Will be [deprecated = true] post migration;
	Term pulumi.StringPtrInput `pulumi:"term"`
}

Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

func (GoogleCloudRetailV2RuleReplacementActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionOutput() GoogleCloudRetailV2RuleReplacementActionOutput

func (GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleReplacementActionOutput

func (GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput() GoogleCloudRetailV2RuleReplacementActionPtrOutput

func (GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleReplacementActionArgs) ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleReplacementActionPtrOutput

type GoogleCloudRetailV2RuleReplacementActionInput added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleReplacementActionOutput() GoogleCloudRetailV2RuleReplacementActionOutput
	ToGoogleCloudRetailV2RuleReplacementActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleReplacementActionOutput
}

GoogleCloudRetailV2RuleReplacementActionInput is an input type that accepts GoogleCloudRetailV2RuleReplacementActionArgs and GoogleCloudRetailV2RuleReplacementActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleReplacementActionInput` via:

GoogleCloudRetailV2RuleReplacementActionArgs{...}

type GoogleCloudRetailV2RuleReplacementActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionOutput struct{ *pulumi.OutputState }

Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

func (GoogleCloudRetailV2RuleReplacementActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleReplacementActionOutput) QueryTerms added in v0.25.0

Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleReplacementActionOutput) ReplacementTerm added in v0.25.0

Term that will be used for replacement.

func (GoogleCloudRetailV2RuleReplacementActionOutput) Term added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionOutput() GoogleCloudRetailV2RuleReplacementActionOutput

func (GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleReplacementActionOutput

func (GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput() GoogleCloudRetailV2RuleReplacementActionPtrOutput

func (GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleReplacementActionPtrOutput

type GoogleCloudRetailV2RuleReplacementActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleReplacementActionPtrOutput() GoogleCloudRetailV2RuleReplacementActionPtrOutput
	ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleReplacementActionPtrOutput
}

GoogleCloudRetailV2RuleReplacementActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleReplacementActionArgs, GoogleCloudRetailV2RuleReplacementActionPtr and GoogleCloudRetailV2RuleReplacementActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleReplacementActionPtrInput` via:

        GoogleCloudRetailV2RuleReplacementActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleReplacementActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) QueryTerms added in v0.25.0

Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) ReplacementTerm added in v0.25.0

Term that will be used for replacement.

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) Term added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionPtrOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutput() GoogleCloudRetailV2RuleReplacementActionPtrOutput

func (GoogleCloudRetailV2RuleReplacementActionPtrOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionPtrOutput) ToGoogleCloudRetailV2RuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleReplacementActionPtrOutput

type GoogleCloudRetailV2RuleReplacementActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionResponse struct {
	// Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
	QueryTerms []string `pulumi:"queryTerms"`
	// Term that will be used for replacement.
	ReplacementTerm string `pulumi:"replacementTerm"`
	// Will be [deprecated = true] post migration;
	Term string `pulumi:"term"`
}

Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

type GoogleCloudRetailV2RuleReplacementActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleReplacementActionResponseOutput struct{ *pulumi.OutputState }

Replaces a term in the query. Multiple replacement candidates can be specified. All `query_terms` will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

func (GoogleCloudRetailV2RuleReplacementActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleReplacementActionResponseOutput) QueryTerms added in v0.25.0

Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.

func (GoogleCloudRetailV2RuleReplacementActionResponseOutput) ReplacementTerm added in v0.25.0

Term that will be used for replacement.

func (GoogleCloudRetailV2RuleReplacementActionResponseOutput) Term added in v0.25.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2RuleReplacementActionResponseOutput) ToGoogleCloudRetailV2RuleReplacementActionResponseOutput added in v0.25.0

func (GoogleCloudRetailV2RuleReplacementActionResponseOutput) ToGoogleCloudRetailV2RuleReplacementActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleReplacementActionResponseOutput) ToGoogleCloudRetailV2RuleReplacementActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleReplacementActionResponseOutput

type GoogleCloudRetailV2RuleResponse added in v0.25.0

type GoogleCloudRetailV2RuleResponse struct {
	// A boost action.
	BoostAction GoogleCloudRetailV2RuleBoostActionResponse `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2ConditionResponse `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction GoogleCloudRetailV2RuleDoNotAssociateActionResponse `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction GoogleCloudRetailV2RuleFilterActionResponse `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction GoogleCloudRetailV2RuleForceReturnFacetActionResponse `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction GoogleCloudRetailV2RuleIgnoreActionResponse `pulumi:"ignoreAction"`
	// Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.
	OnewaySynonymsAction GoogleCloudRetailV2RuleOnewaySynonymsActionResponse `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction GoogleCloudRetailV2RuleRedirectActionResponse `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction GoogleCloudRetailV2RuleRemoveFacetActionResponse `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction GoogleCloudRetailV2RuleReplacementActionResponse `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction GoogleCloudRetailV2RuleTwowaySynonymsActionResponse `pulumi:"twowaySynonymsAction"`
}

A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

type GoogleCloudRetailV2RuleResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleResponseOutput struct{ *pulumi.OutputState }

A rule is a condition-action pair * A condition defines when a rule is to be triggered. * An action specifies what occurs on that trigger. Currently rules only work for controls with SOLUTION_TYPE_SEARCH.

func (GoogleCloudRetailV2RuleResponseOutput) BoostAction added in v0.25.0

A boost action.

func (GoogleCloudRetailV2RuleResponseOutput) Condition added in v0.25.0

The condition that triggers the rule. If the condition is empty, the rule will always apply.

func (GoogleCloudRetailV2RuleResponseOutput) DoNotAssociateAction added in v0.25.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2RuleResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleResponseOutput) FilterAction added in v0.25.0

Filters results.

func (GoogleCloudRetailV2RuleResponseOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2RuleResponseOutput) IgnoreAction added in v0.25.0

Ignores specific terms from query during search.

func (GoogleCloudRetailV2RuleResponseOutput) OnewaySynonymsAction added in v0.25.0

Treats specific term as a synonym with a group of terms. Group of terms will not be treated as synonyms with the specific term.

func (GoogleCloudRetailV2RuleResponseOutput) RedirectAction added in v0.25.0

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2RuleResponseOutput) RemoveFacetAction added in v0.32.0

Remove an attribute as a facet in the request (if present).

func (GoogleCloudRetailV2RuleResponseOutput) ReplacementAction added in v0.25.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2RuleResponseOutput) ToGoogleCloudRetailV2RuleResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleResponseOutput) ToGoogleCloudRetailV2RuleResponseOutput() GoogleCloudRetailV2RuleResponseOutput

func (GoogleCloudRetailV2RuleResponseOutput) ToGoogleCloudRetailV2RuleResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleResponseOutput) ToGoogleCloudRetailV2RuleResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleResponseOutput

func (GoogleCloudRetailV2RuleResponseOutput) TwowaySynonymsAction added in v0.25.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2RuleTwowaySynonymsAction added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsAction struct {
	// Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.
	Synonyms []string `pulumi:"synonyms"`
}

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers".

type GoogleCloudRetailV2RuleTwowaySynonymsActionArgs added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionArgs struct {
	// Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.
	Synonyms pulumi.StringArrayInput `pulumi:"synonyms"`
}

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers".

func (GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput

func (GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2RuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2RuleTwowaySynonymsActionInput added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionOutput
	ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutputWithContext(context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionOutput
}

GoogleCloudRetailV2RuleTwowaySynonymsActionInput is an input type that accepts GoogleCloudRetailV2RuleTwowaySynonymsActionArgs and GoogleCloudRetailV2RuleTwowaySynonymsActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleTwowaySynonymsActionInput` via:

GoogleCloudRetailV2RuleTwowaySynonymsActionArgs{...}

type GoogleCloudRetailV2RuleTwowaySynonymsActionOutput added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionOutput struct{ *pulumi.OutputState }

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers".

func (GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) Synonyms added in v0.25.0

Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.

func (GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput

func (GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2RuleTwowaySynonymsActionPtrInput added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput
	ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput
}

GoogleCloudRetailV2RuleTwowaySynonymsActionPtrInput is an input type that accepts GoogleCloudRetailV2RuleTwowaySynonymsActionArgs, GoogleCloudRetailV2RuleTwowaySynonymsActionPtr and GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2RuleTwowaySynonymsActionPtrInput` via:

        GoogleCloudRetailV2RuleTwowaySynonymsActionArgs{...}

or:

        nil

type GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) Synonyms added in v0.25.0

Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.

func (GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2RuleTwowaySynonymsActionResponse added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionResponse struct {
	// Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.
	Synonyms []string `pulumi:"synonyms"`
}

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers".

type GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput added in v0.25.0

type GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput struct{ *pulumi.OutputState }

Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes": * "sneakers" will use a synonym of "shoes". * "shoes" will use a synonym of "sneakers".

func (GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) Synonyms added in v0.25.0

Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.

func (GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput added in v0.25.0

func (GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2RuleTwowaySynonymsActionResponseOutput

type GoogleCloudRetailV2SearchRequestDynamicFacetSpec added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpec struct {
	// Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
	Mode *GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode `pulumi:"mode"`
}

The specifications of dynamically generated facets.

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs struct {
	// Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
	Mode GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrInput `pulumi:"mode"`
}

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput
	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput
}

GoogleCloudRetailV2SearchRequestDynamicFacetSpecInput is an input type that accepts GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs and GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2SearchRequestDynamicFacetSpecInput` via:

GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs{...}

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode string

Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecMode) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput
	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput
}

GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeInput is an input type that accepts GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeArgs and GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeInput` via:

GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeArgs{...}

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModeOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput
	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput
}

func GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtr added in v0.25.0

func GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtr(v string) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrInput

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecModePtrOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput struct{ *pulumi.OutputState }

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) Mode added in v0.25.0

Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput
	ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput
}

GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrInput is an input type that accepts GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs, GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtr and GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrInput` via:

        GoogleCloudRetailV2SearchRequestDynamicFacetSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) Mode added in v0.25.0

Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponse added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponse struct {
	// Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.
	Mode string `pulumi:"mode"`
}

The specifications of dynamically generated facets.

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput struct{ *pulumi.OutputState }

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) Mode added in v0.25.0

Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset.

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput

type GoogleCloudRetailV2SearchRequestPersonalizationSpec added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpec struct {
	// Defaults to Mode.AUTO.
	Mode *GoogleCloudRetailV2SearchRequestPersonalizationSpecMode `pulumi:"mode"`
}

The specification for personalization.

type GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs struct {
	// Defaults to Mode.AUTO.
	Mode GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrInput `pulumi:"mode"`
}

The specification for personalization.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2SearchRequestPersonalizationSpecInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput
	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput
}

GoogleCloudRetailV2SearchRequestPersonalizationSpecInput is an input type that accepts GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs and GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2SearchRequestPersonalizationSpecInput` via:

GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs{...}

type GoogleCloudRetailV2SearchRequestPersonalizationSpecMode added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecMode string

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecMode) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModeInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput
	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput
}

GoogleCloudRetailV2SearchRequestPersonalizationSpecModeInput is an input type that accepts GoogleCloudRetailV2SearchRequestPersonalizationSpecModeArgs and GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2SearchRequestPersonalizationSpecModeInput` via:

GoogleCloudRetailV2SearchRequestPersonalizationSpecModeArgs{...}

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModeOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput
	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput
}

func GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtr added in v0.25.0

func GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtr(v string) GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrInput

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecModePtrOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput struct{ *pulumi.OutputState }

The specification for personalization.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrInput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput
	ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput
}

GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrInput is an input type that accepts GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs, GoogleCloudRetailV2SearchRequestPersonalizationSpecPtr and GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrInput` via:

        GoogleCloudRetailV2SearchRequestPersonalizationSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2SearchRequestPersonalizationSpecResponse added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecResponse struct {
	// Defaults to Mode.AUTO.
	Mode string `pulumi:"mode"`
}

The specification for personalization.

type GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput added in v0.25.0

type GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput struct{ *pulumi.OutputState }

The specification for personalization.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput added in v0.25.0

func (GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput

type LookupControlArgs added in v0.25.0

type LookupControlArgs struct {
	CatalogId string  `pulumi:"catalogId"`
	ControlId string  `pulumi:"controlId"`
	Location  string  `pulumi:"location"`
	Project   *string `pulumi:"project"`
}

type LookupControlOutputArgs added in v0.25.0

type LookupControlOutputArgs struct {
	CatalogId pulumi.StringInput    `pulumi:"catalogId"`
	ControlId pulumi.StringInput    `pulumi:"controlId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupControlOutputArgs) ElementType added in v0.25.0

func (LookupControlOutputArgs) ElementType() reflect.Type

type LookupControlResult added in v0.25.0

type LookupControlResult struct {
	// List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.
	AssociatedServingConfigIds []string `pulumi:"associatedServingConfigIds"`
	// The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.
	DisplayName string `pulumi:"displayName"`
	// Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`
	Name string `pulumi:"name"`
	// A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".
	Rule GoogleCloudRetailV2RuleResponse `pulumi:"rule"`
	// Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.
	SearchSolutionUseCase []string `pulumi:"searchSolutionUseCase"`
	// Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.
	SolutionTypes []string `pulumi:"solutionTypes"`
}

func LookupControl added in v0.25.0

func LookupControl(ctx *pulumi.Context, args *LookupControlArgs, opts ...pulumi.InvokeOption) (*LookupControlResult, error)

Gets a Control.

type LookupControlResultOutput added in v0.25.0

type LookupControlResultOutput struct{ *pulumi.OutputState }

func LookupControlOutput added in v0.25.0

func LookupControlOutput(ctx *pulumi.Context, args LookupControlOutputArgs, opts ...pulumi.InvokeOption) LookupControlResultOutput

func (LookupControlResultOutput) AssociatedServingConfigIds added in v0.25.0

func (o LookupControlResultOutput) AssociatedServingConfigIds() pulumi.StringArrayOutput

List of serving config ids that are associated with this control in the same Catalog. Note the association is managed via the ServingConfig, this is an output only denormalized view.

func (LookupControlResultOutput) DisplayName added in v0.25.0

The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.

func (LookupControlResultOutput) ElementType added in v0.25.0

func (LookupControlResultOutput) ElementType() reflect.Type

func (LookupControlResultOutput) Name added in v0.25.0

Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/controls/*`

func (LookupControlResultOutput) Rule added in v0.25.0

A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".

func (LookupControlResultOutput) SearchSolutionUseCase added in v0.25.0

func (o LookupControlResultOutput) SearchSolutionUseCase() pulumi.StringArrayOutput

Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control.

func (LookupControlResultOutput) SolutionTypes added in v0.25.0

Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH.

func (LookupControlResultOutput) ToLookupControlResultOutput added in v0.25.0

func (o LookupControlResultOutput) ToLookupControlResultOutput() LookupControlResultOutput

func (LookupControlResultOutput) ToLookupControlResultOutputWithContext added in v0.25.0

func (o LookupControlResultOutput) ToLookupControlResultOutputWithContext(ctx context.Context) LookupControlResultOutput

type LookupModelArgs added in v0.29.0

type LookupModelArgs struct {
	CatalogId string  `pulumi:"catalogId"`
	Location  string  `pulumi:"location"`
	ModelId   string  `pulumi:"modelId"`
	Project   *string `pulumi:"project"`
}

type LookupModelOutputArgs added in v0.29.0

type LookupModelOutputArgs struct {
	CatalogId pulumi.StringInput    `pulumi:"catalogId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	ModelId   pulumi.StringInput    `pulumi:"modelId"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupModelOutputArgs) ElementType added in v0.29.0

func (LookupModelOutputArgs) ElementType() reflect.Type

type LookupModelResult added in v0.29.0

type LookupModelResult struct {
	// Timestamp the Recommendation Model was created at.
	CreateTime string `pulumi:"createTime"`
	// The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.
	DataState string `pulumi:"dataState"`
	// The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
	DisplayName string `pulumi:"displayName"`
	// Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.
	FilteringOption string `pulumi:"filteringOption"`
	// The timestamp when the latest successful tune finished.
	LastTuneTime string `pulumi:"lastTuneTime"`
	// Optional. Additional model features config.
	ModelFeaturesConfig GoogleCloudRetailV2ModelModelFeaturesConfigResponse `pulumi:"modelFeaturesConfig"`
	// The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
	Name string `pulumi:"name"`
	// Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.
	OptimizationObjective string `pulumi:"optimizationObjective"`
	// Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.
	PeriodicTuningState string `pulumi:"periodicTuningState"`
	// The list of valid serving configs associated with the PageOptimizationConfig.
	ServingConfigLists []GoogleCloudRetailV2ModelServingConfigListResponse `pulumi:"servingConfigLists"`
	// The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
	ServingState string `pulumi:"servingState"`
	// Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.
	TrainingState string `pulumi:"trainingState"`
	// The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.
	TuningOperation string `pulumi:"tuningOperation"`
	// The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.
	Type string `pulumi:"type"`
	// Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.
	UpdateTime string `pulumi:"updateTime"`
}

func LookupModel added in v0.29.0

func LookupModel(ctx *pulumi.Context, args *LookupModelArgs, opts ...pulumi.InvokeOption) (*LookupModelResult, error)

Gets a model.

type LookupModelResultOutput added in v0.29.0

type LookupModelResultOutput struct{ *pulumi.OutputState }

func LookupModelOutput added in v0.29.0

func LookupModelOutput(ctx *pulumi.Context, args LookupModelOutputArgs, opts ...pulumi.InvokeOption) LookupModelResultOutput

func (LookupModelResultOutput) CreateTime added in v0.29.0

Timestamp the Recommendation Model was created at.

func (LookupModelResultOutput) DataState added in v0.29.0

The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.

func (LookupModelResultOutput) DisplayName added in v0.29.0

The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.

func (LookupModelResultOutput) ElementType added in v0.29.0

func (LookupModelResultOutput) ElementType() reflect.Type

func (LookupModelResultOutput) FilteringOption added in v0.29.0

func (o LookupModelResultOutput) FilteringOption() pulumi.StringOutput

Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.

func (LookupModelResultOutput) LastTuneTime added in v0.29.0

func (o LookupModelResultOutput) LastTuneTime() pulumi.StringOutput

The timestamp when the latest successful tune finished.

func (LookupModelResultOutput) ModelFeaturesConfig added in v0.31.1

Optional. Additional model features config.

func (LookupModelResultOutput) Name added in v0.29.0

The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.

func (LookupModelResultOutput) OptimizationObjective added in v0.29.0

func (o LookupModelResultOutput) OptimizationObjective() pulumi.StringOutput

Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.

func (LookupModelResultOutput) PeriodicTuningState added in v0.29.0

func (o LookupModelResultOutput) PeriodicTuningState() pulumi.StringOutput

Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.

func (LookupModelResultOutput) ServingConfigLists added in v0.29.0

The list of valid serving configs associated with the PageOptimizationConfig.

func (LookupModelResultOutput) ServingState added in v0.29.0

func (o LookupModelResultOutput) ServingState() pulumi.StringOutput

The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.

func (LookupModelResultOutput) ToLookupModelResultOutput added in v0.29.0

func (o LookupModelResultOutput) ToLookupModelResultOutput() LookupModelResultOutput

func (LookupModelResultOutput) ToLookupModelResultOutputWithContext added in v0.29.0

func (o LookupModelResultOutput) ToLookupModelResultOutputWithContext(ctx context.Context) LookupModelResultOutput

func (LookupModelResultOutput) TrainingState added in v0.29.0

func (o LookupModelResultOutput) TrainingState() pulumi.StringOutput

Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.

func (LookupModelResultOutput) TuningOperation added in v0.29.0

func (o LookupModelResultOutput) TuningOperation() pulumi.StringOutput

The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.

func (LookupModelResultOutput) Type added in v0.29.0

The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.

func (LookupModelResultOutput) UpdateTime added in v0.29.0

Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.

type LookupProductArgs added in v0.4.0

type LookupProductArgs struct {
	BranchId  string  `pulumi:"branchId"`
	CatalogId string  `pulumi:"catalogId"`
	Location  string  `pulumi:"location"`
	ProductId string  `pulumi:"productId"`
	Project   *string `pulumi:"project"`
}

type LookupProductOutputArgs added in v0.8.0

type LookupProductOutputArgs struct {
	BranchId  pulumi.StringInput    `pulumi:"branchId"`
	CatalogId pulumi.StringInput    `pulumi:"catalogId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	ProductId pulumi.StringInput    `pulumi:"productId"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupProductOutputArgs) ElementType added in v0.8.0

func (LookupProductOutputArgs) ElementType() reflect.Type

type LookupProductResult added in v0.4.0

type LookupProductResult struct {
	// Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.
	Attributes map[string]string `pulumi:"attributes"`
	// The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.
	Audience GoogleCloudRetailV2AudienceResponse `pulumi:"audience"`
	// The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
	Availability string `pulumi:"availability"`
	// The available quantity of the item.
	AvailableQuantity int `pulumi:"availableQuantity"`
	// The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.
	AvailableTime string `pulumi:"availableTime"`
	// The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).
	Brands []string `pulumi:"brands"`
	// Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436
	Categories []string `pulumi:"categories"`
	// The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.
	CollectionMemberIds []string `pulumi:"collectionMemberIds"`
	// The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorInfo GoogleCloudRetailV2ColorInfoResponse `pulumi:"colorInfo"`
	// The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).
	Conditions []string `pulumi:"conditions"`
	// Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).
	Description string `pulumi:"description"`
	// The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).
	ExpireTime string `pulumi:"expireTime"`
	// Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.
	FulfillmentInfo []GoogleCloudRetailV2FulfillmentInfoResponse `pulumi:"fulfillmentInfo"`
	// The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.
	Gtin string `pulumi:"gtin"`
	// Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Images []GoogleCloudRetailV2ImageResponse `pulumi:"images"`
	// Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.
	LanguageCode string `pulumi:"languageCode"`
	// A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.
	LocalInventories []GoogleCloudRetailV2LocalInventoryResponse `pulumi:"localInventories"`
	// The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).
	Materials []string `pulumi:"materials"`
	// Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
	Name string `pulumi:"name"`
	// The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).
	Patterns []string `pulumi:"patterns"`
	// Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).
	PriceInfo GoogleCloudRetailV2PriceInfoResponse `pulumi:"priceInfo"`
	// Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).
	PrimaryProductId string `pulumi:"primaryProductId"`
	// The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.
	Promotions []GoogleCloudRetailV2PromotionResponse `pulumi:"promotions"`
	// The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.
	PublishTime string `pulumi:"publishTime"`
	// The rating of this product.
	Rating GoogleCloudRetailV2RatingResponse `pulumi:"rating"`
	// Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	//
	// Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	RetrievableFields string `pulumi:"retrievableFields"`
	// The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).
	Sizes []string `pulumi:"sizes"`
	// Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).
	Tags []string `pulumi:"tags"`
	// Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).
	Title string `pulumi:"title"`
	// Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.
	Ttl string `pulumi:"ttl"`
	// Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.
	Type string `pulumi:"type"`
	// Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).
	Uri string `pulumi:"uri"`
	// Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.
	Variants []GoogleCloudRetailV2ProductResponse `pulumi:"variants"`
}

func LookupProduct added in v0.4.0

func LookupProduct(ctx *pulumi.Context, args *LookupProductArgs, opts ...pulumi.InvokeOption) (*LookupProductResult, error)

Gets a Product.

type LookupProductResultOutput added in v0.8.0

type LookupProductResultOutput struct{ *pulumi.OutputState }

func LookupProductOutput added in v0.8.0

func LookupProductOutput(ctx *pulumi.Context, args LookupProductOutputArgs, opts ...pulumi.InvokeOption) LookupProductResultOutput

func (LookupProductResultOutput) Attributes added in v0.8.0

Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.

func (LookupProductResultOutput) Audience added in v0.8.0

The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.

func (LookupProductResultOutput) Availability added in v0.8.0

The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).

func (LookupProductResultOutput) AvailableQuantity added in v0.8.0

func (o LookupProductResultOutput) AvailableQuantity() pulumi.IntOutput

The available quantity of the item.

func (LookupProductResultOutput) AvailableTime added in v0.8.0

func (o LookupProductResultOutput) AvailableTime() pulumi.StringOutput

The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.

func (LookupProductResultOutput) Brands added in v0.8.0

The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).

func (LookupProductResultOutput) Categories added in v0.8.0

Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436

func (LookupProductResultOutput) CollectionMemberIds added in v0.8.0

func (o LookupProductResultOutput) CollectionMemberIds() pulumi.StringArrayOutput

The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.

func (LookupProductResultOutput) ColorInfo added in v0.8.0

The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (LookupProductResultOutput) Conditions added in v0.8.0

The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).

func (LookupProductResultOutput) Description added in v0.8.0

Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).

func (LookupProductResultOutput) ElementType added in v0.8.0

func (LookupProductResultOutput) ElementType() reflect.Type

func (LookupProductResultOutput) ExpireTime added in v0.8.0

The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).

func (LookupProductResultOutput) FulfillmentInfo added in v0.8.0

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.

func (LookupProductResultOutput) Gtin added in v0.8.0

The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.

func (LookupProductResultOutput) Images added in v0.8.0

Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).

func (LookupProductResultOutput) LanguageCode added in v0.8.0

Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.

func (LookupProductResultOutput) LocalInventories added in v0.25.0

A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.

func (LookupProductResultOutput) Materials added in v0.8.0

The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).

func (LookupProductResultOutput) Name added in v0.8.0

Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.

func (LookupProductResultOutput) Patterns added in v0.8.0

The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).

func (LookupProductResultOutput) PriceInfo added in v0.8.0

Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).

func (LookupProductResultOutput) PrimaryProductId added in v0.8.0

func (o LookupProductResultOutput) PrimaryProductId() pulumi.StringOutput

Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).

func (LookupProductResultOutput) Promotions added in v0.8.0

The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.

func (LookupProductResultOutput) PublishTime added in v0.8.0

The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.

func (LookupProductResultOutput) Rating added in v0.8.0

The rating of this product.

func (LookupProductResultOutput) RetrievableFields deprecated added in v0.8.0

func (o LookupProductResultOutput) RetrievableFields() pulumi.StringOutput

Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.

Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.

func (LookupProductResultOutput) Sizes added in v0.8.0

The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).

func (LookupProductResultOutput) Tags added in v0.8.0

Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).

func (LookupProductResultOutput) Title added in v0.8.0

Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).

func (LookupProductResultOutput) ToLookupProductResultOutput added in v0.8.0

func (o LookupProductResultOutput) ToLookupProductResultOutput() LookupProductResultOutput

func (LookupProductResultOutput) ToLookupProductResultOutputWithContext added in v0.8.0

func (o LookupProductResultOutput) ToLookupProductResultOutputWithContext(ctx context.Context) LookupProductResultOutput

func (LookupProductResultOutput) Ttl added in v0.8.0

Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.

func (LookupProductResultOutput) Type added in v0.8.0

Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.

func (LookupProductResultOutput) Uri added in v0.8.0

Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).

func (LookupProductResultOutput) Variants added in v0.8.0

Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.

type LookupServingConfigArgs added in v0.25.0

type LookupServingConfigArgs struct {
	CatalogId       string  `pulumi:"catalogId"`
	Location        string  `pulumi:"location"`
	Project         *string `pulumi:"project"`
	ServingConfigId string  `pulumi:"servingConfigId"`
}

type LookupServingConfigOutputArgs added in v0.25.0

type LookupServingConfigOutputArgs struct {
	CatalogId       pulumi.StringInput    `pulumi:"catalogId"`
	Location        pulumi.StringInput    `pulumi:"location"`
	Project         pulumi.StringPtrInput `pulumi:"project"`
	ServingConfigId pulumi.StringInput    `pulumi:"servingConfigId"`
}

func (LookupServingConfigOutputArgs) ElementType added in v0.25.0

type LookupServingConfigResult added in v0.25.0

type LookupServingConfigResult struct {
	// Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	BoostControlIds []string `pulumi:"boostControlIds"`
	// The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
	DisplayName string `pulumi:"displayName"`
	// How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	DiversityLevel string `pulumi:"diversityLevel"`
	// What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.
	DiversityType string `pulumi:"diversityType"`
	// Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	DoNotAssociateControlIds []string `pulumi:"doNotAssociateControlIds"`
	// The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	DynamicFacetSpec GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponse `pulumi:"dynamicFacetSpec"`
	// Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	EnableCategoryFilterLevel string `pulumi:"enableCategoryFilterLevel"`
	// Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	FacetControlIds []string `pulumi:"facetControlIds"`
	// Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	FilterControlIds []string `pulumi:"filterControlIds"`
	// Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	IgnoreControlIds []string `pulumi:"ignoreControlIds"`
	// The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.
	ModelId string `pulumi:"modelId"`
	// Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
	Name string `pulumi:"name"`
	// Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	OnewaySynonymsControlIds []string `pulumi:"onewaySynonymsControlIds"`
	// The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec.
	PersonalizationSpec GoogleCloudRetailV2SearchRequestPersonalizationSpecResponse `pulumi:"personalizationSpec"`
	// How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	PriceRerankingLevel string `pulumi:"priceRerankingLevel"`
	// Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	RedirectControlIds []string `pulumi:"redirectControlIds"`
	// Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	ReplacementControlIds []string `pulumi:"replacementControlIds"`
	// Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
	SolutionTypes []string `pulumi:"solutionTypes"`
	// Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	TwowaySynonymsControlIds []string `pulumi:"twowaySynonymsControlIds"`
}

func LookupServingConfig added in v0.25.0

func LookupServingConfig(ctx *pulumi.Context, args *LookupServingConfigArgs, opts ...pulumi.InvokeOption) (*LookupServingConfigResult, error)

Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.

type LookupServingConfigResultOutput added in v0.25.0

type LookupServingConfigResultOutput struct{ *pulumi.OutputState }

func LookupServingConfigOutput added in v0.25.0

func (LookupServingConfigResultOutput) BoostControlIds added in v0.25.0

Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) DisplayName added in v0.25.0

The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

func (LookupServingConfigResultOutput) DiversityLevel added in v0.25.0

How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (LookupServingConfigResultOutput) DiversityType added in v0.25.0

What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.

func (LookupServingConfigResultOutput) DoNotAssociateControlIds added in v0.25.0

func (o LookupServingConfigResultOutput) DoNotAssociateControlIds() pulumi.StringArrayOutput

Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) DynamicFacetSpec added in v0.25.0

The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) ElementType added in v0.25.0

func (LookupServingConfigResultOutput) EnableCategoryFilterLevel added in v0.25.0

func (o LookupServingConfigResultOutput) EnableCategoryFilterLevel() pulumi.StringOutput

Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (LookupServingConfigResultOutput) FacetControlIds added in v0.25.0

Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) FilterControlIds added in v0.25.0

Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) IgnoreControlIds added in v0.25.0

Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) ModelId added in v0.25.0

The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (LookupServingConfigResultOutput) Name added in v0.25.0

Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`

func (LookupServingConfigResultOutput) OnewaySynonymsControlIds added in v0.25.0

func (o LookupServingConfigResultOutput) OnewaySynonymsControlIds() pulumi.StringArrayOutput

Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) PersonalizationSpec added in v0.25.0

The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec.

func (LookupServingConfigResultOutput) PriceRerankingLevel added in v0.25.0

func (o LookupServingConfigResultOutput) PriceRerankingLevel() pulumi.StringOutput

How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (LookupServingConfigResultOutput) RedirectControlIds added in v0.25.0

Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) ReplacementControlIds added in v0.25.0

func (o LookupServingConfigResultOutput) ReplacementControlIds() pulumi.StringArrayOutput

Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (LookupServingConfigResultOutput) SolutionTypes added in v0.25.0

Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.

func (LookupServingConfigResultOutput) ToLookupServingConfigResultOutput added in v0.25.0

func (o LookupServingConfigResultOutput) ToLookupServingConfigResultOutput() LookupServingConfigResultOutput

func (LookupServingConfigResultOutput) ToLookupServingConfigResultOutputWithContext added in v0.25.0

func (o LookupServingConfigResultOutput) ToLookupServingConfigResultOutputWithContext(ctx context.Context) LookupServingConfigResultOutput

func (LookupServingConfigResultOutput) TwowaySynonymsControlIds added in v0.25.0

func (o LookupServingConfigResultOutput) TwowaySynonymsControlIds() pulumi.StringArrayOutput

Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

type Model added in v0.29.0

type Model struct {
	pulumi.CustomResourceState

	CatalogId pulumi.StringOutput `pulumi:"catalogId"`
	// Timestamp the Recommendation Model was created at.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.
	DataState pulumi.StringOutput `pulumi:"dataState"`
	// The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Optional. Whether to run a dry run to validate the request (without actually creating the model).
	DryRun pulumi.BoolPtrOutput `pulumi:"dryRun"`
	// Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.
	FilteringOption pulumi.StringOutput `pulumi:"filteringOption"`
	// The timestamp when the latest successful tune finished.
	LastTuneTime pulumi.StringOutput `pulumi:"lastTuneTime"`
	Location     pulumi.StringOutput `pulumi:"location"`
	// Optional. Additional model features config.
	ModelFeaturesConfig GoogleCloudRetailV2ModelModelFeaturesConfigResponseOutput `pulumi:"modelFeaturesConfig"`
	// The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
	Name pulumi.StringOutput `pulumi:"name"`
	// Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.
	OptimizationObjective pulumi.StringOutput `pulumi:"optimizationObjective"`
	// Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.
	PeriodicTuningState pulumi.StringOutput `pulumi:"periodicTuningState"`
	Project             pulumi.StringOutput `pulumi:"project"`
	// The list of valid serving configs associated with the PageOptimizationConfig.
	ServingConfigLists GoogleCloudRetailV2ModelServingConfigListResponseArrayOutput `pulumi:"servingConfigLists"`
	// The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.
	ServingState pulumi.StringOutput `pulumi:"servingState"`
	// Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.
	TrainingState pulumi.StringOutput `pulumi:"trainingState"`
	// The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.
	TuningOperation pulumi.StringOutput `pulumi:"tuningOperation"`
	// The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.
	Type pulumi.StringOutput `pulumi:"type"`
	// Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new model.

func GetModel added in v0.29.0

func GetModel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ModelState, opts ...pulumi.ResourceOption) (*Model, error)

GetModel gets an existing Model 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 NewModel added in v0.29.0

func NewModel(ctx *pulumi.Context,
	name string, args *ModelArgs, opts ...pulumi.ResourceOption) (*Model, error)

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

func (*Model) ElementType added in v0.29.0

func (*Model) ElementType() reflect.Type

func (*Model) ToModelOutput added in v0.29.0

func (i *Model) ToModelOutput() ModelOutput

func (*Model) ToModelOutputWithContext added in v0.29.0

func (i *Model) ToModelOutputWithContext(ctx context.Context) ModelOutput

type ModelArgs added in v0.29.0

type ModelArgs struct {
	CatalogId pulumi.StringInput
	// The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
	DisplayName pulumi.StringInput
	// Optional. Whether to run a dry run to validate the request (without actually creating the model).
	DryRun pulumi.BoolPtrInput
	// Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.
	FilteringOption ModelFilteringOptionPtrInput
	Location        pulumi.StringPtrInput
	// Optional. Additional model features config.
	ModelFeaturesConfig GoogleCloudRetailV2ModelModelFeaturesConfigPtrInput
	// The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.
	Name pulumi.StringPtrInput
	// Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.
	OptimizationObjective pulumi.StringPtrInput
	// Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.
	PeriodicTuningState ModelPeriodicTuningStatePtrInput
	Project             pulumi.StringPtrInput
	// Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.
	TrainingState ModelTrainingStatePtrInput
	// The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.
	Type pulumi.StringInput
}

The set of arguments for constructing a Model resource.

func (ModelArgs) ElementType added in v0.29.0

func (ModelArgs) ElementType() reflect.Type

type ModelFilteringOption added in v0.29.0

type ModelFilteringOption string

Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.

func (ModelFilteringOption) ElementType added in v0.29.0

func (ModelFilteringOption) ElementType() reflect.Type

func (ModelFilteringOption) ToModelFilteringOptionOutput added in v0.29.0

func (e ModelFilteringOption) ToModelFilteringOptionOutput() ModelFilteringOptionOutput

func (ModelFilteringOption) ToModelFilteringOptionOutputWithContext added in v0.29.0

func (e ModelFilteringOption) ToModelFilteringOptionOutputWithContext(ctx context.Context) ModelFilteringOptionOutput

func (ModelFilteringOption) ToModelFilteringOptionPtrOutput added in v0.29.0

func (e ModelFilteringOption) ToModelFilteringOptionPtrOutput() ModelFilteringOptionPtrOutput

func (ModelFilteringOption) ToModelFilteringOptionPtrOutputWithContext added in v0.29.0

func (e ModelFilteringOption) ToModelFilteringOptionPtrOutputWithContext(ctx context.Context) ModelFilteringOptionPtrOutput

func (ModelFilteringOption) ToStringOutput added in v0.29.0

func (e ModelFilteringOption) ToStringOutput() pulumi.StringOutput

func (ModelFilteringOption) ToStringOutputWithContext added in v0.29.0

func (e ModelFilteringOption) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ModelFilteringOption) ToStringPtrOutput added in v0.29.0

func (e ModelFilteringOption) ToStringPtrOutput() pulumi.StringPtrOutput

func (ModelFilteringOption) ToStringPtrOutputWithContext added in v0.29.0

func (e ModelFilteringOption) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelFilteringOptionInput added in v0.29.0

type ModelFilteringOptionInput interface {
	pulumi.Input

	ToModelFilteringOptionOutput() ModelFilteringOptionOutput
	ToModelFilteringOptionOutputWithContext(context.Context) ModelFilteringOptionOutput
}

ModelFilteringOptionInput is an input type that accepts ModelFilteringOptionArgs and ModelFilteringOptionOutput values. You can construct a concrete instance of `ModelFilteringOptionInput` via:

ModelFilteringOptionArgs{...}

type ModelFilteringOptionOutput added in v0.29.0

type ModelFilteringOptionOutput struct{ *pulumi.OutputState }

func (ModelFilteringOptionOutput) ElementType added in v0.29.0

func (ModelFilteringOptionOutput) ElementType() reflect.Type

func (ModelFilteringOptionOutput) ToModelFilteringOptionOutput added in v0.29.0

func (o ModelFilteringOptionOutput) ToModelFilteringOptionOutput() ModelFilteringOptionOutput

func (ModelFilteringOptionOutput) ToModelFilteringOptionOutputWithContext added in v0.29.0

func (o ModelFilteringOptionOutput) ToModelFilteringOptionOutputWithContext(ctx context.Context) ModelFilteringOptionOutput

func (ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutput added in v0.29.0

func (o ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutput() ModelFilteringOptionPtrOutput

func (ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutputWithContext added in v0.29.0

func (o ModelFilteringOptionOutput) ToModelFilteringOptionPtrOutputWithContext(ctx context.Context) ModelFilteringOptionPtrOutput

func (ModelFilteringOptionOutput) ToStringOutput added in v0.29.0

func (o ModelFilteringOptionOutput) ToStringOutput() pulumi.StringOutput

func (ModelFilteringOptionOutput) ToStringOutputWithContext added in v0.29.0

func (o ModelFilteringOptionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ModelFilteringOptionOutput) ToStringPtrOutput added in v0.29.0

func (o ModelFilteringOptionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ModelFilteringOptionOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ModelFilteringOptionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelFilteringOptionPtrInput added in v0.29.0

type ModelFilteringOptionPtrInput interface {
	pulumi.Input

	ToModelFilteringOptionPtrOutput() ModelFilteringOptionPtrOutput
	ToModelFilteringOptionPtrOutputWithContext(context.Context) ModelFilteringOptionPtrOutput
}

func ModelFilteringOptionPtr added in v0.29.0

func ModelFilteringOptionPtr(v string) ModelFilteringOptionPtrInput

type ModelFilteringOptionPtrOutput added in v0.29.0

type ModelFilteringOptionPtrOutput struct{ *pulumi.OutputState }

func (ModelFilteringOptionPtrOutput) Elem added in v0.29.0

func (ModelFilteringOptionPtrOutput) ElementType added in v0.29.0

func (ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutput added in v0.29.0

func (o ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutput() ModelFilteringOptionPtrOutput

func (ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutputWithContext added in v0.29.0

func (o ModelFilteringOptionPtrOutput) ToModelFilteringOptionPtrOutputWithContext(ctx context.Context) ModelFilteringOptionPtrOutput

func (ModelFilteringOptionPtrOutput) ToStringPtrOutput added in v0.29.0

func (ModelFilteringOptionPtrOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ModelFilteringOptionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelInput added in v0.29.0

type ModelInput interface {
	pulumi.Input

	ToModelOutput() ModelOutput
	ToModelOutputWithContext(ctx context.Context) ModelOutput
}

type ModelOutput added in v0.29.0

type ModelOutput struct{ *pulumi.OutputState }

func (ModelOutput) CatalogId added in v0.29.0

func (o ModelOutput) CatalogId() pulumi.StringOutput

func (ModelOutput) CreateTime added in v0.29.0

func (o ModelOutput) CreateTime() pulumi.StringOutput

Timestamp the Recommendation Model was created at.

func (ModelOutput) DataState added in v0.29.0

func (o ModelOutput) DataState() pulumi.StringOutput

The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training.

func (ModelOutput) DisplayName added in v0.29.0

func (o ModelOutput) DisplayName() pulumi.StringOutput

The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters.

func (ModelOutput) DryRun added in v0.29.0

func (o ModelOutput) DryRun() pulumi.BoolPtrOutput

Optional. Whether to run a dry run to validate the request (without actually creating the model).

func (ModelOutput) ElementType added in v0.29.0

func (ModelOutput) ElementType() reflect.Type

func (ModelOutput) FilteringOption added in v0.29.0

func (o ModelOutput) FilteringOption() pulumi.StringOutput

Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model.

func (ModelOutput) LastTuneTime added in v0.29.0

func (o ModelOutput) LastTuneTime() pulumi.StringOutput

The timestamp when the latest successful tune finished.

func (ModelOutput) Location added in v0.29.0

func (o ModelOutput) Location() pulumi.StringOutput

func (ModelOutput) ModelFeaturesConfig added in v0.31.1

Optional. Additional model features config.

func (ModelOutput) Name added in v0.29.0

func (o ModelOutput) Name() pulumi.StringOutput

The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}` catalog_id has char limit of 50. recommendation_model_id has char limit of 40.

func (ModelOutput) OptimizationObjective added in v0.29.0

func (o ModelOutput) OptimizationObjective() pulumi.StringOutput

Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.

func (ModelOutput) PeriodicTuningState added in v0.29.0

func (o ModelOutput) PeriodicTuningState() pulumi.StringOutput

Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.

func (ModelOutput) Project added in v0.29.0

func (o ModelOutput) Project() pulumi.StringOutput

func (ModelOutput) ServingConfigLists added in v0.29.0

The list of valid serving configs associated with the PageOptimizationConfig.

func (ModelOutput) ServingState added in v0.29.0

func (o ModelOutput) ServingState() pulumi.StringOutput

The serving state of the model: `ACTIVE`, `NOT_ACTIVE`.

func (ModelOutput) ToModelOutput added in v0.29.0

func (o ModelOutput) ToModelOutput() ModelOutput

func (ModelOutput) ToModelOutputWithContext added in v0.29.0

func (o ModelOutput) ToModelOutputWithContext(ctx context.Context) ModelOutput

func (ModelOutput) TrainingState added in v0.29.0

func (o ModelOutput) TrainingState() pulumi.StringOutput

Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.

func (ModelOutput) TuningOperation added in v0.29.0

func (o ModelOutput) TuningOperation() pulumi.StringOutput

The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on.

func (ModelOutput) Type added in v0.29.0

func (o ModelOutput) Type() pulumi.StringOutput

The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs.

func (ModelOutput) UpdateTime added in v0.29.0

func (o ModelOutput) UpdateTime() pulumi.StringOutput

Timestamp the Recommendation Model was last updated. E.g. if a Recommendation Model was paused - this would be the time the pause was initiated.

type ModelPeriodicTuningState added in v0.29.0

type ModelPeriodicTuningState string

Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`.

func (ModelPeriodicTuningState) ElementType added in v0.29.0

func (ModelPeriodicTuningState) ElementType() reflect.Type

func (ModelPeriodicTuningState) ToModelPeriodicTuningStateOutput added in v0.29.0

func (e ModelPeriodicTuningState) ToModelPeriodicTuningStateOutput() ModelPeriodicTuningStateOutput

func (ModelPeriodicTuningState) ToModelPeriodicTuningStateOutputWithContext added in v0.29.0

func (e ModelPeriodicTuningState) ToModelPeriodicTuningStateOutputWithContext(ctx context.Context) ModelPeriodicTuningStateOutput

func (ModelPeriodicTuningState) ToModelPeriodicTuningStatePtrOutput added in v0.29.0

func (e ModelPeriodicTuningState) ToModelPeriodicTuningStatePtrOutput() ModelPeriodicTuningStatePtrOutput

func (ModelPeriodicTuningState) ToModelPeriodicTuningStatePtrOutputWithContext added in v0.29.0

func (e ModelPeriodicTuningState) ToModelPeriodicTuningStatePtrOutputWithContext(ctx context.Context) ModelPeriodicTuningStatePtrOutput

func (ModelPeriodicTuningState) ToStringOutput added in v0.29.0

func (e ModelPeriodicTuningState) ToStringOutput() pulumi.StringOutput

func (ModelPeriodicTuningState) ToStringOutputWithContext added in v0.29.0

func (e ModelPeriodicTuningState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ModelPeriodicTuningState) ToStringPtrOutput added in v0.29.0

func (e ModelPeriodicTuningState) ToStringPtrOutput() pulumi.StringPtrOutput

func (ModelPeriodicTuningState) ToStringPtrOutputWithContext added in v0.29.0

func (e ModelPeriodicTuningState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelPeriodicTuningStateInput added in v0.29.0

type ModelPeriodicTuningStateInput interface {
	pulumi.Input

	ToModelPeriodicTuningStateOutput() ModelPeriodicTuningStateOutput
	ToModelPeriodicTuningStateOutputWithContext(context.Context) ModelPeriodicTuningStateOutput
}

ModelPeriodicTuningStateInput is an input type that accepts ModelPeriodicTuningStateArgs and ModelPeriodicTuningStateOutput values. You can construct a concrete instance of `ModelPeriodicTuningStateInput` via:

ModelPeriodicTuningStateArgs{...}

type ModelPeriodicTuningStateOutput added in v0.29.0

type ModelPeriodicTuningStateOutput struct{ *pulumi.OutputState }

func (ModelPeriodicTuningStateOutput) ElementType added in v0.29.0

func (ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStateOutput added in v0.29.0

func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStateOutput() ModelPeriodicTuningStateOutput

func (ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStateOutputWithContext added in v0.29.0

func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStateOutputWithContext(ctx context.Context) ModelPeriodicTuningStateOutput

func (ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutput added in v0.29.0

func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutput() ModelPeriodicTuningStatePtrOutput

func (ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutputWithContext added in v0.29.0

func (o ModelPeriodicTuningStateOutput) ToModelPeriodicTuningStatePtrOutputWithContext(ctx context.Context) ModelPeriodicTuningStatePtrOutput

func (ModelPeriodicTuningStateOutput) ToStringOutput added in v0.29.0

func (ModelPeriodicTuningStateOutput) ToStringOutputWithContext added in v0.29.0

func (o ModelPeriodicTuningStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ModelPeriodicTuningStateOutput) ToStringPtrOutput added in v0.29.0

func (ModelPeriodicTuningStateOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ModelPeriodicTuningStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelPeriodicTuningStatePtrInput added in v0.29.0

type ModelPeriodicTuningStatePtrInput interface {
	pulumi.Input

	ToModelPeriodicTuningStatePtrOutput() ModelPeriodicTuningStatePtrOutput
	ToModelPeriodicTuningStatePtrOutputWithContext(context.Context) ModelPeriodicTuningStatePtrOutput
}

func ModelPeriodicTuningStatePtr added in v0.29.0

func ModelPeriodicTuningStatePtr(v string) ModelPeriodicTuningStatePtrInput

type ModelPeriodicTuningStatePtrOutput added in v0.29.0

type ModelPeriodicTuningStatePtrOutput struct{ *pulumi.OutputState }

func (ModelPeriodicTuningStatePtrOutput) Elem added in v0.29.0

func (ModelPeriodicTuningStatePtrOutput) ElementType added in v0.29.0

func (ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutput added in v0.29.0

func (o ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutput() ModelPeriodicTuningStatePtrOutput

func (ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutputWithContext added in v0.29.0

func (o ModelPeriodicTuningStatePtrOutput) ToModelPeriodicTuningStatePtrOutputWithContext(ctx context.Context) ModelPeriodicTuningStatePtrOutput

func (ModelPeriodicTuningStatePtrOutput) ToStringPtrOutput added in v0.29.0

func (ModelPeriodicTuningStatePtrOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ModelPeriodicTuningStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelState added in v0.29.0

type ModelState struct {
}

func (ModelState) ElementType added in v0.29.0

func (ModelState) ElementType() reflect.Type

type ModelTrainingState added in v0.29.0

type ModelTrainingState string

Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before.

func (ModelTrainingState) ElementType added in v0.29.0

func (ModelTrainingState) ElementType() reflect.Type

func (ModelTrainingState) ToModelTrainingStateOutput added in v0.29.0

func (e ModelTrainingState) ToModelTrainingStateOutput() ModelTrainingStateOutput

func (ModelTrainingState) ToModelTrainingStateOutputWithContext added in v0.29.0

func (e ModelTrainingState) ToModelTrainingStateOutputWithContext(ctx context.Context) ModelTrainingStateOutput

func (ModelTrainingState) ToModelTrainingStatePtrOutput added in v0.29.0

func (e ModelTrainingState) ToModelTrainingStatePtrOutput() ModelTrainingStatePtrOutput

func (ModelTrainingState) ToModelTrainingStatePtrOutputWithContext added in v0.29.0

func (e ModelTrainingState) ToModelTrainingStatePtrOutputWithContext(ctx context.Context) ModelTrainingStatePtrOutput

func (ModelTrainingState) ToStringOutput added in v0.29.0

func (e ModelTrainingState) ToStringOutput() pulumi.StringOutput

func (ModelTrainingState) ToStringOutputWithContext added in v0.29.0

func (e ModelTrainingState) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ModelTrainingState) ToStringPtrOutput added in v0.29.0

func (e ModelTrainingState) ToStringPtrOutput() pulumi.StringPtrOutput

func (ModelTrainingState) ToStringPtrOutputWithContext added in v0.29.0

func (e ModelTrainingState) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelTrainingStateInput added in v0.29.0

type ModelTrainingStateInput interface {
	pulumi.Input

	ToModelTrainingStateOutput() ModelTrainingStateOutput
	ToModelTrainingStateOutputWithContext(context.Context) ModelTrainingStateOutput
}

ModelTrainingStateInput is an input type that accepts ModelTrainingStateArgs and ModelTrainingStateOutput values. You can construct a concrete instance of `ModelTrainingStateInput` via:

ModelTrainingStateArgs{...}

type ModelTrainingStateOutput added in v0.29.0

type ModelTrainingStateOutput struct{ *pulumi.OutputState }

func (ModelTrainingStateOutput) ElementType added in v0.29.0

func (ModelTrainingStateOutput) ElementType() reflect.Type

func (ModelTrainingStateOutput) ToModelTrainingStateOutput added in v0.29.0

func (o ModelTrainingStateOutput) ToModelTrainingStateOutput() ModelTrainingStateOutput

func (ModelTrainingStateOutput) ToModelTrainingStateOutputWithContext added in v0.29.0

func (o ModelTrainingStateOutput) ToModelTrainingStateOutputWithContext(ctx context.Context) ModelTrainingStateOutput

func (ModelTrainingStateOutput) ToModelTrainingStatePtrOutput added in v0.29.0

func (o ModelTrainingStateOutput) ToModelTrainingStatePtrOutput() ModelTrainingStatePtrOutput

func (ModelTrainingStateOutput) ToModelTrainingStatePtrOutputWithContext added in v0.29.0

func (o ModelTrainingStateOutput) ToModelTrainingStatePtrOutputWithContext(ctx context.Context) ModelTrainingStatePtrOutput

func (ModelTrainingStateOutput) ToStringOutput added in v0.29.0

func (o ModelTrainingStateOutput) ToStringOutput() pulumi.StringOutput

func (ModelTrainingStateOutput) ToStringOutputWithContext added in v0.29.0

func (o ModelTrainingStateOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ModelTrainingStateOutput) ToStringPtrOutput added in v0.29.0

func (o ModelTrainingStateOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ModelTrainingStateOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ModelTrainingStateOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ModelTrainingStatePtrInput added in v0.29.0

type ModelTrainingStatePtrInput interface {
	pulumi.Input

	ToModelTrainingStatePtrOutput() ModelTrainingStatePtrOutput
	ToModelTrainingStatePtrOutputWithContext(context.Context) ModelTrainingStatePtrOutput
}

func ModelTrainingStatePtr added in v0.29.0

func ModelTrainingStatePtr(v string) ModelTrainingStatePtrInput

type ModelTrainingStatePtrOutput added in v0.29.0

type ModelTrainingStatePtrOutput struct{ *pulumi.OutputState }

func (ModelTrainingStatePtrOutput) Elem added in v0.29.0

func (ModelTrainingStatePtrOutput) ElementType added in v0.29.0

func (ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutput added in v0.29.0

func (o ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutput() ModelTrainingStatePtrOutput

func (ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutputWithContext added in v0.29.0

func (o ModelTrainingStatePtrOutput) ToModelTrainingStatePtrOutputWithContext(ctx context.Context) ModelTrainingStatePtrOutput

func (ModelTrainingStatePtrOutput) ToStringPtrOutput added in v0.29.0

func (o ModelTrainingStatePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ModelTrainingStatePtrOutput) ToStringPtrOutputWithContext added in v0.29.0

func (o ModelTrainingStatePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type Product added in v0.3.0

type Product struct {
	pulumi.CustomResourceState

	// Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.
	Attributes pulumi.StringMapOutput `pulumi:"attributes"`
	// The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.
	Audience GoogleCloudRetailV2AudienceResponseOutput `pulumi:"audience"`
	// The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
	Availability pulumi.StringOutput `pulumi:"availability"`
	// The available quantity of the item.
	AvailableQuantity pulumi.IntOutput `pulumi:"availableQuantity"`
	// The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.
	AvailableTime pulumi.StringOutput `pulumi:"availableTime"`
	BranchId      pulumi.StringOutput `pulumi:"branchId"`
	// The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).
	Brands    pulumi.StringArrayOutput `pulumi:"brands"`
	CatalogId pulumi.StringOutput      `pulumi:"catalogId"`
	// Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436
	Categories pulumi.StringArrayOutput `pulumi:"categories"`
	// The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.
	CollectionMemberIds pulumi.StringArrayOutput `pulumi:"collectionMemberIds"`
	// The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorInfo GoogleCloudRetailV2ColorInfoResponseOutput `pulumi:"colorInfo"`
	// The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).
	Conditions pulumi.StringArrayOutput `pulumi:"conditions"`
	// Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).
	Description pulumi.StringOutput `pulumi:"description"`
	// The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.
	FulfillmentInfo GoogleCloudRetailV2FulfillmentInfoResponseArrayOutput `pulumi:"fulfillmentInfo"`
	// The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.
	Gtin pulumi.StringOutput `pulumi:"gtin"`
	// Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Images GoogleCloudRetailV2ImageResponseArrayOutput `pulumi:"images"`
	// Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.
	LanguageCode pulumi.StringOutput `pulumi:"languageCode"`
	// A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.
	LocalInventories GoogleCloudRetailV2LocalInventoryResponseArrayOutput `pulumi:"localInventories"`
	Location         pulumi.StringOutput                                  `pulumi:"location"`
	// The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).
	Materials pulumi.StringArrayOutput `pulumi:"materials"`
	// Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).
	Patterns pulumi.StringArrayOutput `pulumi:"patterns"`
	// Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).
	PriceInfo GoogleCloudRetailV2PriceInfoResponseOutput `pulumi:"priceInfo"`
	// Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).
	PrimaryProductId pulumi.StringOutput `pulumi:"primaryProductId"`
	// Required. The ID to use for the Product, which will become the final component of the Product.name. If the caller does not have permission to create the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Products with the same parent. Otherwise, an ALREADY_EXISTS error is returned. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	Project   pulumi.StringOutput `pulumi:"project"`
	// The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.
	Promotions GoogleCloudRetailV2PromotionResponseArrayOutput `pulumi:"promotions"`
	// The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.
	PublishTime pulumi.StringOutput `pulumi:"publishTime"`
	// The rating of this product.
	Rating GoogleCloudRetailV2RatingResponseOutput `pulumi:"rating"`
	// Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	//
	// Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	RetrievableFields pulumi.StringOutput `pulumi:"retrievableFields"`
	// The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).
	Sizes pulumi.StringArrayOutput `pulumi:"sizes"`
	// Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).
	Title pulumi.StringOutput `pulumi:"title"`
	// Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.
	Ttl pulumi.StringOutput `pulumi:"ttl"`
	// Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.
	Type pulumi.StringOutput `pulumi:"type"`
	// Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).
	Uri pulumi.StringOutput `pulumi:"uri"`
	// Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.
	Variants GoogleCloudRetailV2ProductResponseArrayOutput `pulumi:"variants"`
}

Creates a Product.

func GetProduct added in v0.3.0

func GetProduct(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductState, opts ...pulumi.ResourceOption) (*Product, error)

GetProduct gets an existing Product 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 NewProduct added in v0.3.0

func NewProduct(ctx *pulumi.Context,
	name string, args *ProductArgs, opts ...pulumi.ResourceOption) (*Product, error)

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

func (*Product) ElementType added in v0.3.0

func (*Product) ElementType() reflect.Type

func (*Product) ToProductOutput added in v0.3.0

func (i *Product) ToProductOutput() ProductOutput

func (*Product) ToProductOutputWithContext added in v0.3.0

func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput

type ProductArgs added in v0.3.0

type ProductArgs struct {
	// Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.
	Attributes pulumi.StringMapInput
	// The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.
	Audience GoogleCloudRetailV2AudiencePtrInput
	// The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).
	Availability ProductAvailabilityPtrInput
	// The available quantity of the item.
	AvailableQuantity pulumi.IntPtrInput
	// The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.
	AvailableTime pulumi.StringPtrInput
	BranchId      pulumi.StringInput
	// The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).
	Brands    pulumi.StringArrayInput
	CatalogId pulumi.StringInput
	// Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436
	Categories pulumi.StringArrayInput
	// The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.
	CollectionMemberIds pulumi.StringArrayInput
	// The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).
	ColorInfo GoogleCloudRetailV2ColorInfoPtrInput
	// The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).
	Conditions pulumi.StringArrayInput
	// Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).
	Description pulumi.StringPtrInput
	// The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).
	ExpireTime pulumi.StringPtrInput
	// Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.
	FulfillmentInfo GoogleCloudRetailV2FulfillmentInfoArrayInput
	// The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.
	Gtin pulumi.StringPtrInput
	// Immutable. Product identifier, which is the final component of name. For example, this field is "id_1", if name is `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/id_1`. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [id](https://support.google.com/merchants/answer/6324405). Schema.org property [Product.sku](https://schema.org/sku).
	Id pulumi.StringPtrInput
	// Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).
	Images GoogleCloudRetailV2ImageArrayInput
	// Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.
	LanguageCode pulumi.StringPtrInput
	Location     pulumi.StringPtrInput
	// The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).
	Materials pulumi.StringArrayInput
	// Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.
	Name pulumi.StringPtrInput
	// The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).
	Patterns pulumi.StringArrayInput
	// Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).
	PriceInfo GoogleCloudRetailV2PriceInfoPtrInput
	// Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).
	PrimaryProductId pulumi.StringPtrInput
	// Required. The ID to use for the Product, which will become the final component of the Product.name. If the caller does not have permission to create the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Products with the same parent. Otherwise, an ALREADY_EXISTS error is returned. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
	ProductId pulumi.StringInput
	Project   pulumi.StringPtrInput
	// The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.
	Promotions GoogleCloudRetailV2PromotionArrayInput
	// The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.
	PublishTime pulumi.StringPtrInput
	// The rating of this product.
	Rating GoogleCloudRetailV2RatingPtrInput
	// Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	//
	// Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.
	RetrievableFields pulumi.StringPtrInput
	// The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).
	Sizes pulumi.StringArrayInput
	// Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).
	Tags pulumi.StringArrayInput
	// Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).
	Title pulumi.StringInput
	// Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.
	Ttl pulumi.StringPtrInput
	// Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.
	Type ProductTypePtrInput
	// Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).
	Uri pulumi.StringPtrInput
}

The set of arguments for constructing a Product resource.

func (ProductArgs) ElementType added in v0.3.0

func (ProductArgs) ElementType() reflect.Type

type ProductAvailability added in v0.4.0

type ProductAvailability string

The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).

func (ProductAvailability) ElementType added in v0.4.0

func (ProductAvailability) ElementType() reflect.Type

func (ProductAvailability) ToProductAvailabilityOutput added in v0.6.0

func (e ProductAvailability) ToProductAvailabilityOutput() ProductAvailabilityOutput

func (ProductAvailability) ToProductAvailabilityOutputWithContext added in v0.6.0

func (e ProductAvailability) ToProductAvailabilityOutputWithContext(ctx context.Context) ProductAvailabilityOutput

func (ProductAvailability) ToProductAvailabilityPtrOutput added in v0.6.0

func (e ProductAvailability) ToProductAvailabilityPtrOutput() ProductAvailabilityPtrOutput

func (ProductAvailability) ToProductAvailabilityPtrOutputWithContext added in v0.6.0

func (e ProductAvailability) ToProductAvailabilityPtrOutputWithContext(ctx context.Context) ProductAvailabilityPtrOutput

func (ProductAvailability) ToStringOutput added in v0.4.0

func (e ProductAvailability) ToStringOutput() pulumi.StringOutput

func (ProductAvailability) ToStringOutputWithContext added in v0.4.0

func (e ProductAvailability) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ProductAvailability) ToStringPtrOutput added in v0.4.0

func (e ProductAvailability) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProductAvailability) ToStringPtrOutputWithContext added in v0.4.0

func (e ProductAvailability) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProductAvailabilityInput added in v0.6.0

type ProductAvailabilityInput interface {
	pulumi.Input

	ToProductAvailabilityOutput() ProductAvailabilityOutput
	ToProductAvailabilityOutputWithContext(context.Context) ProductAvailabilityOutput
}

ProductAvailabilityInput is an input type that accepts ProductAvailabilityArgs and ProductAvailabilityOutput values. You can construct a concrete instance of `ProductAvailabilityInput` via:

ProductAvailabilityArgs{...}

type ProductAvailabilityOutput added in v0.6.0

type ProductAvailabilityOutput struct{ *pulumi.OutputState }

func (ProductAvailabilityOutput) ElementType added in v0.6.0

func (ProductAvailabilityOutput) ElementType() reflect.Type

func (ProductAvailabilityOutput) ToProductAvailabilityOutput added in v0.6.0

func (o ProductAvailabilityOutput) ToProductAvailabilityOutput() ProductAvailabilityOutput

func (ProductAvailabilityOutput) ToProductAvailabilityOutputWithContext added in v0.6.0

func (o ProductAvailabilityOutput) ToProductAvailabilityOutputWithContext(ctx context.Context) ProductAvailabilityOutput

func (ProductAvailabilityOutput) ToProductAvailabilityPtrOutput added in v0.6.0

func (o ProductAvailabilityOutput) ToProductAvailabilityPtrOutput() ProductAvailabilityPtrOutput

func (ProductAvailabilityOutput) ToProductAvailabilityPtrOutputWithContext added in v0.6.0

func (o ProductAvailabilityOutput) ToProductAvailabilityPtrOutputWithContext(ctx context.Context) ProductAvailabilityPtrOutput

func (ProductAvailabilityOutput) ToStringOutput added in v0.6.0

func (o ProductAvailabilityOutput) ToStringOutput() pulumi.StringOutput

func (ProductAvailabilityOutput) ToStringOutputWithContext added in v0.6.0

func (o ProductAvailabilityOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ProductAvailabilityOutput) ToStringPtrOutput added in v0.6.0

func (o ProductAvailabilityOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProductAvailabilityOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o ProductAvailabilityOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProductAvailabilityPtrInput added in v0.6.0

type ProductAvailabilityPtrInput interface {
	pulumi.Input

	ToProductAvailabilityPtrOutput() ProductAvailabilityPtrOutput
	ToProductAvailabilityPtrOutputWithContext(context.Context) ProductAvailabilityPtrOutput
}

func ProductAvailabilityPtr added in v0.6.0

func ProductAvailabilityPtr(v string) ProductAvailabilityPtrInput

type ProductAvailabilityPtrOutput added in v0.6.0

type ProductAvailabilityPtrOutput struct{ *pulumi.OutputState }

func (ProductAvailabilityPtrOutput) Elem added in v0.6.0

func (ProductAvailabilityPtrOutput) ElementType added in v0.6.0

func (ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutput added in v0.6.0

func (o ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutput() ProductAvailabilityPtrOutput

func (ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutputWithContext added in v0.6.0

func (o ProductAvailabilityPtrOutput) ToProductAvailabilityPtrOutputWithContext(ctx context.Context) ProductAvailabilityPtrOutput

func (ProductAvailabilityPtrOutput) ToStringPtrOutput added in v0.6.0

func (o ProductAvailabilityPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProductAvailabilityPtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o ProductAvailabilityPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProductInput added in v0.3.0

type ProductInput interface {
	pulumi.Input

	ToProductOutput() ProductOutput
	ToProductOutputWithContext(ctx context.Context) ProductOutput
}

type ProductOutput added in v0.3.0

type ProductOutput struct{ *pulumi.OutputState }

func (ProductOutput) Attributes added in v0.19.0

func (o ProductOutput) Attributes() pulumi.StringMapOutput

Highly encouraged. Extra product attributes to be included. For example, for 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 attributes here. Features that can take on one of a limited number of possible values. Two types of features can be set are: Textual features. some examples would be the brand/maker of a product, or country of a customer. Numerical features. Some examples would be the height/weight of a product, or age of a customer. For example: `{ "vendor": {"text": ["vendor123", "vendor456"]}, "lengths_cm": {"numbers":[2.3, 15.4]}, "heights_cm": {"numbers":[8.1, 6.4]} }`. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * Max entries count: 200. * The key must be a UTF-8 encoded string with a length limit of 128 characters. * For indexable attribute, the key must match the pattern: `a-zA-Z0-9*`. For example, `key0LikeThis` or `KEY_1_LIKE_THIS`. * For text attributes, at most 400 values are allowed. Empty values are not allowed. Each value must be a non-empty UTF-8 encoded string with a length limit of 256 characters. * For number attributes, at most 400 values are allowed.

func (ProductOutput) Audience added in v0.19.0

The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product.

func (ProductOutput) Availability added in v0.19.0

func (o ProductOutput) Availability() pulumi.StringOutput

The online availability of the Product. Default to Availability.IN_STOCK. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability).

func (ProductOutput) AvailableQuantity added in v0.19.0

func (o ProductOutput) AvailableQuantity() pulumi.IntOutput

The available quantity of the item.

func (ProductOutput) AvailableTime added in v0.19.0

func (o ProductOutput) AvailableTime() pulumi.StringOutput

The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT.

func (ProductOutput) BranchId added in v0.21.0

func (o ProductOutput) BranchId() pulumi.StringOutput

func (ProductOutput) Brands added in v0.19.0

The brands of the product. A maximum of 30 brands are allowed unless overridden through the Google Cloud console. Each brand must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [brand](https://support.google.com/merchants/answer/6324351). Schema.org property [Product.brand](https://schema.org/brand).

func (ProductOutput) CatalogId added in v0.21.0

func (o ProductOutput) CatalogId() pulumi.StringOutput

func (ProductOutput) Categories added in v0.19.0

func (o ProductOutput) Categories() pulumi.StringArrayOutput

Product categories. This field is repeated for supporting one product belonging to several parallel categories. Strongly recommended using the full path for better search / recommendation quality. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categories": [ "Shoes & Accessories > Shoes", "Sports & Fitness > Athletic Clothing > Shoes" ] Must be set for Type.PRIMARY Product otherwise an INVALID_ARGUMENT error is returned. At most 250 values are allowed per Product. Empty values are not allowed. Each value must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property google_product_category. Schema.org property [Product.category] (https://schema.org/category). [mc_google_product_category]: https://support.google.com/merchants/answer/6324436

func (ProductOutput) CollectionMemberIds added in v0.19.0

func (o ProductOutput) CollectionMemberIds() pulumi.StringArrayOutput

The id of the collection members when type is Type.COLLECTION. Non-existent product ids are allowed. The type of the members must be either Type.PRIMARY or Type.VARIANT otherwise an INVALID_ARGUMENT error is thrown. Should not set it for other types. A maximum of 1000 values are allowed. Otherwise, an INVALID_ARGUMENT error is return.

func (ProductOutput) ColorInfo added in v0.19.0

The color of the product. Corresponding properties: Google Merchant Center property [color](https://support.google.com/merchants/answer/6324487). Schema.org property [Product.color](https://schema.org/color).

func (ProductOutput) Conditions added in v0.19.0

func (o ProductOutput) Conditions() pulumi.StringArrayOutput

The condition of the product. Strongly encouraged to use the standard values: "new", "refurbished", "used". A maximum of 1 value is allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [condition](https://support.google.com/merchants/answer/6324469). Schema.org property [Offer.itemCondition](https://schema.org/itemCondition).

func (ProductOutput) Description added in v0.19.0

func (o ProductOutput) Description() pulumi.StringOutput

Product description. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [description](https://support.google.com/merchants/answer/6324468). Schema.org property [Product.description](https://schema.org/description).

func (ProductOutput) ElementType added in v0.3.0

func (ProductOutput) ElementType() reflect.Type

func (ProductOutput) ExpireTime added in v0.19.0

func (o ProductOutput) ExpireTime() pulumi.StringOutput

The timestamp when this product becomes unavailable for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, the Product is not available for SearchService.Search after expire_time. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. expire_time must be later than available_time and publish_time, otherwise an INVALID_ARGUMENT error is thrown. Corresponding properties: Google Merchant Center property [expiration_date](https://support.google.com/merchants/answer/6324499).

func (ProductOutput) FulfillmentInfo added in v0.19.0

Fulfillment information, such as the store IDs for in-store pickup or region IDs for different shipping methods. All the elements must have distinct FulfillmentInfo.type. Otherwise, an INVALID_ARGUMENT error is returned.

func (ProductOutput) Gtin added in v0.19.0

The Global Trade Item Number (GTIN) of the product. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. This field must be a Unigram. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [gtin](https://support.google.com/merchants/answer/6324461). Schema.org property [Product.isbn](https://schema.org/isbn), [Product.gtin8](https://schema.org/gtin8), [Product.gtin12](https://schema.org/gtin12), [Product.gtin13](https://schema.org/gtin13), or [Product.gtin14](https://schema.org/gtin14). If the value is not a valid GTIN, an INVALID_ARGUMENT error is returned.

func (ProductOutput) Images added in v0.19.0

Product images for the product. We highly recommend putting the main image first. A maximum of 300 images are allowed. Corresponding properties: Google Merchant Center property [image_link](https://support.google.com/merchants/answer/6324350). Schema.org property [Product.image](https://schema.org/image).

func (ProductOutput) LanguageCode added in v0.19.0

func (o ProductOutput) LanguageCode() pulumi.StringOutput

Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). For product prediction, this field is ignored and the model automatically detects the text language. The Product can include text in different languages, but duplicating Products to provide text in multiple languages can result in degraded model performance. For product search this field is in use. It defaults to "en-US" if unset.

func (ProductOutput) LocalInventories added in v0.25.0

A list of local inventories specific to different places. This field can be managed by ProductService.AddLocalInventories and ProductService.RemoveLocalInventories APIs if fine-grained, high-volume updates are necessary.

func (ProductOutput) Location added in v0.21.0

func (o ProductOutput) Location() pulumi.StringOutput

func (ProductOutput) Materials added in v0.19.0

func (o ProductOutput) Materials() pulumi.StringArrayOutput

The material of the product. For example, "leather", "wooden". A maximum of 20 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 200 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [material](https://support.google.com/merchants/answer/6324410). Schema.org property [Product.material](https://schema.org/material).

func (ProductOutput) Name added in v0.19.0

Immutable. Full resource name of the product, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/product_id`.

func (ProductOutput) Patterns added in v0.19.0

func (o ProductOutput) Patterns() pulumi.StringArrayOutput

The pattern or graphic print of the product. For example, "striped", "polka dot", "paisley". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [pattern](https://support.google.com/merchants/answer/6324483). Schema.org property [Product.pattern](https://schema.org/pattern).

func (ProductOutput) PriceInfo added in v0.19.0

Product price and cost information. Corresponding properties: Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371).

func (ProductOutput) PrimaryProductId added in v0.19.0

func (o ProductOutput) PrimaryProductId() pulumi.StringOutput

Variant group identifier. Must be an id, with the same parent branch with this product. Otherwise, an error is thrown. For Type.PRIMARY Products, this field can only be empty or set to the same value as id. For VARIANT Products, this field cannot be empty. A maximum of 2,000 products are allowed to share the same Type.PRIMARY Product. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [item_group_id](https://support.google.com/merchants/answer/6324507). Schema.org property [Product.inProductGroupWithID](https://schema.org/inProductGroupWithID).

func (ProductOutput) ProductId added in v0.21.0

func (o ProductOutput) ProductId() pulumi.StringOutput

Required. The ID to use for the Product, which will become the final component of the Product.name. If the caller does not have permission to create the Product, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all Products with the same parent. Otherwise, an ALREADY_EXISTS error is returned. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

func (ProductOutput) Project added in v0.21.0

func (o ProductOutput) Project() pulumi.StringOutput

func (ProductOutput) Promotions added in v0.19.0

The promotions applied to the product. A maximum of 10 values are allowed per Product. Only Promotion.promotion_id will be used, other fields will be ignored if set.

func (ProductOutput) PublishTime added in v0.19.0

func (o ProductOutput) PublishTime() pulumi.StringOutput

The timestamp when the product is published by the retailer for the first time, which indicates the freshness of the products. Note that this field is different from available_time, given it purely describes product freshness regardless of when it is available on search and recommendation.

func (ProductOutput) Rating added in v0.19.0

The rating of this product.

func (ProductOutput) RetrievableFields deprecated added in v0.19.0

func (o ProductOutput) RetrievableFields() pulumi.StringOutput

Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.

Deprecated: Indicates which fields in the Products are returned in SearchResponse. Supported fields for all types: * audience * availability * brands * color_info * conditions * gtin * materials * name * patterns * price_info * rating * sizes * title * uri Supported fields only for Type.PRIMARY and Type.COLLECTION: * categories * description * images Supported fields only for Type.VARIANT: * Only the first image in images To mark attributes as retrievable, include paths of the form "attributes.key" where "key" is the key of a custom attribute, as specified in attributes. For Type.PRIMARY and Type.COLLECTION, the following fields are always returned in SearchResponse by default: * name For Type.VARIANT, the following fields are always returned in by default: * name * color_info The maximum number of paths is 30. Otherwise, an INVALID_ARGUMENT error is returned. Note: Returning more fields in SearchResponse can increase response payload size and serving latency. This field is deprecated. Use the retrievable site-wide control instead.

func (ProductOutput) Sizes added in v0.19.0

The size of the product. To represent different size systems or size types, consider using this format: [[[size_system:]size_type:]size_value]. For example, in "US:MENS:M", "US" represents size system; "MENS" represents size type; "M" represents size value. In "GIRLS:27", size system is empty; "GIRLS" represents size type; "27" represents size value. In "32 inches", both size system and size type are empty, while size value is "32 inches". A maximum of 20 values are allowed per Product. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [size](https://support.google.com/merchants/answer/6324492), [size_type](https://support.google.com/merchants/answer/6324497), and [size_system](https://support.google.com/merchants/answer/6324502). Schema.org property [Product.size](https://schema.org/size).

func (ProductOutput) Tags added in v0.19.0

Custom tags associated with the product. At most 250 values are allowed per Product. This value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. This tag can be used for filtering recommendation results by passing the tag as part of the PredictRequest.filter. Corresponding properties: Google Merchant Center property [custom_label_0–4](https://support.google.com/merchants/answer/6324473).

func (ProductOutput) Title added in v0.19.0

func (o ProductOutput) Title() pulumi.StringOutput

Product title. This field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [title](https://support.google.com/merchants/answer/6324415). Schema.org property [Product.name](https://schema.org/name).

func (ProductOutput) ToProductOutput added in v0.3.0

func (o ProductOutput) ToProductOutput() ProductOutput

func (ProductOutput) ToProductOutputWithContext added in v0.3.0

func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOutput

func (ProductOutput) Ttl added in v0.19.0

Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts.

func (ProductOutput) Type added in v0.19.0

Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.

func (ProductOutput) Uri added in v0.19.0

Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url).

func (ProductOutput) Variants added in v0.19.0

Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests.

type ProductState added in v0.3.0

type ProductState struct {
}

func (ProductState) ElementType added in v0.3.0

func (ProductState) ElementType() reflect.Type

type ProductType added in v0.4.0

type ProductType string

Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset.

func (ProductType) ElementType added in v0.4.0

func (ProductType) ElementType() reflect.Type

func (ProductType) ToProductTypeOutput added in v0.6.0

func (e ProductType) ToProductTypeOutput() ProductTypeOutput

func (ProductType) ToProductTypeOutputWithContext added in v0.6.0

func (e ProductType) ToProductTypeOutputWithContext(ctx context.Context) ProductTypeOutput

func (ProductType) ToProductTypePtrOutput added in v0.6.0

func (e ProductType) ToProductTypePtrOutput() ProductTypePtrOutput

func (ProductType) ToProductTypePtrOutputWithContext added in v0.6.0

func (e ProductType) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput

func (ProductType) ToStringOutput added in v0.4.0

func (e ProductType) ToStringOutput() pulumi.StringOutput

func (ProductType) ToStringOutputWithContext added in v0.4.0

func (e ProductType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ProductType) ToStringPtrOutput added in v0.4.0

func (e ProductType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProductType) ToStringPtrOutputWithContext added in v0.4.0

func (e ProductType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProductTypeInput added in v0.6.0

type ProductTypeInput interface {
	pulumi.Input

	ToProductTypeOutput() ProductTypeOutput
	ToProductTypeOutputWithContext(context.Context) ProductTypeOutput
}

ProductTypeInput is an input type that accepts ProductTypeArgs and ProductTypeOutput values. You can construct a concrete instance of `ProductTypeInput` via:

ProductTypeArgs{...}

type ProductTypeOutput added in v0.6.0

type ProductTypeOutput struct{ *pulumi.OutputState }

func (ProductTypeOutput) ElementType added in v0.6.0

func (ProductTypeOutput) ElementType() reflect.Type

func (ProductTypeOutput) ToProductTypeOutput added in v0.6.0

func (o ProductTypeOutput) ToProductTypeOutput() ProductTypeOutput

func (ProductTypeOutput) ToProductTypeOutputWithContext added in v0.6.0

func (o ProductTypeOutput) ToProductTypeOutputWithContext(ctx context.Context) ProductTypeOutput

func (ProductTypeOutput) ToProductTypePtrOutput added in v0.6.0

func (o ProductTypeOutput) ToProductTypePtrOutput() ProductTypePtrOutput

func (ProductTypeOutput) ToProductTypePtrOutputWithContext added in v0.6.0

func (o ProductTypeOutput) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput

func (ProductTypeOutput) ToStringOutput added in v0.6.0

func (o ProductTypeOutput) ToStringOutput() pulumi.StringOutput

func (ProductTypeOutput) ToStringOutputWithContext added in v0.6.0

func (o ProductTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ProductTypeOutput) ToStringPtrOutput added in v0.6.0

func (o ProductTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProductTypeOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o ProductTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ProductTypePtrInput added in v0.6.0

type ProductTypePtrInput interface {
	pulumi.Input

	ToProductTypePtrOutput() ProductTypePtrOutput
	ToProductTypePtrOutputWithContext(context.Context) ProductTypePtrOutput
}

func ProductTypePtr added in v0.6.0

func ProductTypePtr(v string) ProductTypePtrInput

type ProductTypePtrOutput added in v0.6.0

type ProductTypePtrOutput struct{ *pulumi.OutputState }

func (ProductTypePtrOutput) Elem added in v0.6.0

func (ProductTypePtrOutput) ElementType added in v0.6.0

func (ProductTypePtrOutput) ElementType() reflect.Type

func (ProductTypePtrOutput) ToProductTypePtrOutput added in v0.6.0

func (o ProductTypePtrOutput) ToProductTypePtrOutput() ProductTypePtrOutput

func (ProductTypePtrOutput) ToProductTypePtrOutputWithContext added in v0.6.0

func (o ProductTypePtrOutput) ToProductTypePtrOutputWithContext(ctx context.Context) ProductTypePtrOutput

func (ProductTypePtrOutput) ToStringPtrOutput added in v0.6.0

func (o ProductTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ProductTypePtrOutput) ToStringPtrOutputWithContext added in v0.6.0

func (o ProductTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfig added in v0.25.0

type ServingConfig struct {
	pulumi.CustomResourceState

	// Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	BoostControlIds pulumi.StringArrayOutput `pulumi:"boostControlIds"`
	CatalogId       pulumi.StringOutput      `pulumi:"catalogId"`
	// The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	DiversityLevel pulumi.StringOutput `pulumi:"diversityLevel"`
	// What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.
	DiversityType pulumi.StringOutput `pulumi:"diversityType"`
	// Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	DoNotAssociateControlIds pulumi.StringArrayOutput `pulumi:"doNotAssociateControlIds"`
	// The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	DynamicFacetSpec GoogleCloudRetailV2SearchRequestDynamicFacetSpecResponseOutput `pulumi:"dynamicFacetSpec"`
	// Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	EnableCategoryFilterLevel pulumi.StringOutput `pulumi:"enableCategoryFilterLevel"`
	// Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	FacetControlIds pulumi.StringArrayOutput `pulumi:"facetControlIds"`
	// Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	FilterControlIds pulumi.StringArrayOutput `pulumi:"filterControlIds"`
	// Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	IgnoreControlIds pulumi.StringArrayOutput `pulumi:"ignoreControlIds"`
	Location         pulumi.StringOutput      `pulumi:"location"`
	// The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.
	ModelId pulumi.StringOutput `pulumi:"modelId"`
	// Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
	Name pulumi.StringOutput `pulumi:"name"`
	// Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	OnewaySynonymsControlIds pulumi.StringArrayOutput `pulumi:"onewaySynonymsControlIds"`
	// The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec.
	PersonalizationSpec GoogleCloudRetailV2SearchRequestPersonalizationSpecResponseOutput `pulumi:"personalizationSpec"`
	// How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	PriceRerankingLevel pulumi.StringOutput `pulumi:"priceRerankingLevel"`
	Project             pulumi.StringOutput `pulumi:"project"`
	// Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	RedirectControlIds pulumi.StringArrayOutput `pulumi:"redirectControlIds"`
	// Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	ReplacementControlIds pulumi.StringArrayOutput `pulumi:"replacementControlIds"`
	// Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.
	ServingConfigId pulumi.StringOutput `pulumi:"servingConfigId"`
	// Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
	SolutionTypes pulumi.StringArrayOutput `pulumi:"solutionTypes"`
	// Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	TwowaySynonymsControlIds pulumi.StringArrayOutput `pulumi:"twowaySynonymsControlIds"`
}

Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned. Auto-naming is currently not supported for this resource.

func GetServingConfig added in v0.25.0

func GetServingConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServingConfigState, opts ...pulumi.ResourceOption) (*ServingConfig, error)

GetServingConfig gets an existing ServingConfig 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 NewServingConfig added in v0.25.0

func NewServingConfig(ctx *pulumi.Context,
	name string, args *ServingConfigArgs, opts ...pulumi.ResourceOption) (*ServingConfig, error)

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

func (*ServingConfig) ElementType added in v0.25.0

func (*ServingConfig) ElementType() reflect.Type

func (*ServingConfig) ToServingConfigOutput added in v0.25.0

func (i *ServingConfig) ToServingConfigOutput() ServingConfigOutput

func (*ServingConfig) ToServingConfigOutputWithContext added in v0.25.0

func (i *ServingConfig) ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput

type ServingConfigArgs added in v0.25.0

type ServingConfigArgs struct {
	// Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	BoostControlIds pulumi.StringArrayInput
	CatalogId       pulumi.StringInput
	// The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
	DisplayName pulumi.StringInput
	// How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	DiversityLevel pulumi.StringPtrInput
	// What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.
	DiversityType ServingConfigDiversityTypePtrInput
	// Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	DoNotAssociateControlIds pulumi.StringArrayInput
	// The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	DynamicFacetSpec GoogleCloudRetailV2SearchRequestDynamicFacetSpecPtrInput
	// Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	EnableCategoryFilterLevel pulumi.StringPtrInput
	// Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	FacetControlIds pulumi.StringArrayInput
	// Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	FilterControlIds pulumi.StringArrayInput
	// Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	IgnoreControlIds pulumi.StringArrayInput
	Location         pulumi.StringPtrInput
	// The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.
	ModelId pulumi.StringPtrInput
	// Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`
	Name pulumi.StringPtrInput
	// Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	OnewaySynonymsControlIds pulumi.StringArrayInput
	// The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec.
	PersonalizationSpec GoogleCloudRetailV2SearchRequestPersonalizationSpecPtrInput
	// How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.
	PriceRerankingLevel pulumi.StringPtrInput
	Project             pulumi.StringPtrInput
	// Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	RedirectControlIds pulumi.StringArrayInput
	// Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	ReplacementControlIds pulumi.StringArrayInput
	// Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.
	ServingConfigId pulumi.StringInput
	// Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.
	SolutionTypes ServingConfigSolutionTypesItemArrayInput
	// Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.
	TwowaySynonymsControlIds pulumi.StringArrayInput
}

The set of arguments for constructing a ServingConfig resource.

func (ServingConfigArgs) ElementType added in v0.25.0

func (ServingConfigArgs) ElementType() reflect.Type

type ServingConfigDiversityType added in v0.25.0

type ServingConfigDiversityType string

What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.

func (ServingConfigDiversityType) ElementType added in v0.25.0

func (ServingConfigDiversityType) ElementType() reflect.Type

func (ServingConfigDiversityType) ToServingConfigDiversityTypeOutput added in v0.25.0

func (e ServingConfigDiversityType) ToServingConfigDiversityTypeOutput() ServingConfigDiversityTypeOutput

func (ServingConfigDiversityType) ToServingConfigDiversityTypeOutputWithContext added in v0.25.0

func (e ServingConfigDiversityType) ToServingConfigDiversityTypeOutputWithContext(ctx context.Context) ServingConfigDiversityTypeOutput

func (ServingConfigDiversityType) ToServingConfigDiversityTypePtrOutput added in v0.25.0

func (e ServingConfigDiversityType) ToServingConfigDiversityTypePtrOutput() ServingConfigDiversityTypePtrOutput

func (ServingConfigDiversityType) ToServingConfigDiversityTypePtrOutputWithContext added in v0.25.0

func (e ServingConfigDiversityType) ToServingConfigDiversityTypePtrOutputWithContext(ctx context.Context) ServingConfigDiversityTypePtrOutput

func (ServingConfigDiversityType) ToStringOutput added in v0.25.0

func (e ServingConfigDiversityType) ToStringOutput() pulumi.StringOutput

func (ServingConfigDiversityType) ToStringOutputWithContext added in v0.25.0

func (e ServingConfigDiversityType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigDiversityType) ToStringPtrOutput added in v0.25.0

func (e ServingConfigDiversityType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServingConfigDiversityType) ToStringPtrOutputWithContext added in v0.25.0

func (e ServingConfigDiversityType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigDiversityTypeInput added in v0.25.0

type ServingConfigDiversityTypeInput interface {
	pulumi.Input

	ToServingConfigDiversityTypeOutput() ServingConfigDiversityTypeOutput
	ToServingConfigDiversityTypeOutputWithContext(context.Context) ServingConfigDiversityTypeOutput
}

ServingConfigDiversityTypeInput is an input type that accepts ServingConfigDiversityTypeArgs and ServingConfigDiversityTypeOutput values. You can construct a concrete instance of `ServingConfigDiversityTypeInput` via:

ServingConfigDiversityTypeArgs{...}

type ServingConfigDiversityTypeOutput added in v0.25.0

type ServingConfigDiversityTypeOutput struct{ *pulumi.OutputState }

func (ServingConfigDiversityTypeOutput) ElementType added in v0.25.0

func (ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypeOutput added in v0.25.0

func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypeOutput() ServingConfigDiversityTypeOutput

func (ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypeOutputWithContext added in v0.25.0

func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypeOutputWithContext(ctx context.Context) ServingConfigDiversityTypeOutput

func (ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutput added in v0.25.0

func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutput() ServingConfigDiversityTypePtrOutput

func (ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutputWithContext added in v0.25.0

func (o ServingConfigDiversityTypeOutput) ToServingConfigDiversityTypePtrOutputWithContext(ctx context.Context) ServingConfigDiversityTypePtrOutput

func (ServingConfigDiversityTypeOutput) ToStringOutput added in v0.25.0

func (ServingConfigDiversityTypeOutput) ToStringOutputWithContext added in v0.25.0

func (o ServingConfigDiversityTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigDiversityTypeOutput) ToStringPtrOutput added in v0.25.0

func (ServingConfigDiversityTypeOutput) ToStringPtrOutputWithContext added in v0.25.0

func (o ServingConfigDiversityTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigDiversityTypePtrInput added in v0.25.0

type ServingConfigDiversityTypePtrInput interface {
	pulumi.Input

	ToServingConfigDiversityTypePtrOutput() ServingConfigDiversityTypePtrOutput
	ToServingConfigDiversityTypePtrOutputWithContext(context.Context) ServingConfigDiversityTypePtrOutput
}

func ServingConfigDiversityTypePtr added in v0.25.0

func ServingConfigDiversityTypePtr(v string) ServingConfigDiversityTypePtrInput

type ServingConfigDiversityTypePtrOutput added in v0.25.0

type ServingConfigDiversityTypePtrOutput struct{ *pulumi.OutputState }

func (ServingConfigDiversityTypePtrOutput) Elem added in v0.25.0

func (ServingConfigDiversityTypePtrOutput) ElementType added in v0.25.0

func (ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutput added in v0.25.0

func (o ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutput() ServingConfigDiversityTypePtrOutput

func (ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutputWithContext added in v0.25.0

func (o ServingConfigDiversityTypePtrOutput) ToServingConfigDiversityTypePtrOutputWithContext(ctx context.Context) ServingConfigDiversityTypePtrOutput

func (ServingConfigDiversityTypePtrOutput) ToStringPtrOutput added in v0.25.0

func (ServingConfigDiversityTypePtrOutput) ToStringPtrOutputWithContext added in v0.25.0

func (o ServingConfigDiversityTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigInput added in v0.25.0

type ServingConfigInput interface {
	pulumi.Input

	ToServingConfigOutput() ServingConfigOutput
	ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput
}

type ServingConfigOutput added in v0.25.0

type ServingConfigOutput struct{ *pulumi.OutputState }

func (ServingConfigOutput) BoostControlIds added in v0.25.0

func (o ServingConfigOutput) BoostControlIds() pulumi.StringArrayOutput

Condition boost specifications. If a product matches multiple conditions in the specifications, boost scores from these specifications are all applied and combined in a non-linear way. Maximum number of specifications is 100. Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) CatalogId added in v0.25.0

func (o ServingConfigOutput) CatalogId() pulumi.StringOutput

func (ServingConfigOutput) DisplayName added in v0.25.0

func (o ServingConfigOutput) DisplayName() pulumi.StringOutput

The human readable serving config display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

func (ServingConfigOutput) DiversityLevel added in v0.25.0

func (o ServingConfigOutput) DiversityLevel() pulumi.StringOutput

How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (ServingConfigOutput) DiversityType added in v0.25.0

func (o ServingConfigOutput) DiversityType() pulumi.StringOutput

What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY.

func (ServingConfigOutput) DoNotAssociateControlIds added in v0.25.0

func (o ServingConfigOutput) DoNotAssociateControlIds() pulumi.StringArrayOutput

Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) DynamicFacetSpec added in v0.25.0

The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) ElementType added in v0.25.0

func (ServingConfigOutput) ElementType() reflect.Type

func (ServingConfigOutput) EnableCategoryFilterLevel added in v0.25.0

func (o ServingConfigOutput) EnableCategoryFilterLevel() pulumi.StringOutput

Whether to add additional category filters on the `similar-items` model. If not specified, we enable it by default. Allowed values are: * `no-category-match`: No additional filtering of original results from the model and the customer's filters. * `relaxed-category-match`: Only keep results with categories that match at least one item categories in the PredictRequests's context item. * If customer also sends filters in the PredictRequest, then the results will satisfy both conditions (user given and category match). Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (ServingConfigOutput) FacetControlIds added in v0.25.0

func (o ServingConfigOutput) FacetControlIds() pulumi.StringArrayOutput

Facet specifications for faceted search. If empty, no facets are returned. The ids refer to the ids of Control resources with only the Facet control set. These controls are assumed to be in the same Catalog as the ServingConfig. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) FilterControlIds added in v0.25.0

func (o ServingConfigOutput) FilterControlIds() pulumi.StringArrayOutput

Condition filter specifications. If a product matches multiple conditions in the specifications, filters from these specifications are all applied and combined via the AND operator. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) IgnoreControlIds added in v0.25.0

func (o ServingConfigOutput) IgnoreControlIds() pulumi.StringArrayOutput

Condition ignore specifications. If multiple ignore conditions match, all matching ignore controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) Location added in v0.25.0

func (ServingConfigOutput) ModelId added in v0.25.0

The id of the model in the same Catalog to use at serving time. Currently only RecommendationModels are supported: https://cloud.google.com/retail/recommendations-ai/docs/create-models Can be changed but only to a compatible model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required when solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (ServingConfigOutput) Name added in v0.25.0

Immutable. Fully qualified name `projects/*/locations/global/catalogs/*/servingConfig/*`

func (ServingConfigOutput) OnewaySynonymsControlIds added in v0.25.0

func (o ServingConfigOutput) OnewaySynonymsControlIds() pulumi.StringArrayOutput

Condition oneway synonyms specifications. If multiple oneway synonyms conditions match, all matching oneway synonyms controls in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) PersonalizationSpec added in v0.25.0

The specification for personalization spec. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. Notice that if both ServingConfig.personalization_spec and SearchRequest.personalization_spec are set. SearchRequest.personalization_spec will override ServingConfig.personalization_spec.

func (ServingConfigOutput) PriceRerankingLevel added in v0.25.0

func (o ServingConfigOutput) PriceRerankingLevel() pulumi.StringOutput

How much price ranking we want in serving results. Price reranking causes product items with a similar recommendation probability to be ordered by price, with the highest-priced items first. This setting could result in a decrease in click-through and conversion rates. Allowed values are: * `no-price-reranking` * `low-price-reranking` * `medium-price-reranking` * `high-price-reranking` If not specified, we choose default based on model type. Default value: `no-price-reranking`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION.

func (ServingConfigOutput) Project added in v0.25.0

func (ServingConfigOutput) RedirectControlIds added in v0.25.0

func (o ServingConfigOutput) RedirectControlIds() pulumi.StringArrayOutput

Condition redirect specifications. Only the first triggered redirect action is applied, even if multiple apply. Maximum number of specifications is 1000. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) ReplacementControlIds added in v0.25.0

func (o ServingConfigOutput) ReplacementControlIds() pulumi.StringArrayOutput

Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

func (ServingConfigOutput) ServingConfigId added in v0.25.0

func (o ServingConfigOutput) ServingConfigId() pulumi.StringOutput

Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/.

func (ServingConfigOutput) SolutionTypes added in v0.25.0

func (o ServingConfigOutput) SolutionTypes() pulumi.StringArrayOutput

Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution.

func (ServingConfigOutput) ToServingConfigOutput added in v0.25.0

func (o ServingConfigOutput) ToServingConfigOutput() ServingConfigOutput

func (ServingConfigOutput) ToServingConfigOutputWithContext added in v0.25.0

func (o ServingConfigOutput) ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput

func (ServingConfigOutput) TwowaySynonymsControlIds added in v0.25.0

func (o ServingConfigOutput) TwowaySynonymsControlIds() pulumi.StringArrayOutput

Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH.

type ServingConfigSolutionTypesItem added in v0.25.0

type ServingConfigSolutionTypesItem string

func (ServingConfigSolutionTypesItem) ElementType added in v0.25.0

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutput added in v0.25.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutput() ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutputWithContext added in v0.25.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutput added in v0.25.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutputWithContext added in v0.25.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItem) ToStringOutput added in v0.25.0

func (ServingConfigSolutionTypesItem) ToStringOutputWithContext added in v0.25.0

func (e ServingConfigSolutionTypesItem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigSolutionTypesItem) ToStringPtrOutput added in v0.25.0

func (ServingConfigSolutionTypesItem) ToStringPtrOutputWithContext added in v0.25.0

func (e ServingConfigSolutionTypesItem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigSolutionTypesItemArray added in v0.25.0

type ServingConfigSolutionTypesItemArray []ServingConfigSolutionTypesItem

func (ServingConfigSolutionTypesItemArray) ElementType added in v0.25.0

func (ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutput added in v0.25.0

func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutput() ServingConfigSolutionTypesItemArrayOutput

func (ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutputWithContext added in v0.25.0

func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemArrayOutput

type ServingConfigSolutionTypesItemArrayInput added in v0.25.0

type ServingConfigSolutionTypesItemArrayInput interface {
	pulumi.Input

	ToServingConfigSolutionTypesItemArrayOutput() ServingConfigSolutionTypesItemArrayOutput
	ToServingConfigSolutionTypesItemArrayOutputWithContext(context.Context) ServingConfigSolutionTypesItemArrayOutput
}

ServingConfigSolutionTypesItemArrayInput is an input type that accepts ServingConfigSolutionTypesItemArray and ServingConfigSolutionTypesItemArrayOutput values. You can construct a concrete instance of `ServingConfigSolutionTypesItemArrayInput` via:

ServingConfigSolutionTypesItemArray{ ServingConfigSolutionTypesItemArgs{...} }

type ServingConfigSolutionTypesItemArrayOutput added in v0.25.0

type ServingConfigSolutionTypesItemArrayOutput struct{ *pulumi.OutputState }

func (ServingConfigSolutionTypesItemArrayOutput) ElementType added in v0.25.0

func (ServingConfigSolutionTypesItemArrayOutput) Index added in v0.25.0

func (ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutput added in v0.25.0

func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutput() ServingConfigSolutionTypesItemArrayOutput

func (ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutputWithContext added in v0.25.0

func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemArrayOutput

type ServingConfigSolutionTypesItemInput added in v0.25.0

type ServingConfigSolutionTypesItemInput interface {
	pulumi.Input

	ToServingConfigSolutionTypesItemOutput() ServingConfigSolutionTypesItemOutput
	ToServingConfigSolutionTypesItemOutputWithContext(context.Context) ServingConfigSolutionTypesItemOutput
}

ServingConfigSolutionTypesItemInput is an input type that accepts ServingConfigSolutionTypesItemArgs and ServingConfigSolutionTypesItemOutput values. You can construct a concrete instance of `ServingConfigSolutionTypesItemInput` via:

ServingConfigSolutionTypesItemArgs{...}

type ServingConfigSolutionTypesItemOutput added in v0.25.0

type ServingConfigSolutionTypesItemOutput struct{ *pulumi.OutputState }

func (ServingConfigSolutionTypesItemOutput) ElementType added in v0.25.0

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutput added in v0.25.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutput() ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutputWithContext added in v0.25.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutput added in v0.25.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext added in v0.25.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemOutput) ToStringOutput added in v0.25.0

func (ServingConfigSolutionTypesItemOutput) ToStringOutputWithContext added in v0.25.0

func (o ServingConfigSolutionTypesItemOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServingConfigSolutionTypesItemOutput) ToStringPtrOutput added in v0.25.0

func (ServingConfigSolutionTypesItemOutput) ToStringPtrOutputWithContext added in v0.25.0

func (o ServingConfigSolutionTypesItemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ServingConfigSolutionTypesItemPtrInput added in v0.25.0

type ServingConfigSolutionTypesItemPtrInput interface {
	pulumi.Input

	ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput
	ToServingConfigSolutionTypesItemPtrOutputWithContext(context.Context) ServingConfigSolutionTypesItemPtrOutput
}

func ServingConfigSolutionTypesItemPtr added in v0.25.0

func ServingConfigSolutionTypesItemPtr(v string) ServingConfigSolutionTypesItemPtrInput

type ServingConfigSolutionTypesItemPtrOutput added in v0.25.0

type ServingConfigSolutionTypesItemPtrOutput struct{ *pulumi.OutputState }

func (ServingConfigSolutionTypesItemPtrOutput) Elem added in v0.25.0

func (ServingConfigSolutionTypesItemPtrOutput) ElementType added in v0.25.0

func (ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutput added in v0.25.0

func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext added in v0.25.0

func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemPtrOutput) ToStringPtrOutput added in v0.25.0

func (ServingConfigSolutionTypesItemPtrOutput) ToStringPtrOutputWithContext added in v0.25.0

type ServingConfigState added in v0.25.0

type ServingConfigState struct {
}

func (ServingConfigState) ElementType added in v0.25.0

func (ServingConfigState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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