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)
// 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:
- Glossary
Entry stringId - Glossary
Id string - Location string
- Project string
- Glossary
Entry stringId - Glossary
Id string - Location string
- Project string
- glossary
Entry StringId - glossary
Id String - location String
- project String
- glossary
Entry stringId - glossary
Id string - location string
- project string
- glossary_
entry_ strid - glossary_
id str - location str
- project str
- glossary
Entry StringId - glossary
Id 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/"
- Terms
Pair Pulumi.Google Native. Translate. V3. Outputs. Glossary Terms Pair Response - Used for an unidirectional glossary.
- Terms
Set 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/"
- 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/"
- 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/"
- terms
Pair GlossaryTerms Pair Response - Used for an unidirectional glossary.
- terms
Set 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/"
- terms
Pair Property Map - Used for an unidirectional glossary.
- terms
Set Property Map - Used for an equivalent term sets glossary.
Supporting Types
GlossaryTermResponse
- Language
Code string - The language for this glossary term.
- Text string
- The text for the glossary term.
- Language
Code string - The language for this glossary term.
- Text string
- The text for the glossary term.
- language
Code String - The language for this glossary term.
- text String
- The text for the glossary term.
- language
Code 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.
- language
Code String - The language for this glossary term.
- text String
- The text for the glossary term.
GlossaryTermsPairResponse
- Source
Term Pulumi.Google Native. Translate. V3. Inputs. Glossary Term Response - The source term is the term that will get match in the text,
- Target
Term Pulumi.Google Native. Translate. V3. Inputs. Glossary Term 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.
- 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.
- 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.
- 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.
- source
Term Property Map - The source term is the term that will get match in the text,
- target
Term 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
[]Glossary
Term Response - Each term in the set represents a term that can be replaced by the other terms.
- terms
List<Glossary
Term Response> - Each term in the set represents a term that can be replaced by the other terms.
- terms
Glossary
Term Response[] - Each term in the set represents a term that can be replaced by the other terms.
- terms
Sequence[Glossary
Term 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