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.getModel
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 model.
Using getModel
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 getModel(args: GetModelArgs, opts?: InvokeOptions): Promise<GetModelResult>
function getModelOutput(args: GetModelOutputArgs, opts?: InvokeOptions): Output<GetModelResult>def get_model(location: Optional[str] = None,
              model_id: Optional[str] = None,
              project: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetModelResult
def get_model_output(location: Optional[pulumi.Input[str]] = None,
              model_id: Optional[pulumi.Input[str]] = None,
              project: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetModelResult]func LookupModel(ctx *Context, args *LookupModelArgs, opts ...InvokeOption) (*LookupModelResult, error)
func LookupModelOutput(ctx *Context, args *LookupModelOutputArgs, opts ...InvokeOption) LookupModelResultOutput> Note: This function is named LookupModel in the Go SDK.
public static class GetModel 
{
    public static Task<GetModelResult> InvokeAsync(GetModelArgs args, InvokeOptions? opts = null)
    public static Output<GetModelResult> Invoke(GetModelInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetModelResult> getModel(GetModelArgs args, InvokeOptions options)
public static Output<GetModelResult> getModel(GetModelArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:translate/v3:getModel
  arguments:
    # arguments dictionaryThe following arguments are supported:
getModel Result
The following output properties are available:
- CreateTime string
- Timestamp when the model resource was created, which is also when the training started.
- Dataset string
- The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
- DisplayName string
- The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
- Name string
- The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
- SourceLanguage stringCode 
- The BCP-47 language code of the source language.
- TargetLanguage stringCode 
- The BCP-47 language code of the target language.
- TestExample intCount 
- Number of examples (sentence pairs) used to test the model.
- TrainExample intCount 
- Number of examples (sentence pairs) used to train the model.
- UpdateTime string
- Timestamp when this model was last updated.
- ValidateExample intCount 
- Number of examples (sentence pairs) used to validate the model.
- CreateTime string
- Timestamp when the model resource was created, which is also when the training started.
- Dataset string
- The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
- DisplayName string
- The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
- Name string
- The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
- SourceLanguage stringCode 
- The BCP-47 language code of the source language.
- TargetLanguage stringCode 
- The BCP-47 language code of the target language.
- TestExample intCount 
- Number of examples (sentence pairs) used to test the model.
- TrainExample intCount 
- Number of examples (sentence pairs) used to train the model.
- UpdateTime string
- Timestamp when this model was last updated.
- ValidateExample intCount 
- Number of examples (sentence pairs) used to validate the model.
- createTime String
- Timestamp when the model resource was created, which is also when the training started.
- dataset String
- The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
- displayName String
- The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
- name String
- The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
- sourceLanguage StringCode 
- The BCP-47 language code of the source language.
- targetLanguage StringCode 
- The BCP-47 language code of the target language.
- testExample IntegerCount 
- Number of examples (sentence pairs) used to test the model.
- trainExample IntegerCount 
- Number of examples (sentence pairs) used to train the model.
- updateTime String
- Timestamp when this model was last updated.
- validateExample IntegerCount 
- Number of examples (sentence pairs) used to validate the model.
- createTime string
- Timestamp when the model resource was created, which is also when the training started.
- dataset string
- The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
- displayName string
- The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
- name string
- The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
- sourceLanguage stringCode 
- The BCP-47 language code of the source language.
- targetLanguage stringCode 
- The BCP-47 language code of the target language.
- testExample numberCount 
- Number of examples (sentence pairs) used to test the model.
- trainExample numberCount 
- Number of examples (sentence pairs) used to train the model.
- updateTime string
- Timestamp when this model was last updated.
- validateExample numberCount 
- Number of examples (sentence pairs) used to validate the model.
- create_time str
- Timestamp when the model resource was created, which is also when the training started.
- dataset str
- The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
- display_name str
- The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
- name str
- The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
- source_language_ strcode 
- The BCP-47 language code of the source language.
- target_language_ strcode 
- The BCP-47 language code of the target language.
- test_example_ intcount 
- Number of examples (sentence pairs) used to test the model.
- train_example_ intcount 
- Number of examples (sentence pairs) used to train the model.
- update_time str
- Timestamp when this model was last updated.
- validate_example_ intcount 
- Number of examples (sentence pairs) used to validate the model.
- createTime String
- Timestamp when the model resource was created, which is also when the training started.
- dataset String
- The dataset from which the model is trained, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
- displayName String
- The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
- name String
- The resource name of the model, in form of projects/{project-number-or-id}/locations/{location_id}/models/{model_id}
- sourceLanguage StringCode 
- The BCP-47 language code of the source language.
- targetLanguage StringCode 
- The BCP-47 language code of the target language.
- testExample NumberCount 
- Number of examples (sentence pairs) used to test the model.
- trainExample NumberCount 
- Number of examples (sentence pairs) used to train the model.
- updateTime String
- Timestamp when this model was last updated.
- validateExample NumberCount 
- Number of examples (sentence pairs) used to validate the model.
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