v2alpha

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.
	GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeContextProductsTypeUnspecified = GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("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.
	GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeSingleContextProduct = GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("SINGLE_CONTEXT_PRODUCT")
	// Use one or multiple products as context for the recommendation. Typically used on shopping cart pages.
	GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeMultipleContextProducts = GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType("MULTIPLE_CONTEXT_PRODUCTS")
)
View Source
const (
	// Unspecified value for restriction.
	GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionRestrictionUnspecified = GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction("RESTRICTION_UNSPECIFIED")
	// Allow any ServingConfig to be show on any number of panels. Example: `Panel1 candidates`: pdp_ctr, pdp_cvr, home_page_ctr_no_diversity `Panel2 candidates`: home_page_ctr_no_diversity, home_page_ctr_diversity, pdp_cvr_no_diversity `Restriction` = NO_RESTRICTION `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: []
	GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionNoRestriction = GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction("NO_RESTRICTION")
	// Do not allow the same ServingConfig.name to be shown on multiple panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_SERVING_CONFIG_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity_low) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) *
	GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionUniqueServingConfigRestriction = GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction("UNIQUE_SERVING_CONFIG_RESTRICTION")
	// Do not allow multiple ServingConfigs with same Model.name to be show on on different panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_MODEL_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (pdp_cvr, pdp_cvr_no_diversity) *
	GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionUniqueModelRestriction = GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction("UNIQUE_MODEL_RESTRICTION")
	// Do not allow multiple ServingConfigs with same Model.type to be shown on different panels. Example: `Panel1 candidates`: * pdp_ctr, pdp_cvr, home_page_ctr_no_diversity * `Panel2 candidates`: * home_page_ctr_no_diversity, home_page_ctr_diversity_low, pdp_cvr_no_diversity * `Restriction` = `UNIQUE_MODEL_RESTRICTION` `Valid combinations`: * * (pdp_ctr, home_page_ctr_no_diversity) * (pdp_ctr, home_page_ctr_diversity) * (pdp_cvr, home_page_ctr_no_diversity) * (pdp_cvr, home_page_ctr_diversity_low) * (home_page_ctr_no_diversity, pdp_cvr_no_diversity) * `Invalid combinations`: * * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_ctr, pdp_cvr_no_diversity) * (pdp_cvr, pdp_cvr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_no_diversity) * (home_page_ctr_no_diversity, home_page_ctr_diversity) *
	GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionUniqueModelTypeRestriction = GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction("UNIQUE_MODEL_TYPE_RESTRICTION")
)
View Source
const (
	// Default value.
	GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeModeUnspecified = GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode("MODE_UNSPECIFIED")
	// Disable Dynamic Facet.
	GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeDisabled = GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode("DISABLED")
	// Automatic mode built by Google Retail Search.
	GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeEnabled = GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode("ENABLED")
)
View Source
const (
	// Default value. In this case, server behavior defaults to Mode.AUTO.
	GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeModeUnspecified = GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode("MODE_UNSPECIFIED")
	// Let CRS decide whether to use personalization based on quality of user event data.
	GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeAuto = GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode("AUTO")
	// Disable personalization.
	GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeDisabled = GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode("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 GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput `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 GoogleCloudRetailV2alphaRuleResponseOutput `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 GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrInput
	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 GoogleCloudRetailV2alphaRulePtrInput
	// 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 GoogleCloudRetailV2alphaAudience added in v0.8.0

type GoogleCloudRetailV2alphaAudience 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 GoogleCloudRetailV2alphaAudienceArgs added in v0.8.0

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

func (GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudienceOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudienceOutput() GoogleCloudRetailV2alphaAudienceOutput

func (GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudienceOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudienceOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaAudienceOutput

func (GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudiencePtrOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudiencePtrOutput() GoogleCloudRetailV2alphaAudiencePtrOutput

func (GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaAudienceArgs) ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaAudiencePtrOutput

type GoogleCloudRetailV2alphaAudienceInput added in v0.8.0

type GoogleCloudRetailV2alphaAudienceInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaAudienceOutput() GoogleCloudRetailV2alphaAudienceOutput
	ToGoogleCloudRetailV2alphaAudienceOutputWithContext(context.Context) GoogleCloudRetailV2alphaAudienceOutput
}

GoogleCloudRetailV2alphaAudienceInput is an input type that accepts GoogleCloudRetailV2alphaAudienceArgs and GoogleCloudRetailV2alphaAudienceOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaAudienceInput` via:

GoogleCloudRetailV2alphaAudienceArgs{...}

type GoogleCloudRetailV2alphaAudienceOutput added in v0.8.0

type GoogleCloudRetailV2alphaAudienceOutput struct{ *pulumi.OutputState }

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

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

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

func (o GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudienceOutput() GoogleCloudRetailV2alphaAudienceOutput

func (GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudienceOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudienceOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaAudienceOutput

func (GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutput() GoogleCloudRetailV2alphaAudiencePtrOutput

func (GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaAudienceOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaAudiencePtrOutput

type GoogleCloudRetailV2alphaAudiencePtrInput added in v0.8.0

type GoogleCloudRetailV2alphaAudiencePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaAudiencePtrOutput() GoogleCloudRetailV2alphaAudiencePtrOutput
	ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaAudiencePtrOutput
}

GoogleCloudRetailV2alphaAudiencePtrInput is an input type that accepts GoogleCloudRetailV2alphaAudienceArgs, GoogleCloudRetailV2alphaAudiencePtr and GoogleCloudRetailV2alphaAudiencePtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaAudiencePtrInput` via:

        GoogleCloudRetailV2alphaAudienceArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaAudiencePtrOutput added in v0.8.0

type GoogleCloudRetailV2alphaAudiencePtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaAudiencePtrOutput) ElementType added in v0.8.0

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

func (o GoogleCloudRetailV2alphaAudiencePtrOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutput() GoogleCloudRetailV2alphaAudiencePtrOutput

func (GoogleCloudRetailV2alphaAudiencePtrOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaAudiencePtrOutput) ToGoogleCloudRetailV2alphaAudiencePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaAudiencePtrOutput

type GoogleCloudRetailV2alphaAudienceResponse added in v0.8.0

type GoogleCloudRetailV2alphaAudienceResponse 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 GoogleCloudRetailV2alphaAudienceResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaAudienceResponseOutput struct{ *pulumi.OutputState }

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

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

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

func (o GoogleCloudRetailV2alphaAudienceResponseOutput) ToGoogleCloudRetailV2alphaAudienceResponseOutput() GoogleCloudRetailV2alphaAudienceResponseOutput

func (GoogleCloudRetailV2alphaAudienceResponseOutput) ToGoogleCloudRetailV2alphaAudienceResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaAudienceResponseOutput) ToGoogleCloudRetailV2alphaAudienceResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaAudienceResponseOutput

type GoogleCloudRetailV2alphaColorInfo added in v0.8.0

type GoogleCloudRetailV2alphaColorInfo 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 GoogleCloudRetailV2alphaColorInfoArgs added in v0.8.0

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

func (GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoOutput() GoogleCloudRetailV2alphaColorInfoOutput

func (GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaColorInfoOutput

func (GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoPtrOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoPtrOutput() GoogleCloudRetailV2alphaColorInfoPtrOutput

func (GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaColorInfoArgs) ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaColorInfoPtrOutput

type GoogleCloudRetailV2alphaColorInfoInput added in v0.8.0

type GoogleCloudRetailV2alphaColorInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaColorInfoOutput() GoogleCloudRetailV2alphaColorInfoOutput
	ToGoogleCloudRetailV2alphaColorInfoOutputWithContext(context.Context) GoogleCloudRetailV2alphaColorInfoOutput
}

GoogleCloudRetailV2alphaColorInfoInput is an input type that accepts GoogleCloudRetailV2alphaColorInfoArgs and GoogleCloudRetailV2alphaColorInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaColorInfoInput` via:

GoogleCloudRetailV2alphaColorInfoArgs{...}

type GoogleCloudRetailV2alphaColorInfoOutput added in v0.8.0

type GoogleCloudRetailV2alphaColorInfoOutput struct{ *pulumi.OutputState }

The color information of a Product.

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

func (GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoOutput() GoogleCloudRetailV2alphaColorInfoOutput

func (GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaColorInfoOutput

func (GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutput() GoogleCloudRetailV2alphaColorInfoPtrOutput

func (GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaColorInfoPtrOutput

type GoogleCloudRetailV2alphaColorInfoPtrInput added in v0.8.0

type GoogleCloudRetailV2alphaColorInfoPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaColorInfoPtrOutput() GoogleCloudRetailV2alphaColorInfoPtrOutput
	ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaColorInfoPtrOutput
}

GoogleCloudRetailV2alphaColorInfoPtrInput is an input type that accepts GoogleCloudRetailV2alphaColorInfoArgs, GoogleCloudRetailV2alphaColorInfoPtr and GoogleCloudRetailV2alphaColorInfoPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaColorInfoPtrInput` via:

        GoogleCloudRetailV2alphaColorInfoArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaColorInfoPtrOutput added in v0.8.0

type GoogleCloudRetailV2alphaColorInfoPtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaColorInfoPtrOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaColorInfoPtrOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoPtrOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutput() GoogleCloudRetailV2alphaColorInfoPtrOutput

func (GoogleCloudRetailV2alphaColorInfoPtrOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoPtrOutput) ToGoogleCloudRetailV2alphaColorInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaColorInfoPtrOutput

type GoogleCloudRetailV2alphaColorInfoResponse added in v0.8.0

type GoogleCloudRetailV2alphaColorInfoResponse 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 GoogleCloudRetailV2alphaColorInfoResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaColorInfoResponseOutput struct{ *pulumi.OutputState }

The color information of a Product.

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

func (GoogleCloudRetailV2alphaColorInfoResponseOutput) ToGoogleCloudRetailV2alphaColorInfoResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoResponseOutput) ToGoogleCloudRetailV2alphaColorInfoResponseOutput() GoogleCloudRetailV2alphaColorInfoResponseOutput

func (GoogleCloudRetailV2alphaColorInfoResponseOutput) ToGoogleCloudRetailV2alphaColorInfoResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaColorInfoResponseOutput) ToGoogleCloudRetailV2alphaColorInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaColorInfoResponseOutput

type GoogleCloudRetailV2alphaCondition added in v0.12.0

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

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

func (GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionOutput() GoogleCloudRetailV2alphaConditionOutput

func (GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionOutput

func (GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionPtrOutput() GoogleCloudRetailV2alphaConditionPtrOutput

func (GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionArgs) ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionPtrOutput

type GoogleCloudRetailV2alphaConditionInput added in v0.12.0

type GoogleCloudRetailV2alphaConditionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaConditionOutput() GoogleCloudRetailV2alphaConditionOutput
	ToGoogleCloudRetailV2alphaConditionOutputWithContext(context.Context) GoogleCloudRetailV2alphaConditionOutput
}

GoogleCloudRetailV2alphaConditionInput is an input type that accepts GoogleCloudRetailV2alphaConditionArgs and GoogleCloudRetailV2alphaConditionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionInput` via:

GoogleCloudRetailV2alphaConditionArgs{...}

type GoogleCloudRetailV2alphaConditionOutput added in v0.12.0

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

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

func (GoogleCloudRetailV2alphaConditionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionOutput) 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 (GoogleCloudRetailV2alphaConditionOutput) 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 (GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionOutput() GoogleCloudRetailV2alphaConditionOutput

func (GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionOutput

func (GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionPtrOutput() GoogleCloudRetailV2alphaConditionPtrOutput

func (GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionOutput) ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionPtrOutput

type GoogleCloudRetailV2alphaConditionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaConditionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaConditionPtrOutput() GoogleCloudRetailV2alphaConditionPtrOutput
	ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaConditionPtrOutput
}

GoogleCloudRetailV2alphaConditionPtrInput is an input type that accepts GoogleCloudRetailV2alphaConditionArgs, GoogleCloudRetailV2alphaConditionPtr and GoogleCloudRetailV2alphaConditionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionPtrInput` via:

        GoogleCloudRetailV2alphaConditionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaConditionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaConditionPtrOutput) ActiveTimeRange added in v0.12.0

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

func (GoogleCloudRetailV2alphaConditionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaConditionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionPtrOutput) 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 (GoogleCloudRetailV2alphaConditionPtrOutput) 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 (GoogleCloudRetailV2alphaConditionPtrOutput) ToGoogleCloudRetailV2alphaConditionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionPtrOutput) ToGoogleCloudRetailV2alphaConditionPtrOutput() GoogleCloudRetailV2alphaConditionPtrOutput

func (GoogleCloudRetailV2alphaConditionPtrOutput) ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionPtrOutput) ToGoogleCloudRetailV2alphaConditionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionPtrOutput

type GoogleCloudRetailV2alphaConditionQueryTerm added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTerm 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 GoogleCloudRetailV2alphaConditionQueryTermArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaConditionQueryTermArgs) ToGoogleCloudRetailV2alphaConditionQueryTermOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionQueryTermArgs) ToGoogleCloudRetailV2alphaConditionQueryTermOutput() GoogleCloudRetailV2alphaConditionQueryTermOutput

func (GoogleCloudRetailV2alphaConditionQueryTermArgs) ToGoogleCloudRetailV2alphaConditionQueryTermOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionQueryTermArgs) ToGoogleCloudRetailV2alphaConditionQueryTermOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionQueryTermOutput

type GoogleCloudRetailV2alphaConditionQueryTermArray added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermArray []GoogleCloudRetailV2alphaConditionQueryTermInput

func (GoogleCloudRetailV2alphaConditionQueryTermArray) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermArray) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionQueryTermArray) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutput() GoogleCloudRetailV2alphaConditionQueryTermArrayOutput

func (GoogleCloudRetailV2alphaConditionQueryTermArray) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionQueryTermArray) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionQueryTermArrayOutput

type GoogleCloudRetailV2alphaConditionQueryTermArrayInput added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutput() GoogleCloudRetailV2alphaConditionQueryTermArrayOutput
	ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaConditionQueryTermArrayOutput
}

GoogleCloudRetailV2alphaConditionQueryTermArrayInput is an input type that accepts GoogleCloudRetailV2alphaConditionQueryTermArray and GoogleCloudRetailV2alphaConditionQueryTermArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionQueryTermArrayInput` via:

GoogleCloudRetailV2alphaConditionQueryTermArray{ GoogleCloudRetailV2alphaConditionQueryTermArgs{...} }

type GoogleCloudRetailV2alphaConditionQueryTermArrayOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutput added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionQueryTermArrayOutput) ToGoogleCloudRetailV2alphaConditionQueryTermArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionQueryTermArrayOutput

type GoogleCloudRetailV2alphaConditionQueryTermInput added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaConditionQueryTermOutput() GoogleCloudRetailV2alphaConditionQueryTermOutput
	ToGoogleCloudRetailV2alphaConditionQueryTermOutputWithContext(context.Context) GoogleCloudRetailV2alphaConditionQueryTermOutput
}

GoogleCloudRetailV2alphaConditionQueryTermInput is an input type that accepts GoogleCloudRetailV2alphaConditionQueryTermArgs and GoogleCloudRetailV2alphaConditionQueryTermOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionQueryTermInput` via:

GoogleCloudRetailV2alphaConditionQueryTermArgs{...}

type GoogleCloudRetailV2alphaConditionQueryTermOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermOutput struct{ *pulumi.OutputState }

Query terms that we want to match on.

func (GoogleCloudRetailV2alphaConditionQueryTermOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermOutput) FullMatch added in v0.12.0

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

func (GoogleCloudRetailV2alphaConditionQueryTermOutput) ToGoogleCloudRetailV2alphaConditionQueryTermOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionQueryTermOutput) ToGoogleCloudRetailV2alphaConditionQueryTermOutput() GoogleCloudRetailV2alphaConditionQueryTermOutput

func (GoogleCloudRetailV2alphaConditionQueryTermOutput) ToGoogleCloudRetailV2alphaConditionQueryTermOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionQueryTermOutput) ToGoogleCloudRetailV2alphaConditionQueryTermOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionQueryTermOutput

func (GoogleCloudRetailV2alphaConditionQueryTermOutput) 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 GoogleCloudRetailV2alphaConditionQueryTermResponse added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermResponse 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 GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput) ToGoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionQueryTermResponseArrayOutput

type GoogleCloudRetailV2alphaConditionQueryTermResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionQueryTermResponseOutput struct{ *pulumi.OutputState }

Query terms that we want to match on.

func (GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) FullMatch added in v0.12.0

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

func (GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) ToGoogleCloudRetailV2alphaConditionQueryTermResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) ToGoogleCloudRetailV2alphaConditionQueryTermResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) ToGoogleCloudRetailV2alphaConditionQueryTermResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionQueryTermResponseOutput

func (GoogleCloudRetailV2alphaConditionQueryTermResponseOutput) 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 GoogleCloudRetailV2alphaConditionResponse added in v0.12.0

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

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

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

func (GoogleCloudRetailV2alphaConditionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionResponseOutput) 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 (GoogleCloudRetailV2alphaConditionResponseOutput) 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 (GoogleCloudRetailV2alphaConditionResponseOutput) ToGoogleCloudRetailV2alphaConditionResponseOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionResponseOutput) ToGoogleCloudRetailV2alphaConditionResponseOutput() GoogleCloudRetailV2alphaConditionResponseOutput

func (GoogleCloudRetailV2alphaConditionResponseOutput) ToGoogleCloudRetailV2alphaConditionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionResponseOutput) ToGoogleCloudRetailV2alphaConditionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionResponseOutput

type GoogleCloudRetailV2alphaConditionTimeRange added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRange 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 GoogleCloudRetailV2alphaConditionTimeRangeArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaConditionTimeRangeArgs) ToGoogleCloudRetailV2alphaConditionTimeRangeOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionTimeRangeArgs) ToGoogleCloudRetailV2alphaConditionTimeRangeOutput() GoogleCloudRetailV2alphaConditionTimeRangeOutput

func (GoogleCloudRetailV2alphaConditionTimeRangeArgs) ToGoogleCloudRetailV2alphaConditionTimeRangeOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionTimeRangeArgs) ToGoogleCloudRetailV2alphaConditionTimeRangeOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionTimeRangeOutput

type GoogleCloudRetailV2alphaConditionTimeRangeArray added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeArray []GoogleCloudRetailV2alphaConditionTimeRangeInput

func (GoogleCloudRetailV2alphaConditionTimeRangeArray) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeArray) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionTimeRangeArray) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutput() GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput

func (GoogleCloudRetailV2alphaConditionTimeRangeArray) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaConditionTimeRangeArray) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput

type GoogleCloudRetailV2alphaConditionTimeRangeArrayInput added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutput() GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput
	ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput
}

GoogleCloudRetailV2alphaConditionTimeRangeArrayInput is an input type that accepts GoogleCloudRetailV2alphaConditionTimeRangeArray and GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionTimeRangeArrayInput` via:

GoogleCloudRetailV2alphaConditionTimeRangeArray{ GoogleCloudRetailV2alphaConditionTimeRangeArgs{...} }

type GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutput added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionTimeRangeArrayOutput

type GoogleCloudRetailV2alphaConditionTimeRangeInput added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaConditionTimeRangeOutput() GoogleCloudRetailV2alphaConditionTimeRangeOutput
	ToGoogleCloudRetailV2alphaConditionTimeRangeOutputWithContext(context.Context) GoogleCloudRetailV2alphaConditionTimeRangeOutput
}

GoogleCloudRetailV2alphaConditionTimeRangeInput is an input type that accepts GoogleCloudRetailV2alphaConditionTimeRangeArgs and GoogleCloudRetailV2alphaConditionTimeRangeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaConditionTimeRangeInput` via:

GoogleCloudRetailV2alphaConditionTimeRangeArgs{...}

type GoogleCloudRetailV2alphaConditionTimeRangeOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaConditionTimeRangeOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeOutput) EndTime added in v0.12.0

End of time range. Range is inclusive.

func (GoogleCloudRetailV2alphaConditionTimeRangeOutput) StartTime added in v0.12.0

Start of time range. Range is inclusive.

func (GoogleCloudRetailV2alphaConditionTimeRangeOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionTimeRangeOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeOutput() GoogleCloudRetailV2alphaConditionTimeRangeOutput

func (GoogleCloudRetailV2alphaConditionTimeRangeOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionTimeRangeOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionTimeRangeOutput

type GoogleCloudRetailV2alphaConditionTimeRangeResponse added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeResponse 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 GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionTimeRangeResponseArrayOutput

type GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) EndTime added in v0.12.0

End of time range. Range is inclusive.

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) StartTime added in v0.12.0

Start of time range. Range is inclusive.

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput) ToGoogleCloudRetailV2alphaConditionTimeRangeResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaConditionTimeRangeResponseOutput

type GoogleCloudRetailV2alphaFulfillmentInfo added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfo 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 GoogleCloudRetailV2alphaFulfillmentInfoArgs added in v0.8.0

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

func (GoogleCloudRetailV2alphaFulfillmentInfoArgs) ToGoogleCloudRetailV2alphaFulfillmentInfoOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaFulfillmentInfoArgs) ToGoogleCloudRetailV2alphaFulfillmentInfoOutput() GoogleCloudRetailV2alphaFulfillmentInfoOutput

func (GoogleCloudRetailV2alphaFulfillmentInfoArgs) ToGoogleCloudRetailV2alphaFulfillmentInfoOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaFulfillmentInfoArgs) ToGoogleCloudRetailV2alphaFulfillmentInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaFulfillmentInfoOutput

type GoogleCloudRetailV2alphaFulfillmentInfoArray added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoArray []GoogleCloudRetailV2alphaFulfillmentInfoInput

func (GoogleCloudRetailV2alphaFulfillmentInfoArray) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaFulfillmentInfoArray) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaFulfillmentInfoArray) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutput() GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput

func (GoogleCloudRetailV2alphaFulfillmentInfoArray) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaFulfillmentInfoArray) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput

type GoogleCloudRetailV2alphaFulfillmentInfoArrayInput added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutput() GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput
	ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput
}

GoogleCloudRetailV2alphaFulfillmentInfoArrayInput is an input type that accepts GoogleCloudRetailV2alphaFulfillmentInfoArray and GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaFulfillmentInfoArrayInput` via:

GoogleCloudRetailV2alphaFulfillmentInfoArray{ GoogleCloudRetailV2alphaFulfillmentInfoArgs{...} }

type GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutput() GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput

func (GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaFulfillmentInfoArrayOutput

type GoogleCloudRetailV2alphaFulfillmentInfoInput added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaFulfillmentInfoOutput() GoogleCloudRetailV2alphaFulfillmentInfoOutput
	ToGoogleCloudRetailV2alphaFulfillmentInfoOutputWithContext(context.Context) GoogleCloudRetailV2alphaFulfillmentInfoOutput
}

GoogleCloudRetailV2alphaFulfillmentInfoInput is an input type that accepts GoogleCloudRetailV2alphaFulfillmentInfoArgs and GoogleCloudRetailV2alphaFulfillmentInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaFulfillmentInfoInput` via:

GoogleCloudRetailV2alphaFulfillmentInfoArgs{...}

type GoogleCloudRetailV2alphaFulfillmentInfoOutput added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaFulfillmentInfoOutput) ElementType added in v0.8.0

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

func (o GoogleCloudRetailV2alphaFulfillmentInfoOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoOutput() GoogleCloudRetailV2alphaFulfillmentInfoOutput

func (GoogleCloudRetailV2alphaFulfillmentInfoOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaFulfillmentInfoOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaFulfillmentInfoOutput

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

type GoogleCloudRetailV2alphaFulfillmentInfoResponse 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 GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput added in v0.8.0

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput

type GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) ElementType added in v0.8.0

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

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) ToGoogleCloudRetailV2alphaFulfillmentInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput

func (GoogleCloudRetailV2alphaFulfillmentInfoResponseOutput) 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 GoogleCloudRetailV2alphaImage

type GoogleCloudRetailV2alphaImage 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 GoogleCloudRetailV2alphaImageArgs

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

func (GoogleCloudRetailV2alphaImageArgs) ToGoogleCloudRetailV2alphaImageOutput

func (i GoogleCloudRetailV2alphaImageArgs) ToGoogleCloudRetailV2alphaImageOutput() GoogleCloudRetailV2alphaImageOutput

func (GoogleCloudRetailV2alphaImageArgs) ToGoogleCloudRetailV2alphaImageOutputWithContext

func (i GoogleCloudRetailV2alphaImageArgs) ToGoogleCloudRetailV2alphaImageOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaImageOutput

type GoogleCloudRetailV2alphaImageArray

type GoogleCloudRetailV2alphaImageArray []GoogleCloudRetailV2alphaImageInput

func (GoogleCloudRetailV2alphaImageArray) ElementType

func (GoogleCloudRetailV2alphaImageArray) ToGoogleCloudRetailV2alphaImageArrayOutput

func (i GoogleCloudRetailV2alphaImageArray) ToGoogleCloudRetailV2alphaImageArrayOutput() GoogleCloudRetailV2alphaImageArrayOutput

func (GoogleCloudRetailV2alphaImageArray) ToGoogleCloudRetailV2alphaImageArrayOutputWithContext

func (i GoogleCloudRetailV2alphaImageArray) ToGoogleCloudRetailV2alphaImageArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaImageArrayOutput

type GoogleCloudRetailV2alphaImageArrayInput

type GoogleCloudRetailV2alphaImageArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaImageArrayOutput() GoogleCloudRetailV2alphaImageArrayOutput
	ToGoogleCloudRetailV2alphaImageArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaImageArrayOutput
}

GoogleCloudRetailV2alphaImageArrayInput is an input type that accepts GoogleCloudRetailV2alphaImageArray and GoogleCloudRetailV2alphaImageArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaImageArrayInput` via:

GoogleCloudRetailV2alphaImageArray{ GoogleCloudRetailV2alphaImageArgs{...} }

type GoogleCloudRetailV2alphaImageArrayOutput

type GoogleCloudRetailV2alphaImageArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaImageArrayOutput) ElementType

func (GoogleCloudRetailV2alphaImageArrayOutput) Index

func (GoogleCloudRetailV2alphaImageArrayOutput) ToGoogleCloudRetailV2alphaImageArrayOutput

func (o GoogleCloudRetailV2alphaImageArrayOutput) ToGoogleCloudRetailV2alphaImageArrayOutput() GoogleCloudRetailV2alphaImageArrayOutput

func (GoogleCloudRetailV2alphaImageArrayOutput) ToGoogleCloudRetailV2alphaImageArrayOutputWithContext

func (o GoogleCloudRetailV2alphaImageArrayOutput) ToGoogleCloudRetailV2alphaImageArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaImageArrayOutput

type GoogleCloudRetailV2alphaImageInput

type GoogleCloudRetailV2alphaImageInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaImageOutput() GoogleCloudRetailV2alphaImageOutput
	ToGoogleCloudRetailV2alphaImageOutputWithContext(context.Context) GoogleCloudRetailV2alphaImageOutput
}

GoogleCloudRetailV2alphaImageInput is an input type that accepts GoogleCloudRetailV2alphaImageArgs and GoogleCloudRetailV2alphaImageOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaImageInput` via:

GoogleCloudRetailV2alphaImageArgs{...}

type GoogleCloudRetailV2alphaImageOutput

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

func (GoogleCloudRetailV2alphaImageOutput) Height

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

func (GoogleCloudRetailV2alphaImageOutput) ToGoogleCloudRetailV2alphaImageOutput

func (o GoogleCloudRetailV2alphaImageOutput) ToGoogleCloudRetailV2alphaImageOutput() GoogleCloudRetailV2alphaImageOutput

func (GoogleCloudRetailV2alphaImageOutput) ToGoogleCloudRetailV2alphaImageOutputWithContext

func (o GoogleCloudRetailV2alphaImageOutput) ToGoogleCloudRetailV2alphaImageOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaImageOutput

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

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

type GoogleCloudRetailV2alphaImageResponse

type GoogleCloudRetailV2alphaImageResponse 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 GoogleCloudRetailV2alphaImageResponseArrayOutput

type GoogleCloudRetailV2alphaImageResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaImageResponseArrayOutput) ElementType

func (GoogleCloudRetailV2alphaImageResponseArrayOutput) Index

func (GoogleCloudRetailV2alphaImageResponseArrayOutput) ToGoogleCloudRetailV2alphaImageResponseArrayOutput

func (o GoogleCloudRetailV2alphaImageResponseArrayOutput) ToGoogleCloudRetailV2alphaImageResponseArrayOutput() GoogleCloudRetailV2alphaImageResponseArrayOutput

func (GoogleCloudRetailV2alphaImageResponseArrayOutput) ToGoogleCloudRetailV2alphaImageResponseArrayOutputWithContext

func (o GoogleCloudRetailV2alphaImageResponseArrayOutput) ToGoogleCloudRetailV2alphaImageResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaImageResponseArrayOutput

type GoogleCloudRetailV2alphaImageResponseOutput

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

func (GoogleCloudRetailV2alphaImageResponseOutput) Height

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

func (GoogleCloudRetailV2alphaImageResponseOutput) ToGoogleCloudRetailV2alphaImageResponseOutput

func (o GoogleCloudRetailV2alphaImageResponseOutput) ToGoogleCloudRetailV2alphaImageResponseOutput() GoogleCloudRetailV2alphaImageResponseOutput

func (GoogleCloudRetailV2alphaImageResponseOutput) ToGoogleCloudRetailV2alphaImageResponseOutputWithContext

func (o GoogleCloudRetailV2alphaImageResponseOutput) ToGoogleCloudRetailV2alphaImageResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaImageResponseOutput

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

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

type GoogleCloudRetailV2alphaInterval added in v0.12.0

type GoogleCloudRetailV2alphaInterval 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 GoogleCloudRetailV2alphaIntervalArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaIntervalArgs) ToGoogleCloudRetailV2alphaIntervalOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaIntervalArgs) ToGoogleCloudRetailV2alphaIntervalOutput() GoogleCloudRetailV2alphaIntervalOutput

func (GoogleCloudRetailV2alphaIntervalArgs) ToGoogleCloudRetailV2alphaIntervalOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaIntervalArgs) ToGoogleCloudRetailV2alphaIntervalOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaIntervalOutput

type GoogleCloudRetailV2alphaIntervalArray added in v0.12.0

type GoogleCloudRetailV2alphaIntervalArray []GoogleCloudRetailV2alphaIntervalInput

func (GoogleCloudRetailV2alphaIntervalArray) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaIntervalArray) ToGoogleCloudRetailV2alphaIntervalArrayOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaIntervalArray) ToGoogleCloudRetailV2alphaIntervalArrayOutput() GoogleCloudRetailV2alphaIntervalArrayOutput

func (GoogleCloudRetailV2alphaIntervalArray) ToGoogleCloudRetailV2alphaIntervalArrayOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaIntervalArray) ToGoogleCloudRetailV2alphaIntervalArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaIntervalArrayOutput

type GoogleCloudRetailV2alphaIntervalArrayInput added in v0.12.0

type GoogleCloudRetailV2alphaIntervalArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaIntervalArrayOutput() GoogleCloudRetailV2alphaIntervalArrayOutput
	ToGoogleCloudRetailV2alphaIntervalArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaIntervalArrayOutput
}

GoogleCloudRetailV2alphaIntervalArrayInput is an input type that accepts GoogleCloudRetailV2alphaIntervalArray and GoogleCloudRetailV2alphaIntervalArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaIntervalArrayInput` via:

GoogleCloudRetailV2alphaIntervalArray{ GoogleCloudRetailV2alphaIntervalArgs{...} }

type GoogleCloudRetailV2alphaIntervalArrayOutput added in v0.12.0

type GoogleCloudRetailV2alphaIntervalArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaIntervalArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaIntervalArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2alphaIntervalArrayOutput) ToGoogleCloudRetailV2alphaIntervalArrayOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaIntervalArrayOutput) ToGoogleCloudRetailV2alphaIntervalArrayOutput() GoogleCloudRetailV2alphaIntervalArrayOutput

func (GoogleCloudRetailV2alphaIntervalArrayOutput) ToGoogleCloudRetailV2alphaIntervalArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaIntervalArrayOutput) ToGoogleCloudRetailV2alphaIntervalArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaIntervalArrayOutput

type GoogleCloudRetailV2alphaIntervalInput added in v0.12.0

type GoogleCloudRetailV2alphaIntervalInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaIntervalOutput() GoogleCloudRetailV2alphaIntervalOutput
	ToGoogleCloudRetailV2alphaIntervalOutputWithContext(context.Context) GoogleCloudRetailV2alphaIntervalOutput
}

GoogleCloudRetailV2alphaIntervalInput is an input type that accepts GoogleCloudRetailV2alphaIntervalArgs and GoogleCloudRetailV2alphaIntervalOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaIntervalInput` via:

GoogleCloudRetailV2alphaIntervalArgs{...}

type GoogleCloudRetailV2alphaIntervalOutput added in v0.12.0

type GoogleCloudRetailV2alphaIntervalOutput struct{ *pulumi.OutputState }

A floating point interval.

func (GoogleCloudRetailV2alphaIntervalOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaIntervalOutput) ExclusiveMaximum added in v0.12.0

Exclusive upper bound.

func (GoogleCloudRetailV2alphaIntervalOutput) ExclusiveMinimum added in v0.12.0

Exclusive lower bound.

func (GoogleCloudRetailV2alphaIntervalOutput) Maximum added in v0.12.0

Inclusive upper bound.

func (GoogleCloudRetailV2alphaIntervalOutput) Minimum added in v0.12.0

Inclusive lower bound.

func (GoogleCloudRetailV2alphaIntervalOutput) ToGoogleCloudRetailV2alphaIntervalOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaIntervalOutput) ToGoogleCloudRetailV2alphaIntervalOutput() GoogleCloudRetailV2alphaIntervalOutput

func (GoogleCloudRetailV2alphaIntervalOutput) ToGoogleCloudRetailV2alphaIntervalOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaIntervalOutput) ToGoogleCloudRetailV2alphaIntervalOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaIntervalOutput

type GoogleCloudRetailV2alphaIntervalResponse added in v0.8.0

type GoogleCloudRetailV2alphaIntervalResponse 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 GoogleCloudRetailV2alphaIntervalResponseArrayOutput added in v0.12.0

type GoogleCloudRetailV2alphaIntervalResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaIntervalResponseArrayOutput) Index added in v0.12.0

func (GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ToGoogleCloudRetailV2alphaIntervalResponseArrayOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ToGoogleCloudRetailV2alphaIntervalResponseArrayOutput() GoogleCloudRetailV2alphaIntervalResponseArrayOutput

func (GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ToGoogleCloudRetailV2alphaIntervalResponseArrayOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaIntervalResponseArrayOutput) ToGoogleCloudRetailV2alphaIntervalResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaIntervalResponseArrayOutput

type GoogleCloudRetailV2alphaIntervalResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaIntervalResponseOutput struct{ *pulumi.OutputState }

A floating point interval.

func (GoogleCloudRetailV2alphaIntervalResponseOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaIntervalResponseOutput) ExclusiveMaximum added in v0.8.0

Exclusive upper bound.

func (GoogleCloudRetailV2alphaIntervalResponseOutput) ExclusiveMinimum added in v0.8.0

Exclusive lower bound.

func (GoogleCloudRetailV2alphaIntervalResponseOutput) Maximum added in v0.8.0

Inclusive upper bound.

func (GoogleCloudRetailV2alphaIntervalResponseOutput) Minimum added in v0.8.0

Inclusive lower bound.

func (GoogleCloudRetailV2alphaIntervalResponseOutput) ToGoogleCloudRetailV2alphaIntervalResponseOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaIntervalResponseOutput) ToGoogleCloudRetailV2alphaIntervalResponseOutput() GoogleCloudRetailV2alphaIntervalResponseOutput

func (GoogleCloudRetailV2alphaIntervalResponseOutput) ToGoogleCloudRetailV2alphaIntervalResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaIntervalResponseOutput) ToGoogleCloudRetailV2alphaIntervalResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaIntervalResponseOutput

type GoogleCloudRetailV2alphaLocalInventoryResponse added in v0.25.0

type GoogleCloudRetailV2alphaLocalInventoryResponse 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 GoogleCloudRetailV2alphaPriceInfoResponse `pulumi:"priceInfo"`
}

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

type GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput added in v0.25.0

type GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) Index added in v0.25.0

func (GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput added in v0.25.0

func (GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2alphaLocalInventoryResponseArrayOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput) ToGoogleCloudRetailV2alphaLocalInventoryResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput

type GoogleCloudRetailV2alphaLocalInventoryResponseOutput added in v0.25.0

type GoogleCloudRetailV2alphaLocalInventoryResponseOutput struct{ *pulumi.OutputState }

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

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

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

The place ID for the current set of inventory information.

func (GoogleCloudRetailV2alphaLocalInventoryResponseOutput) PriceInfo added in v0.25.0

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

func (GoogleCloudRetailV2alphaLocalInventoryResponseOutput) ToGoogleCloudRetailV2alphaLocalInventoryResponseOutput added in v0.25.0

func (GoogleCloudRetailV2alphaLocalInventoryResponseOutput) ToGoogleCloudRetailV2alphaLocalInventoryResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaLocalInventoryResponseOutput) ToGoogleCloudRetailV2alphaLocalInventoryResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaLocalInventoryResponseOutput

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig added in v0.31.1

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

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

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs 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 GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput `pulumi:"contextProductsType"`
}

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

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType added in v0.31.1

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

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput
	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput
}

GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput is an input type that accepts GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeArgs and GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeInput` via:

GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeArgs{...}

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypeOutput) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput
	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput
}

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToStringPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigContextProductsTypePtrOutput) ToStringPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigInput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput
	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput
}

GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigInput is an input type that accepts GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs and GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigInput` via:

GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs{...}

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput struct{ *pulumi.OutputState }

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

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

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutputWithContext added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput() GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput
	ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput
}

GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput is an input type that accepts GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs, GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtr and GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrInput` via:

        GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigPtrOutputWithContext added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponse added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponse 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 GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput struct{ *pulumi.OutputState }

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

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

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutput) ToGoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfigResponseOutputWithContext added in v0.31.1

type GoogleCloudRetailV2alphaModelModelFeaturesConfig added in v0.31.1

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

Additional model features config.

type GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs added in v0.31.1

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

Additional model features config.

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutput added in v0.31.1

func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutput() GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput added in v0.31.1

func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (i GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2alphaModelModelFeaturesConfigInput added in v0.31.1

type GoogleCloudRetailV2alphaModelModelFeaturesConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutput() GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput
	ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput
}

GoogleCloudRetailV2alphaModelModelFeaturesConfigInput is an input type that accepts GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs and GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelModelFeaturesConfigInput` via:

GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs{...}

type GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput struct{ *pulumi.OutputState }

Additional model features config.

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput added in v0.31.1

func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrInput added in v0.31.1

type GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput() GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput
	ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput
}

GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrInput is an input type that accepts GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs, GoogleCloudRetailV2alphaModelModelFeaturesConfigPtr and GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrInput` via:

        GoogleCloudRetailV2alphaModelModelFeaturesConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) Elem added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrOutput

type GoogleCloudRetailV2alphaModelModelFeaturesConfigResponse added in v0.31.1

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

Additional model features config.

type GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput added in v0.31.1

type GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput struct{ *pulumi.OutputState }

Additional model features config.

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) ElementType added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) FrequentlyBoughtTogetherConfig added in v0.31.1

Additional configs for frequently-bought-together models.

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput added in v0.31.1

func (GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutputWithContext added in v0.31.1

func (o GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput) ToGoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfig added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfig struct {
	// The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.
	PageOptimizationEventType string `pulumi:"pageOptimizationEventType"`
	// A list of panel configurations. Limit = 5.
	Panels []GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel `pulumi:"panels"`
	// Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.
	Restriction *GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction `pulumi:"restriction"`
}

The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.

type GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs struct {
	// The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.
	PageOptimizationEventType pulumi.StringInput `pulumi:"pageOptimizationEventType"`
	// A list of panel configurations. Limit = 5.
	Panels GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput `pulumi:"panels"`
	// Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.
	Restriction GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrInput `pulumi:"restriction"`
}

The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutputWithContext added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate struct {
	// This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.
	ServingConfigId *string `pulumi:"servingConfigId"`
}

A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs struct {
	// This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.
	ServingConfigId pulumi.StringPtrInput `pulumi:"servingConfigId"`
}

A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutputWithContext added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray []GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateInput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutputWithContext added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray and GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput` via:

GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArray{ GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs{...} }

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs and GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateInput` via:

GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArgs{...}

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput struct{ *pulumi.OutputState }

A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ServingConfigId added in v0.29.0

This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse struct {
	// This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.
	ServingConfigId string `pulumi:"servingConfigId"`
}

A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseArrayOutputWithContext added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput struct{ *pulumi.OutputState }

A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput) ServingConfigId added in v0.29.0

This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponseOutputWithContext added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs and GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigInput` via:

GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs{...}

type GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput struct{ *pulumi.OutputState }

The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) PageOptimizationEventType added in v0.29.0

The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) Panels added in v0.29.0

A list of panel configurations. Limit = 5.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) Restriction added in v0.29.0

Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel struct {
	// The candidates to consider on the panel.
	Candidates []GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate `pulumi:"candidates"`
	// The default candidate. If the model fails at serving time, we fall back to the default.
	DefaultCandidate GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate `pulumi:"defaultCandidate"`
	// Optional. The name to display for the panel.
	DisplayName *string `pulumi:"displayName"`
}

An individual panel with a list of ServingConfigs to consider for it.

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs struct {
	// The candidates to consider on the panel.
	Candidates GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateArrayInput `pulumi:"candidates"`
	// The default candidate. If the model fails at serving time, we fall back to the default.
	DefaultCandidate GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateInput `pulumi:"defaultCandidate"`
	// Optional. The name to display for the panel.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
}

An individual panel with a list of ServingConfigs to consider for it.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutputWithContext added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray []GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelInput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutputWithContext added in v0.29.0

func (i GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray and GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayInput` via:

GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArray{ GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs{...} }

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArrayOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs and GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelInput` via:

GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelArgs{...}

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput struct{ *pulumi.OutputState }

An individual panel with a list of ServingConfigs to consider for it.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) Candidates added in v0.29.0

The candidates to consider on the panel.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) DefaultCandidate added in v0.29.0

The default candidate. If the model fails at serving time, we fall back to the default.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) DisplayName added in v0.29.0

Optional. The name to display for the panel.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse struct {
	// The candidates to consider on the panel.
	Candidates []GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse `pulumi:"candidates"`
	// The default candidate. If the model fails at serving time, we fall back to the default.
	DefaultCandidate GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidateResponse `pulumi:"defaultCandidate"`
	// Optional. The name to display for the panel.
	DisplayName string `pulumi:"displayName"`
}

An individual panel with a list of ServingConfigs to consider for it.

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseArrayOutputWithContext added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput struct{ *pulumi.OutputState }

An individual panel with a list of ServingConfigs to consider for it.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) Candidates added in v0.29.0

The candidates to consider on the panel.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) DefaultCandidate added in v0.29.0

The default candidate. If the model fails at serving time, we fall back to the default.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) DisplayName added in v0.29.0

Optional. The name to display for the panel.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponseOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs, GoogleCloudRetailV2alphaModelPageOptimizationConfigPtr and GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrInput` via:

        GoogleCloudRetailV2alphaModelPageOptimizationConfigArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) Elem added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) PageOptimizationEventType added in v0.29.0

The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) Panels added in v0.29.0

A list of panel configurations. Limit = 5.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) Restriction added in v0.29.0

Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigResponse added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigResponse struct {
	// The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.
	PageOptimizationEventType string `pulumi:"pageOptimizationEventType"`
	// A list of panel configurations. Limit = 5.
	Panels []GoogleCloudRetailV2alphaModelPageOptimizationConfigPanelResponse `pulumi:"panels"`
	// Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.
	Restriction string `pulumi:"restriction"`
}

The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.

type GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput struct{ *pulumi.OutputState }

The PageOptimizationConfig for model training. This determines how many panels to optimize for, and which serving configs to consider for each panel. The purpose of this model is to optimize which ServingConfig to show on which panels in way that optimizes the visitors shopping journey.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) PageOptimizationEventType added in v0.29.0

The type of UserEvent this page optimization is shown for. Each page has an associated event type - this will be the corresponding event type for the page that the page optimization model is used on. Supported types: * `add-to-cart`: Products being added to cart. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed * `category-page-view`: Homepage viewed * `shopping-cart-page-view`: User viewing a shopping cart. `home-page-view` only allows models with type `recommended-for-you`. All other page_optimization_event_type allow all Model.types.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) Panels added in v0.29.0

A list of panel configurations. Limit = 5.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) Restriction added in v0.29.0

Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction string

Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`.

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutputWithContext added in v0.29.0

func (e GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext added in v0.29.0

func (e GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToStringOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToStringOutputWithContext added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToStringPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestriction) ToStringPtrOutputWithContext added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput
}

GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionInput is an input type that accepts GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionArgs and GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionInput` via:

GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionArgs{...}

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToStringOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToStringOutputWithContext added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToStringPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionOutput) ToStringPtrOutputWithContext added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrInput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput() GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput
	ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput
}

func GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtr added in v0.29.0

func GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtr(v string) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrInput

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) Elem added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ToGoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ToStringPtrOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelPageOptimizationConfigRestrictionPtrOutput) ToStringPtrOutputWithContext added in v0.29.0

type GoogleCloudRetailV2alphaModelServingConfigListResponse added in v0.29.0

type GoogleCloudRetailV2alphaModelServingConfigListResponse 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 GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) Index added in v0.29.0

func (GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput) ToGoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput

type GoogleCloudRetailV2alphaModelServingConfigListResponseOutput added in v0.29.0

type GoogleCloudRetailV2alphaModelServingConfigListResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ElementType added in v0.29.0

func (GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ServingConfigIds added in v0.29.0

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

func (GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ToGoogleCloudRetailV2alphaModelServingConfigListResponseOutput added in v0.29.0

func (GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ToGoogleCloudRetailV2alphaModelServingConfigListResponseOutputWithContext added in v0.29.0

func (o GoogleCloudRetailV2alphaModelServingConfigListResponseOutput) ToGoogleCloudRetailV2alphaModelServingConfigListResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaModelServingConfigListResponseOutput

type GoogleCloudRetailV2alphaPriceInfo

type GoogleCloudRetailV2alphaPriceInfo 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 GoogleCloudRetailV2alphaPriceInfoArgs

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

func (GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoOutput

func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoOutput() GoogleCloudRetailV2alphaPriceInfoOutput

func (GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoOutputWithContext

func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoOutput

func (GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput

func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput() GoogleCloudRetailV2alphaPriceInfoPtrOutput

func (GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext

func (i GoogleCloudRetailV2alphaPriceInfoArgs) ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoPtrOutput

type GoogleCloudRetailV2alphaPriceInfoInput

type GoogleCloudRetailV2alphaPriceInfoInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaPriceInfoOutput() GoogleCloudRetailV2alphaPriceInfoOutput
	ToGoogleCloudRetailV2alphaPriceInfoOutputWithContext(context.Context) GoogleCloudRetailV2alphaPriceInfoOutput
}

GoogleCloudRetailV2alphaPriceInfoInput is an input type that accepts GoogleCloudRetailV2alphaPriceInfoArgs and GoogleCloudRetailV2alphaPriceInfoOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaPriceInfoInput` via:

GoogleCloudRetailV2alphaPriceInfoArgs{...}

type GoogleCloudRetailV2alphaPriceInfoOutput

type GoogleCloudRetailV2alphaPriceInfoOutput struct{ *pulumi.OutputState }

The price information of a Product.

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

func (GoogleCloudRetailV2alphaPriceInfoOutput) 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 (GoogleCloudRetailV2alphaPriceInfoOutput) 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 (GoogleCloudRetailV2alphaPriceInfoOutput) 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 (GoogleCloudRetailV2alphaPriceInfoOutput) 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 (GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoOutput

func (o GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoOutput() GoogleCloudRetailV2alphaPriceInfoOutput

func (GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoOutputWithContext

func (o GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoOutput

func (GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput

func (o GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput() GoogleCloudRetailV2alphaPriceInfoPtrOutput

func (GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext

func (o GoogleCloudRetailV2alphaPriceInfoOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoPtrOutput

type GoogleCloudRetailV2alphaPriceInfoPriceRangeResponse added in v0.8.0

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

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

type GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput) ElementType added in v0.8.0

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

func (GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput) ToGoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoPriceRangeResponseOutput

type GoogleCloudRetailV2alphaPriceInfoPtrInput

type GoogleCloudRetailV2alphaPriceInfoPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaPriceInfoPtrOutput() GoogleCloudRetailV2alphaPriceInfoPtrOutput
	ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaPriceInfoPtrOutput
}

GoogleCloudRetailV2alphaPriceInfoPtrInput is an input type that accepts GoogleCloudRetailV2alphaPriceInfoArgs, GoogleCloudRetailV2alphaPriceInfoPtr and GoogleCloudRetailV2alphaPriceInfoPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaPriceInfoPtrInput` via:

        GoogleCloudRetailV2alphaPriceInfoArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaPriceInfoPtrOutput

type GoogleCloudRetailV2alphaPriceInfoPtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaPriceInfoPtrOutput) ElementType

func (GoogleCloudRetailV2alphaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2alphaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2alphaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2alphaPriceInfoPtrOutput) 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 (GoogleCloudRetailV2alphaPriceInfoPtrOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput

func (o GoogleCloudRetailV2alphaPriceInfoPtrOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutput() GoogleCloudRetailV2alphaPriceInfoPtrOutput

func (GoogleCloudRetailV2alphaPriceInfoPtrOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext

func (o GoogleCloudRetailV2alphaPriceInfoPtrOutput) ToGoogleCloudRetailV2alphaPriceInfoPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoPtrOutput

type GoogleCloudRetailV2alphaPriceInfoResponse

type GoogleCloudRetailV2alphaPriceInfoResponse 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 GoogleCloudRetailV2alphaPriceInfoPriceRangeResponse `pulumi:"priceRange"`
}

The price information of a Product.

type GoogleCloudRetailV2alphaPriceInfoResponseOutput

type GoogleCloudRetailV2alphaPriceInfoResponseOutput struct{ *pulumi.OutputState }

The price information of a Product.

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

func (GoogleCloudRetailV2alphaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2alphaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2alphaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2alphaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2alphaPriceInfoResponseOutput) 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 (GoogleCloudRetailV2alphaPriceInfoResponseOutput) ToGoogleCloudRetailV2alphaPriceInfoResponseOutput

func (o GoogleCloudRetailV2alphaPriceInfoResponseOutput) ToGoogleCloudRetailV2alphaPriceInfoResponseOutput() GoogleCloudRetailV2alphaPriceInfoResponseOutput

func (GoogleCloudRetailV2alphaPriceInfoResponseOutput) ToGoogleCloudRetailV2alphaPriceInfoResponseOutputWithContext

func (o GoogleCloudRetailV2alphaPriceInfoResponseOutput) ToGoogleCloudRetailV2alphaPriceInfoResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPriceInfoResponseOutput

type GoogleCloudRetailV2alphaProductResponse added in v0.8.0

type GoogleCloudRetailV2alphaProductResponse 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 GoogleCloudRetailV2alphaAudienceResponse `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 GoogleCloudRetailV2alphaColorInfoResponse `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 []GoogleCloudRetailV2alphaFulfillmentInfoResponse `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 []GoogleCloudRetailV2alphaImageResponse `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 []GoogleCloudRetailV2alphaLocalInventoryResponse `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 GoogleCloudRetailV2alphaPriceInfoResponse `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 []GoogleCloudRetailV2alphaPromotionResponse `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 GoogleCloudRetailV2alphaRatingResponse `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 []GoogleCloudRetailV2alphaProductResponse `pulumi:"variants"`
}

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

type GoogleCloudRetailV2alphaProductResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2alphaProductResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaProductResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaProductResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2alphaProductResponseArrayOutput) ToGoogleCloudRetailV2alphaProductResponseArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaProductResponseArrayOutput) ToGoogleCloudRetailV2alphaProductResponseArrayOutput() GoogleCloudRetailV2alphaProductResponseArrayOutput

func (GoogleCloudRetailV2alphaProductResponseArrayOutput) ToGoogleCloudRetailV2alphaProductResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaProductResponseArrayOutput) ToGoogleCloudRetailV2alphaProductResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaProductResponseArrayOutput

type GoogleCloudRetailV2alphaProductResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaProductResponseOutput struct{ *pulumi.OutputState }

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

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

The available quantity of the item.

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

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

The rating of this product.

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

func (o GoogleCloudRetailV2alphaProductResponseOutput) ToGoogleCloudRetailV2alphaProductResponseOutput() GoogleCloudRetailV2alphaProductResponseOutput

func (GoogleCloudRetailV2alphaProductResponseOutput) ToGoogleCloudRetailV2alphaProductResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaProductResponseOutput) ToGoogleCloudRetailV2alphaProductResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaProductResponseOutput

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

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

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

type GoogleCloudRetailV2alphaPromotion 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 GoogleCloudRetailV2alphaPromotionArgs added in v0.8.0

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

func (GoogleCloudRetailV2alphaPromotionArgs) ToGoogleCloudRetailV2alphaPromotionOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaPromotionArgs) ToGoogleCloudRetailV2alphaPromotionOutput() GoogleCloudRetailV2alphaPromotionOutput

func (GoogleCloudRetailV2alphaPromotionArgs) ToGoogleCloudRetailV2alphaPromotionOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaPromotionArgs) ToGoogleCloudRetailV2alphaPromotionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPromotionOutput

type GoogleCloudRetailV2alphaPromotionArray added in v0.8.0

type GoogleCloudRetailV2alphaPromotionArray []GoogleCloudRetailV2alphaPromotionInput

func (GoogleCloudRetailV2alphaPromotionArray) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaPromotionArray) ToGoogleCloudRetailV2alphaPromotionArrayOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaPromotionArray) ToGoogleCloudRetailV2alphaPromotionArrayOutput() GoogleCloudRetailV2alphaPromotionArrayOutput

func (GoogleCloudRetailV2alphaPromotionArray) ToGoogleCloudRetailV2alphaPromotionArrayOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaPromotionArray) ToGoogleCloudRetailV2alphaPromotionArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPromotionArrayOutput

type GoogleCloudRetailV2alphaPromotionArrayInput added in v0.8.0

type GoogleCloudRetailV2alphaPromotionArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaPromotionArrayOutput() GoogleCloudRetailV2alphaPromotionArrayOutput
	ToGoogleCloudRetailV2alphaPromotionArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaPromotionArrayOutput
}

GoogleCloudRetailV2alphaPromotionArrayInput is an input type that accepts GoogleCloudRetailV2alphaPromotionArray and GoogleCloudRetailV2alphaPromotionArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaPromotionArrayInput` via:

GoogleCloudRetailV2alphaPromotionArray{ GoogleCloudRetailV2alphaPromotionArgs{...} }

type GoogleCloudRetailV2alphaPromotionArrayOutput added in v0.8.0

type GoogleCloudRetailV2alphaPromotionArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaPromotionArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaPromotionArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2alphaPromotionArrayOutput) ToGoogleCloudRetailV2alphaPromotionArrayOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaPromotionArrayOutput) ToGoogleCloudRetailV2alphaPromotionArrayOutput() GoogleCloudRetailV2alphaPromotionArrayOutput

func (GoogleCloudRetailV2alphaPromotionArrayOutput) ToGoogleCloudRetailV2alphaPromotionArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaPromotionArrayOutput) ToGoogleCloudRetailV2alphaPromotionArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPromotionArrayOutput

type GoogleCloudRetailV2alphaPromotionInput added in v0.8.0

type GoogleCloudRetailV2alphaPromotionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaPromotionOutput() GoogleCloudRetailV2alphaPromotionOutput
	ToGoogleCloudRetailV2alphaPromotionOutputWithContext(context.Context) GoogleCloudRetailV2alphaPromotionOutput
}

GoogleCloudRetailV2alphaPromotionInput is an input type that accepts GoogleCloudRetailV2alphaPromotionArgs and GoogleCloudRetailV2alphaPromotionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaPromotionInput` via:

GoogleCloudRetailV2alphaPromotionArgs{...}

type GoogleCloudRetailV2alphaPromotionOutput added in v0.8.0

type GoogleCloudRetailV2alphaPromotionOutput struct{ *pulumi.OutputState }

Promotion specification.

func (GoogleCloudRetailV2alphaPromotionOutput) ElementType added in v0.8.0

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

func (o GoogleCloudRetailV2alphaPromotionOutput) ToGoogleCloudRetailV2alphaPromotionOutput() GoogleCloudRetailV2alphaPromotionOutput

func (GoogleCloudRetailV2alphaPromotionOutput) ToGoogleCloudRetailV2alphaPromotionOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaPromotionOutput) ToGoogleCloudRetailV2alphaPromotionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPromotionOutput

type GoogleCloudRetailV2alphaPromotionResponse added in v0.8.0

type GoogleCloudRetailV2alphaPromotionResponse 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 GoogleCloudRetailV2alphaPromotionResponseArrayOutput added in v0.8.0

type GoogleCloudRetailV2alphaPromotionResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaPromotionResponseArrayOutput) ElementType added in v0.8.0

func (GoogleCloudRetailV2alphaPromotionResponseArrayOutput) Index added in v0.8.0

func (GoogleCloudRetailV2alphaPromotionResponseArrayOutput) ToGoogleCloudRetailV2alphaPromotionResponseArrayOutput added in v0.8.0

func (GoogleCloudRetailV2alphaPromotionResponseArrayOutput) ToGoogleCloudRetailV2alphaPromotionResponseArrayOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaPromotionResponseArrayOutput) ToGoogleCloudRetailV2alphaPromotionResponseArrayOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPromotionResponseArrayOutput

type GoogleCloudRetailV2alphaPromotionResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaPromotionResponseOutput struct{ *pulumi.OutputState }

Promotion specification.

func (GoogleCloudRetailV2alphaPromotionResponseOutput) ElementType added in v0.8.0

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

func (o GoogleCloudRetailV2alphaPromotionResponseOutput) ToGoogleCloudRetailV2alphaPromotionResponseOutput() GoogleCloudRetailV2alphaPromotionResponseOutput

func (GoogleCloudRetailV2alphaPromotionResponseOutput) ToGoogleCloudRetailV2alphaPromotionResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaPromotionResponseOutput) ToGoogleCloudRetailV2alphaPromotionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaPromotionResponseOutput

type GoogleCloudRetailV2alphaRating added in v0.8.0

type GoogleCloudRetailV2alphaRating 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 GoogleCloudRetailV2alphaRatingArgs added in v0.8.0

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

func (GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingOutput() GoogleCloudRetailV2alphaRatingOutput

func (GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRatingOutput

func (GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingPtrOutput added in v0.8.0

func (i GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingPtrOutput() GoogleCloudRetailV2alphaRatingPtrOutput

func (GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext added in v0.8.0

func (i GoogleCloudRetailV2alphaRatingArgs) ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRatingPtrOutput

type GoogleCloudRetailV2alphaRatingInput added in v0.8.0

type GoogleCloudRetailV2alphaRatingInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRatingOutput() GoogleCloudRetailV2alphaRatingOutput
	ToGoogleCloudRetailV2alphaRatingOutputWithContext(context.Context) GoogleCloudRetailV2alphaRatingOutput
}

GoogleCloudRetailV2alphaRatingInput is an input type that accepts GoogleCloudRetailV2alphaRatingArgs and GoogleCloudRetailV2alphaRatingOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRatingInput` via:

GoogleCloudRetailV2alphaRatingArgs{...}

type GoogleCloudRetailV2alphaRatingOutput added in v0.8.0

type GoogleCloudRetailV2alphaRatingOutput struct{ *pulumi.OutputState }

The rating of a Product.

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

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

func (o GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingOutput() GoogleCloudRetailV2alphaRatingOutput

func (GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRatingOutput

func (GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingPtrOutput added in v0.8.0

func (o GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingPtrOutput() GoogleCloudRetailV2alphaRatingPtrOutput

func (GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaRatingOutput) ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRatingPtrOutput

type GoogleCloudRetailV2alphaRatingPtrInput added in v0.8.0

type GoogleCloudRetailV2alphaRatingPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRatingPtrOutput() GoogleCloudRetailV2alphaRatingPtrOutput
	ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRatingPtrOutput
}

GoogleCloudRetailV2alphaRatingPtrInput is an input type that accepts GoogleCloudRetailV2alphaRatingArgs, GoogleCloudRetailV2alphaRatingPtr and GoogleCloudRetailV2alphaRatingPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRatingPtrInput` via:

        GoogleCloudRetailV2alphaRatingArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRatingPtrOutput added in v0.8.0

type GoogleCloudRetailV2alphaRatingPtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRatingPtrOutput) ElementType added in v0.8.0

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

func (o GoogleCloudRetailV2alphaRatingPtrOutput) ToGoogleCloudRetailV2alphaRatingPtrOutput() GoogleCloudRetailV2alphaRatingPtrOutput

func (GoogleCloudRetailV2alphaRatingPtrOutput) ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaRatingPtrOutput) ToGoogleCloudRetailV2alphaRatingPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRatingPtrOutput

type GoogleCloudRetailV2alphaRatingResponse added in v0.8.0

type GoogleCloudRetailV2alphaRatingResponse 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 GoogleCloudRetailV2alphaRatingResponseOutput added in v0.8.0

type GoogleCloudRetailV2alphaRatingResponseOutput struct{ *pulumi.OutputState }

The rating of a Product.

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

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

func (o GoogleCloudRetailV2alphaRatingResponseOutput) ToGoogleCloudRetailV2alphaRatingResponseOutput() GoogleCloudRetailV2alphaRatingResponseOutput

func (GoogleCloudRetailV2alphaRatingResponseOutput) ToGoogleCloudRetailV2alphaRatingResponseOutputWithContext added in v0.8.0

func (o GoogleCloudRetailV2alphaRatingResponseOutput) ToGoogleCloudRetailV2alphaRatingResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRatingResponseOutput

type GoogleCloudRetailV2alphaRule added in v0.12.0

type GoogleCloudRetailV2alphaRule struct {
	// A boost action.
	BoostAction *GoogleCloudRetailV2alphaRuleBoostAction `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2alphaCondition `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction *GoogleCloudRetailV2alphaRuleDoNotAssociateAction `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction *GoogleCloudRetailV2alphaRuleFilterAction `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction *GoogleCloudRetailV2alphaRuleForceReturnFacetAction `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction *GoogleCloudRetailV2alphaRuleIgnoreAction `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 *GoogleCloudRetailV2alphaRuleOnewaySynonymsAction `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction *GoogleCloudRetailV2alphaRuleRedirectAction `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction *GoogleCloudRetailV2alphaRuleRemoveFacetAction `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction *GoogleCloudRetailV2alphaRuleReplacementAction `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction *GoogleCloudRetailV2alphaRuleTwowaySynonymsAction `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 GoogleCloudRetailV2alphaRuleArgs added in v0.12.0

type GoogleCloudRetailV2alphaRuleArgs struct {
	// A boost action.
	BoostAction GoogleCloudRetailV2alphaRuleBoostActionPtrInput `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2alphaConditionInput `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrInput `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction GoogleCloudRetailV2alphaRuleFilterActionPtrInput `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrInput `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction GoogleCloudRetailV2alphaRuleIgnoreActionPtrInput `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 GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrInput `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction GoogleCloudRetailV2alphaRuleRedirectActionPtrInput `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrInput `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction GoogleCloudRetailV2alphaRuleReplacementActionPtrInput `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrInput `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 (GoogleCloudRetailV2alphaRuleArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRuleOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRuleOutput() GoogleCloudRetailV2alphaRuleOutput

func (GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRuleOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRuleOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOutput

func (GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRulePtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRulePtrOutput() GoogleCloudRetailV2alphaRulePtrOutput

func (GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRulePtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleArgs) ToGoogleCloudRetailV2alphaRulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRulePtrOutput

type GoogleCloudRetailV2alphaRuleBoostAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostAction 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 GoogleCloudRetailV2alphaRuleBoostActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionOutput() GoogleCloudRetailV2alphaRuleBoostActionOutput

func (GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleBoostActionOutput

func (GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput() GoogleCloudRetailV2alphaRuleBoostActionPtrOutput

func (GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleBoostActionArgs) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleBoostActionPtrOutput

type GoogleCloudRetailV2alphaRuleBoostActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleBoostActionOutput() GoogleCloudRetailV2alphaRuleBoostActionOutput
	ToGoogleCloudRetailV2alphaRuleBoostActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleBoostActionOutput
}

GoogleCloudRetailV2alphaRuleBoostActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleBoostActionArgs and GoogleCloudRetailV2alphaRuleBoostActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleBoostActionInput` via:

GoogleCloudRetailV2alphaRuleBoostActionArgs{...}

type GoogleCloudRetailV2alphaRuleBoostActionOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostActionOutput struct{ *pulumi.OutputState }

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

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

func (GoogleCloudRetailV2alphaRuleBoostActionOutput) 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 (GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionOutput() GoogleCloudRetailV2alphaRuleBoostActionOutput

func (GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleBoostActionOutput

func (GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput() GoogleCloudRetailV2alphaRuleBoostActionPtrOutput

func (GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleBoostActionPtrOutput

type GoogleCloudRetailV2alphaRuleBoostActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput() GoogleCloudRetailV2alphaRuleBoostActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleBoostActionPtrOutput
}

GoogleCloudRetailV2alphaRuleBoostActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleBoostActionArgs, GoogleCloudRetailV2alphaRuleBoostActionPtr and GoogleCloudRetailV2alphaRuleBoostActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleBoostActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleBoostActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleBoostActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostActionPtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) 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 (GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutput() GoogleCloudRetailV2alphaRuleBoostActionPtrOutput

func (GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionPtrOutput) ToGoogleCloudRetailV2alphaRuleBoostActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleBoostActionPtrOutput

type GoogleCloudRetailV2alphaRuleBoostActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostActionResponse 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 GoogleCloudRetailV2alphaRuleBoostActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleBoostActionResponseOutput struct{ *pulumi.OutputState }

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

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

func (GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) 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 (GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) ToGoogleCloudRetailV2alphaRuleBoostActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) ToGoogleCloudRetailV2alphaRuleBoostActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleBoostActionResponseOutput) ToGoogleCloudRetailV2alphaRuleBoostActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleBoostActionResponseOutput

type GoogleCloudRetailV2alphaRuleDoNotAssociateAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateAction 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 GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput() GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput() GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput
	ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput
}

GoogleCloudRetailV2alphaRuleDoNotAssociateActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs and GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleDoNotAssociateActionInput` via:

GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs{...}

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) DoNotAssociateTerms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ElementType added in v0.12.0

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

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput() GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput
}

GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs, GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtr and GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleDoNotAssociateActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) DoNotAssociateTerms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) ElementType added in v0.12.0

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

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionPtrOutput

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponse 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 GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) DoNotAssociateTerms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) ElementType added in v0.12.0

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

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput) ToGoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponseOutput

type GoogleCloudRetailV2alphaRuleFilterAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleFilterAction 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 GoogleCloudRetailV2alphaRuleFilterActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionOutput() GoogleCloudRetailV2alphaRuleFilterActionOutput

func (GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleFilterActionOutput

func (GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput() GoogleCloudRetailV2alphaRuleFilterActionPtrOutput

func (GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleFilterActionArgs) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleFilterActionPtrOutput

type GoogleCloudRetailV2alphaRuleFilterActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleFilterActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleFilterActionOutput() GoogleCloudRetailV2alphaRuleFilterActionOutput
	ToGoogleCloudRetailV2alphaRuleFilterActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleFilterActionOutput
}

GoogleCloudRetailV2alphaRuleFilterActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleFilterActionArgs and GoogleCloudRetailV2alphaRuleFilterActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleFilterActionInput` via:

GoogleCloudRetailV2alphaRuleFilterActionArgs{...}

type GoogleCloudRetailV2alphaRuleFilterActionOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleFilterActionOutput) 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 (GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionOutput() GoogleCloudRetailV2alphaRuleFilterActionOutput

func (GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleFilterActionOutput

func (GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput() GoogleCloudRetailV2alphaRuleFilterActionPtrOutput

func (GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleFilterActionPtrOutput

type GoogleCloudRetailV2alphaRuleFilterActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleFilterActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput() GoogleCloudRetailV2alphaRuleFilterActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleFilterActionPtrOutput
}

GoogleCloudRetailV2alphaRuleFilterActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleFilterActionArgs, GoogleCloudRetailV2alphaRuleFilterActionPtr and GoogleCloudRetailV2alphaRuleFilterActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleFilterActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleFilterActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleFilterActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleFilterActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) 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 (GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutput() GoogleCloudRetailV2alphaRuleFilterActionPtrOutput

func (GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionPtrOutput) ToGoogleCloudRetailV2alphaRuleFilterActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleFilterActionPtrOutput

type GoogleCloudRetailV2alphaRuleFilterActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleFilterActionResponse 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 GoogleCloudRetailV2alphaRuleFilterActionResponseOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) 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 (GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) ToGoogleCloudRetailV2alphaRuleFilterActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) ToGoogleCloudRetailV2alphaRuleFilterActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleFilterActionResponseOutput) ToGoogleCloudRetailV2alphaRuleFilterActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleFilterActionResponseOutput

type GoogleCloudRetailV2alphaRuleForceReturnFacetAction added in v0.32.0

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

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustment 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 GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArgs added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArgs) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray []GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentInput

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ElementType added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput() GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput
	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput
}

GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput is an input type that accepts GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray and GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayInput` via:

GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArray{ GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArgs{...} }

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) Index added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentInput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput() GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput
	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput
}

GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentInput is an input type that accepts GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArgs and GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentInput` via:

GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentArgs{...}

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput struct{ *pulumi.OutputState }

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

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

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentOutputWithContext added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponse added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponse 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 GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) Index added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseArrayOutputWithContext added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput struct{ *pulumi.OutputState }

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

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

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionFacetPositionAdjustmentResponseOutputWithContext added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionInput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput() GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput
	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput
}

GoogleCloudRetailV2alphaRuleForceReturnFacetActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs and GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleForceReturnFacetActionInput` via:

GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs{...}

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput added in v0.32.0

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

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleForceReturnFacetActionOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrInput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput() GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput
}

GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs, GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtr and GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleForceReturnFacetActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput added in v0.32.0

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput) Elem added in v0.32.0

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput) ElementType added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionPtrOutput

type GoogleCloudRetailV2alphaRuleForceReturnFacetActionResponse added in v0.32.0

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

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

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

func (GoogleCloudRetailV2alphaRuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionResponseOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleForceReturnFacetActionResponseOutput) ToGoogleCloudRetailV2alphaRuleForceReturnFacetActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleForceReturnFacetActionResponseOutput

type GoogleCloudRetailV2alphaRuleIgnoreAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreAction 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 GoogleCloudRetailV2alphaRuleIgnoreActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutput() GoogleCloudRetailV2alphaRuleIgnoreActionOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleIgnoreActionArgs) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput

type GoogleCloudRetailV2alphaRuleIgnoreActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleIgnoreActionOutput() GoogleCloudRetailV2alphaRuleIgnoreActionOutput
	ToGoogleCloudRetailV2alphaRuleIgnoreActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionOutput
}

GoogleCloudRetailV2alphaRuleIgnoreActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleIgnoreActionArgs and GoogleCloudRetailV2alphaRuleIgnoreActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleIgnoreActionInput` via:

GoogleCloudRetailV2alphaRuleIgnoreActionArgs{...}

type GoogleCloudRetailV2alphaRuleIgnoreActionOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreActionOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleIgnoreActionOutput) IgnoreTerms added in v0.12.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutput() GoogleCloudRetailV2alphaRuleIgnoreActionOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput

type GoogleCloudRetailV2alphaRuleIgnoreActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput
}

GoogleCloudRetailV2alphaRuleIgnoreActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleIgnoreActionArgs, GoogleCloudRetailV2alphaRuleIgnoreActionPtr and GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleIgnoreActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleIgnoreActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) IgnoreTerms added in v0.12.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput() GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput

func (GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionPtrOutput

type GoogleCloudRetailV2alphaRuleIgnoreActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreActionResponse 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 GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) IgnoreTerms added in v0.12.0

Terms to ignore in the search query.

func (GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput) ToGoogleCloudRetailV2alphaRuleIgnoreActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleIgnoreActionResponseOutput

type GoogleCloudRetailV2alphaRuleInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleOutput() GoogleCloudRetailV2alphaRuleOutput
	ToGoogleCloudRetailV2alphaRuleOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleOutput
}

GoogleCloudRetailV2alphaRuleInput is an input type that accepts GoogleCloudRetailV2alphaRuleArgs and GoogleCloudRetailV2alphaRuleOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleInput` via:

GoogleCloudRetailV2alphaRuleArgs{...}

type GoogleCloudRetailV2alphaRuleOnewaySynonymsAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleOnewaySynonymsAction 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 GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput
	ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput
}

GoogleCloudRetailV2alphaRuleOnewaySynonymsActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs and GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleOnewaySynonymsActionInput` via:

GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs{...}

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) OnewayTerms added in v0.12.0

Will be [deprecated = true] post migration;

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

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

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput
}

GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs, GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtr and GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleOnewaySynonymsActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) OnewayTerms added in v0.12.0

Will be [deprecated = true] post migration;

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

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

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionPtrOutput

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponse 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 GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) OnewayTerms added in v0.12.0

Will be [deprecated = true] post migration;

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

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

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput) ToGoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponseOutput

type GoogleCloudRetailV2alphaRuleOutput added in v0.12.0

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

A boost action.

func (GoogleCloudRetailV2alphaRuleOutput) Condition added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleOutput) DoNotAssociateAction added in v0.12.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2alphaRuleOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleOutput) FilterAction added in v0.12.0

Filters results.

func (GoogleCloudRetailV2alphaRuleOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2alphaRuleOutput) IgnoreAction added in v0.12.0

Ignores specific terms from query during search.

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

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2alphaRuleOutput) RemoveFacetAction added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleOutput) ReplacementAction added in v0.12.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRuleOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRuleOutput() GoogleCloudRetailV2alphaRuleOutput

func (GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRuleOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRuleOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleOutput

func (GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRulePtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRulePtrOutput() GoogleCloudRetailV2alphaRulePtrOutput

func (GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRulePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleOutput) ToGoogleCloudRetailV2alphaRulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRulePtrOutput

func (GoogleCloudRetailV2alphaRuleOutput) TwowaySynonymsAction added in v0.12.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2alphaRulePtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRulePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRulePtrOutput() GoogleCloudRetailV2alphaRulePtrOutput
	ToGoogleCloudRetailV2alphaRulePtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRulePtrOutput
}

GoogleCloudRetailV2alphaRulePtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleArgs, GoogleCloudRetailV2alphaRulePtr and GoogleCloudRetailV2alphaRulePtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRulePtrInput` via:

        GoogleCloudRetailV2alphaRuleArgs{...}

or:

        nil

func GoogleCloudRetailV2alphaRulePtr added in v0.12.0

type GoogleCloudRetailV2alphaRulePtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRulePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRulePtrOutput) BoostAction added in v0.12.0

A boost action.

func (GoogleCloudRetailV2alphaRulePtrOutput) Condition added in v0.12.0

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

func (GoogleCloudRetailV2alphaRulePtrOutput) DoNotAssociateAction added in v0.12.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2alphaRulePtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRulePtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRulePtrOutput) FilterAction added in v0.12.0

Filters results.

func (GoogleCloudRetailV2alphaRulePtrOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2alphaRulePtrOutput) IgnoreAction added in v0.12.0

Ignores specific terms from query during search.

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

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2alphaRulePtrOutput) RemoveFacetAction added in v0.32.0

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

func (GoogleCloudRetailV2alphaRulePtrOutput) ReplacementAction added in v0.12.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2alphaRulePtrOutput) ToGoogleCloudRetailV2alphaRulePtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRulePtrOutput) ToGoogleCloudRetailV2alphaRulePtrOutput() GoogleCloudRetailV2alphaRulePtrOutput

func (GoogleCloudRetailV2alphaRulePtrOutput) ToGoogleCloudRetailV2alphaRulePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRulePtrOutput) ToGoogleCloudRetailV2alphaRulePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRulePtrOutput

func (GoogleCloudRetailV2alphaRulePtrOutput) TwowaySynonymsAction added in v0.12.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2alphaRuleRedirectAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleRedirectAction 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 GoogleCloudRetailV2alphaRuleRedirectActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionOutput() GoogleCloudRetailV2alphaRuleRedirectActionOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRedirectActionOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput() GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleRedirectActionArgs) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput

type GoogleCloudRetailV2alphaRuleRedirectActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleRedirectActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleRedirectActionOutput() GoogleCloudRetailV2alphaRuleRedirectActionOutput
	ToGoogleCloudRetailV2alphaRuleRedirectActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleRedirectActionOutput
}

GoogleCloudRetailV2alphaRuleRedirectActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleRedirectActionArgs and GoogleCloudRetailV2alphaRuleRedirectActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleRedirectActionInput` via:

GoogleCloudRetailV2alphaRuleRedirectActionArgs{...}

type GoogleCloudRetailV2alphaRuleRedirectActionOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleRedirectActionOutput) RedirectUri added in v0.12.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionOutput() GoogleCloudRetailV2alphaRuleRedirectActionOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRedirectActionOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput() GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput

type GoogleCloudRetailV2alphaRuleRedirectActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleRedirectActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput() GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput
}

GoogleCloudRetailV2alphaRuleRedirectActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleRedirectActionArgs, GoogleCloudRetailV2alphaRuleRedirectActionPtr and GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleRedirectActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleRedirectActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) RedirectUri added in v0.12.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutput() GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput

func (GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRedirectActionPtrOutput

type GoogleCloudRetailV2alphaRuleRedirectActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleRedirectActionResponse 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 GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) RedirectUri added in v0.12.0

URL must have length equal or less than 2000 characters.

func (GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput) ToGoogleCloudRetailV2alphaRuleRedirectActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRedirectActionResponseOutput

type GoogleCloudRetailV2alphaRuleRemoveFacetAction added in v0.32.0

type GoogleCloudRetailV2alphaRuleRemoveFacetAction 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 GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutput added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutput() GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (i GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2alphaRuleRemoveFacetActionInput added in v0.32.0

type GoogleCloudRetailV2alphaRuleRemoveFacetActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutput() GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput
	ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput
}

GoogleCloudRetailV2alphaRuleRemoveFacetActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs and GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleRemoveFacetActionInput` via:

GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs{...}

type GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutput added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutput() GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleRemoveFacetActionOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrInput added in v0.32.0

type GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput() GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput
}

GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs, GoogleCloudRetailV2alphaRuleRemoveFacetActionPtr and GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleRemoveFacetActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput added in v0.32.0

type GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput struct{ *pulumi.OutputState }

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

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput) ElementType added in v0.32.0

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionPtrOutput

type GoogleCloudRetailV2alphaRuleRemoveFacetActionResponse added in v0.32.0

type GoogleCloudRetailV2alphaRuleRemoveFacetActionResponse 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 GoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutput added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutput added in v0.32.0

func (GoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutputWithContext added in v0.32.0

func (o GoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutput) ToGoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleRemoveFacetActionResponseOutput

type GoogleCloudRetailV2alphaRuleReplacementAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleReplacementAction 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 GoogleCloudRetailV2alphaRuleReplacementActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionOutput() GoogleCloudRetailV2alphaRuleReplacementActionOutput

func (GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleReplacementActionOutput

func (GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput() GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput

func (GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleReplacementActionArgs) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput

type GoogleCloudRetailV2alphaRuleReplacementActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleReplacementActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleReplacementActionOutput() GoogleCloudRetailV2alphaRuleReplacementActionOutput
	ToGoogleCloudRetailV2alphaRuleReplacementActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleReplacementActionOutput
}

GoogleCloudRetailV2alphaRuleReplacementActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleReplacementActionArgs and GoogleCloudRetailV2alphaRuleReplacementActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleReplacementActionInput` via:

GoogleCloudRetailV2alphaRuleReplacementActionArgs{...}

type GoogleCloudRetailV2alphaRuleReplacementActionOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) QueryTerms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) ReplacementTerm added in v0.12.0

Term that will be used for replacement.

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) Term added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionOutput() GoogleCloudRetailV2alphaRuleReplacementActionOutput

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleReplacementActionOutput

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput() GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput

func (GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleReplacementActionOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput

type GoogleCloudRetailV2alphaRuleReplacementActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleReplacementActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput() GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput
}

GoogleCloudRetailV2alphaRuleReplacementActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleReplacementActionArgs, GoogleCloudRetailV2alphaRuleReplacementActionPtr and GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleReplacementActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleReplacementActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) QueryTerms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ReplacementTerm added in v0.12.0

Term that will be used for replacement.

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) Term added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleReplacementActionPtrOutput

type GoogleCloudRetailV2alphaRuleReplacementActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleReplacementActionResponse 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 GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) QueryTerms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) ReplacementTerm added in v0.12.0

Term that will be used for replacement.

func (GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) Term added in v0.12.0

Will be [deprecated = true] post migration;

func (GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput) ToGoogleCloudRetailV2alphaRuleReplacementActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleReplacementActionResponseOutput

type GoogleCloudRetailV2alphaRuleResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleResponse struct {
	// A boost action.
	BoostAction GoogleCloudRetailV2alphaRuleBoostActionResponse `pulumi:"boostAction"`
	// The condition that triggers the rule. If the condition is empty, the rule will always apply.
	Condition GoogleCloudRetailV2alphaConditionResponse `pulumi:"condition"`
	// Prevents term from being associated with other terms.
	DoNotAssociateAction GoogleCloudRetailV2alphaRuleDoNotAssociateActionResponse `pulumi:"doNotAssociateAction"`
	// Filters results.
	FilterAction GoogleCloudRetailV2alphaRuleFilterActionResponse `pulumi:"filterAction"`
	// Force returns an attribute as a facet in the request.
	ForceReturnFacetAction GoogleCloudRetailV2alphaRuleForceReturnFacetActionResponse `pulumi:"forceReturnFacetAction"`
	// Ignores specific terms from query during search.
	IgnoreAction GoogleCloudRetailV2alphaRuleIgnoreActionResponse `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 GoogleCloudRetailV2alphaRuleOnewaySynonymsActionResponse `pulumi:"onewaySynonymsAction"`
	// Redirects a shopper to a specific page.
	RedirectAction GoogleCloudRetailV2alphaRuleRedirectActionResponse `pulumi:"redirectAction"`
	// Remove an attribute as a facet in the request (if present).
	RemoveFacetAction GoogleCloudRetailV2alphaRuleRemoveFacetActionResponse `pulumi:"removeFacetAction"`
	// Replaces specific terms in the query.
	ReplacementAction GoogleCloudRetailV2alphaRuleReplacementActionResponse `pulumi:"replacementAction"`
	// Treats a set of terms as synonyms of one another.
	TwowaySynonymsAction GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponse `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 GoogleCloudRetailV2alphaRuleResponseOutput added in v0.12.0

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

A boost action.

func (GoogleCloudRetailV2alphaRuleResponseOutput) Condition added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleResponseOutput) DoNotAssociateAction added in v0.12.0

Prevents term from being associated with other terms.

func (GoogleCloudRetailV2alphaRuleResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleResponseOutput) FilterAction added in v0.12.0

Filters results.

func (GoogleCloudRetailV2alphaRuleResponseOutput) ForceReturnFacetAction added in v0.32.0

Force returns an attribute as a facet in the request.

func (GoogleCloudRetailV2alphaRuleResponseOutput) IgnoreAction added in v0.12.0

Ignores specific terms from query during search.

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

Redirects a shopper to a specific page.

func (GoogleCloudRetailV2alphaRuleResponseOutput) RemoveFacetAction added in v0.32.0

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

func (GoogleCloudRetailV2alphaRuleResponseOutput) ReplacementAction added in v0.12.0

Replaces specific terms in the query.

func (GoogleCloudRetailV2alphaRuleResponseOutput) ToGoogleCloudRetailV2alphaRuleResponseOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleResponseOutput) ToGoogleCloudRetailV2alphaRuleResponseOutput() GoogleCloudRetailV2alphaRuleResponseOutput

func (GoogleCloudRetailV2alphaRuleResponseOutput) ToGoogleCloudRetailV2alphaRuleResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleResponseOutput) ToGoogleCloudRetailV2alphaRuleResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleResponseOutput

func (GoogleCloudRetailV2alphaRuleResponseOutput) TwowaySynonymsAction added in v0.12.0

Treats a set of terms as synonyms of one another.

type GoogleCloudRetailV2alphaRuleTwowaySynonymsAction added in v0.12.0

type GoogleCloudRetailV2alphaRuleTwowaySynonymsAction 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 GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput
	ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput
}

GoogleCloudRetailV2alphaRuleTwowaySynonymsActionInput is an input type that accepts GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs and GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleTwowaySynonymsActionInput` via:

GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs{...}

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput() GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput
	ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput
}

GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrInput is an input type that accepts GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs, GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtr and GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrInput` via:

        GoogleCloudRetailV2alphaRuleTwowaySynonymsActionArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionPtrOutput

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponse added in v0.12.0

type GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponse 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 GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) Synonyms added in v0.12.0

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

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput) ToGoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaRuleTwowaySynonymsActionResponseOutput

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec added in v0.12.0

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

The specifications of dynamically generated facets.

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs added in v0.12.0

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

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput
	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput
}

GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs and GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecInput` via:

GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs{...}

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode string

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

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput added in v0.12.0

func (e GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutputWithContext added in v0.12.0

func (e GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

func (e GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.12.0

func (e GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToStringOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToStringOutputWithContext added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToStringPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecMode) ToStringPtrOutputWithContext added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput
	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput
}

GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeArgs and GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeInput` via:

GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeArgs{...}

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToStringOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToStringOutputWithContext added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToStringPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModeOutput) ToStringPtrOutputWithContext added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput
	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput
}

func GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtr added in v0.12.0

func GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtr(v string) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrInput

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToStringPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecModePtrOutput) ToStringPtrOutputWithContext added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput struct{ *pulumi.OutputState }

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) Mode added in v0.12.0

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

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput
	ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput
}

GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs, GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtr and GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrInput` via:

        GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) Mode added in v0.12.0

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

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponse added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponse 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 GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput struct{ *pulumi.OutputState }

The specifications of dynamically generated facets.

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) Mode added in v0.12.0

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

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpec added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpec 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 GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey `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 GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKey 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 []GoogleCloudRetailV2alphaInterval `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 GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs added in v0.12.0

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext added in v0.12.0

func (i GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput
	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput
}

GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs and GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyInput` via:

GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs{...}

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput struct{ *pulumi.OutputState }

Specifies how a facet is computed.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) CaseInsensitive added in v0.21.0

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

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ReturnMinMax added in v0.23.0

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput
	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput
}

GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs, GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtr and GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrInput` via:

        GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) CaseInsensitive added in v0.21.0

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

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ReturnMinMax added in v0.23.0

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyPtrOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse 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 []GoogleCloudRetailV2alphaIntervalResponse `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 GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput struct{ *pulumi.OutputState }

Specifies how a facet is computed.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) CaseInsensitive added in v0.21.0

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

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) ReturnMinMax added in v0.23.0

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

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponseOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput
	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput
}

GoogleCloudRetailV2alphaSearchRequestFacetSpecInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs and GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestFacetSpecInput` via:

GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs{...}

type GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput struct{ *pulumi.OutputState }

A facet specification to perform faceted search.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) FacetKey added in v0.12.0

The facet key specification.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrInput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput
	ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput
}

GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs, GoogleCloudRetailV2alphaSearchRequestFacetSpecPtr and GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrInput` via:

        GoogleCloudRetailV2alphaSearchRequestFacetSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) Elem added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) FacetKey added in v0.12.0

The facet key specification.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestFacetSpecResponse added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecResponse 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 GoogleCloudRetailV2alphaSearchRequestFacetSpecFacetKeyResponse `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 GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput added in v0.12.0

type GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput struct{ *pulumi.OutputState }

A facet specification to perform faceted search.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) ElementType added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) FacetKey added in v0.12.0

The facet key specification.

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) 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 (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput added in v0.12.0

func (GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutputWithContext added in v0.12.0

func (o GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestFacetSpecResponseOutput

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec added in v0.25.0

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

The specification for personalization.

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs struct {
	// Defaults to Mode.AUTO.
	Mode GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrInput `pulumi:"mode"`
}

The specification for personalization.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (i GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecInput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput
	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput
}

GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs and GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecInput` via:

GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs{...}

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode string

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (e GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (e GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecMode) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeInput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput
	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput
}

GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeArgs and GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeInput` via:

GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeArgs{...}

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToStringOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToStringOutputWithContext added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModeOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrInput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput
	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput
}

func GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtr added in v0.25.0

func GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtr(v string) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrInput

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ToStringPtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecModePtrOutput) ToStringPtrOutputWithContext added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput struct{ *pulumi.OutputState }

The specification for personalization.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrInput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrInput interface {
	pulumi.Input

	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput() GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput
	ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext(context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput
}

GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrInput is an input type that accepts GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs, GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtr and GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput values. You can construct a concrete instance of `GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrInput` via:

        GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecArgs{...}

or:

        nil

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput struct{ *pulumi.OutputState }

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) Elem added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrOutput

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponse added in v0.25.0

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

The specification for personalization.

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput added in v0.25.0

type GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput struct{ *pulumi.OutputState }

The specification for personalization.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) ElementType added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) Mode added in v0.25.0

Defaults to Mode.AUTO.

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput added in v0.25.0

func (GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutputWithContext added in v0.25.0

func (o GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput) ToGoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutputWithContext(ctx context.Context) GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput

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 GoogleCloudRetailV2alphaSearchRequestFacetSpecResponse `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 GoogleCloudRetailV2alphaRuleResponse `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 GoogleCloudRetailV2alphaModelModelFeaturesConfigResponse `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 page optimization config.
	PageOptimizationConfig GoogleCloudRetailV2alphaModelPageOptimizationConfigResponse `pulumi:"pageOptimizationConfig"`
	// 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 []GoogleCloudRetailV2alphaModelServingConfigListResponse `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) PageOptimizationConfig added in v0.29.0

Optional. The page optimization config.

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 GoogleCloudRetailV2alphaAudienceResponse `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 GoogleCloudRetailV2alphaColorInfoResponse `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 []GoogleCloudRetailV2alphaFulfillmentInfoResponse `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 []GoogleCloudRetailV2alphaImageResponse `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 []GoogleCloudRetailV2alphaLocalInventoryResponse `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 GoogleCloudRetailV2alphaPriceInfoResponse `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 []GoogleCloudRetailV2alphaPromotionResponse `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 GoogleCloudRetailV2alphaRatingResponse `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 []GoogleCloudRetailV2alphaProductResponse `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 GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponse `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 GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponse `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 GoogleCloudRetailV2alphaModelModelFeaturesConfigResponseOutput `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 page optimization config.
	PageOptimizationConfig GoogleCloudRetailV2alphaModelPageOptimizationConfigResponseOutput `pulumi:"pageOptimizationConfig"`
	// 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 GoogleCloudRetailV2alphaModelServingConfigListResponseArrayOutput `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 GoogleCloudRetailV2alphaModelModelFeaturesConfigPtrInput
	// 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 page optimization config.
	PageOptimizationConfig GoogleCloudRetailV2alphaModelPageOptimizationConfigPtrInput
	// 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) PageOptimizationConfig added in v0.29.0

Optional. The page optimization config.

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 GoogleCloudRetailV2alphaAudienceResponseOutput `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 GoogleCloudRetailV2alphaColorInfoResponseOutput `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 GoogleCloudRetailV2alphaFulfillmentInfoResponseArrayOutput `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 GoogleCloudRetailV2alphaImageResponseArrayOutput `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 GoogleCloudRetailV2alphaLocalInventoryResponseArrayOutput `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 GoogleCloudRetailV2alphaPriceInfoResponseOutput `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 GoogleCloudRetailV2alphaPromotionResponseArrayOutput `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 GoogleCloudRetailV2alphaRatingResponseOutput `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 GoogleCloudRetailV2alphaProductResponseArrayOutput `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 GoogleCloudRetailV2alphaAudiencePtrInput
	// 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 GoogleCloudRetailV2alphaColorInfoPtrInput
	// 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 GoogleCloudRetailV2alphaFulfillmentInfoArrayInput
	// 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 GoogleCloudRetailV2alphaImageArrayInput
	// 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 GoogleCloudRetailV2alphaPriceInfoPtrInput
	// 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 GoogleCloudRetailV2alphaPromotionArrayInput
	// 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 GoogleCloudRetailV2alphaRatingPtrInput
	// 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 GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecResponseOutput `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 GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecResponseOutput `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 GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpecPtrInput
	// 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 GoogleCloudRetailV2alphaSearchRequestPersonalizationSpecPtrInput
	// 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