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 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)
public static Output<GetGlossaryEntryResult> getGlossaryEntry(GetGlossaryEntryArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:translate/v3:getGlossaryEntry
  arguments:
    # arguments dictionaryThe following arguments are supported:
- GlossaryEntry stringId 
- GlossaryId string
- Location string
- Project string
- GlossaryEntry stringId 
- GlossaryId string
- Location string
- Project string
- glossaryEntry StringId 
- glossaryId String
- location String
- project String
- glossaryEntry stringId 
- glossaryId string
- location string
- project string
- glossary_entry_ strid 
- glossary_id str
- location str
- project str
- glossaryEntry StringId 
- 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.Google Native. Translate. V3. Outputs. Glossary Terms Pair Response 
- Used for an unidirectional glossary.
- TermsSet Pulumi.Google Native. Translate. V3. Outputs. Glossary Terms Set Response 
- 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 GlossaryTerms Pair Response 
- Used for an unidirectional glossary.
- TermsSet GlossaryTerms Set Response 
- 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 GlossaryTerms Pair Response 
- Used for an unidirectional glossary.
- termsSet GlossaryTerms Set Response 
- 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 GlossaryTerms Pair Response 
- Used for an unidirectional glossary.
- termsSet GlossaryTerms Set Response 
- 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 GlossaryTerms Pair Response 
- Used for an unidirectional glossary.
- terms_set GlossaryTerms Set Response 
- 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.Google Native. Translate. V3. Inputs. Glossary Term Response 
- The source term is the term that will get match in the text,
- TargetTerm Pulumi.Google Native. Translate. V3. Inputs. Glossary Term Response 
- The term that will replace the match source term.
- SourceTerm GlossaryTerm Response 
- The source term is the term that will get match in the text,
- TargetTerm GlossaryTerm Response 
- The term that will replace the match source term.
- sourceTerm GlossaryTerm Response 
- The source term is the term that will get match in the text,
- targetTerm GlossaryTerm Response 
- The term that will replace the match source term.
- sourceTerm GlossaryTerm Response 
- The source term is the term that will get match in the text,
- targetTerm GlossaryTerm Response 
- The term that will replace the match source term.
- source_term GlossaryTerm Response 
- The source term is the term that will get match in the text,
- target_term GlossaryTerm Response 
- 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.Google Native. Translate. V3. Inputs. Glossary Term Response> 
- Each term in the set represents a term that can be replaced by the other terms.
- Terms
[]GlossaryTerm Response 
- Each term in the set represents a term that can be replaced by the other terms.
- terms
List<GlossaryTerm Response> 
- Each term in the set represents a term that can be replaced by the other terms.
- terms
GlossaryTerm Response[] 
- Each term in the set represents a term that can be replaced by the other terms.
- terms
Sequence[GlossaryTerm Response] 
- 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 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