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)
// 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:
- dataset_
id str - location str
- project str
getDataset Result
The following output properties are available:
- Create
Time string - Timestamp when this dataset was created.
- Display
Name 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.
- Example
Count 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}
- Source
Language stringCode - The BCP-47 language code of the source language.
- Target
Language stringCode - 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 string - Timestamp when this dataset was last updated.
- Validate
Example intCount - Number of validation examples (sentence pairs).
- Create
Time string - Timestamp when this dataset was created.
- Display
Name 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.
- Example
Count 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}
- Source
Language stringCode - The BCP-47 language code of the source language.
- Target
Language stringCode - 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 string - Timestamp when this dataset was last updated.
- Validate
Example intCount - Number of validation examples (sentence pairs).
- create
Time String - Timestamp when this dataset was created.
- display
Name 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.
- example
Count 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}
- source
Language StringCode - The BCP-47 language code of the source language.
- target
Language StringCode - The BCP-47 language code of the target language.
- test
Example IntegerCount - Number of test examples (sentence pairs).
- train
Example IntegerCount - Number of training examples (sentence pairs).
- update
Time String - Timestamp when this dataset was last updated.
- validate
Example IntegerCount - Number of validation examples (sentence pairs).
- create
Time string - Timestamp when this dataset was created.
- display
Name 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.
- example
Count 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}
- source
Language stringCode - The BCP-47 language code of the source language.
- target
Language stringCode - The BCP-47 language code of the target language.
- test
Example numberCount - Number of test examples (sentence pairs).
- train
Example numberCount - Number of training examples (sentence pairs).
- update
Time string - Timestamp when this dataset was last updated.
- validate
Example 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).
- create
Time String - Timestamp when this dataset was created.
- display
Name 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.
- example
Count 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}
- source
Language StringCode - The BCP-47 language code of the source language.
- target
Language StringCode - The BCP-47 language code of the target language.
- test
Example NumberCount - Number of test examples (sentence pairs).
- train
Example NumberCount - Number of training examples (sentence pairs).
- update
Time String - Timestamp when this dataset was last updated.
- validate
Example 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