Package-level declarations

Types

Link copied to clipboard
class Control : KotlinCustomResource

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.

Link copied to clipboard
data class ControlArgs(val catalogId: Output<String>? = null, val controlId: Output<String>? = null, val displayName: Output<String>? = null, val facetSpec: Output<GoogleCloudRetailV2betaSearchRequestFacetSpecArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val rule: Output<GoogleCloudRetailV2betaRuleArgs>? = null, val searchSolutionUseCase: Output<List<ControlSearchSolutionUseCaseItem>>? = null, val solutionTypes: Output<List<ControlSolutionTypesItem>>? = null) : ConvertibleToJava<ControlArgs>

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.

Link copied to clipboard
Link copied to clipboard
object ControlMapper : ResourceMapper<Control>
Link copied to clipboard
Link copied to clipboard
class Model : KotlinCustomResource

Creates a new model.

Link copied to clipboard
data class ModelArgs(val catalogId: Output<String>? = null, val displayName: Output<String>? = null, val dryRun: Output<Boolean>? = null, val filteringOption: Output<ModelFilteringOption>? = null, val location: Output<String>? = null, val modelFeaturesConfig: Output<GoogleCloudRetailV2betaModelModelFeaturesConfigArgs>? = null, val name: Output<String>? = null, val optimizationObjective: Output<String>? = null, val periodicTuningState: Output<ModelPeriodicTuningState>? = null, val project: Output<String>? = null, val trainingState: Output<ModelTrainingState>? = null, val type: Output<String>? = null) : ConvertibleToJava<ModelArgs>

Creates a new model.

Link copied to clipboard

Builder for ModelArgs.

Link copied to clipboard
object ModelMapper : ResourceMapper<Model>
Link copied to clipboard

Builder for Model.

Link copied to clipboard
class Product : KotlinCustomResource

Creates a Product.

Link copied to clipboard
data class ProductArgs(val attributes: Output<Map<String, String>>? = null, val audience: Output<GoogleCloudRetailV2betaAudienceArgs>? = null, val availability: Output<ProductAvailability>? = null, val availableQuantity: Output<Int>? = null, val availableTime: Output<String>? = null, val branchId: Output<String>? = null, val brands: Output<List<String>>? = null, val catalogId: Output<String>? = null, val categories: Output<List<String>>? = null, val collectionMemberIds: Output<List<String>>? = null, val colorInfo: Output<GoogleCloudRetailV2betaColorInfoArgs>? = null, val conditions: Output<List<String>>? = null, val description: Output<String>? = null, val expireTime: Output<String>? = null, val fulfillmentInfo: Output<List<GoogleCloudRetailV2betaFulfillmentInfoArgs>>? = null, val gtin: Output<String>? = null, val id: Output<String>? = null, val images: Output<List<GoogleCloudRetailV2betaImageArgs>>? = null, val languageCode: Output<String>? = null, val location: Output<String>? = null, val materials: Output<List<String>>? = null, val name: Output<String>? = null, val patterns: Output<List<String>>? = null, val priceInfo: Output<GoogleCloudRetailV2betaPriceInfoArgs>? = null, val primaryProductId: Output<String>? = null, val productId: Output<String>? = null, val project: Output<String>? = null, val promotions: Output<List<GoogleCloudRetailV2betaPromotionArgs>>? = null, val publishTime: Output<String>? = null, val rating: Output<GoogleCloudRetailV2betaRatingArgs>? = null, val retrievableFields: Output<String>? = null, val sizes: Output<List<String>>? = null, val tags: Output<List<String>>? = null, val title: Output<String>? = null, val ttl: Output<String>? = null, val type: Output<ProductType>? = null, val uri: Output<String>? = null) : ConvertibleToJava<ProductArgs>

Creates a Product.

Link copied to clipboard
Link copied to clipboard
object ProductMapper : ResourceMapper<Product>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ServingConfig : KotlinCustomResource

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.

Link copied to clipboard
data class ServingConfigArgs(val boostControlIds: Output<List<String>>? = null, val catalogId: Output<String>? = null, val displayName: Output<String>? = null, val diversityLevel: Output<String>? = null, val diversityType: Output<ServingConfigDiversityType>? = null, val doNotAssociateControlIds: Output<List<String>>? = null, val dynamicFacetSpec: Output<GoogleCloudRetailV2betaSearchRequestDynamicFacetSpecArgs>? = null, val enableCategoryFilterLevel: Output<String>? = null, val facetControlIds: Output<List<String>>? = null, val filterControlIds: Output<List<String>>? = null, val ignoreControlIds: Output<List<String>>? = null, val location: Output<String>? = null, val modelId: Output<String>? = null, val name: Output<String>? = null, val onewaySynonymsControlIds: Output<List<String>>? = null, val personalizationSpec: Output<GoogleCloudRetailV2betaSearchRequestPersonalizationSpecArgs>? = null, val priceRerankingLevel: Output<String>? = null, val project: Output<String>? = null, val redirectControlIds: Output<List<String>>? = null, val replacementControlIds: Output<List<String>>? = null, val servingConfigId: Output<String>? = null, val solutionTypes: Output<List<ServingConfigSolutionTypesItem>>? = null, val twowaySynonymsControlIds: Output<List<String>>? = null) : ConvertibleToJava<ServingConfigArgs>

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.

Link copied to clipboard
Link copied to clipboard
object ServingConfigMapper : ResourceMapper<ServingConfig>
Link copied to clipboard

Functions

Link copied to clipboard
fun control(name: String): Control
suspend fun control(name: String, block: suspend ControlResourceBuilder.() -> Unit): Control
Link copied to clipboard
fun model(name: String): Model
suspend fun model(name: String, block: suspend ModelResourceBuilder.() -> Unit): Model
Link copied to clipboard
fun product(name: String): Product
suspend fun product(name: String, block: suspend ProductResourceBuilder.() -> Unit): Product
Link copied to clipboard