Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.contentwarehouse/v1.getSynonymSet
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist
Using getSynonymSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSynonymSet(args: GetSynonymSetArgs, opts?: InvokeOptions): Promise<GetSynonymSetResult>
function getSynonymSetOutput(args: GetSynonymSetOutputArgs, opts?: InvokeOptions): Output<GetSynonymSetResult>
def get_synonym_set(location: Optional[str] = None,
project: Optional[str] = None,
synonym_set_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSynonymSetResult
def get_synonym_set_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
synonym_set_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSynonymSetResult]
func LookupSynonymSet(ctx *Context, args *LookupSynonymSetArgs, opts ...InvokeOption) (*LookupSynonymSetResult, error)
func LookupSynonymSetOutput(ctx *Context, args *LookupSynonymSetOutputArgs, opts ...InvokeOption) LookupSynonymSetResultOutput
> Note: This function is named LookupSynonymSet
in the Go SDK.
public static class GetSynonymSet
{
public static Task<GetSynonymSetResult> InvokeAsync(GetSynonymSetArgs args, InvokeOptions? opts = null)
public static Output<GetSynonymSetResult> Invoke(GetSynonymSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSynonymSetResult> getSynonymSet(GetSynonymSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:contentwarehouse/v1:getSynonymSet
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Synonym
Set stringId - Project string
- Location string
- Synonym
Set stringId - Project string
- location String
- synonym
Set StringId - project String
- location string
- synonym
Set stringId - project string
- location str
- synonym_
set_ strid - project str
- location String
- synonym
Set StringId - project String
getSynonymSet Result
The following output properties are available:
- 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.
- Name string
- The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
- Synonyms
List<Pulumi.
Google Native. Contentwarehouse. V1. Outputs. Google Cloud Contentwarehouse V1Synonym Set Synonym Response> - 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.
- Name string
- The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
- Synonyms
[]Google
Cloud Contentwarehouse V1Synonym Set Synonym Response - 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.
- name String
- The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
- synonyms
List<Google
Cloud Contentwarehouse V1Synonym Set Synonym Response> - 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.
- name string
- The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
- synonyms
Google
Cloud Contentwarehouse V1Synonym Set Synonym Response[] - 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.
- name str
- The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
- synonyms
Sequence[Google
Cloud Contentwarehouse V1Synonym Set Synonym Response] - 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.
- name String
- The resource name of the SynonymSet This is mandatory for google.api.resource. Format: projects/{project_number}/locations/{location}/synonymSets/{context}.
- synonyms List<Property Map>
- List of Synonyms for the context.
Supporting Types
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 Cloud Native is in preview. Google Cloud Classic is fully supported.