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.datalabeling/v1beta1.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 dataset by resource name.
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,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatasetResult
def get_dataset_output(dataset_id: 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:datalabeling/v1beta1:getDataset
arguments:
# arguments dictionary
The following arguments are supported:
- dataset_
id str - project str
getDataset Result
The following output properties are available:
- Blocking
Resources List<string> - The names of any related resources that are blocking changes to the dataset.
- Create
Time string - Time the dataset is created.
- Data
Item stringCount - The number of data items in the dataset.
- Description string
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- Display
Name string - The display name of the dataset. Maximum of 64 characters.
- Input
Configs List<Pulumi.Google Native. Data Labeling. V1Beta1. Outputs. Google Cloud Datalabeling V1beta1Input Config Response> - This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
- Last
Migrate stringTime - Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
- Name string
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- Blocking
Resources []string - The names of any related resources that are blocking changes to the dataset.
- Create
Time string - Time the dataset is created.
- Data
Item stringCount - The number of data items in the dataset.
- Description string
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- Display
Name string - The display name of the dataset. Maximum of 64 characters.
- Input
Configs []GoogleCloud Datalabeling V1beta1Input Config Response - This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
- Last
Migrate stringTime - Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
- Name string
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blocking
Resources List<String> - The names of any related resources that are blocking changes to the dataset.
- create
Time String - Time the dataset is created.
- data
Item StringCount - The number of data items in the dataset.
- description String
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- display
Name String - The display name of the dataset. Maximum of 64 characters.
- input
Configs List<GoogleCloud Datalabeling V1beta1Input Config Response> - This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
- last
Migrate StringTime - Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
- name String
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blocking
Resources string[] - The names of any related resources that are blocking changes to the dataset.
- create
Time string - Time the dataset is created.
- data
Item stringCount - The number of data items in the dataset.
- description string
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- display
Name string - The display name of the dataset. Maximum of 64 characters.
- input
Configs GoogleCloud Datalabeling V1beta1Input Config Response[] - This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
- last
Migrate stringTime - Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
- name string
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blocking_
resources Sequence[str] - The names of any related resources that are blocking changes to the dataset.
- create_
time str - Time the dataset is created.
- data_
item_ strcount - The number of data items in the dataset.
- description str
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- display_
name str - The display name of the dataset. Maximum of 64 characters.
- input_
configs Sequence[GoogleCloud Datalabeling V1beta1Input Config Response] - This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
- last_
migrate_ strtime - Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
- name str
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blocking
Resources List<String> - The names of any related resources that are blocking changes to the dataset.
- create
Time String - Time the dataset is created.
- data
Item StringCount - The number of data items in the dataset.
- description String
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- display
Name String - The display name of the dataset. Maximum of 64 characters.
- input
Configs List<Property Map> - This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
- last
Migrate StringTime - Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated.
- name String
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
Supporting Types
GoogleCloudDatalabelingV1beta1BigQuerySourceResponse
- Input
Uri string - BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema. Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn more.
- Input
Uri string - BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema. Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn more.
- input
Uri String - BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema. Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn more.
- input
Uri string - BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema. Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn more.
- input_
uri str - BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema. Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn more.
- input
Uri String - BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema. Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" Learn more.
GoogleCloudDatalabelingV1beta1ClassificationMetadataResponse
- Is
Multi boolLabel - Whether the classification task is multi-label or not.
- Is
Multi boolLabel - Whether the classification task is multi-label or not.
- is
Multi BooleanLabel - Whether the classification task is multi-label or not.
- is
Multi booleanLabel - Whether the classification task is multi-label or not.
- is_
multi_ boollabel - Whether the classification task is multi-label or not.
- is
Multi BooleanLabel - Whether the classification task is multi-label or not.
GoogleCloudDatalabelingV1beta1GcsSourceResponse
GoogleCloudDatalabelingV1beta1InputConfigResponse
- Annotation
Type string - Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
- Bigquery
Source Pulumi.Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Big Query Source Response - Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- Classification
Metadata Pulumi.Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Classification Metadata Response - Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
- Data
Type string - Data type must be specifed when user tries to import data.
- Gcs
Source Pulumi.Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Gcs Source Response - Source located in Cloud Storage.
- Text
Metadata Pulumi.Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Text Metadata Response - Required for text import, as language code must be specified.
- Annotation
Type string - Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
- Bigquery
Source GoogleCloud Datalabeling V1beta1Big Query Source Response - Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- Classification
Metadata GoogleCloud Datalabeling V1beta1Classification Metadata Response - Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
- Data
Type string - Data type must be specifed when user tries to import data.
- Gcs
Source GoogleCloud Datalabeling V1beta1Gcs Source Response - Source located in Cloud Storage.
- Text
Metadata GoogleCloud Datalabeling V1beta1Text Metadata Response - Required for text import, as language code must be specified.
- annotation
Type String - Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
- bigquery
Source GoogleCloud Datalabeling V1beta1Big Query Source Response - Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classification
Metadata GoogleCloud Datalabeling V1beta1Classification Metadata Response - Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
- data
Type String - Data type must be specifed when user tries to import data.
- gcs
Source GoogleCloud Datalabeling V1beta1Gcs Source Response - Source located in Cloud Storage.
- text
Metadata GoogleCloud Datalabeling V1beta1Text Metadata Response - Required for text import, as language code must be specified.
- annotation
Type string - Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
- bigquery
Source GoogleCloud Datalabeling V1beta1Big Query Source Response - Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classification
Metadata GoogleCloud Datalabeling V1beta1Classification Metadata Response - Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
- data
Type string - Data type must be specifed when user tries to import data.
- gcs
Source GoogleCloud Datalabeling V1beta1Gcs Source Response - Source located in Cloud Storage.
- text
Metadata GoogleCloud Datalabeling V1beta1Text Metadata Response - Required for text import, as language code must be specified.
- annotation_
type str - Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
- bigquery_
source GoogleCloud Datalabeling V1beta1Big Query Source Response - Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classification_
metadata GoogleCloud Datalabeling V1beta1Classification Metadata Response - Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
- data_
type str - Data type must be specifed when user tries to import data.
- gcs_
source GoogleCloud Datalabeling V1beta1Gcs Source Response - Source located in Cloud Storage.
- text_
metadata GoogleCloud Datalabeling V1beta1Text Metadata Response - Required for text import, as language code must be specified.
- annotation
Type String - Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
- bigquery
Source Property Map - Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classification
Metadata Property Map - Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
- data
Type String - Data type must be specifed when user tries to import data.
- gcs
Source Property Map - Source located in Cloud Storage.
- text
Metadata Property Map - Required for text import, as language code must be specified.
GoogleCloudDatalabelingV1beta1TextMetadataResponse
- Language
Code string - The language of this text, as a BCP-47. Default value is en-US.
- Language
Code string - The language of this text, as a BCP-47. Default value is en-US.
- language
Code String - The language of this text, as a BCP-47. Default value is en-US.
- language
Code string - The language of this text, as a BCP-47. Default value is en-US.
- language_
code str - The language of this text, as a BCP-47. Default value is en-US.
- language
Code String - The language of this text, as a BCP-47. Default value is en-US.
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