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.getDataset
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 Dataset.
Using getDataset
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 getDataset(args: GetDatasetArgs, opts?: InvokeOptions): Promise<GetDatasetResult>
function getDatasetOutput(args: GetDatasetOutputArgs, opts?: InvokeOptions): Output<GetDatasetResult>def get_dataset(dataset_id: Optional[str] = None,
                location: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetDatasetResult
def get_dataset_output(dataset_id: Optional[pulumi.Input[str]] = None,
                location: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetDatasetResult]func LookupDataset(ctx *Context, args *LookupDatasetArgs, opts ...InvokeOption) (*LookupDatasetResult, error)
func LookupDatasetOutput(ctx *Context, args *LookupDatasetOutputArgs, opts ...InvokeOption) LookupDatasetResultOutput> Note: This function is named LookupDataset in the Go SDK.
public static class GetDataset 
{
    public static Task<GetDatasetResult> InvokeAsync(GetDatasetArgs args, InvokeOptions? opts = null)
    public static Output<GetDatasetResult> Invoke(GetDatasetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOptions options)
public static Output<GetDatasetResult> getDataset(GetDatasetArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:translate/v3:getDataset
  arguments:
    # arguments dictionaryThe following arguments are supported:
- dataset_id str
- location str
- project str
getDataset Result
The following output properties are available:
- CreateTime string
- Timestamp when this dataset was created.
- DisplayName string
- The name of the dataset 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.
- ExampleCount int
- The number of examples in the dataset.
- Name string
- The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
- TrainExample intCount 
- Number of training examples (sentence pairs).
- UpdateTime string
- Timestamp when this dataset was last updated.
- ValidateExample intCount 
- Number of validation examples (sentence pairs).
- CreateTime string
- Timestamp when this dataset was created.
- DisplayName string
- The name of the dataset 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.
- ExampleCount int
- The number of examples in the dataset.
- Name string
- The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
- TrainExample intCount 
- Number of training examples (sentence pairs).
- UpdateTime string
- Timestamp when this dataset was last updated.
- ValidateExample intCount 
- Number of validation examples (sentence pairs).
- createTime String
- Timestamp when this dataset was created.
- displayName String
- The name of the dataset 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.
- exampleCount Integer
- The number of examples in the dataset.
- name String
- The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
- trainExample IntegerCount 
- Number of training examples (sentence pairs).
- updateTime String
- Timestamp when this dataset was last updated.
- validateExample IntegerCount 
- Number of validation examples (sentence pairs).
- createTime string
- Timestamp when this dataset was created.
- displayName string
- The name of the dataset 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.
- exampleCount number
- The number of examples in the dataset.
- name string
- The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
- trainExample numberCount 
- Number of training examples (sentence pairs).
- updateTime string
- Timestamp when this dataset was last updated.
- validateExample numberCount 
- Number of validation examples (sentence pairs).
- create_time str
- Timestamp when this dataset was created.
- display_name str
- The name of the dataset 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.
- example_count int
- The number of examples in the dataset.
- name str
- The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
- train_example_ intcount 
- Number of training examples (sentence pairs).
- update_time str
- Timestamp when this dataset was last updated.
- validate_example_ intcount 
- Number of validation examples (sentence pairs).
- createTime String
- Timestamp when this dataset was created.
- displayName String
- The name of the dataset 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.
- exampleCount Number
- The number of examples in the dataset.
- name String
- The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_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 test examples (sentence pairs).
- trainExample NumberCount 
- Number of training examples (sentence pairs).
- updateTime String
- Timestamp when this dataset was last updated.
- validateExample NumberCount 
- Number of validation examples (sentence pairs).
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