1. Packages
  2. Google Cloud Native
  3. API Docs
  4. contentwarehouse
  5. contentwarehouse/v1
  6. SynonymSet

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.30.0 published on Friday, Apr 14, 2023 by Pulumi

google-native.contentwarehouse/v1.SynonymSet

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.30.0 published on Friday, Apr 14, 2023 by Pulumi

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

    Create SynonymSet Resource

    new SynonymSet(name: string, args?: SynonymSetArgs, opts?: CustomResourceOptions);
    @overload
    def SynonymSet(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   context: Optional[str] = None,
                   location: Optional[str] = None,
                   name: Optional[str] = None,
                   project: Optional[str] = None,
                   synonyms: Optional[Sequence[GoogleCloudContentwarehouseV1SynonymSetSynonymArgs]] = None)
    @overload
    def SynonymSet(resource_name: str,
                   args: Optional[SynonymSetArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    func NewSynonymSet(ctx *Context, name string, args *SynonymSetArgs, opts ...ResourceOption) (*SynonymSet, error)
    public SynonymSet(string name, SynonymSetArgs? args = null, CustomResourceOptions? opts = null)
    public SynonymSet(String name, SynonymSetArgs args)
    public SynonymSet(String name, SynonymSetArgs args, CustomResourceOptions options)
    
    type: google-native:contentwarehouse/v1:SynonymSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SynonymSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SynonymSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SynonymSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SynonymSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SynonymSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SynonymSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SynonymSet resource accepts the following input properties:

    Context string

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

    Location string
    Name string

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

    Project string
    Synonyms List<Pulumi.GoogleNative.Contentwarehouse.V1.Inputs.GoogleCloudContentwarehouseV1SynonymSetSynonymArgs>

    List of Synonyms for the context.

    Context string

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

    Location string
    Name string

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

    Project string
    Synonyms []GoogleCloudContentwarehouseV1SynonymSetSynonymArgs

    List of Synonyms for the context.

    context String

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

    location String
    name String

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

    project String
    synonyms List<GoogleCloudContentwarehouseV1SynonymSetSynonymArgs>

    List of Synonyms for the context.

    context string

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

    location string
    name string

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

    project string
    synonyms GoogleCloudContentwarehouseV1SynonymSetSynonymArgs[]

    List of Synonyms for the context.

    context str

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

    location str
    name str

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

    project str
    synonyms Sequence[GoogleCloudContentwarehouseV1SynonymSetSynonymArgs]

    List of Synonyms for the context.

    context String

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

    location String
    name String

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

    project String
    synonyms List<Property Map>

    List of Synonyms for the context.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SynonymSet resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GoogleCloudContentwarehouseV1SynonymSetSynonym

    Words List<string>

    For example: sale, invoice, bill, order

    Words []string

    For example: sale, invoice, bill, order

    words List<String>

    For example: sale, invoice, bill, order

    words string[]

    For example: sale, invoice, bill, order

    words Sequence[str]

    For example: sale, invoice, bill, order

    words List<String>

    For example: sale, invoice, bill, order

    GoogleCloudContentwarehouseV1SynonymSetSynonymResponse

    Words List<string>

    For example: sale, invoice, bill, order

    Words []string

    For example: sale, invoice, bill, order

    words List<String>

    For example: sale, invoice, bill, order

    words string[]

    For example: sale, invoice, bill, order

    words Sequence[str]

    For example: sale, invoice, bill, order

    words List<String>

    For example: sale, invoice, bill, order

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.30.0 published on Friday, Apr 14, 2023 by Pulumi