SynonymSetArgs

data class SynonymSetArgs(val context: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val synonyms: Output<List<GoogleCloudContentwarehouseV1SynonymSetSynonymArgs>>? = null) : ConvertibleToJava<SynonymSetArgs>

Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context.

Constructors

Link copied to clipboard
fun SynonymSetArgs(context: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, synonyms: Output<List<GoogleCloudContentwarehouseV1SynonymSetSynonymArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SynonymSetArgs

Properties

Link copied to clipboard
val context: Output<String>? = null

This is a freeform field. Example contexts can be "sales," "engineering," "real estate," "accounting," etc. The context can be supplied during search requests.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

List of Synonyms for the context.