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

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-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 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:translate/v3:getDataset
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatasetId string
    Location string
    Project string
    DatasetId string
    Location string
    Project string
    datasetId String
    location String
    project String
    datasetId string
    location string
    project string
    datasetId String
    location String
    project String

    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}
    SourceLanguageCode string
    The BCP-47 language code of the source language.
    TargetLanguageCode string
    The BCP-47 language code of the target language.
    TestExampleCount int
    Number of test examples (sentence pairs).
    TrainExampleCount int
    Number of training examples (sentence pairs).
    UpdateTime string
    Timestamp when this dataset was last updated.
    ValidateExampleCount int
    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}
    SourceLanguageCode string
    The BCP-47 language code of the source language.
    TargetLanguageCode string
    The BCP-47 language code of the target language.
    TestExampleCount int
    Number of test examples (sentence pairs).
    TrainExampleCount int
    Number of training examples (sentence pairs).
    UpdateTime string
    Timestamp when this dataset was last updated.
    ValidateExampleCount int
    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}
    sourceLanguageCode String
    The BCP-47 language code of the source language.
    targetLanguageCode String
    The BCP-47 language code of the target language.
    testExampleCount Integer
    Number of test examples (sentence pairs).
    trainExampleCount Integer
    Number of training examples (sentence pairs).
    updateTime String
    Timestamp when this dataset was last updated.
    validateExampleCount Integer
    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}
    sourceLanguageCode string
    The BCP-47 language code of the source language.
    targetLanguageCode string
    The BCP-47 language code of the target language.
    testExampleCount number
    Number of test examples (sentence pairs).
    trainExampleCount number
    Number of training examples (sentence pairs).
    updateTime string
    Timestamp when this dataset was last updated.
    validateExampleCount number
    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_code str
    The BCP-47 language code of the source language.
    target_language_code str
    The BCP-47 language code of the target language.
    test_example_count int
    Number of test examples (sentence pairs).
    train_example_count int
    Number of training examples (sentence pairs).
    update_time str
    Timestamp when this dataset was last updated.
    validate_example_count int
    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}
    sourceLanguageCode String
    The BCP-47 language code of the source language.
    targetLanguageCode String
    The BCP-47 language code of the target language.
    testExampleCount Number
    Number of test examples (sentence pairs).
    trainExampleCount Number
    Number of training examples (sentence pairs).
    updateTime String
    Timestamp when this dataset was last updated.
    validateExampleCount Number
    Number of validation examples (sentence pairs).

    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