1. Packages
  2. Google Cloud Native
  3. API Docs
  4. translate
  5. translate/v3
  6. getGlossaryEntry

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

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.translate/v3.getGlossaryEntry

Explore with Pulumi AI

google-native logo

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

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets a single glossary entry by the given id.

    Using getGlossaryEntry

    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 getGlossaryEntry(args: GetGlossaryEntryArgs, opts?: InvokeOptions): Promise<GetGlossaryEntryResult>
    function getGlossaryEntryOutput(args: GetGlossaryEntryOutputArgs, opts?: InvokeOptions): Output<GetGlossaryEntryResult>
    def get_glossary_entry(glossary_entry_id: Optional[str] = None,
                           glossary_id: Optional[str] = None,
                           location: Optional[str] = None,
                           project: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetGlossaryEntryResult
    def get_glossary_entry_output(glossary_entry_id: Optional[pulumi.Input[str]] = None,
                           glossary_id: Optional[pulumi.Input[str]] = None,
                           location: Optional[pulumi.Input[str]] = None,
                           project: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetGlossaryEntryResult]
    func LookupGlossaryEntry(ctx *Context, args *LookupGlossaryEntryArgs, opts ...InvokeOption) (*LookupGlossaryEntryResult, error)
    func LookupGlossaryEntryOutput(ctx *Context, args *LookupGlossaryEntryOutputArgs, opts ...InvokeOption) LookupGlossaryEntryResultOutput

    > Note: This function is named LookupGlossaryEntry in the Go SDK.

    public static class GetGlossaryEntry 
    {
        public static Task<GetGlossaryEntryResult> InvokeAsync(GetGlossaryEntryArgs args, InvokeOptions? opts = null)
        public static Output<GetGlossaryEntryResult> Invoke(GetGlossaryEntryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGlossaryEntryResult> getGlossaryEntry(GetGlossaryEntryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:translate/v3:getGlossaryEntry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GlossaryEntryId string
    GlossaryId string
    Location string
    Project string
    GlossaryEntryId string
    GlossaryId string
    Location string
    Project string
    glossaryEntryId String
    glossaryId String
    location String
    project String
    glossaryEntryId string
    glossaryId string
    location string
    project string
    glossaryEntryId String
    glossaryId String
    location String
    project String

    getGlossaryEntry Result

    The following output properties are available:

    Description string
    Describes the glossary entry.
    Name string
    The resource name of the entry. Format: "projects//locations//glossaries//glossaryEntries/"
    TermsPair Pulumi.GoogleNative.Translate.V3.Outputs.GlossaryTermsPairResponse
    Used for an unidirectional glossary.
    TermsSet Pulumi.GoogleNative.Translate.V3.Outputs.GlossaryTermsSetResponse
    Used for an equivalent term sets glossary.
    Description string
    Describes the glossary entry.
    Name string
    The resource name of the entry. Format: "projects//locations//glossaries//glossaryEntries/"
    TermsPair GlossaryTermsPairResponse
    Used for an unidirectional glossary.
    TermsSet GlossaryTermsSetResponse
    Used for an equivalent term sets glossary.
    description String
    Describes the glossary entry.
    name String
    The resource name of the entry. Format: "projects//locations//glossaries//glossaryEntries/"
    termsPair GlossaryTermsPairResponse
    Used for an unidirectional glossary.
    termsSet GlossaryTermsSetResponse
    Used for an equivalent term sets glossary.
    description string
    Describes the glossary entry.
    name string
    The resource name of the entry. Format: "projects//locations//glossaries//glossaryEntries/"
    termsPair GlossaryTermsPairResponse
    Used for an unidirectional glossary.
    termsSet GlossaryTermsSetResponse
    Used for an equivalent term sets glossary.
    description str
    Describes the glossary entry.
    name str
    The resource name of the entry. Format: "projects//locations//glossaries//glossaryEntries/"
    terms_pair GlossaryTermsPairResponse
    Used for an unidirectional glossary.
    terms_set GlossaryTermsSetResponse
    Used for an equivalent term sets glossary.
    description String
    Describes the glossary entry.
    name String
    The resource name of the entry. Format: "projects//locations//glossaries//glossaryEntries/"
    termsPair Property Map
    Used for an unidirectional glossary.
    termsSet Property Map
    Used for an equivalent term sets glossary.

    Supporting Types

    GlossaryTermResponse

    LanguageCode string
    The language for this glossary term.
    Text string
    The text for the glossary term.
    LanguageCode string
    The language for this glossary term.
    Text string
    The text for the glossary term.
    languageCode String
    The language for this glossary term.
    text String
    The text for the glossary term.
    languageCode string
    The language for this glossary term.
    text string
    The text for the glossary term.
    language_code str
    The language for this glossary term.
    text str
    The text for the glossary term.
    languageCode String
    The language for this glossary term.
    text String
    The text for the glossary term.

    GlossaryTermsPairResponse

    SourceTerm Pulumi.GoogleNative.Translate.V3.Inputs.GlossaryTermResponse
    The source term is the term that will get match in the text,
    TargetTerm Pulumi.GoogleNative.Translate.V3.Inputs.GlossaryTermResponse
    The term that will replace the match source term.
    SourceTerm GlossaryTermResponse
    The source term is the term that will get match in the text,
    TargetTerm GlossaryTermResponse
    The term that will replace the match source term.
    sourceTerm GlossaryTermResponse
    The source term is the term that will get match in the text,
    targetTerm GlossaryTermResponse
    The term that will replace the match source term.
    sourceTerm GlossaryTermResponse
    The source term is the term that will get match in the text,
    targetTerm GlossaryTermResponse
    The term that will replace the match source term.
    source_term GlossaryTermResponse
    The source term is the term that will get match in the text,
    target_term GlossaryTermResponse
    The term that will replace the match source term.
    sourceTerm Property Map
    The source term is the term that will get match in the text,
    targetTerm Property Map
    The term that will replace the match source term.

    GlossaryTermsSetResponse

    Terms List<Pulumi.GoogleNative.Translate.V3.Inputs.GlossaryTermResponse>
    Each term in the set represents a term that can be replaced by the other terms.
    Terms []GlossaryTermResponse
    Each term in the set represents a term that can be replaced by the other terms.
    terms List<GlossaryTermResponse>
    Each term in the set represents a term that can be replaced by the other terms.
    terms GlossaryTermResponse[]
    Each term in the set represents a term that can be replaced by the other terms.
    terms Sequence[GlossaryTermResponse]
    Each term in the set represents a term that can be replaced by the other terms.
    terms List<Property Map>
    Each term in the set represents a term that can be replaced by the other terms.

    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.32.0 published on Wednesday, Nov 29, 2023 by Pulumi