v2beta

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.
	GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeContextProductsTypeUnspecified = GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("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.
	GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeSingleContextProduct = GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("SINGLE_CONTEXT_PRODUCT")
	// Use one or multiple products as context for the recommendation. Typically used on shopping cart pages.
	GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeMultipleContextProducts = GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("MULTIPLE_CONTEXT_PRODUCTS")
)
View Source
const (
	// Default value.
	GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeModeUnspecified = GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode("MODE_UNSPECIFIED")
	// Disable Dynamic Facet.
	GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeDisabled = GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode("DISABLED")
	// Automatic mode built by Google Retail Search.
	GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeEnabled = GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode("ENABLED")
)
View Source
const (
	// Default value. In this case, server behavior defaults to Mode.AUTO.
	GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeModeUnspecified = GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode("MODE_UNSPECIFIED")
	// Let CRS decide whether to use personalization based on quality of user event data.
	GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeAuto = GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode("AUTO")
	// Disable personalization.
	GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeDisabled = GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode("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.12.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"`
	// A facet specification to perform faceted search. Note that this field is deprecated and will throw NOT_IMPLEMENTED if used for creating a control.
	FacetSpec GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput `pulumi:"facetSpec"`
	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 GoogleCloudRetailV2betaRuleResponseOutput `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.12.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.12.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.12.0

func (*Control) ElementType() reflect.Type

func (*Control) ToControlOutput added in v0.12.0

func (i *Control) ToControlOutput() ControlOutput

func (*Control) ToControlOutputWithContext added in v0.12.0

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

type ControlArgs added in v0.12.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
	// A facet specification to perform faceted search. Note that this field is deprecated and will throw NOT_IMPLEMENTED if used for creating a control.
	FacetSpec GoogleCloudRetailV2betaSearchRequestFacetSpecPtrInput
	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 GoogleCloudRetailV2betaRulePtrInput
	// 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.12.0

func (ControlArgs) ElementType() reflect.Type

type ControlInput added in v0.12.0

type ControlInput interface {
	pulumi.Input

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

type ControlOutput added in v0.12.0

type ControlOutput struct{ *pulumi.OutputState }

func (ControlOutput) AssociatedServingConfigIds added in v0.19.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.21.0

func (o ControlOutput) CatalogId() pulumi.StringOutput

func (ControlOutput) ControlId added in v0.21.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.19.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.12.0

func (ControlOutput) ElementType() reflect.Type

func (ControlOutput) FacetSpec added in v0.19.0

A facet specification to perform faceted search. Note that this field is deprecated and will throw NOT_IMPLEMENTED if used for creating a control.

func (ControlOutput) Location added in v0.21.0

func (o ControlOutput) Location() pulumi.StringOutput

func (ControlOutput) Name added in v0.19.0

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

func (ControlOutput) Project added in v0.21.0

func (o ControlOutput) Project() pulumi.StringOutput

func (ControlOutput) Rule added in v0.19.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.19.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.12.0

func (o ControlOutput) ToControlOutput() ControlOutput

func (ControlOutput) ToControlOutputWithContext added in v0.12.0

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

type ControlSearchSolutionUseCaseItem added in v0.18.0

type ControlSearchSolutionUseCaseItem string

func (ControlSearchSolutionUseCaseItem) ElementType added in v0.18.0

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutput added in v0.18.0

func (e ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutput() ControlSearchSolutionUseCaseItemOutput

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemOutputWithContext added in v0.18.0

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

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutput added in v0.18.0

func (e ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItem) ToControlSearchSolutionUseCaseItemPtrOutputWithContext added in v0.18.0

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

func (ControlSearchSolutionUseCaseItem) ToStringOutput added in v0.18.0

func (ControlSearchSolutionUseCaseItem) ToStringOutputWithContext added in v0.18.0

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

func (ControlSearchSolutionUseCaseItem) ToStringPtrOutput added in v0.18.0

func (ControlSearchSolutionUseCaseItem) ToStringPtrOutputWithContext added in v0.18.0

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

type ControlSearchSolutionUseCaseItemArray added in v0.18.0

type ControlSearchSolutionUseCaseItemArray []ControlSearchSolutionUseCaseItem

func (ControlSearchSolutionUseCaseItemArray) ElementType added in v0.18.0

func (ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutput added in v0.18.0

func (i ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutput() ControlSearchSolutionUseCaseItemArrayOutput

func (ControlSearchSolutionUseCaseItemArray) ToControlSearchSolutionUseCaseItemArrayOutputWithContext added in v0.18.0

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

type ControlSearchSolutionUseCaseItemArrayInput added in v0.18.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.18.0

type ControlSearchSolutionUseCaseItemArrayOutput struct{ *pulumi.OutputState }

func (ControlSearchSolutionUseCaseItemArrayOutput) ElementType added in v0.18.0

func (ControlSearchSolutionUseCaseItemArrayOutput) Index added in v0.18.0

func (ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutput added in v0.18.0

func (o ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutput() ControlSearchSolutionUseCaseItemArrayOutput

func (ControlSearchSolutionUseCaseItemArrayOutput) ToControlSearchSolutionUseCaseItemArrayOutputWithContext added in v0.18.0

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

type ControlSearchSolutionUseCaseItemInput added in v0.18.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.18.0

type ControlSearchSolutionUseCaseItemOutput struct{ *pulumi.OutputState }

func (ControlSearchSolutionUseCaseItemOutput) ElementType added in v0.18.0

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutput added in v0.18.0

func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutput() ControlSearchSolutionUseCaseItemOutput

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemOutputWithContext added in v0.18.0

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

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutput added in v0.18.0

func (o ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItemOutput) ToControlSearchSolutionUseCaseItemPtrOutputWithContext added in v0.18.0

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

func (ControlSearchSolutionUseCaseItemOutput) ToStringOutput added in v0.18.0

func (ControlSearchSolutionUseCaseItemOutput) ToStringOutputWithContext added in v0.18.0

func (ControlSearchSolutionUseCaseItemOutput) ToStringPtrOutput added in v0.18.0

func (ControlSearchSolutionUseCaseItemOutput) ToStringPtrOutputWithContext added in v0.18.0

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

type ControlSearchSolutionUseCaseItemPtrInput added in v0.18.0

type ControlSearchSolutionUseCaseItemPtrInput interface {
	pulumi.Input

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

func ControlSearchSolutionUseCaseItemPtr added in v0.18.0

func ControlSearchSolutionUseCaseItemPtr(v string) ControlSearchSolutionUseCaseItemPtrInput

type ControlSearchSolutionUseCaseItemPtrOutput added in v0.18.0

type ControlSearchSolutionUseCaseItemPtrOutput struct{ *pulumi.OutputState }

func (ControlSearchSolutionUseCaseItemPtrOutput) Elem added in v0.18.0

func (ControlSearchSolutionUseCaseItemPtrOutput) ElementType added in v0.18.0

func (ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutput added in v0.18.0

func (o ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutput() ControlSearchSolutionUseCaseItemPtrOutput

func (ControlSearchSolutionUseCaseItemPtrOutput) ToControlSearchSolutionUseCaseItemPtrOutputWithContext added in v0.18.0

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

func (ControlSearchSolutionUseCaseItemPtrOutput) ToStringPtrOutput added in v0.18.0

func (ControlSearchSolutionUseCaseItemPtrOutput) ToStringPtrOutputWithContext added in v0.18.0

type ControlSolutionTypesItem added in v0.12.0

type ControlSolutionTypesItem string

func (ControlSolutionTypesItem) ElementType added in v0.12.0

func (ControlSolutionTypesItem) ElementType() reflect.Type

func (ControlSolutionTypesItem) ToControlSolutionTypesItemOutput added in v0.12.0

func (e ControlSolutionTypesItem) ToControlSolutionTypesItemOutput() ControlSolutionTypesItemOutput

func (ControlSolutionTypesItem) ToControlSolutionTypesItemOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutput added in v0.12.0

func (e ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItem) ToControlSolutionTypesItemPtrOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItem) ToStringOutput added in v0.12.0

func (e ControlSolutionTypesItem) ToStringOutput() pulumi.StringOutput

func (ControlSolutionTypesItem) ToStringOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItem) ToStringPtrOutput added in v0.12.0

func (e ControlSolutionTypesItem) ToStringPtrOutput() pulumi.StringPtrOutput

func (ControlSolutionTypesItem) ToStringPtrOutputWithContext added in v0.12.0

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

type ControlSolutionTypesItemArray added in v0.12.0

type ControlSolutionTypesItemArray []ControlSolutionTypesItem

func (ControlSolutionTypesItemArray) ElementType added in v0.12.0

func (ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutput added in v0.12.0

func (i ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutput() ControlSolutionTypesItemArrayOutput

func (ControlSolutionTypesItemArray) ToControlSolutionTypesItemArrayOutputWithContext added in v0.12.0

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

type ControlSolutionTypesItemArrayInput added in v0.12.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.12.0

type ControlSolutionTypesItemArrayOutput struct{ *pulumi.OutputState }

func (ControlSolutionTypesItemArrayOutput) ElementType added in v0.12.0

func (ControlSolutionTypesItemArrayOutput) Index added in v0.12.0

func (ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutput added in v0.12.0

func (o ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutput() ControlSolutionTypesItemArrayOutput

func (ControlSolutionTypesItemArrayOutput) ToControlSolutionTypesItemArrayOutputWithContext added in v0.12.0

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

type ControlSolutionTypesItemInput added in v0.12.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.12.0

type ControlSolutionTypesItemOutput struct{ *pulumi.OutputState }

func (ControlSolutionTypesItemOutput) ElementType added in v0.12.0

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutput added in v0.12.0

func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutput() ControlSolutionTypesItemOutput

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutput added in v0.12.0

func (o ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItemOutput) ToControlSolutionTypesItemPtrOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItemOutput) ToStringOutput added in v0.12.0

func (ControlSolutionTypesItemOutput) ToStringOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItemOutput) ToStringPtrOutput added in v0.12.0

func (ControlSolutionTypesItemOutput) ToStringPtrOutputWithContext added in v0.12.0

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

type ControlSolutionTypesItemPtrInput added in v0.12.0

type ControlSolutionTypesItemPtrInput interface {
	pulumi.Input

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

func ControlSolutionTypesItemPtr added in v0.12.0

func ControlSolutionTypesItemPtr(v string) ControlSolutionTypesItemPtrInput

type ControlSolutionTypesItemPtrOutput added in v0.12.0

type ControlSolutionTypesItemPtrOutput struct{ *pulumi.OutputState }

func (ControlSolutionTypesItemPtrOutput) Elem added in v0.12.0

func (ControlSolutionTypesItemPtrOutput) ElementType added in v0.12.0

func (ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutput added in v0.12.0

func (o ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutput() ControlSolutionTypesItemPtrOutput

func (ControlSolutionTypesItemPtrOutput) ToControlSolutionTypesItemPtrOutputWithContext added in v0.12.0

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

func (ControlSolutionTypesItemPtrOutput) ToStringPtrOutput added in v0.12.0

func (ControlSolutionTypesItemPtrOutput) ToStringPtrOutputWithContext added in v0.12.0

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

type ControlState added in v0.12.0

type ControlState struct {
}

func (ControlState) ElementType added in v0.12.0

func (ControlState) ElementType() reflect.Type

type GoogleCloudRetailV2betaAudience added in v0.8.0

type GoogleCloudRetailV2betaAudience 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 GoogleCloudRetailV2betaAudienceArgs added in v0.8.0

type GoogleCloudRetailV2betaAudienceArgs 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 (GoogleCloudRetailV2betaAudienceArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudienceOutput added in v0.8.0

func (i GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudienceOutput() GoogleCloudRetailV2betaAudienceOutput

func (GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudienceOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudienceOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaAudienceOutput

func (GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudiencePtrOutput added in v0.8.0

func (i GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudiencePtrOutput() GoogleCloudRetailV2betaAudiencePtrOutput

func (GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaAudienceArgs) ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaAudiencePtrOutput

type GoogleCloudRetailV2betaAudienceInput added in v0.8.0

type GoogleCloudRetailV2betaAudienceInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaAudienceOutput() GoogleCloudRetailV2betaAudienceOutput
	ToGoogleCloudRetailV2betaAudienceOutputWithContext(context.Context) GoogleCloudRetailV2betaAudienceOutput
}

GoogleCloudRetailV2betaAudienceInput is an input type that accepts GoogleCloudRetailV2betaAudienceArgs and GoogleCloudRetailV2betaAudienceOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaAudienceInput` via:

GoogleCloudRetailV2betaAudienceArgs{...}

type GoogleCloudRetailV2betaAudienceOutput added in v0.8.0

type GoogleCloudRetailV2betaAudienceOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaAudienceOutput) 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 (GoogleCloudRetailV2betaAudienceOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaAudienceOutput) 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 (GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudienceOutput added in v0.8.0

func (o GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudienceOutput() GoogleCloudRetailV2betaAudienceOutput

func (GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudienceOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudienceOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaAudienceOutput

func (GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudiencePtrOutput added in v0.8.0

func (o GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudiencePtrOutput() GoogleCloudRetailV2betaAudiencePtrOutput

func (GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaAudienceOutput) ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaAudiencePtrOutput

type GoogleCloudRetailV2betaAudiencePtrInput added in v0.8.0

type GoogleCloudRetailV2betaAudiencePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaAudiencePtrOutput() GoogleCloudRetailV2betaAudiencePtrOutput
	ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext(context.Context) GoogleCloudRetailV2betaAudiencePtrOutput
}

GoogleCloudRetailV2betaAudiencePtrInput is an input type that accepts GoogleCloudRetailV2betaAudienceArgs, GoogleCloudRetailV2betaAudiencePtr and GoogleCloudRetailV2betaAudiencePtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaAudiencePtrInput` via:

        GoogleCloudRetailV2betaAudienceArgs{...}

or:

        nil

type GoogleCloudRetailV2betaAudiencePtrOutput added in v0.8.0

type GoogleCloudRetailV2betaAudiencePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaAudiencePtrOutput) 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 (GoogleCloudRetailV2betaAudiencePtrOutput) Elem added in v0.8.0

func (GoogleCloudRetailV2betaAudiencePtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaAudiencePtrOutput) 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 (GoogleCloudRetailV2betaAudiencePtrOutput) ToGoogleCloudRetailV2betaAudiencePtrOutput added in v0.8.0

func (o GoogleCloudRetailV2betaAudiencePtrOutput) ToGoogleCloudRetailV2betaAudiencePtrOutput() GoogleCloudRetailV2betaAudiencePtrOutput

func (GoogleCloudRetailV2betaAudiencePtrOutput) ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaAudiencePtrOutput) ToGoogleCloudRetailV2betaAudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaAudiencePtrOutput

type GoogleCloudRetailV2betaAudienceResponse added in v0.8.0

type GoogleCloudRetailV2betaAudienceResponse 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 GoogleCloudRetailV2betaAudienceResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaAudienceResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaAudienceResponseOutput) 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 (GoogleCloudRetailV2betaAudienceResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaAudienceResponseOutput) 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 (GoogleCloudRetailV2betaAudienceResponseOutput) ToGoogleCloudRetailV2betaAudienceResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2betaAudienceResponseOutput) ToGoogleCloudRetailV2betaAudienceResponseOutput() GoogleCloudRetailV2betaAudienceResponseOutput

func (GoogleCloudRetailV2betaAudienceResponseOutput) ToGoogleCloudRetailV2betaAudienceResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaAudienceResponseOutput) ToGoogleCloudRetailV2betaAudienceResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaAudienceResponseOutput

type GoogleCloudRetailV2betaColorInfo added in v0.8.0

type GoogleCloudRetailV2betaColorInfo 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 GoogleCloudRetailV2betaColorInfoArgs added in v0.8.0

type GoogleCloudRetailV2betaColorInfoArgs 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 (GoogleCloudRetailV2betaColorInfoArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoOutput added in v0.8.0

func (i GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoOutput() GoogleCloudRetailV2betaColorInfoOutput

func (GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaColorInfoOutput

func (GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoPtrOutput added in v0.8.0

func (i GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoPtrOutput() GoogleCloudRetailV2betaColorInfoPtrOutput

func (GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaColorInfoArgs) ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaColorInfoPtrOutput

type GoogleCloudRetailV2betaColorInfoInput added in v0.8.0

type GoogleCloudRetailV2betaColorInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaColorInfoOutput() GoogleCloudRetailV2betaColorInfoOutput
	ToGoogleCloudRetailV2betaColorInfoOutputWithContext(context.Context) GoogleCloudRetailV2betaColorInfoOutput
}

GoogleCloudRetailV2betaColorInfoInput is an input type that accepts GoogleCloudRetailV2betaColorInfoArgs and GoogleCloudRetailV2betaColorInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaColorInfoInput` via:

GoogleCloudRetailV2betaColorInfoArgs{...}

type GoogleCloudRetailV2betaColorInfoOutput added in v0.8.0

type GoogleCloudRetailV2betaColorInfoOutput struct{ *pulumi.OutputState }

The color information of a Product.

func (GoogleCloudRetailV2betaColorInfoOutput) 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 (GoogleCloudRetailV2betaColorInfoOutput) 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 (GoogleCloudRetailV2betaColorInfoOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoOutput added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoOutput() GoogleCloudRetailV2betaColorInfoOutput

func (GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaColorInfoOutput

func (GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutput() GoogleCloudRetailV2betaColorInfoPtrOutput

func (GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaColorInfoPtrOutput

type GoogleCloudRetailV2betaColorInfoPtrInput added in v0.8.0

type GoogleCloudRetailV2betaColorInfoPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaColorInfoPtrOutput() GoogleCloudRetailV2betaColorInfoPtrOutput
	ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaColorInfoPtrOutput
}

GoogleCloudRetailV2betaColorInfoPtrInput is an input type that accepts GoogleCloudRetailV2betaColorInfoArgs, GoogleCloudRetailV2betaColorInfoPtr and GoogleCloudRetailV2betaColorInfoPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaColorInfoPtrInput` via:

        GoogleCloudRetailV2betaColorInfoArgs{...}

or:

        nil

type GoogleCloudRetailV2betaColorInfoPtrOutput added in v0.8.0

type GoogleCloudRetailV2betaColorInfoPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaColorInfoPtrOutput) 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 (GoogleCloudRetailV2betaColorInfoPtrOutput) 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 (GoogleCloudRetailV2betaColorInfoPtrOutput) Elem added in v0.8.0

func (GoogleCloudRetailV2betaColorInfoPtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaColorInfoPtrOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoPtrOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutput() GoogleCloudRetailV2betaColorInfoPtrOutput

func (GoogleCloudRetailV2betaColorInfoPtrOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoPtrOutput) ToGoogleCloudRetailV2betaColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaColorInfoPtrOutput

type GoogleCloudRetailV2betaColorInfoResponse added in v0.8.0

type GoogleCloudRetailV2betaColorInfoResponse 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 GoogleCloudRetailV2betaColorInfoResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaColorInfoResponseOutput struct{ *pulumi.OutputState }

The color information of a Product.

func (GoogleCloudRetailV2betaColorInfoResponseOutput) 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 (GoogleCloudRetailV2betaColorInfoResponseOutput) 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 (GoogleCloudRetailV2betaColorInfoResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaColorInfoResponseOutput) ToGoogleCloudRetailV2betaColorInfoResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoResponseOutput) ToGoogleCloudRetailV2betaColorInfoResponseOutput() GoogleCloudRetailV2betaColorInfoResponseOutput

func (GoogleCloudRetailV2betaColorInfoResponseOutput) ToGoogleCloudRetailV2betaColorInfoResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaColorInfoResponseOutput) ToGoogleCloudRetailV2betaColorInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaColorInfoResponseOutput

type GoogleCloudRetailV2betaCondition added in v0.12.0

type GoogleCloudRetailV2betaCondition struct {
	// Range of time(s) specifying when Condition is active. Condition true if any time range matches.
	ActiveTimeRange []GoogleCloudRetailV2betaConditionTimeRange `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 []GoogleCloudRetailV2betaConditionQueryTerm `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 GoogleCloudRetailV2betaConditionArgs added in v0.12.0

type GoogleCloudRetailV2betaConditionArgs struct {
	// Range of time(s) specifying when Condition is active. Condition true if any time range matches.
	ActiveTimeRange GoogleCloudRetailV2betaConditionTimeRangeArrayInput `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 GoogleCloudRetailV2betaConditionQueryTermArrayInput `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 (GoogleCloudRetailV2betaConditionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionOutput() GoogleCloudRetailV2betaConditionOutput

func (GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionOutput

func (GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionPtrOutput() GoogleCloudRetailV2betaConditionPtrOutput

func (GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaConditionArgs) ToGoogleCloudRetailV2betaConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionPtrOutput

type GoogleCloudRetailV2betaConditionInput added in v0.12.0

type GoogleCloudRetailV2betaConditionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaConditionOutput() GoogleCloudRetailV2betaConditionOutput
	ToGoogleCloudRetailV2betaConditionOutputWithContext(context.Context) GoogleCloudRetailV2betaConditionOutput
}

GoogleCloudRetailV2betaConditionInput is an input type that accepts GoogleCloudRetailV2betaConditionArgs and GoogleCloudRetailV2betaConditionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaConditionInput` via:

GoogleCloudRetailV2betaConditionArgs{...}

type GoogleCloudRetailV2betaConditionOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionOutput 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 (GoogleCloudRetailV2betaConditionOutput) ActiveTimeRange added in v0.12.0

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

func (GoogleCloudRetailV2betaConditionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionOutput) 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 (GoogleCloudRetailV2betaConditionOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionOutput added in v0.12.0

func (o GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionOutput() GoogleCloudRetailV2betaConditionOutput

func (GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionOutput

func (GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionPtrOutput() GoogleCloudRetailV2betaConditionPtrOutput

func (GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionOutput) ToGoogleCloudRetailV2betaConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionPtrOutput

type GoogleCloudRetailV2betaConditionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaConditionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaConditionPtrOutput() GoogleCloudRetailV2betaConditionPtrOutput
	ToGoogleCloudRetailV2betaConditionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaConditionPtrOutput
}

GoogleCloudRetailV2betaConditionPtrInput is an input type that accepts GoogleCloudRetailV2betaConditionArgs, GoogleCloudRetailV2betaConditionPtr and GoogleCloudRetailV2betaConditionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaConditionPtrInput` via:

        GoogleCloudRetailV2betaConditionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaConditionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaConditionPtrOutput) ActiveTimeRange added in v0.12.0

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

func (GoogleCloudRetailV2betaConditionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaConditionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionPtrOutput) 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 (GoogleCloudRetailV2betaConditionPtrOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaConditionPtrOutput) ToGoogleCloudRetailV2betaConditionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaConditionPtrOutput) ToGoogleCloudRetailV2betaConditionPtrOutput() GoogleCloudRetailV2betaConditionPtrOutput

func (GoogleCloudRetailV2betaConditionPtrOutput) ToGoogleCloudRetailV2betaConditionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionPtrOutput) ToGoogleCloudRetailV2betaConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionPtrOutput

type GoogleCloudRetailV2betaConditionQueryTerm added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTerm 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 GoogleCloudRetailV2betaConditionQueryTermArgs added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermArgs 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 (GoogleCloudRetailV2betaConditionQueryTermArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermArgs) ToGoogleCloudRetailV2betaConditionQueryTermOutput added in v0.12.0

func (i GoogleCloudRetailV2betaConditionQueryTermArgs) ToGoogleCloudRetailV2betaConditionQueryTermOutput() GoogleCloudRetailV2betaConditionQueryTermOutput

func (GoogleCloudRetailV2betaConditionQueryTermArgs) ToGoogleCloudRetailV2betaConditionQueryTermOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaConditionQueryTermArgs) ToGoogleCloudRetailV2betaConditionQueryTermOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionQueryTermOutput

type GoogleCloudRetailV2betaConditionQueryTermArray added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermArray []GoogleCloudRetailV2betaConditionQueryTermInput

func (GoogleCloudRetailV2betaConditionQueryTermArray) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermArray) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutput added in v0.12.0

func (i GoogleCloudRetailV2betaConditionQueryTermArray) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutput() GoogleCloudRetailV2betaConditionQueryTermArrayOutput

func (GoogleCloudRetailV2betaConditionQueryTermArray) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaConditionQueryTermArray) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionQueryTermArrayOutput

type GoogleCloudRetailV2betaConditionQueryTermArrayInput added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaConditionQueryTermArrayOutput() GoogleCloudRetailV2betaConditionQueryTermArrayOutput
	ToGoogleCloudRetailV2betaConditionQueryTermArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaConditionQueryTermArrayOutput
}

GoogleCloudRetailV2betaConditionQueryTermArrayInput is an input type that accepts GoogleCloudRetailV2betaConditionQueryTermArray and GoogleCloudRetailV2betaConditionQueryTermArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaConditionQueryTermArrayInput` via:

GoogleCloudRetailV2betaConditionQueryTermArray{ GoogleCloudRetailV2betaConditionQueryTermArgs{...} }

type GoogleCloudRetailV2betaConditionQueryTermArrayOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaConditionQueryTermArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermArrayOutput) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutput added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermArrayOutput) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionQueryTermArrayOutput) ToGoogleCloudRetailV2betaConditionQueryTermArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionQueryTermArrayOutput

type GoogleCloudRetailV2betaConditionQueryTermInput added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaConditionQueryTermOutput() GoogleCloudRetailV2betaConditionQueryTermOutput
	ToGoogleCloudRetailV2betaConditionQueryTermOutputWithContext(context.Context) GoogleCloudRetailV2betaConditionQueryTermOutput
}

GoogleCloudRetailV2betaConditionQueryTermInput is an input type that accepts GoogleCloudRetailV2betaConditionQueryTermArgs and GoogleCloudRetailV2betaConditionQueryTermOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaConditionQueryTermInput` via:

GoogleCloudRetailV2betaConditionQueryTermArgs{...}

type GoogleCloudRetailV2betaConditionQueryTermOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermOutput struct{ *pulumi.OutputState }

Query terms that we want to match on.

func (GoogleCloudRetailV2betaConditionQueryTermOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermOutput) FullMatch added in v0.12.0

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

func (GoogleCloudRetailV2betaConditionQueryTermOutput) ToGoogleCloudRetailV2betaConditionQueryTermOutput added in v0.12.0

func (o GoogleCloudRetailV2betaConditionQueryTermOutput) ToGoogleCloudRetailV2betaConditionQueryTermOutput() GoogleCloudRetailV2betaConditionQueryTermOutput

func (GoogleCloudRetailV2betaConditionQueryTermOutput) ToGoogleCloudRetailV2betaConditionQueryTermOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionQueryTermOutput) ToGoogleCloudRetailV2betaConditionQueryTermOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionQueryTermOutput

func (GoogleCloudRetailV2betaConditionQueryTermOutput) Value added in v0.12.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 GoogleCloudRetailV2betaConditionQueryTermResponse added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermResponse 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 GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2betaConditionQueryTermResponseArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2betaConditionQueryTermResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionQueryTermResponseArrayOutput

type GoogleCloudRetailV2betaConditionQueryTermResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionQueryTermResponseOutput struct{ *pulumi.OutputState }

Query terms that we want to match on.

func (GoogleCloudRetailV2betaConditionQueryTermResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermResponseOutput) FullMatch added in v0.12.0

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

func (GoogleCloudRetailV2betaConditionQueryTermResponseOutput) ToGoogleCloudRetailV2betaConditionQueryTermResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaConditionQueryTermResponseOutput) ToGoogleCloudRetailV2betaConditionQueryTermResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionQueryTermResponseOutput) ToGoogleCloudRetailV2betaConditionQueryTermResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionQueryTermResponseOutput

func (GoogleCloudRetailV2betaConditionQueryTermResponseOutput) Value added in v0.12.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 GoogleCloudRetailV2betaConditionResponse added in v0.12.0

type GoogleCloudRetailV2betaConditionResponse struct {
	// Range of time(s) specifying when Condition is active. Condition true if any time range matches.
	ActiveTimeRange []GoogleCloudRetailV2betaConditionTimeRangeResponse `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 []GoogleCloudRetailV2betaConditionQueryTermResponse `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 GoogleCloudRetailV2betaConditionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionResponseOutput 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 (GoogleCloudRetailV2betaConditionResponseOutput) ActiveTimeRange added in v0.12.0

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

func (GoogleCloudRetailV2betaConditionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionResponseOutput) 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 (GoogleCloudRetailV2betaConditionResponseOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaConditionResponseOutput) ToGoogleCloudRetailV2betaConditionResponseOutput added in v0.12.0

func (o GoogleCloudRetailV2betaConditionResponseOutput) ToGoogleCloudRetailV2betaConditionResponseOutput() GoogleCloudRetailV2betaConditionResponseOutput

func (GoogleCloudRetailV2betaConditionResponseOutput) ToGoogleCloudRetailV2betaConditionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionResponseOutput) ToGoogleCloudRetailV2betaConditionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionResponseOutput

type GoogleCloudRetailV2betaConditionTimeRange added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRange 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 GoogleCloudRetailV2betaConditionTimeRangeArgs added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeArgs 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 (GoogleCloudRetailV2betaConditionTimeRangeArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeArgs) ToGoogleCloudRetailV2betaConditionTimeRangeOutput added in v0.12.0

func (i GoogleCloudRetailV2betaConditionTimeRangeArgs) ToGoogleCloudRetailV2betaConditionTimeRangeOutput() GoogleCloudRetailV2betaConditionTimeRangeOutput

func (GoogleCloudRetailV2betaConditionTimeRangeArgs) ToGoogleCloudRetailV2betaConditionTimeRangeOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaConditionTimeRangeArgs) ToGoogleCloudRetailV2betaConditionTimeRangeOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionTimeRangeOutput

type GoogleCloudRetailV2betaConditionTimeRangeArray added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeArray []GoogleCloudRetailV2betaConditionTimeRangeInput

func (GoogleCloudRetailV2betaConditionTimeRangeArray) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeArray) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutput added in v0.12.0

func (i GoogleCloudRetailV2betaConditionTimeRangeArray) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutput() GoogleCloudRetailV2betaConditionTimeRangeArrayOutput

func (GoogleCloudRetailV2betaConditionTimeRangeArray) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaConditionTimeRangeArray) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionTimeRangeArrayOutput

type GoogleCloudRetailV2betaConditionTimeRangeArrayInput added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutput() GoogleCloudRetailV2betaConditionTimeRangeArrayOutput
	ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaConditionTimeRangeArrayOutput
}

GoogleCloudRetailV2betaConditionTimeRangeArrayInput is an input type that accepts GoogleCloudRetailV2betaConditionTimeRangeArray and GoogleCloudRetailV2betaConditionTimeRangeArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaConditionTimeRangeArrayInput` via:

GoogleCloudRetailV2betaConditionTimeRangeArray{ GoogleCloudRetailV2betaConditionTimeRangeArgs{...} }

type GoogleCloudRetailV2betaConditionTimeRangeArrayOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutput added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2betaConditionTimeRangeArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionTimeRangeArrayOutput

type GoogleCloudRetailV2betaConditionTimeRangeInput added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaConditionTimeRangeOutput() GoogleCloudRetailV2betaConditionTimeRangeOutput
	ToGoogleCloudRetailV2betaConditionTimeRangeOutputWithContext(context.Context) GoogleCloudRetailV2betaConditionTimeRangeOutput
}

GoogleCloudRetailV2betaConditionTimeRangeInput is an input type that accepts GoogleCloudRetailV2betaConditionTimeRangeArgs and GoogleCloudRetailV2betaConditionTimeRangeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaConditionTimeRangeInput` via:

GoogleCloudRetailV2betaConditionTimeRangeArgs{...}

type GoogleCloudRetailV2betaConditionTimeRangeOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaConditionTimeRangeOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeOutput) EndTime added in v0.12.0

End of time range. Range is inclusive.

func (GoogleCloudRetailV2betaConditionTimeRangeOutput) StartTime added in v0.12.0

Start of time range. Range is inclusive.

func (GoogleCloudRetailV2betaConditionTimeRangeOutput) ToGoogleCloudRetailV2betaConditionTimeRangeOutput added in v0.12.0

func (o GoogleCloudRetailV2betaConditionTimeRangeOutput) ToGoogleCloudRetailV2betaConditionTimeRangeOutput() GoogleCloudRetailV2betaConditionTimeRangeOutput

func (GoogleCloudRetailV2betaConditionTimeRangeOutput) ToGoogleCloudRetailV2betaConditionTimeRangeOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionTimeRangeOutput) ToGoogleCloudRetailV2betaConditionTimeRangeOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionTimeRangeOutput

type GoogleCloudRetailV2betaConditionTimeRangeResponse added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeResponse 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 GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionTimeRangeResponseArrayOutput

type GoogleCloudRetailV2betaConditionTimeRangeResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaConditionTimeRangeResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) EndTime added in v0.12.0

End of time range. Range is inclusive.

func (GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) StartTime added in v0.12.0

Start of time range. Range is inclusive.

func (GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2betaConditionTimeRangeResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2betaConditionTimeRangeResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2betaConditionTimeRangeResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaConditionTimeRangeResponseOutput

type GoogleCloudRetailV2betaFulfillmentInfo added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfo 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 GoogleCloudRetailV2betaFulfillmentInfoArgs added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoArgs 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 (GoogleCloudRetailV2betaFulfillmentInfoArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoArgs) ToGoogleCloudRetailV2betaFulfillmentInfoOutput added in v0.8.0

func (i GoogleCloudRetailV2betaFulfillmentInfoArgs) ToGoogleCloudRetailV2betaFulfillmentInfoOutput() GoogleCloudRetailV2betaFulfillmentInfoOutput

func (GoogleCloudRetailV2betaFulfillmentInfoArgs) ToGoogleCloudRetailV2betaFulfillmentInfoOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaFulfillmentInfoArgs) ToGoogleCloudRetailV2betaFulfillmentInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaFulfillmentInfoOutput

type GoogleCloudRetailV2betaFulfillmentInfoArray added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoArray []GoogleCloudRetailV2betaFulfillmentInfoInput

func (GoogleCloudRetailV2betaFulfillmentInfoArray) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoArray) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutput added in v0.8.0

func (i GoogleCloudRetailV2betaFulfillmentInfoArray) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutput() GoogleCloudRetailV2betaFulfillmentInfoArrayOutput

func (GoogleCloudRetailV2betaFulfillmentInfoArray) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaFulfillmentInfoArray) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaFulfillmentInfoArrayOutput

type GoogleCloudRetailV2betaFulfillmentInfoArrayInput added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutput() GoogleCloudRetailV2betaFulfillmentInfoArrayOutput
	ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaFulfillmentInfoArrayOutput
}

GoogleCloudRetailV2betaFulfillmentInfoArrayInput is an input type that accepts GoogleCloudRetailV2betaFulfillmentInfoArray and GoogleCloudRetailV2betaFulfillmentInfoArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaFulfillmentInfoArrayInput` via:

GoogleCloudRetailV2betaFulfillmentInfoArray{ GoogleCloudRetailV2betaFulfillmentInfoArgs{...} }

type GoogleCloudRetailV2betaFulfillmentInfoArrayOutput added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutput() GoogleCloudRetailV2betaFulfillmentInfoArrayOutput

func (GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaFulfillmentInfoArrayOutput

type GoogleCloudRetailV2betaFulfillmentInfoInput added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaFulfillmentInfoOutput() GoogleCloudRetailV2betaFulfillmentInfoOutput
	ToGoogleCloudRetailV2betaFulfillmentInfoOutputWithContext(context.Context) GoogleCloudRetailV2betaFulfillmentInfoOutput
}

GoogleCloudRetailV2betaFulfillmentInfoInput is an input type that accepts GoogleCloudRetailV2betaFulfillmentInfoArgs and GoogleCloudRetailV2betaFulfillmentInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaFulfillmentInfoInput` via:

GoogleCloudRetailV2betaFulfillmentInfoArgs{...}

type GoogleCloudRetailV2betaFulfillmentInfoOutput added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaFulfillmentInfoOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoOutput) 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 (GoogleCloudRetailV2betaFulfillmentInfoOutput) ToGoogleCloudRetailV2betaFulfillmentInfoOutput added in v0.8.0

func (o GoogleCloudRetailV2betaFulfillmentInfoOutput) ToGoogleCloudRetailV2betaFulfillmentInfoOutput() GoogleCloudRetailV2betaFulfillmentInfoOutput

func (GoogleCloudRetailV2betaFulfillmentInfoOutput) ToGoogleCloudRetailV2betaFulfillmentInfoOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaFulfillmentInfoOutput) ToGoogleCloudRetailV2betaFulfillmentInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaFulfillmentInfoOutput

func (GoogleCloudRetailV2betaFulfillmentInfoOutput) 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 GoogleCloudRetailV2betaFulfillmentInfoResponse added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoResponse 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 GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput

type GoogleCloudRetailV2betaFulfillmentInfoResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaFulfillmentInfoResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) 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 (GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) ToGoogleCloudRetailV2betaFulfillmentInfoResponseOutput added in v0.8.0

func (GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) ToGoogleCloudRetailV2betaFulfillmentInfoResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) ToGoogleCloudRetailV2betaFulfillmentInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaFulfillmentInfoResponseOutput

func (GoogleCloudRetailV2betaFulfillmentInfoResponseOutput) 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 GoogleCloudRetailV2betaImage

type GoogleCloudRetailV2betaImage 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 GoogleCloudRetailV2betaImageArgs

type GoogleCloudRetailV2betaImageArgs 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 (GoogleCloudRetailV2betaImageArgs) ElementType

func (GoogleCloudRetailV2betaImageArgs) ToGoogleCloudRetailV2betaImageOutput

func (i GoogleCloudRetailV2betaImageArgs) ToGoogleCloudRetailV2betaImageOutput() GoogleCloudRetailV2betaImageOutput

func (GoogleCloudRetailV2betaImageArgs) ToGoogleCloudRetailV2betaImageOutputWithContext

func (i GoogleCloudRetailV2betaImageArgs) ToGoogleCloudRetailV2betaImageOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaImageOutput

type GoogleCloudRetailV2betaImageArray

type GoogleCloudRetailV2betaImageArray []GoogleCloudRetailV2betaImageInput

func (GoogleCloudRetailV2betaImageArray) ElementType

func (GoogleCloudRetailV2betaImageArray) ToGoogleCloudRetailV2betaImageArrayOutput

func (i GoogleCloudRetailV2betaImageArray) ToGoogleCloudRetailV2betaImageArrayOutput() GoogleCloudRetailV2betaImageArrayOutput

func (GoogleCloudRetailV2betaImageArray) ToGoogleCloudRetailV2betaImageArrayOutputWithContext

func (i GoogleCloudRetailV2betaImageArray) ToGoogleCloudRetailV2betaImageArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaImageArrayOutput

type GoogleCloudRetailV2betaImageArrayInput

type GoogleCloudRetailV2betaImageArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaImageArrayOutput() GoogleCloudRetailV2betaImageArrayOutput
	ToGoogleCloudRetailV2betaImageArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaImageArrayOutput
}

GoogleCloudRetailV2betaImageArrayInput is an input type that accepts GoogleCloudRetailV2betaImageArray and GoogleCloudRetailV2betaImageArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaImageArrayInput` via:

GoogleCloudRetailV2betaImageArray{ GoogleCloudRetailV2betaImageArgs{...} }

type GoogleCloudRetailV2betaImageArrayOutput

type GoogleCloudRetailV2betaImageArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaImageArrayOutput) ElementType

func (GoogleCloudRetailV2betaImageArrayOutput) Index

func (GoogleCloudRetailV2betaImageArrayOutput) ToGoogleCloudRetailV2betaImageArrayOutput

func (o GoogleCloudRetailV2betaImageArrayOutput) ToGoogleCloudRetailV2betaImageArrayOutput() GoogleCloudRetailV2betaImageArrayOutput

func (GoogleCloudRetailV2betaImageArrayOutput) ToGoogleCloudRetailV2betaImageArrayOutputWithContext

func (o GoogleCloudRetailV2betaImageArrayOutput) ToGoogleCloudRetailV2betaImageArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaImageArrayOutput

type GoogleCloudRetailV2betaImageInput

type GoogleCloudRetailV2betaImageInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaImageOutput() GoogleCloudRetailV2betaImageOutput
	ToGoogleCloudRetailV2betaImageOutputWithContext(context.Context) GoogleCloudRetailV2betaImageOutput
}

GoogleCloudRetailV2betaImageInput is an input type that accepts GoogleCloudRetailV2betaImageArgs and GoogleCloudRetailV2betaImageOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaImageInput` via:

GoogleCloudRetailV2betaImageArgs{...}

type GoogleCloudRetailV2betaImageOutput

type GoogleCloudRetailV2betaImageOutput 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 (GoogleCloudRetailV2betaImageOutput) ElementType

func (GoogleCloudRetailV2betaImageOutput) Height

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

func (GoogleCloudRetailV2betaImageOutput) ToGoogleCloudRetailV2betaImageOutput

func (o GoogleCloudRetailV2betaImageOutput) ToGoogleCloudRetailV2betaImageOutput() GoogleCloudRetailV2betaImageOutput

func (GoogleCloudRetailV2betaImageOutput) ToGoogleCloudRetailV2betaImageOutputWithContext

func (o GoogleCloudRetailV2betaImageOutput) ToGoogleCloudRetailV2betaImageOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaImageOutput

func (GoogleCloudRetailV2betaImageOutput) 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 (GoogleCloudRetailV2betaImageOutput) Width

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

type GoogleCloudRetailV2betaImageResponse

type GoogleCloudRetailV2betaImageResponse 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 GoogleCloudRetailV2betaImageResponseArrayOutput

type GoogleCloudRetailV2betaImageResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaImageResponseArrayOutput) ElementType

func (GoogleCloudRetailV2betaImageResponseArrayOutput) Index

func (GoogleCloudRetailV2betaImageResponseArrayOutput) ToGoogleCloudRetailV2betaImageResponseArrayOutput

func (o GoogleCloudRetailV2betaImageResponseArrayOutput) ToGoogleCloudRetailV2betaImageResponseArrayOutput() GoogleCloudRetailV2betaImageResponseArrayOutput

func (GoogleCloudRetailV2betaImageResponseArrayOutput) ToGoogleCloudRetailV2betaImageResponseArrayOutputWithContext

func (o GoogleCloudRetailV2betaImageResponseArrayOutput) ToGoogleCloudRetailV2betaImageResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaImageResponseArrayOutput

type GoogleCloudRetailV2betaImageResponseOutput

type GoogleCloudRetailV2betaImageResponseOutput 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 (GoogleCloudRetailV2betaImageResponseOutput) ElementType

func (GoogleCloudRetailV2betaImageResponseOutput) Height

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

func (GoogleCloudRetailV2betaImageResponseOutput) ToGoogleCloudRetailV2betaImageResponseOutput

func (o GoogleCloudRetailV2betaImageResponseOutput) ToGoogleCloudRetailV2betaImageResponseOutput() GoogleCloudRetailV2betaImageResponseOutput

func (GoogleCloudRetailV2betaImageResponseOutput) ToGoogleCloudRetailV2betaImageResponseOutputWithContext

func (o GoogleCloudRetailV2betaImageResponseOutput) ToGoogleCloudRetailV2betaImageResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaImageResponseOutput

func (GoogleCloudRetailV2betaImageResponseOutput) 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 (GoogleCloudRetailV2betaImageResponseOutput) Width

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

type GoogleCloudRetailV2betaInterval added in v0.12.0

type GoogleCloudRetailV2betaInterval 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 GoogleCloudRetailV2betaIntervalArgs added in v0.12.0

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

A floating point interval.

func (GoogleCloudRetailV2betaIntervalArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaIntervalArgs) ToGoogleCloudRetailV2betaIntervalOutput added in v0.12.0

func (i GoogleCloudRetailV2betaIntervalArgs) ToGoogleCloudRetailV2betaIntervalOutput() GoogleCloudRetailV2betaIntervalOutput

func (GoogleCloudRetailV2betaIntervalArgs) ToGoogleCloudRetailV2betaIntervalOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaIntervalArgs) ToGoogleCloudRetailV2betaIntervalOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaIntervalOutput

type GoogleCloudRetailV2betaIntervalArray added in v0.12.0

type GoogleCloudRetailV2betaIntervalArray []GoogleCloudRetailV2betaIntervalInput

func (GoogleCloudRetailV2betaIntervalArray) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaIntervalArray) ToGoogleCloudRetailV2betaIntervalArrayOutput added in v0.12.0

func (i GoogleCloudRetailV2betaIntervalArray) ToGoogleCloudRetailV2betaIntervalArrayOutput() GoogleCloudRetailV2betaIntervalArrayOutput

func (GoogleCloudRetailV2betaIntervalArray) ToGoogleCloudRetailV2betaIntervalArrayOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaIntervalArray) ToGoogleCloudRetailV2betaIntervalArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaIntervalArrayOutput

type GoogleCloudRetailV2betaIntervalArrayInput added in v0.12.0

type GoogleCloudRetailV2betaIntervalArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaIntervalArrayOutput() GoogleCloudRetailV2betaIntervalArrayOutput
	ToGoogleCloudRetailV2betaIntervalArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaIntervalArrayOutput
}

GoogleCloudRetailV2betaIntervalArrayInput is an input type that accepts GoogleCloudRetailV2betaIntervalArray and GoogleCloudRetailV2betaIntervalArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaIntervalArrayInput` via:

GoogleCloudRetailV2betaIntervalArray{ GoogleCloudRetailV2betaIntervalArgs{...} }

type GoogleCloudRetailV2betaIntervalArrayOutput added in v0.12.0

type GoogleCloudRetailV2betaIntervalArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaIntervalArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaIntervalArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2betaIntervalArrayOutput) ToGoogleCloudRetailV2betaIntervalArrayOutput added in v0.12.0

func (o GoogleCloudRetailV2betaIntervalArrayOutput) ToGoogleCloudRetailV2betaIntervalArrayOutput() GoogleCloudRetailV2betaIntervalArrayOutput

func (GoogleCloudRetailV2betaIntervalArrayOutput) ToGoogleCloudRetailV2betaIntervalArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaIntervalArrayOutput) ToGoogleCloudRetailV2betaIntervalArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaIntervalArrayOutput

type GoogleCloudRetailV2betaIntervalInput added in v0.12.0

type GoogleCloudRetailV2betaIntervalInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaIntervalOutput() GoogleCloudRetailV2betaIntervalOutput
	ToGoogleCloudRetailV2betaIntervalOutputWithContext(context.Context) GoogleCloudRetailV2betaIntervalOutput
}

GoogleCloudRetailV2betaIntervalInput is an input type that accepts GoogleCloudRetailV2betaIntervalArgs and GoogleCloudRetailV2betaIntervalOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaIntervalInput` via:

GoogleCloudRetailV2betaIntervalArgs{...}

type GoogleCloudRetailV2betaIntervalOutput added in v0.12.0

type GoogleCloudRetailV2betaIntervalOutput struct{ *pulumi.OutputState }

A floating point interval.

func (GoogleCloudRetailV2betaIntervalOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaIntervalOutput) ExclusiveMaximum added in v0.12.0

Exclusive upper bound.

func (GoogleCloudRetailV2betaIntervalOutput) ExclusiveMinimum added in v0.12.0

Exclusive lower bound.

func (GoogleCloudRetailV2betaIntervalOutput) Maximum added in v0.12.0

Inclusive upper bound.

func (GoogleCloudRetailV2betaIntervalOutput) Minimum added in v0.12.0

Inclusive lower bound.

func (GoogleCloudRetailV2betaIntervalOutput) ToGoogleCloudRetailV2betaIntervalOutput added in v0.12.0

func (o GoogleCloudRetailV2betaIntervalOutput) ToGoogleCloudRetailV2betaIntervalOutput() GoogleCloudRetailV2betaIntervalOutput

func (GoogleCloudRetailV2betaIntervalOutput) ToGoogleCloudRetailV2betaIntervalOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaIntervalOutput) ToGoogleCloudRetailV2betaIntervalOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaIntervalOutput

type GoogleCloudRetailV2betaIntervalResponse added in v0.8.0

type GoogleCloudRetailV2betaIntervalResponse 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 GoogleCloudRetailV2betaIntervalResponseArrayOutput added in v0.12.0

type GoogleCloudRetailV2betaIntervalResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaIntervalResponseArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaIntervalResponseArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2betaIntervalResponseArrayOutput) ToGoogleCloudRetailV2betaIntervalResponseArrayOutput added in v0.12.0

func (o GoogleCloudRetailV2betaIntervalResponseArrayOutput) ToGoogleCloudRetailV2betaIntervalResponseArrayOutput() GoogleCloudRetailV2betaIntervalResponseArrayOutput

func (GoogleCloudRetailV2betaIntervalResponseArrayOutput) ToGoogleCloudRetailV2betaIntervalResponseArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaIntervalResponseArrayOutput) ToGoogleCloudRetailV2betaIntervalResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaIntervalResponseArrayOutput

type GoogleCloudRetailV2betaIntervalResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaIntervalResponseOutput struct{ *pulumi.OutputState }

A floating point interval.

func (GoogleCloudRetailV2betaIntervalResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaIntervalResponseOutput) ExclusiveMaximum added in v0.8.0

Exclusive upper bound.

func (GoogleCloudRetailV2betaIntervalResponseOutput) ExclusiveMinimum added in v0.8.0

Exclusive lower bound.

func (GoogleCloudRetailV2betaIntervalResponseOutput) Maximum added in v0.8.0

Inclusive upper bound.

func (GoogleCloudRetailV2betaIntervalResponseOutput) Minimum added in v0.8.0

Inclusive lower bound.

func (GoogleCloudRetailV2betaIntervalResponseOutput) ToGoogleCloudRetailV2betaIntervalResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2betaIntervalResponseOutput) ToGoogleCloudRetailV2betaIntervalResponseOutput() GoogleCloudRetailV2betaIntervalResponseOutput

func (GoogleCloudRetailV2betaIntervalResponseOutput) ToGoogleCloudRetailV2betaIntervalResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaIntervalResponseOutput) ToGoogleCloudRetailV2betaIntervalResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaIntervalResponseOutput

type GoogleCloudRetailV2betaLocalInventoryResponse added in v0.25.0

type GoogleCloudRetailV2betaLocalInventoryResponse 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 GoogleCloudRetailV2betaPriceInfoResponse `pulumi:"priceInfo"`
}

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

type GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput added in v0.25.0

type GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseArrayOutput added in v0.25.0

func (GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput

type GoogleCloudRetailV2betaLocalInventoryResponseOutput added in v0.25.0

type GoogleCloudRetailV2betaLocalInventoryResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaLocalInventoryResponseOutput) 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 (GoogleCloudRetailV2betaLocalInventoryResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaLocalInventoryResponseOutput) 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 (GoogleCloudRetailV2betaLocalInventoryResponseOutput) PlaceId added in v0.25.0

The place ID for the current set of inventory information.

func (GoogleCloudRetailV2betaLocalInventoryResponseOutput) PriceInfo added in v0.25.0

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

func (GoogleCloudRetailV2betaLocalInventoryResponseOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseOutput added in v0.25.0

func (o GoogleCloudRetailV2betaLocalInventoryResponseOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseOutput() GoogleCloudRetailV2betaLocalInventoryResponseOutput

func (GoogleCloudRetailV2betaLocalInventoryResponseOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaLocalInventoryResponseOutput) ToGoogleCloudRetailV2betaLocalInventoryResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaLocalInventoryResponseOutput

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig 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 *GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType `pulumi:"contextProductsType"`
}

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

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs 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 GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput `pulumi:"contextProductsType"`
}

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

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType 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 (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput
	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext(context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput
}

GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput is an input type that accepts GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeArgs and GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput` via:

GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeArgs{...}

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput
	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext(context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput
}

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigInput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput
	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput
}

GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigInput is an input type that accepts GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs and GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigInput` via:

GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs{...}

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) 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 (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput() GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput
	ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput
}

GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput is an input type that accepts GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs, GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtr and GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput` via:

        GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) 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 (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponse added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponse 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 GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput added in v0.31.1

type GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) 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 (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToGoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutputWithContext added in v0.31.1

type GoogleCloudRetailV2betaModelModelFeaturesConfig added in v0.31.1

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

Additional model features config.

type GoogleCloudRetailV2betaModelModelFeaturesConfigArgs added in v0.31.1

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

Additional model features config.

func (GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutput added in v0.31.1

func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutput() GoogleCloudRetailV2betaModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput added in v0.31.1

func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput

func (GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2betaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2betaModelModelFeaturesConfigInput added in v0.31.1

type GoogleCloudRetailV2betaModelModelFeaturesConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutput() GoogleCloudRetailV2betaModelModelFeaturesConfigOutput
	ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutputWithContext(context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigOutput
}

GoogleCloudRetailV2betaModelModelFeaturesConfigInput is an input type that accepts GoogleCloudRetailV2betaModelModelFeaturesConfigArgs and GoogleCloudRetailV2betaModelModelFeaturesConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaModelModelFeaturesConfigInput` via:

GoogleCloudRetailV2betaModelModelFeaturesConfigArgs{...}

type GoogleCloudRetailV2betaModelModelFeaturesConfigOutput added in v0.31.1

type GoogleCloudRetailV2betaModelModelFeaturesConfigOutput struct{ *pulumi.OutputState }

Additional model features config.

func (GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput added in v0.31.1

func (o GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput

func (GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2betaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2betaModelModelFeaturesConfigPtrInput added in v0.31.1

type GoogleCloudRetailV2betaModelModelFeaturesConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput
	ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput
}

GoogleCloudRetailV2betaModelModelFeaturesConfigPtrInput is an input type that accepts GoogleCloudRetailV2betaModelModelFeaturesConfigArgs, GoogleCloudRetailV2betaModelModelFeaturesConfigPtr and GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaModelModelFeaturesConfigPtrInput` via:

        GoogleCloudRetailV2betaModelModelFeaturesConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput added in v0.31.1

type GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2betaModelModelFeaturesConfigResponse added in v0.31.1

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

Additional model features config.

type GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput added in v0.31.1

type GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput struct{ *pulumi.OutputState }

Additional model features config.

func (GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput added in v0.31.1

func (GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput

type GoogleCloudRetailV2betaModelServingConfigListResponse added in v0.29.0

type GoogleCloudRetailV2betaModelServingConfigListResponse 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 GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput added in v0.29.0

type GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput added in v0.29.0

func (GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2betaModelServingConfigListResponseArrayOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2betaModelServingConfigListResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput

type GoogleCloudRetailV2betaModelServingConfigListResponseOutput added in v0.29.0

type GoogleCloudRetailV2betaModelServingConfigListResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ServingConfigIds added in v0.29.0

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

func (GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ToGoogleCloudRetailV2betaModelServingConfigListResponseOutput added in v0.29.0

func (GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ToGoogleCloudRetailV2betaModelServingConfigListResponseOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2betaModelServingConfigListResponseOutput) ToGoogleCloudRetailV2betaModelServingConfigListResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaModelServingConfigListResponseOutput

type GoogleCloudRetailV2betaPriceInfo

type GoogleCloudRetailV2betaPriceInfo 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 GoogleCloudRetailV2betaPriceInfoArgs

type GoogleCloudRetailV2betaPriceInfoArgs 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 (GoogleCloudRetailV2betaPriceInfoArgs) ElementType

func (GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoOutput

func (i GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoOutput() GoogleCloudRetailV2betaPriceInfoOutput

func (GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoOutputWithContext

func (i GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoOutput

func (GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoPtrOutput

func (i GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoPtrOutput() GoogleCloudRetailV2betaPriceInfoPtrOutput

func (GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext

func (i GoogleCloudRetailV2betaPriceInfoArgs) ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoPtrOutput

type GoogleCloudRetailV2betaPriceInfoInput

type GoogleCloudRetailV2betaPriceInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaPriceInfoOutput() GoogleCloudRetailV2betaPriceInfoOutput
	ToGoogleCloudRetailV2betaPriceInfoOutputWithContext(context.Context) GoogleCloudRetailV2betaPriceInfoOutput
}

GoogleCloudRetailV2betaPriceInfoInput is an input type that accepts GoogleCloudRetailV2betaPriceInfoArgs and GoogleCloudRetailV2betaPriceInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaPriceInfoInput` via:

GoogleCloudRetailV2betaPriceInfoArgs{...}

type GoogleCloudRetailV2betaPriceInfoOutput

type GoogleCloudRetailV2betaPriceInfoOutput struct{ *pulumi.OutputState }

The price information of a Product.

func (GoogleCloudRetailV2betaPriceInfoOutput) 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 (GoogleCloudRetailV2betaPriceInfoOutput) 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 (GoogleCloudRetailV2betaPriceInfoOutput) ElementType

func (GoogleCloudRetailV2betaPriceInfoOutput) 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 (GoogleCloudRetailV2betaPriceInfoOutput) 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 (GoogleCloudRetailV2betaPriceInfoOutput) 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 (GoogleCloudRetailV2betaPriceInfoOutput) 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 (GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoOutput

func (o GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoOutput() GoogleCloudRetailV2betaPriceInfoOutput

func (GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoOutputWithContext

func (o GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoOutput

func (GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutput

func (o GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutput() GoogleCloudRetailV2betaPriceInfoPtrOutput

func (GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext

func (o GoogleCloudRetailV2betaPriceInfoOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoPtrOutput

type GoogleCloudRetailV2betaPriceInfoPriceRangeResponse added in v0.8.0

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

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

type GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput added in v0.8.0

func (GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoPriceRangeResponseOutput

type GoogleCloudRetailV2betaPriceInfoPtrInput

type GoogleCloudRetailV2betaPriceInfoPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaPriceInfoPtrOutput() GoogleCloudRetailV2betaPriceInfoPtrOutput
	ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaPriceInfoPtrOutput
}

GoogleCloudRetailV2betaPriceInfoPtrInput is an input type that accepts GoogleCloudRetailV2betaPriceInfoArgs, GoogleCloudRetailV2betaPriceInfoPtr and GoogleCloudRetailV2betaPriceInfoPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaPriceInfoPtrInput` via:

        GoogleCloudRetailV2betaPriceInfoArgs{...}

or:

        nil

type GoogleCloudRetailV2betaPriceInfoPtrOutput

type GoogleCloudRetailV2betaPriceInfoPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2betaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2betaPriceInfoPtrOutput) Elem

func (GoogleCloudRetailV2betaPriceInfoPtrOutput) ElementType

func (GoogleCloudRetailV2betaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2betaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2betaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2betaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2betaPriceInfoPtrOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutput

func (o GoogleCloudRetailV2betaPriceInfoPtrOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutput() GoogleCloudRetailV2betaPriceInfoPtrOutput

func (GoogleCloudRetailV2betaPriceInfoPtrOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext

func (o GoogleCloudRetailV2betaPriceInfoPtrOutput) ToGoogleCloudRetailV2betaPriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoPtrOutput

type GoogleCloudRetailV2betaPriceInfoResponse

type GoogleCloudRetailV2betaPriceInfoResponse 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 GoogleCloudRetailV2betaPriceInfoPriceRangeResponse `pulumi:"priceRange"`
}

The price information of a Product.

type GoogleCloudRetailV2betaPriceInfoResponseOutput

type GoogleCloudRetailV2betaPriceInfoResponseOutput struct{ *pulumi.OutputState }

The price information of a Product.

func (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) ElementType

func (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2betaPriceInfoResponseOutput) ToGoogleCloudRetailV2betaPriceInfoResponseOutput

func (o GoogleCloudRetailV2betaPriceInfoResponseOutput) ToGoogleCloudRetailV2betaPriceInfoResponseOutput() GoogleCloudRetailV2betaPriceInfoResponseOutput

func (GoogleCloudRetailV2betaPriceInfoResponseOutput) ToGoogleCloudRetailV2betaPriceInfoResponseOutputWithContext

func (o GoogleCloudRetailV2betaPriceInfoResponseOutput) ToGoogleCloudRetailV2betaPriceInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPriceInfoResponseOutput

type GoogleCloudRetailV2betaProductResponse added in v0.8.0

type GoogleCloudRetailV2betaProductResponse 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 GoogleCloudRetailV2betaAudienceResponse `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 GoogleCloudRetailV2betaColorInfoResponse `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 []GoogleCloudRetailV2betaFulfillmentInfoResponse `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 []GoogleCloudRetailV2betaImageResponse `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 []GoogleCloudRetailV2betaLocalInventoryResponse `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 GoogleCloudRetailV2betaPriceInfoResponse `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 []GoogleCloudRetailV2betaPromotionResponse `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 GoogleCloudRetailV2betaRatingResponse `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 []GoogleCloudRetailV2betaProductResponse `pulumi:"variants"`
}

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

type GoogleCloudRetailV2betaProductResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2betaProductResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaProductResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaProductResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2betaProductResponseArrayOutput) ToGoogleCloudRetailV2betaProductResponseArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2betaProductResponseArrayOutput) ToGoogleCloudRetailV2betaProductResponseArrayOutput() GoogleCloudRetailV2betaProductResponseArrayOutput

func (GoogleCloudRetailV2betaProductResponseArrayOutput) ToGoogleCloudRetailV2betaProductResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaProductResponseArrayOutput) ToGoogleCloudRetailV2betaProductResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaProductResponseArrayOutput

type GoogleCloudRetailV2betaProductResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaProductResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) AvailableQuantity added in v0.8.0

The available quantity of the item.

func (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) Rating added in v0.8.0

The rating of this product.

func (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) ToGoogleCloudRetailV2betaProductResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2betaProductResponseOutput) ToGoogleCloudRetailV2betaProductResponseOutput() GoogleCloudRetailV2betaProductResponseOutput

func (GoogleCloudRetailV2betaProductResponseOutput) ToGoogleCloudRetailV2betaProductResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaProductResponseOutput) ToGoogleCloudRetailV2betaProductResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaProductResponseOutput

func (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) Type added in v0.8.0

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

func (GoogleCloudRetailV2betaProductResponseOutput) 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 (GoogleCloudRetailV2betaProductResponseOutput) 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 GoogleCloudRetailV2betaPromotion added in v0.8.0

type GoogleCloudRetailV2betaPromotion 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 GoogleCloudRetailV2betaPromotionArgs added in v0.8.0

type GoogleCloudRetailV2betaPromotionArgs 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 (GoogleCloudRetailV2betaPromotionArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPromotionArgs) ToGoogleCloudRetailV2betaPromotionOutput added in v0.8.0

func (i GoogleCloudRetailV2betaPromotionArgs) ToGoogleCloudRetailV2betaPromotionOutput() GoogleCloudRetailV2betaPromotionOutput

func (GoogleCloudRetailV2betaPromotionArgs) ToGoogleCloudRetailV2betaPromotionOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaPromotionArgs) ToGoogleCloudRetailV2betaPromotionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPromotionOutput

type GoogleCloudRetailV2betaPromotionArray added in v0.8.0

type GoogleCloudRetailV2betaPromotionArray []GoogleCloudRetailV2betaPromotionInput

func (GoogleCloudRetailV2betaPromotionArray) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPromotionArray) ToGoogleCloudRetailV2betaPromotionArrayOutput added in v0.8.0

func (i GoogleCloudRetailV2betaPromotionArray) ToGoogleCloudRetailV2betaPromotionArrayOutput() GoogleCloudRetailV2betaPromotionArrayOutput

func (GoogleCloudRetailV2betaPromotionArray) ToGoogleCloudRetailV2betaPromotionArrayOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaPromotionArray) ToGoogleCloudRetailV2betaPromotionArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPromotionArrayOutput

type GoogleCloudRetailV2betaPromotionArrayInput added in v0.8.0

type GoogleCloudRetailV2betaPromotionArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaPromotionArrayOutput() GoogleCloudRetailV2betaPromotionArrayOutput
	ToGoogleCloudRetailV2betaPromotionArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaPromotionArrayOutput
}

GoogleCloudRetailV2betaPromotionArrayInput is an input type that accepts GoogleCloudRetailV2betaPromotionArray and GoogleCloudRetailV2betaPromotionArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaPromotionArrayInput` via:

GoogleCloudRetailV2betaPromotionArray{ GoogleCloudRetailV2betaPromotionArgs{...} }

type GoogleCloudRetailV2betaPromotionArrayOutput added in v0.8.0

type GoogleCloudRetailV2betaPromotionArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaPromotionArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPromotionArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2betaPromotionArrayOutput) ToGoogleCloudRetailV2betaPromotionArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionArrayOutput) ToGoogleCloudRetailV2betaPromotionArrayOutput() GoogleCloudRetailV2betaPromotionArrayOutput

func (GoogleCloudRetailV2betaPromotionArrayOutput) ToGoogleCloudRetailV2betaPromotionArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionArrayOutput) ToGoogleCloudRetailV2betaPromotionArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPromotionArrayOutput

type GoogleCloudRetailV2betaPromotionInput added in v0.8.0

type GoogleCloudRetailV2betaPromotionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaPromotionOutput() GoogleCloudRetailV2betaPromotionOutput
	ToGoogleCloudRetailV2betaPromotionOutputWithContext(context.Context) GoogleCloudRetailV2betaPromotionOutput
}

GoogleCloudRetailV2betaPromotionInput is an input type that accepts GoogleCloudRetailV2betaPromotionArgs and GoogleCloudRetailV2betaPromotionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaPromotionInput` via:

GoogleCloudRetailV2betaPromotionArgs{...}

type GoogleCloudRetailV2betaPromotionOutput added in v0.8.0

type GoogleCloudRetailV2betaPromotionOutput struct{ *pulumi.OutputState }

Promotion specification.

func (GoogleCloudRetailV2betaPromotionOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPromotionOutput) 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 (GoogleCloudRetailV2betaPromotionOutput) ToGoogleCloudRetailV2betaPromotionOutput added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionOutput) ToGoogleCloudRetailV2betaPromotionOutput() GoogleCloudRetailV2betaPromotionOutput

func (GoogleCloudRetailV2betaPromotionOutput) ToGoogleCloudRetailV2betaPromotionOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionOutput) ToGoogleCloudRetailV2betaPromotionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPromotionOutput

type GoogleCloudRetailV2betaPromotionResponse added in v0.8.0

type GoogleCloudRetailV2betaPromotionResponse 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 GoogleCloudRetailV2betaPromotionResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2betaPromotionResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaPromotionResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPromotionResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2betaPromotionResponseArrayOutput) ToGoogleCloudRetailV2betaPromotionResponseArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionResponseArrayOutput) ToGoogleCloudRetailV2betaPromotionResponseArrayOutput() GoogleCloudRetailV2betaPromotionResponseArrayOutput

func (GoogleCloudRetailV2betaPromotionResponseArrayOutput) ToGoogleCloudRetailV2betaPromotionResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionResponseArrayOutput) ToGoogleCloudRetailV2betaPromotionResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPromotionResponseArrayOutput

type GoogleCloudRetailV2betaPromotionResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaPromotionResponseOutput struct{ *pulumi.OutputState }

Promotion specification.

func (GoogleCloudRetailV2betaPromotionResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaPromotionResponseOutput) 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 (GoogleCloudRetailV2betaPromotionResponseOutput) ToGoogleCloudRetailV2betaPromotionResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionResponseOutput) ToGoogleCloudRetailV2betaPromotionResponseOutput() GoogleCloudRetailV2betaPromotionResponseOutput

func (GoogleCloudRetailV2betaPromotionResponseOutput) ToGoogleCloudRetailV2betaPromotionResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaPromotionResponseOutput) ToGoogleCloudRetailV2betaPromotionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaPromotionResponseOutput

type GoogleCloudRetailV2betaRating added in v0.8.0

type GoogleCloudRetailV2betaRating 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 GoogleCloudRetailV2betaRatingArgs added in v0.8.0

type GoogleCloudRetailV2betaRatingArgs 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 (GoogleCloudRetailV2betaRatingArgs) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingOutput added in v0.8.0

func (i GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingOutput() GoogleCloudRetailV2betaRatingOutput

func (GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRatingOutput

func (GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingPtrOutput added in v0.8.0

func (i GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingPtrOutput() GoogleCloudRetailV2betaRatingPtrOutput

func (GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingPtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2betaRatingArgs) ToGoogleCloudRetailV2betaRatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRatingPtrOutput

type GoogleCloudRetailV2betaRatingInput added in v0.8.0

type GoogleCloudRetailV2betaRatingInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRatingOutput() GoogleCloudRetailV2betaRatingOutput
	ToGoogleCloudRetailV2betaRatingOutputWithContext(context.Context) GoogleCloudRetailV2betaRatingOutput
}

GoogleCloudRetailV2betaRatingInput is an input type that accepts GoogleCloudRetailV2betaRatingArgs and GoogleCloudRetailV2betaRatingOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRatingInput` via:

GoogleCloudRetailV2betaRatingArgs{...}

type GoogleCloudRetailV2betaRatingOutput added in v0.8.0

type GoogleCloudRetailV2betaRatingOutput struct{ *pulumi.OutputState }

The rating of a Product.

func (GoogleCloudRetailV2betaRatingOutput) 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 (GoogleCloudRetailV2betaRatingOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaRatingOutput) 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 (GoogleCloudRetailV2betaRatingOutput) 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 (GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingOutput added in v0.8.0

func (o GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingOutput() GoogleCloudRetailV2betaRatingOutput

func (GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRatingOutput

func (GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingPtrOutput() GoogleCloudRetailV2betaRatingPtrOutput

func (GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaRatingOutput) ToGoogleCloudRetailV2betaRatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRatingPtrOutput

type GoogleCloudRetailV2betaRatingPtrInput added in v0.8.0

type GoogleCloudRetailV2betaRatingPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRatingPtrOutput() GoogleCloudRetailV2betaRatingPtrOutput
	ToGoogleCloudRetailV2betaRatingPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRatingPtrOutput
}

GoogleCloudRetailV2betaRatingPtrInput is an input type that accepts GoogleCloudRetailV2betaRatingArgs, GoogleCloudRetailV2betaRatingPtr and GoogleCloudRetailV2betaRatingPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRatingPtrInput` via:

        GoogleCloudRetailV2betaRatingArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRatingPtrOutput added in v0.8.0

type GoogleCloudRetailV2betaRatingPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRatingPtrOutput) 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 (GoogleCloudRetailV2betaRatingPtrOutput) Elem added in v0.8.0

func (GoogleCloudRetailV2betaRatingPtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaRatingPtrOutput) 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 (GoogleCloudRetailV2betaRatingPtrOutput) 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 (GoogleCloudRetailV2betaRatingPtrOutput) ToGoogleCloudRetailV2betaRatingPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2betaRatingPtrOutput) ToGoogleCloudRetailV2betaRatingPtrOutput() GoogleCloudRetailV2betaRatingPtrOutput

func (GoogleCloudRetailV2betaRatingPtrOutput) ToGoogleCloudRetailV2betaRatingPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaRatingPtrOutput) ToGoogleCloudRetailV2betaRatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRatingPtrOutput

type GoogleCloudRetailV2betaRatingResponse added in v0.8.0

type GoogleCloudRetailV2betaRatingResponse 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 GoogleCloudRetailV2betaRatingResponseOutput added in v0.8.0

type GoogleCloudRetailV2betaRatingResponseOutput struct{ *pulumi.OutputState }

The rating of a Product.

func (GoogleCloudRetailV2betaRatingResponseOutput) 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 (GoogleCloudRetailV2betaRatingResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2betaRatingResponseOutput) 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 (GoogleCloudRetailV2betaRatingResponseOutput) 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 (GoogleCloudRetailV2betaRatingResponseOutput) ToGoogleCloudRetailV2betaRatingResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2betaRatingResponseOutput) ToGoogleCloudRetailV2betaRatingResponseOutput() GoogleCloudRetailV2betaRatingResponseOutput

func (GoogleCloudRetailV2betaRatingResponseOutput) ToGoogleCloudRetailV2betaRatingResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2betaRatingResponseOutput) ToGoogleCloudRetailV2betaRatingResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRatingResponseOutput

type GoogleCloudRetailV2betaRule added in v0.12.0

type GoogleCloudRetailV2betaRule struct {
	// A boost action.
	BoostAction *GoogleCloudRetailV2betaRuleBoostAction `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2betaCondition `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction *GoogleCloudRetailV2betaRuleDoNotAssociateAction `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction *GoogleCloudRetailV2betaRuleFilterAction `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction *GoogleCloudRetailV2betaRuleForceReturnFacetAction `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction *GoogleCloudRetailV2betaRuleIgnoreAction `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 *GoogleCloudRetailV2betaRuleOnewaySynonymsAction `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction *GoogleCloudRetailV2betaRuleRedirectAction `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction *GoogleCloudRetailV2betaRuleRemoveFacetAction `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction *GoogleCloudRetailV2betaRuleReplacementAction `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction *GoogleCloudRetailV2betaRuleTwowaySynonymsAction `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 GoogleCloudRetailV2betaRuleArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleArgs struct {
	// A boost action.
	BoostAction GoogleCloudRetailV2betaRuleBoostActionPtrInput `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2betaConditionInput `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrInput `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction GoogleCloudRetailV2betaRuleFilterActionPtrInput `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrInput `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction GoogleCloudRetailV2betaRuleIgnoreActionPtrInput `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 GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrInput `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction GoogleCloudRetailV2betaRuleRedirectActionPtrInput `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction GoogleCloudRetailV2betaRuleRemoveFacetActionPtrInput `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction GoogleCloudRetailV2betaRuleReplacementActionPtrInput `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrInput `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 (GoogleCloudRetailV2betaRuleArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRuleOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRuleOutput() GoogleCloudRetailV2betaRuleOutput

func (GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRuleOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRuleOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOutput

func (GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRulePtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRulePtrOutput() GoogleCloudRetailV2betaRulePtrOutput

func (GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRulePtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleArgs) ToGoogleCloudRetailV2betaRulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRulePtrOutput

type GoogleCloudRetailV2betaRuleBoostAction added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostAction 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 GoogleCloudRetailV2betaRuleBoostActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionArgs 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 (GoogleCloudRetailV2betaRuleBoostActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionOutput() GoogleCloudRetailV2betaRuleBoostActionOutput

func (GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleBoostActionOutput

func (GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput() GoogleCloudRetailV2betaRuleBoostActionPtrOutput

func (GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleBoostActionArgs) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleBoostActionPtrOutput

type GoogleCloudRetailV2betaRuleBoostActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleBoostActionOutput() GoogleCloudRetailV2betaRuleBoostActionOutput
	ToGoogleCloudRetailV2betaRuleBoostActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleBoostActionOutput
}

GoogleCloudRetailV2betaRuleBoostActionInput is an input type that accepts GoogleCloudRetailV2betaRuleBoostActionArgs and GoogleCloudRetailV2betaRuleBoostActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleBoostActionInput` via:

GoogleCloudRetailV2betaRuleBoostActionArgs{...}

type GoogleCloudRetailV2betaRuleBoostActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleBoostActionOutput) Boost added in v0.12.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 (GoogleCloudRetailV2betaRuleBoostActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleBoostActionOutput) ProductsFilter added in v0.12.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 (GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionOutput() GoogleCloudRetailV2betaRuleBoostActionOutput

func (GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleBoostActionOutput

func (GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput() GoogleCloudRetailV2betaRuleBoostActionPtrOutput

func (GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleBoostActionPtrOutput

type GoogleCloudRetailV2betaRuleBoostActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput() GoogleCloudRetailV2betaRuleBoostActionPtrOutput
	ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleBoostActionPtrOutput
}

GoogleCloudRetailV2betaRuleBoostActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleBoostActionArgs, GoogleCloudRetailV2betaRuleBoostActionPtr and GoogleCloudRetailV2betaRuleBoostActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleBoostActionPtrInput` via:

        GoogleCloudRetailV2betaRuleBoostActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleBoostActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleBoostActionPtrOutput) Boost added in v0.12.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 (GoogleCloudRetailV2betaRuleBoostActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ProductsFilter added in v0.12.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 (GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutput() GoogleCloudRetailV2betaRuleBoostActionPtrOutput

func (GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2betaRuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleBoostActionPtrOutput

type GoogleCloudRetailV2betaRuleBoostActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionResponse 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 GoogleCloudRetailV2betaRuleBoostActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleBoostActionResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleBoostActionResponseOutput) Boost added in v0.12.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 (GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ProductsFilter added in v0.12.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 (GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ToGoogleCloudRetailV2betaRuleBoostActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ToGoogleCloudRetailV2betaRuleBoostActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleBoostActionResponseOutput) ToGoogleCloudRetailV2betaRuleBoostActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleBoostActionResponseOutput

type GoogleCloudRetailV2betaRuleDoNotAssociateAction added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateAction 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 GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs 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 (GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutput() GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2betaRuleDoNotAssociateActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutput() GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput
	ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput
}

GoogleCloudRetailV2betaRuleDoNotAssociateActionInput is an input type that accepts GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs and GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleDoNotAssociateActionInput` via:

GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs{...}

type GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) DoNotAssociateTerms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) Terms added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput
	ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput
}

GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs, GoogleCloudRetailV2betaRuleDoNotAssociateActionPtr and GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrInput` via:

        GoogleCloudRetailV2betaRuleDoNotAssociateActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) DoNotAssociateTerms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) Terms added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2betaRuleDoNotAssociateActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionResponse 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 GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) DoNotAssociateTerms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) Terms added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleDoNotAssociateActionResponseOutput

type GoogleCloudRetailV2betaRuleFilterAction added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterAction 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 GoogleCloudRetailV2betaRuleFilterActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionArgs 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 (GoogleCloudRetailV2betaRuleFilterActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionOutput() GoogleCloudRetailV2betaRuleFilterActionOutput

func (GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleFilterActionOutput

func (GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput() GoogleCloudRetailV2betaRuleFilterActionPtrOutput

func (GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleFilterActionArgs) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleFilterActionPtrOutput

type GoogleCloudRetailV2betaRuleFilterActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleFilterActionOutput() GoogleCloudRetailV2betaRuleFilterActionOutput
	ToGoogleCloudRetailV2betaRuleFilterActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleFilterActionOutput
}

GoogleCloudRetailV2betaRuleFilterActionInput is an input type that accepts GoogleCloudRetailV2betaRuleFilterActionArgs and GoogleCloudRetailV2betaRuleFilterActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleFilterActionInput` via:

GoogleCloudRetailV2betaRuleFilterActionArgs{...}

type GoogleCloudRetailV2betaRuleFilterActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionOutput 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 (GoogleCloudRetailV2betaRuleFilterActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleFilterActionOutput) Filter added in v0.12.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 (GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionOutput() GoogleCloudRetailV2betaRuleFilterActionOutput

func (GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleFilterActionOutput

func (GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput() GoogleCloudRetailV2betaRuleFilterActionPtrOutput

func (GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleFilterActionPtrOutput

type GoogleCloudRetailV2betaRuleFilterActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput() GoogleCloudRetailV2betaRuleFilterActionPtrOutput
	ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleFilterActionPtrOutput
}

GoogleCloudRetailV2betaRuleFilterActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleFilterActionArgs, GoogleCloudRetailV2betaRuleFilterActionPtr and GoogleCloudRetailV2betaRuleFilterActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleFilterActionPtrInput` via:

        GoogleCloudRetailV2betaRuleFilterActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleFilterActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleFilterActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleFilterActionPtrOutput) Filter added in v0.12.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 (GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutput() GoogleCloudRetailV2betaRuleFilterActionPtrOutput

func (GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2betaRuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleFilterActionPtrOutput

type GoogleCloudRetailV2betaRuleFilterActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionResponse 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 GoogleCloudRetailV2betaRuleFilterActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleFilterActionResponseOutput 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 (GoogleCloudRetailV2betaRuleFilterActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleFilterActionResponseOutput) Filter added in v0.12.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 (GoogleCloudRetailV2betaRuleFilterActionResponseOutput) ToGoogleCloudRetailV2betaRuleFilterActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleFilterActionResponseOutput) ToGoogleCloudRetailV2betaRuleFilterActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleFilterActionResponseOutput) ToGoogleCloudRetailV2betaRuleFilterActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleFilterActionResponseOutput

type GoogleCloudRetailV2betaRuleForceReturnFacetAction added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetAction struct {
	// Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.
	FacetPositionAdjustments []GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment `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 GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs struct {
	// Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.
	FacetPositionAdjustments GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput `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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutput added in v0.32.0

func (i GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutput() GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput added in v0.32.0

func (i GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustment 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 GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray []GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentInput

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput() GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput
	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput
}

GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput is an input type that accepts GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray and GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput` via:

GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArray{ GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs{...} }

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) Index added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentInput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput() GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput
	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput
}

GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentInput is an input type that accepts GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs and GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentInput` via:

GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentArgs{...}

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponse added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponse 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 GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) Index added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutputWithContext added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionInput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutput() GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput
	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput
}

GoogleCloudRetailV2betaRuleForceReturnFacetActionInput is an input type that accepts GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs and GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleForceReturnFacetActionInput` via:

GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs{...}

type GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrInput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput
	ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput
}

GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs, GoogleCloudRetailV2betaRuleForceReturnFacetActionPtr and GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrInput` via:

        GoogleCloudRetailV2betaRuleForceReturnFacetActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput) Elem added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2betaRuleForceReturnFacetActionResponse added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionResponse struct {
	// Each instance corresponds to a force return attribute for the given condition. There can't be more 3 instances here.
	FacetPositionAdjustments []GoogleCloudRetailV2betaRuleForceReturnFacetActionFacetPositionAdjustmentResponse `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 GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput) 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 (GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleForceReturnFacetActionResponseOutput

type GoogleCloudRetailV2betaRuleIgnoreAction added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreAction 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 GoogleCloudRetailV2betaRuleIgnoreActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionArgs 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 (GoogleCloudRetailV2betaRuleIgnoreActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionOutput() GoogleCloudRetailV2betaRuleIgnoreActionOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleIgnoreActionOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleIgnoreActionArgs) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput

type GoogleCloudRetailV2betaRuleIgnoreActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleIgnoreActionOutput() GoogleCloudRetailV2betaRuleIgnoreActionOutput
	ToGoogleCloudRetailV2betaRuleIgnoreActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleIgnoreActionOutput
}

GoogleCloudRetailV2betaRuleIgnoreActionInput is an input type that accepts GoogleCloudRetailV2betaRuleIgnoreActionArgs and GoogleCloudRetailV2betaRuleIgnoreActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleIgnoreActionInput` via:

GoogleCloudRetailV2betaRuleIgnoreActionArgs{...}

type GoogleCloudRetailV2betaRuleIgnoreActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleIgnoreActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleIgnoreActionOutput) IgnoreTerms added in v0.12.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionOutput() GoogleCloudRetailV2betaRuleIgnoreActionOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleIgnoreActionOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput

type GoogleCloudRetailV2betaRuleIgnoreActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput
	ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput
}

GoogleCloudRetailV2betaRuleIgnoreActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleIgnoreActionArgs, GoogleCloudRetailV2betaRuleIgnoreActionPtr and GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleIgnoreActionPtrInput` via:

        GoogleCloudRetailV2betaRuleIgnoreActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) IgnoreTerms added in v0.12.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleIgnoreActionPtrOutput

type GoogleCloudRetailV2betaRuleIgnoreActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionResponse 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 GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) IgnoreTerms added in v0.12.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2betaRuleIgnoreActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleIgnoreActionResponseOutput

type GoogleCloudRetailV2betaRuleInput added in v0.12.0

type GoogleCloudRetailV2betaRuleInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleOutput() GoogleCloudRetailV2betaRuleOutput
	ToGoogleCloudRetailV2betaRuleOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleOutput
}

GoogleCloudRetailV2betaRuleInput is an input type that accepts GoogleCloudRetailV2betaRuleArgs and GoogleCloudRetailV2betaRuleOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleInput` via:

GoogleCloudRetailV2betaRuleArgs{...}

type GoogleCloudRetailV2betaRuleOnewaySynonymsAction added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsAction 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 GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs 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 (GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput() GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput() GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput
	ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput
}

GoogleCloudRetailV2betaRuleOnewaySynonymsActionInput is an input type that accepts GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs and GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleOnewaySynonymsActionInput` via:

GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs{...}

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput 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 (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) OnewayTerms added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput
	ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput
}

GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs, GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtr and GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrInput` via:

        GoogleCloudRetailV2betaRuleOnewaySynonymsActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) OnewayTerms added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponse 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 GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput 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 (GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) OnewayTerms added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) QueryTerms added in v0.12.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 (GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponseOutput

type GoogleCloudRetailV2betaRuleOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleOutput 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 (GoogleCloudRetailV2betaRuleOutput) BoostAction added in v0.12.0

A boost action.

func (GoogleCloudRetailV2betaRuleOutput) Condition added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleOutput) DoNotAssociateAction added in v0.12.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2betaRuleOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleOutput) FilterAction added in v0.12.0

Filters results.

func (GoogleCloudRetailV2betaRuleOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2betaRuleOutput) IgnoreAction added in v0.12.0

Ignores specific terms from query during search.

func (GoogleCloudRetailV2betaRuleOutput) OnewaySynonymsAction added in v0.12.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 (GoogleCloudRetailV2betaRuleOutput) RedirectAction added in v0.12.0

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2betaRuleOutput) RemoveFacetAction added in v0.32.0

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

func (GoogleCloudRetailV2betaRuleOutput) ReplacementAction added in v0.12.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRuleOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRuleOutput() GoogleCloudRetailV2betaRuleOutput

func (GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRuleOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRuleOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleOutput

func (GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRulePtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRulePtrOutput() GoogleCloudRetailV2betaRulePtrOutput

func (GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRulePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleOutput) ToGoogleCloudRetailV2betaRulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRulePtrOutput

func (GoogleCloudRetailV2betaRuleOutput) TwowaySynonymsAction added in v0.12.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2betaRulePtrInput added in v0.12.0

type GoogleCloudRetailV2betaRulePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRulePtrOutput() GoogleCloudRetailV2betaRulePtrOutput
	ToGoogleCloudRetailV2betaRulePtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRulePtrOutput
}

GoogleCloudRetailV2betaRulePtrInput is an input type that accepts GoogleCloudRetailV2betaRuleArgs, GoogleCloudRetailV2betaRulePtr and GoogleCloudRetailV2betaRulePtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRulePtrInput` via:

        GoogleCloudRetailV2betaRuleArgs{...}

or:

        nil

func GoogleCloudRetailV2betaRulePtr added in v0.12.0

type GoogleCloudRetailV2betaRulePtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRulePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRulePtrOutput) BoostAction added in v0.12.0

A boost action.

func (GoogleCloudRetailV2betaRulePtrOutput) Condition added in v0.12.0

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

func (GoogleCloudRetailV2betaRulePtrOutput) DoNotAssociateAction added in v0.12.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2betaRulePtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRulePtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRulePtrOutput) FilterAction added in v0.12.0

Filters results.

func (GoogleCloudRetailV2betaRulePtrOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2betaRulePtrOutput) IgnoreAction added in v0.12.0

Ignores specific terms from query during search.

func (GoogleCloudRetailV2betaRulePtrOutput) OnewaySynonymsAction added in v0.12.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 (GoogleCloudRetailV2betaRulePtrOutput) RedirectAction added in v0.12.0

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2betaRulePtrOutput) RemoveFacetAction added in v0.32.0

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

func (GoogleCloudRetailV2betaRulePtrOutput) ReplacementAction added in v0.12.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2betaRulePtrOutput) ToGoogleCloudRetailV2betaRulePtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRulePtrOutput) ToGoogleCloudRetailV2betaRulePtrOutput() GoogleCloudRetailV2betaRulePtrOutput

func (GoogleCloudRetailV2betaRulePtrOutput) ToGoogleCloudRetailV2betaRulePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRulePtrOutput) ToGoogleCloudRetailV2betaRulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRulePtrOutput

func (GoogleCloudRetailV2betaRulePtrOutput) TwowaySynonymsAction added in v0.12.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2betaRuleRedirectAction added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectAction 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 GoogleCloudRetailV2betaRuleRedirectActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionArgs 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 (GoogleCloudRetailV2betaRuleRedirectActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionOutput() GoogleCloudRetailV2betaRuleRedirectActionOutput

func (GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRedirectActionOutput

func (GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput() GoogleCloudRetailV2betaRuleRedirectActionPtrOutput

func (GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleRedirectActionArgs) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRedirectActionPtrOutput

type GoogleCloudRetailV2betaRuleRedirectActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleRedirectActionOutput() GoogleCloudRetailV2betaRuleRedirectActionOutput
	ToGoogleCloudRetailV2betaRuleRedirectActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleRedirectActionOutput
}

GoogleCloudRetailV2betaRuleRedirectActionInput is an input type that accepts GoogleCloudRetailV2betaRuleRedirectActionArgs and GoogleCloudRetailV2betaRuleRedirectActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleRedirectActionInput` via:

GoogleCloudRetailV2betaRuleRedirectActionArgs{...}

type GoogleCloudRetailV2betaRuleRedirectActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionOutput 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 (GoogleCloudRetailV2betaRuleRedirectActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleRedirectActionOutput) RedirectUri added in v0.12.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionOutput() GoogleCloudRetailV2betaRuleRedirectActionOutput

func (GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRedirectActionOutput

func (GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput() GoogleCloudRetailV2betaRuleRedirectActionPtrOutput

func (GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRedirectActionPtrOutput

type GoogleCloudRetailV2betaRuleRedirectActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput() GoogleCloudRetailV2betaRuleRedirectActionPtrOutput
	ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleRedirectActionPtrOutput
}

GoogleCloudRetailV2betaRuleRedirectActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleRedirectActionArgs, GoogleCloudRetailV2betaRuleRedirectActionPtr and GoogleCloudRetailV2betaRuleRedirectActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleRedirectActionPtrInput` via:

        GoogleCloudRetailV2betaRuleRedirectActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleRedirectActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) RedirectUri added in v0.12.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutput() GoogleCloudRetailV2betaRuleRedirectActionPtrOutput

func (GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2betaRuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRedirectActionPtrOutput

type GoogleCloudRetailV2betaRuleRedirectActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionResponse 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 GoogleCloudRetailV2betaRuleRedirectActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleRedirectActionResponseOutput 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 (GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) RedirectUri added in v0.12.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) ToGoogleCloudRetailV2betaRuleRedirectActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) ToGoogleCloudRetailV2betaRuleRedirectActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleRedirectActionResponseOutput) ToGoogleCloudRetailV2betaRuleRedirectActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRedirectActionResponseOutput

type GoogleCloudRetailV2betaRuleRemoveFacetAction added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetAction 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 GoogleCloudRetailV2betaRuleRemoveFacetActionArgs added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionArgs 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 (GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutput added in v0.32.0

func (i GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutput() GoogleCloudRetailV2betaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput added in v0.32.0

func (i GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2betaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2betaRuleRemoveFacetActionInput added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutput() GoogleCloudRetailV2betaRuleRemoveFacetActionOutput
	ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionOutput
}

GoogleCloudRetailV2betaRuleRemoveFacetActionInput is an input type that accepts GoogleCloudRetailV2betaRuleRemoveFacetActionArgs and GoogleCloudRetailV2betaRuleRemoveFacetActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleRemoveFacetActionInput` via:

GoogleCloudRetailV2betaRuleRemoveFacetActionArgs{...}

type GoogleCloudRetailV2betaRuleRemoveFacetActionOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionOutput 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 (GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) 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 (GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutput added in v0.32.0

func (o GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutput() GoogleCloudRetailV2betaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput added in v0.32.0

func (o GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2betaRuleRemoveFacetActionPtrInput added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput
	ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput
}

GoogleCloudRetailV2betaRuleRemoveFacetActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleRemoveFacetActionArgs, GoogleCloudRetailV2betaRuleRemoveFacetActionPtr and GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleRemoveFacetActionPtrInput` via:

        GoogleCloudRetailV2betaRuleRemoveFacetActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput) 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 (GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput) Elem added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2betaRuleRemoveFacetActionResponse added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionResponse 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 GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput added in v0.32.0

type GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput 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 (GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput) 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 (GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput added in v0.32.0

func (GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleRemoveFacetActionResponseOutput

type GoogleCloudRetailV2betaRuleReplacementAction added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementAction 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 GoogleCloudRetailV2betaRuleReplacementActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionArgs 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 (GoogleCloudRetailV2betaRuleReplacementActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionOutput() GoogleCloudRetailV2betaRuleReplacementActionOutput

func (GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleReplacementActionOutput

func (GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput() GoogleCloudRetailV2betaRuleReplacementActionPtrOutput

func (GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleReplacementActionArgs) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleReplacementActionPtrOutput

type GoogleCloudRetailV2betaRuleReplacementActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleReplacementActionOutput() GoogleCloudRetailV2betaRuleReplacementActionOutput
	ToGoogleCloudRetailV2betaRuleReplacementActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleReplacementActionOutput
}

GoogleCloudRetailV2betaRuleReplacementActionInput is an input type that accepts GoogleCloudRetailV2betaRuleReplacementActionArgs and GoogleCloudRetailV2betaRuleReplacementActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleReplacementActionInput` via:

GoogleCloudRetailV2betaRuleReplacementActionArgs{...}

type GoogleCloudRetailV2betaRuleReplacementActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionOutput 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 (GoogleCloudRetailV2betaRuleReplacementActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) QueryTerms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) ReplacementTerm added in v0.12.0

Term that will be used for replacement.

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) Term added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionOutput() GoogleCloudRetailV2betaRuleReplacementActionOutput

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleReplacementActionOutput

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput() GoogleCloudRetailV2betaRuleReplacementActionPtrOutput

func (GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleReplacementActionOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleReplacementActionPtrOutput

type GoogleCloudRetailV2betaRuleReplacementActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput() GoogleCloudRetailV2betaRuleReplacementActionPtrOutput
	ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleReplacementActionPtrOutput
}

GoogleCloudRetailV2betaRuleReplacementActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleReplacementActionArgs, GoogleCloudRetailV2betaRuleReplacementActionPtr and GoogleCloudRetailV2betaRuleReplacementActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleReplacementActionPtrInput` via:

        GoogleCloudRetailV2betaRuleReplacementActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleReplacementActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) QueryTerms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ReplacementTerm added in v0.12.0

Term that will be used for replacement.

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) Term added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleReplacementActionPtrOutput) ToGoogleCloudRetailV2betaRuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleReplacementActionPtrOutput

type GoogleCloudRetailV2betaRuleReplacementActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionResponse 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 GoogleCloudRetailV2betaRuleReplacementActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleReplacementActionResponseOutput 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 (GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) QueryTerms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ReplacementTerm added in v0.12.0

Term that will be used for replacement.

func (GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) Term added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ToGoogleCloudRetailV2betaRuleReplacementActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ToGoogleCloudRetailV2betaRuleReplacementActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleReplacementActionResponseOutput) ToGoogleCloudRetailV2betaRuleReplacementActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleReplacementActionResponseOutput

type GoogleCloudRetailV2betaRuleResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleResponse struct {
	// A boost action.
	BoostAction GoogleCloudRetailV2betaRuleBoostActionResponse `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2betaConditionResponse `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction GoogleCloudRetailV2betaRuleDoNotAssociateActionResponse `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction GoogleCloudRetailV2betaRuleFilterActionResponse `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction GoogleCloudRetailV2betaRuleForceReturnFacetActionResponse `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction GoogleCloudRetailV2betaRuleIgnoreActionResponse `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 GoogleCloudRetailV2betaRuleOnewaySynonymsActionResponse `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction GoogleCloudRetailV2betaRuleRedirectActionResponse `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction GoogleCloudRetailV2betaRuleRemoveFacetActionResponse `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction GoogleCloudRetailV2betaRuleReplacementActionResponse `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponse `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 GoogleCloudRetailV2betaRuleResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleResponseOutput 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 (GoogleCloudRetailV2betaRuleResponseOutput) BoostAction added in v0.12.0

A boost action.

func (GoogleCloudRetailV2betaRuleResponseOutput) Condition added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleResponseOutput) DoNotAssociateAction added in v0.12.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2betaRuleResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleResponseOutput) FilterAction added in v0.12.0

Filters results.

func (GoogleCloudRetailV2betaRuleResponseOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2betaRuleResponseOutput) IgnoreAction added in v0.12.0

Ignores specific terms from query during search.

func (GoogleCloudRetailV2betaRuleResponseOutput) OnewaySynonymsAction added in v0.12.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 (GoogleCloudRetailV2betaRuleResponseOutput) RedirectAction added in v0.12.0

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2betaRuleResponseOutput) RemoveFacetAction added in v0.32.0

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

func (GoogleCloudRetailV2betaRuleResponseOutput) ReplacementAction added in v0.12.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2betaRuleResponseOutput) ToGoogleCloudRetailV2betaRuleResponseOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleResponseOutput) ToGoogleCloudRetailV2betaRuleResponseOutput() GoogleCloudRetailV2betaRuleResponseOutput

func (GoogleCloudRetailV2betaRuleResponseOutput) ToGoogleCloudRetailV2betaRuleResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleResponseOutput) ToGoogleCloudRetailV2betaRuleResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleResponseOutput

func (GoogleCloudRetailV2betaRuleResponseOutput) TwowaySynonymsAction added in v0.12.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2betaRuleTwowaySynonymsAction added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsAction 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 GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs 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 (GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput() GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionInput added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput() GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput
	ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput
}

GoogleCloudRetailV2betaRuleTwowaySynonymsActionInput is an input type that accepts GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs and GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleTwowaySynonymsActionInput` via:

GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs{...}

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput 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 (GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrInput added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput
	ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput
}

GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrInput is an input type that accepts GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs, GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtr and GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrInput` via:

        GoogleCloudRetailV2betaRuleTwowaySynonymsActionArgs{...}

or:

        nil

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponse added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponse 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 GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput 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 (GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaRuleTwowaySynonymsActionResponseOutput

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpec added in v0.12.0

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

The specifications of dynamically generated facets.

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs added in v0.12.0

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

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput
	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput
}

GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs and GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecInput` via:

GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs{...}

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode string

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

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput added in v0.12.0

func (e GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutputWithContext added in v0.12.0

func (e GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

func (e GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.12.0

func (e GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToStringOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToStringOutputWithContext added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToStringPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecMode) ToStringPtrOutputWithContext added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput
	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput
}

GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeArgs and GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeInput` via:

GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeArgs{...}

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToStringOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToStringOutputWithContext added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToStringPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModeOutput) ToStringPtrOutputWithContext added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput
	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput
}

func GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtr added in v0.12.0

func GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtr(v string) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrInput

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToStringPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecModePtrOutput) ToStringPtrOutputWithContext added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput struct{ *pulumi.OutputState }

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) Mode added in v0.12.0

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

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput
	ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput
}

GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs, GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtr and GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrInput` via:

        GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) Mode added in v0.12.0

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

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponse added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponse 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 GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput struct{ *pulumi.OutputState }

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) Mode added in v0.12.0

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

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpec added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpec struct {
	// Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false.
	EnableDynamicPosition *bool `pulumi:"enableDynamicPosition"`
	// List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet "Red" and 200 products with the color facet "Blue". A query containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as FacetKey.key would by default return only "Red" products in the search results, and also return "Red" with count 100 as the only color facet. Although there are also blue products available, "Blue" would not be shown as an available facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the query returns the facet values "Red" with count 100 and "Blue" with count 200, because the "colorFamilies" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only "Red" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.
	ExcludedFilterKeys []string `pulumi:"excludedFilterKeys"`
	// The facet key specification.
	FacetKey GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey `pulumi:"facetKey"`
	// Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.
	Limit *int `pulumi:"limit"`
}

A facet specification to perform faceted search.

type GoogleCloudRetailV2betaSearchRequestFacetSpecArgs added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecArgs struct {
	// Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false.
	EnableDynamicPosition pulumi.BoolPtrInput `pulumi:"enableDynamicPosition"`
	// List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet "Red" and 200 products with the color facet "Blue". A query containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as FacetKey.key would by default return only "Red" products in the search results, and also return "Red" with count 100 as the only color facet. Although there are also blue products available, "Blue" would not be shown as an available facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the query returns the facet values "Red" with count 100 and "Blue" with count 200, because the "colorFamilies" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only "Red" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.
	ExcludedFilterKeys pulumi.StringArrayInput `pulumi:"excludedFilterKeys"`
	// The facet key specification.
	FacetKey GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyInput `pulumi:"facetKey"`
	// Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.
	Limit pulumi.IntPtrInput `pulumi:"limit"`
}

A facet specification to perform faceted search.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutput added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKey struct {
	// True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.
	CaseInsensitive *bool `pulumi:"caseInsensitive"`
	// Only get facet values that contains the given strings. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe" and "Men > Shoe". Only supported on textual fields. Maximum is 10.
	Contains []string `pulumi:"contains"`
	// Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.
	Intervals []GoogleCloudRetailV2betaInterval `pulumi:"intervals"`
	// Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * "brands" * "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key" * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "customFulfillment4" * "customFulfillment5" * "inventory(place_id,attributes.key)" * numerical_field = * "price" * "discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,price)" * "inventory(place_id,original_price)" * "inventory(place_id,attributes.key)"
	Key string `pulumi:"key"`
	// The order in which SearchResponse.Facet.values are returned. Allowed values are: * "count desc", which means order by SearchResponse.Facet.values.count descending. * "value desc", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.
	OrderBy *string `pulumi:"orderBy"`
	// Only get facet values that start with the given string prefix. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum is 10.
	Prefixes []string `pulumi:"prefixes"`
	// The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always "1" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for "shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the products that are both in stock and ship to store "123".
	Query *string `pulumi:"query"`
	// Only get facet for the given restricted values. For example, when using "pickupInStore" as key and set restricted values to ["store123", "store456"], only facets for "store123" and "store456" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5
	RestrictedValues []string `pulumi:"restrictedValues"`
	// Returns the min and max value for each numerical facet intervals. Ignored for textual facets.
	ReturnMinMax *bool `pulumi:"returnMinMax"`
}

Specifies how a facet is computed.

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs struct {
	// True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.
	CaseInsensitive pulumi.BoolPtrInput `pulumi:"caseInsensitive"`
	// Only get facet values that contains the given strings. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe" and "Men > Shoe". Only supported on textual fields. Maximum is 10.
	Contains pulumi.StringArrayInput `pulumi:"contains"`
	// Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.
	Intervals GoogleCloudRetailV2betaIntervalArrayInput `pulumi:"intervals"`
	// Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * "brands" * "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key" * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "customFulfillment4" * "customFulfillment5" * "inventory(place_id,attributes.key)" * numerical_field = * "price" * "discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,price)" * "inventory(place_id,original_price)" * "inventory(place_id,attributes.key)"
	Key pulumi.StringInput `pulumi:"key"`
	// The order in which SearchResponse.Facet.values are returned. Allowed values are: * "count desc", which means order by SearchResponse.Facet.values.count descending. * "value desc", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.
	OrderBy pulumi.StringPtrInput `pulumi:"orderBy"`
	// Only get facet values that start with the given string prefix. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum is 10.
	Prefixes pulumi.StringArrayInput `pulumi:"prefixes"`
	// The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always "1" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for "shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the products that are both in stock and ship to store "123".
	Query pulumi.StringPtrInput `pulumi:"query"`
	// Only get facet for the given restricted values. For example, when using "pickupInStore" as key and set restricted values to ["store123", "store456"], only facets for "store123" and "store456" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5
	RestrictedValues pulumi.StringArrayInput `pulumi:"restrictedValues"`
	// Returns the min and max value for each numerical facet intervals. Ignored for textual facets.
	ReturnMinMax pulumi.BoolPtrInput `pulumi:"returnMinMax"`
}

Specifies how a facet is computed.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput
	ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput
}

GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs and GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyInput` via:

GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs{...}

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput struct{ *pulumi.OutputState }

Specifies how a facet is computed.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) CaseInsensitive added in v0.21.0

True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) Contains added in v0.12.0

Only get facet values that contains the given strings. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe" and "Men > Shoe". Only supported on textual fields. Maximum is 10.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) Intervals added in v0.12.0

Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) Key added in v0.12.0

Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * "brands" * "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key" * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "customFulfillment4" * "customFulfillment5" * "inventory(place_id,attributes.key)" * numerical_field = * "price" * "discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,price)" * "inventory(place_id,original_price)" * "inventory(place_id,attributes.key)"

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) OrderBy added in v0.12.0

The order in which SearchResponse.Facet.values are returned. Allowed values are: * "count desc", which means order by SearchResponse.Facet.values.count descending. * "value desc", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) Prefixes added in v0.12.0

Only get facet values that start with the given string prefix. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum is 10.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) Query added in v0.12.0

The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always "1" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for "shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the products that are both in stock and ship to store "123".

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) RestrictedValues added in v0.12.0

Only get facet for the given restricted values. For example, when using "pickupInStore" as key and set restricted values to ["store123", "store456"], only facets for "store123" and "store456" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ReturnMinMax added in v0.23.0

Returns the min and max value for each numerical facet intervals. Ignored for textual facets.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput
	ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput
}

GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs, GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtr and GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrInput` via:

        GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyArgs{...}

or:

        nil

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) CaseInsensitive added in v0.21.0

True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Contains added in v0.12.0

Only get facet values that contains the given strings. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe" and "Men > Shoe". Only supported on textual fields. Maximum is 10.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Intervals added in v0.12.0

Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Key added in v0.12.0

Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * "brands" * "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key" * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "customFulfillment4" * "customFulfillment5" * "inventory(place_id,attributes.key)" * numerical_field = * "price" * "discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,price)" * "inventory(place_id,original_price)" * "inventory(place_id,attributes.key)"

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) OrderBy added in v0.12.0

The order in which SearchResponse.Facet.values are returned. Allowed values are: * "count desc", which means order by SearchResponse.Facet.values.count descending. * "value desc", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Prefixes added in v0.12.0

Only get facet values that start with the given string prefix. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum is 10.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) Query added in v0.12.0

The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always "1" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for "shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the products that are both in stock and ship to store "123".

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) RestrictedValues added in v0.12.0

Only get facet for the given restricted values. For example, when using "pickupInStore" as key and set restricted values to ["store123", "store456"], only facets for "store123" and "store456" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ReturnMinMax added in v0.23.0

Returns the min and max value for each numerical facet intervals. Ignored for textual facets.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyPtrOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponse added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponse struct {
	// True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.
	CaseInsensitive bool `pulumi:"caseInsensitive"`
	// Only get facet values that contains the given strings. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe" and "Men > Shoe". Only supported on textual fields. Maximum is 10.
	Contains []string `pulumi:"contains"`
	// Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.
	Intervals []GoogleCloudRetailV2betaIntervalResponse `pulumi:"intervals"`
	// Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * "brands" * "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key" * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "customFulfillment4" * "customFulfillment5" * "inventory(place_id,attributes.key)" * numerical_field = * "price" * "discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,price)" * "inventory(place_id,original_price)" * "inventory(place_id,attributes.key)"
	Key string `pulumi:"key"`
	// The order in which SearchResponse.Facet.values are returned. Allowed values are: * "count desc", which means order by SearchResponse.Facet.values.count descending. * "value desc", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.
	OrderBy string `pulumi:"orderBy"`
	// Only get facet values that start with the given string prefix. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum is 10.
	Prefixes []string `pulumi:"prefixes"`
	// The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always "1" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for "shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the products that are both in stock and ship to store "123".
	Query string `pulumi:"query"`
	// Only get facet for the given restricted values. For example, when using "pickupInStore" as key and set restricted values to ["store123", "store456"], only facets for "store123" and "store456" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5
	RestrictedValues []string `pulumi:"restrictedValues"`
	// Returns the min and max value for each numerical facet intervals. Ignored for textual facets.
	ReturnMinMax bool `pulumi:"returnMinMax"`
}

Specifies how a facet is computed.

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput struct{ *pulumi.OutputState }

Specifies how a facet is computed.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) CaseInsensitive added in v0.21.0

True to make facet keys case insensitive when getting faceting values with prefixes or contains; false otherwise.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) Contains added in v0.12.0

Only get facet values that contains the given strings. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "contains" to "Shoe", the "categories" facet gives only "Women > Shoe" and "Men > Shoe". Only supported on textual fields. Maximum is 10.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) Intervals added in v0.12.0

Set only if values should be bucketized into intervals. Must be set for facets with numerical values. Must not be set for facet with text values. Maximum number of intervals is 40. For all numerical facet keys that appear in the list of products from the catalog, the percentiles 0, 10, 30, 50, 70, 90, and 100 are computed from their distribution weekly. If the model assigns a high score to a numerical facet key and its intervals are not specified in the search request, these percentiles become the bounds for its intervals and are returned in the response. If the facet key intervals are specified in the request, then the specified intervals are returned instead.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) Key added in v0.12.0

Supported textual and numerical facet keys in Product object, over which the facet values are computed. Facet key is case-sensitive. Allowed facet keys when FacetKey.query is not specified: * textual_field = * "brands" * "categories" * "genders" * "ageGroups" * "availability" * "colorFamilies" * "colors" * "sizes" * "materials" * "patterns" * "conditions" * "attributes.key" * "pickupInStore" * "shipToStore" * "sameDayDelivery" * "nextDayDelivery" * "customFulfillment1" * "customFulfillment2" * "customFulfillment3" * "customFulfillment4" * "customFulfillment5" * "inventory(place_id,attributes.key)" * numerical_field = * "price" * "discount" * "rating" * "ratingCount" * "attributes.key" * "inventory(place_id,price)" * "inventory(place_id,original_price)" * "inventory(place_id,attributes.key)"

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) OrderBy added in v0.12.0

The order in which SearchResponse.Facet.values are returned. Allowed values are: * "count desc", which means order by SearchResponse.Facet.values.count descending. * "value desc", which means order by SearchResponse.Facet.values.value descending. Only applies to textual facets. If not set, textual values are sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are sorted in the order given by FacetSpec.FacetKey.intervals; FulfillmentInfo.place_ids are sorted in the order given by FacetSpec.FacetKey.restricted_values.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) Prefixes added in v0.12.0

Only get facet values that start with the given string prefix. For example, suppose "categories" has three values "Women > Shoe", "Women > Dress" and "Men > Shoe". If set "prefixes" to "Women", the "categories" facet gives only "Women > Shoe" and "Women > Dress". Only supported on textual fields. Maximum is 10.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) Query added in v0.12.0

The query that is used to compute facet for the given facet key. When provided, it overrides the default behavior of facet computation. The query syntax is the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Notice that there is no limitation on FacetKey.key when query is specified. In the response, SearchResponse.Facet.values.value is always "1" and SearchResponse.Facet.values.count is the number of results that match the query. For example, you can set a customized facet for "shipToStore", where FacetKey.key is "customizedShipToStore", and FacetKey.query is "availability: ANY(\"IN_STOCK\") AND shipToStore: ANY(\"123\")". Then the facet counts the products that are both in stock and ship to store "123".

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) RestrictedValues added in v0.12.0

Only get facet for the given restricted values. For example, when using "pickupInStore" as key and set restricted values to ["store123", "store456"], only facets for "store123" and "store456" are returned. Only supported on predefined textual fields, custom textual attributes and fulfillments. Maximum is 20. Must be set for the fulfillment facet keys: * pickupInStore * shipToStore * sameDayDelivery * nextDayDelivery * customFulfillment1 * customFulfillment2 * customFulfillment3 * customFulfillment4 * customFulfillment5

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ReturnMinMax added in v0.23.0

Returns the min and max value for each numerical facet intervals. Ignored for textual facets.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponseOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecOutput
	ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecOutput
}

GoogleCloudRetailV2betaSearchRequestFacetSpecInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestFacetSpecArgs and GoogleCloudRetailV2betaSearchRequestFacetSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestFacetSpecInput` via:

GoogleCloudRetailV2betaSearchRequestFacetSpecArgs{...}

type GoogleCloudRetailV2betaSearchRequestFacetSpecOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecOutput struct{ *pulumi.OutputState }

A facet specification to perform faceted search.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) EnableDynamicPosition added in v0.12.0

Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ExcludedFilterKeys added in v0.12.0

List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet "Red" and 200 products with the color facet "Blue". A query containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as FacetKey.key would by default return only "Red" products in the search results, and also return "Red" with count 100 as the only color facet. Although there are also blue products available, "Blue" would not be shown as an available facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the query returns the facet values "Red" with count 100 and "Blue" with count 200, because the "colorFamilies" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only "Red" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) FacetKey added in v0.12.0

The facet key specification.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) Limit added in v0.12.0

Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutput added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput

func (GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecPtrInput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput
	ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput
}

GoogleCloudRetailV2betaSearchRequestFacetSpecPtrInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestFacetSpecArgs, GoogleCloudRetailV2betaSearchRequestFacetSpecPtr and GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestFacetSpecPtrInput` via:

        GoogleCloudRetailV2betaSearchRequestFacetSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) EnableDynamicPosition added in v0.12.0

Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ExcludedFilterKeys added in v0.12.0

List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet "Red" and 200 products with the color facet "Blue". A query containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as FacetKey.key would by default return only "Red" products in the search results, and also return "Red" with count 100 as the only color facet. Although there are also blue products available, "Blue" would not be shown as an available facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the query returns the facet values "Red" with count 100 and "Blue" with count 200, because the "colorFamilies" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only "Red" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) FacetKey added in v0.12.0

The facet key specification.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) Limit added in v0.12.0

Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestFacetSpecResponse added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecResponse struct {
	// Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false.
	EnableDynamicPosition bool `pulumi:"enableDynamicPosition"`
	// List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet "Red" and 200 products with the color facet "Blue". A query containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as FacetKey.key would by default return only "Red" products in the search results, and also return "Red" with count 100 as the only color facet. Although there are also blue products available, "Blue" would not be shown as an available facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the query returns the facet values "Red" with count 100 and "Blue" with count 200, because the "colorFamilies" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only "Red" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.
	ExcludedFilterKeys []string `pulumi:"excludedFilterKeys"`
	// The facet key specification.
	FacetKey GoogleCloudRetailV2betaSearchRequestFacetSpecFacetKeyResponse `pulumi:"facetKey"`
	// Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.
	Limit int `pulumi:"limit"`
}

A facet specification to perform faceted search.

type GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput added in v0.12.0

type GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput struct{ *pulumi.OutputState }

A facet specification to perform faceted search.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) EnableDynamicPosition added in v0.12.0

Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ExcludedFilterKeys added in v0.12.0

List of keys to exclude when faceting. By default, FacetKey.key is not excluded from the filter unless it is listed in this field. Listing a facet key in this field allows its values to appear as facet results, even when they are filtered out of search results. Using this field does not affect what search results are returned. For example, suppose there are 100 products with the color facet "Red" and 200 products with the color facet "Blue". A query containing the filter "colorFamilies:ANY("Red")" and having "colorFamilies" as FacetKey.key would by default return only "Red" products in the search results, and also return "Red" with count 100 as the only color facet. Although there are also blue products available, "Blue" would not be shown as an available facet value. If "colorFamilies" is listed in "excludedFilterKeys", then the query returns the facet values "Red" with count 100 and "Blue" with count 200, because the "colorFamilies" key is now excluded from the filter. Because this field doesn't affect search results, the search results are still correctly filtered to return only "Red" products. A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error is returned.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) FacetKey added in v0.12.0

The facet key specification.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) Limit added in v0.12.0

Maximum of facet values that should be returned for this facet. If unspecified, defaults to 50. The maximum allowed value is 300. Values above 300 will be coerced to 300. If this field is negative, an INVALID_ARGUMENT is returned.

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput added in v0.12.0

func (GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestFacetSpecResponseOutput

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpec added in v0.25.0

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

The specification for personalization.

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs struct {
	// Defaults to Mode.AUTO.
	Mode GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrInput `pulumi:"mode"`
}

The specification for personalization.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecInput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput
	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput
}

GoogleCloudRetailV2betaSearchRequestPersonalizationSpecInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs and GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestPersonalizationSpecInput` via:

GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs{...}

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode string

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (e GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecMode) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeInput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput
	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput
}

GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeArgs and GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeInput` via:

GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeArgs{...}

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModeOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrInput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput
	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput
}

func GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtr added in v0.25.0

func GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtr(v string) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrInput

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecModePtrOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput struct{ *pulumi.OutputState }

The specification for personalization.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrInput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput
	ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput
}

GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrInput is an input type that accepts GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs, GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtr and GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrInput` via:

        GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponse added in v0.25.0

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

The specification for personalization.

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput added in v0.25.0

type GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput struct{ *pulumi.OutputState }

The specification for personalization.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput added in v0.25.0

func (GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput

type LookupControlArgs added in v0.12.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.12.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.12.0

func (LookupControlOutputArgs) ElementType() reflect.Type

type LookupControlResult added in v0.12.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"`
	// A facet specification to perform faceted search. Note that this field is deprecated and will throw NOT_IMPLEMENTED if used for creating a control.
	FacetSpec GoogleCloudRetailV2betaSearchRequestFacetSpecResponse `pulumi:"facetSpec"`
	// 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 GoogleCloudRetailV2betaRuleResponse `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.12.0

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

Gets a Control.

type LookupControlResultOutput added in v0.12.0

type LookupControlResultOutput struct{ *pulumi.OutputState }

func LookupControlOutput added in v0.12.0

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

func (LookupControlResultOutput) AssociatedServingConfigIds added in v0.12.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.12.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.12.0

func (LookupControlResultOutput) ElementType() reflect.Type

func (LookupControlResultOutput) FacetSpec added in v0.12.0

A facet specification to perform faceted search. Note that this field is deprecated and will throw NOT_IMPLEMENTED if used for creating a control.

func (LookupControlResultOutput) Name added in v0.12.0

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

func (LookupControlResultOutput) Rule added in v0.12.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.18.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.12.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.12.0

func (o LookupControlResultOutput) ToLookupControlResultOutput() LookupControlResultOutput

func (LookupControlResultOutput) ToLookupControlResultOutputWithContext added in v0.12.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 GoogleCloudRetailV2betaModelModelFeaturesConfigResponse `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 []GoogleCloudRetailV2betaModelServingConfigListResponse `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 GoogleCloudRetailV2betaAudienceResponse `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 GoogleCloudRetailV2betaColorInfoResponse `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 []GoogleCloudRetailV2betaFulfillmentInfoResponse `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 []GoogleCloudRetailV2betaImageResponse `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 []GoogleCloudRetailV2betaLocalInventoryResponse `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 GoogleCloudRetailV2betaPriceInfoResponse `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 []GoogleCloudRetailV2betaPromotionResponse `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 GoogleCloudRetailV2betaRatingResponse `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 []GoogleCloudRetailV2betaProductResponse `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.12.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.12.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.12.0

type LookupServingConfigResult added in v0.12.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 GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponse `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 GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponse `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.12.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.12.0

type LookupServingConfigResultOutput struct{ *pulumi.OutputState }

func LookupServingConfigOutput added in v0.12.0

func (LookupServingConfigResultOutput) BoostControlIds added in v0.12.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.12.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.12.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.12.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.12.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.12.0

func (LookupServingConfigResultOutput) EnableCategoryFilterLevel added in v0.12.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.12.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.12.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.12.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.12.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.12.0

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

func (LookupServingConfigResultOutput) OnewaySynonymsControlIds added in v0.12.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.12.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.12.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.12.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.12.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.12.0

func (o LookupServingConfigResultOutput) ToLookupServingConfigResultOutput() LookupServingConfigResultOutput

func (LookupServingConfigResultOutput) ToLookupServingConfigResultOutputWithContext added in v0.12.0

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

func (LookupServingConfigResultOutput) TwowaySynonymsControlIds added in v0.12.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 GoogleCloudRetailV2betaModelModelFeaturesConfigResponseOutput `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 GoogleCloudRetailV2betaModelServingConfigListResponseArrayOutput `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 GoogleCloudRetailV2betaModelModelFeaturesConfigPtrInput
	// 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 GoogleCloudRetailV2betaAudienceResponseOutput `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 GoogleCloudRetailV2betaColorInfoResponseOutput `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 GoogleCloudRetailV2betaFulfillmentInfoResponseArrayOutput `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 GoogleCloudRetailV2betaImageResponseArrayOutput `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 GoogleCloudRetailV2betaLocalInventoryResponseArrayOutput `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 GoogleCloudRetailV2betaPriceInfoResponseOutput `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 GoogleCloudRetailV2betaPromotionResponseArrayOutput `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 GoogleCloudRetailV2betaRatingResponseOutput `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 GoogleCloudRetailV2betaProductResponseArrayOutput `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 GoogleCloudRetailV2betaAudiencePtrInput
	// 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 GoogleCloudRetailV2betaColorInfoPtrInput
	// 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 GoogleCloudRetailV2betaFulfillmentInfoArrayInput
	// 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 GoogleCloudRetailV2betaImageArrayInput
	// 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 GoogleCloudRetailV2betaPriceInfoPtrInput
	// 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 GoogleCloudRetailV2betaPromotionArrayInput
	// 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 GoogleCloudRetailV2betaRatingPtrInput
	// 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.12.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 GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecResponseOutput `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 GoogleCloudRetailV2betaSearchRequestPersonalizationSpecResponseOutput `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.12.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.12.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.12.0

func (*ServingConfig) ElementType() reflect.Type

func (*ServingConfig) ToServingConfigOutput added in v0.12.0

func (i *ServingConfig) ToServingConfigOutput() ServingConfigOutput

func (*ServingConfig) ToServingConfigOutputWithContext added in v0.12.0

func (i *ServingConfig) ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput

type ServingConfigArgs added in v0.12.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 GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecPtrInput
	// 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 GoogleCloudRetailV2betaSearchRequestPersonalizationSpecPtrInput
	// 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.12.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.12.0

type ServingConfigInput interface {
	pulumi.Input

	ToServingConfigOutput() ServingConfigOutput
	ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput
}

type ServingConfigOutput added in v0.12.0

type ServingConfigOutput struct{ *pulumi.OutputState }

func (ServingConfigOutput) BoostControlIds added in v0.19.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.21.0

func (o ServingConfigOutput) CatalogId() pulumi.StringOutput

func (ServingConfigOutput) DisplayName added in v0.19.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.19.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.19.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.19.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.12.0

func (ServingConfigOutput) ElementType() reflect.Type

func (ServingConfigOutput) EnableCategoryFilterLevel added in v0.19.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.19.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.19.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.19.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.21.0

func (ServingConfigOutput) ModelId added in v0.19.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.19.0

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

func (ServingConfigOutput) OnewaySynonymsControlIds added in v0.19.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.19.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.21.0

func (ServingConfigOutput) RedirectControlIds added in v0.19.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.19.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.21.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.19.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.12.0

func (o ServingConfigOutput) ToServingConfigOutput() ServingConfigOutput

func (ServingConfigOutput) ToServingConfigOutputWithContext added in v0.12.0

func (o ServingConfigOutput) ToServingConfigOutputWithContext(ctx context.Context) ServingConfigOutput

func (ServingConfigOutput) TwowaySynonymsControlIds added in v0.19.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.12.0

type ServingConfigSolutionTypesItem string

func (ServingConfigSolutionTypesItem) ElementType added in v0.12.0

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutput added in v0.12.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutput() ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutputWithContext added in v0.12.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutput added in v0.12.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutputWithContext added in v0.12.0

func (e ServingConfigSolutionTypesItem) ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItem) ToStringOutput added in v0.12.0

func (ServingConfigSolutionTypesItem) ToStringOutputWithContext added in v0.12.0

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

func (ServingConfigSolutionTypesItem) ToStringPtrOutput added in v0.12.0

func (ServingConfigSolutionTypesItem) ToStringPtrOutputWithContext added in v0.12.0

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

type ServingConfigSolutionTypesItemArray added in v0.12.0

type ServingConfigSolutionTypesItemArray []ServingConfigSolutionTypesItem

func (ServingConfigSolutionTypesItemArray) ElementType added in v0.12.0

func (ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutput added in v0.12.0

func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutput() ServingConfigSolutionTypesItemArrayOutput

func (ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutputWithContext added in v0.12.0

func (i ServingConfigSolutionTypesItemArray) ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemArrayOutput

type ServingConfigSolutionTypesItemArrayInput added in v0.12.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.12.0

type ServingConfigSolutionTypesItemArrayOutput struct{ *pulumi.OutputState }

func (ServingConfigSolutionTypesItemArrayOutput) ElementType added in v0.12.0

func (ServingConfigSolutionTypesItemArrayOutput) Index added in v0.12.0

func (ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutput added in v0.12.0

func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutput() ServingConfigSolutionTypesItemArrayOutput

func (ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutputWithContext added in v0.12.0

func (o ServingConfigSolutionTypesItemArrayOutput) ToServingConfigSolutionTypesItemArrayOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemArrayOutput

type ServingConfigSolutionTypesItemInput added in v0.12.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.12.0

type ServingConfigSolutionTypesItemOutput struct{ *pulumi.OutputState }

func (ServingConfigSolutionTypesItemOutput) ElementType added in v0.12.0

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutput added in v0.12.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutput() ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutputWithContext added in v0.12.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemOutput

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutput added in v0.12.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext added in v0.12.0

func (o ServingConfigSolutionTypesItemOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemOutput) ToStringOutput added in v0.12.0

func (ServingConfigSolutionTypesItemOutput) ToStringOutputWithContext added in v0.12.0

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

func (ServingConfigSolutionTypesItemOutput) ToStringPtrOutput added in v0.12.0

func (ServingConfigSolutionTypesItemOutput) ToStringPtrOutputWithContext added in v0.12.0

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

type ServingConfigSolutionTypesItemPtrInput added in v0.12.0

type ServingConfigSolutionTypesItemPtrInput interface {
	pulumi.Input

	ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput
	ToServingConfigSolutionTypesItemPtrOutputWithContext(context.Context) ServingConfigSolutionTypesItemPtrOutput
}

func ServingConfigSolutionTypesItemPtr added in v0.12.0

func ServingConfigSolutionTypesItemPtr(v string) ServingConfigSolutionTypesItemPtrInput

type ServingConfigSolutionTypesItemPtrOutput added in v0.12.0

type ServingConfigSolutionTypesItemPtrOutput struct{ *pulumi.OutputState }

func (ServingConfigSolutionTypesItemPtrOutput) Elem added in v0.12.0

func (ServingConfigSolutionTypesItemPtrOutput) ElementType added in v0.12.0

func (ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutput added in v0.12.0

func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutput() ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext added in v0.12.0

func (o ServingConfigSolutionTypesItemPtrOutput) ToServingConfigSolutionTypesItemPtrOutputWithContext(ctx context.Context) ServingConfigSolutionTypesItemPtrOutput

func (ServingConfigSolutionTypesItemPtrOutput) ToStringPtrOutput added in v0.12.0

func (ServingConfigSolutionTypesItemPtrOutput) ToStringPtrOutputWithContext added in v0.12.0

type ServingConfigState added in v0.12.0

type ServingConfigState struct {
}

func (ServingConfigState) ElementType added in v0.12.0

func (ServingConfigState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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