Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.datalabeling/v1beta1.Dataset
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates dataset. If success return a Dataset resource. Auto-naming is currently not supported for this resource.
Create Dataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dataset(name: string, args: DatasetArgs, opts?: CustomResourceOptions);@overload
def Dataset(resource_name: str,
            args: DatasetArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Dataset(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            display_name: Optional[str] = None,
            description: Optional[str] = None,
            last_migrate_time: Optional[str] = None,
            project: Optional[str] = None)func NewDataset(ctx *Context, name string, args DatasetArgs, opts ...ResourceOption) (*Dataset, error)public Dataset(string name, DatasetArgs args, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: google-native:datalabeling/v1beta1:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampledatasetResourceResourceFromDatalabelingv1beta1 = new GoogleNative.DataLabeling.V1Beta1.Dataset("exampledatasetResourceResourceFromDatalabelingv1beta1", new()
{
    DisplayName = "string",
    Description = "string",
    LastMigrateTime = "string",
    Project = "string",
});
example, err := datalabeling.NewDataset(ctx, "exampledatasetResourceResourceFromDatalabelingv1beta1", &datalabeling.DatasetArgs{
	DisplayName:     pulumi.String("string"),
	Description:     pulumi.String("string"),
	LastMigrateTime: pulumi.String("string"),
	Project:         pulumi.String("string"),
})
var exampledatasetResourceResourceFromDatalabelingv1beta1 = new Dataset("exampledatasetResourceResourceFromDatalabelingv1beta1", DatasetArgs.builder()
    .displayName("string")
    .description("string")
    .lastMigrateTime("string")
    .project("string")
    .build());
exampledataset_resource_resource_from_datalabelingv1beta1 = google_native.datalabeling.v1beta1.Dataset("exampledatasetResourceResourceFromDatalabelingv1beta1",
    display_name="string",
    description="string",
    last_migrate_time="string",
    project="string")
const exampledatasetResourceResourceFromDatalabelingv1beta1 = new google_native.datalabeling.v1beta1.Dataset("exampledatasetResourceResourceFromDatalabelingv1beta1", {
    displayName: "string",
    description: "string",
    lastMigrateTime: "string",
    project: "string",
});
type: google-native:datalabeling/v1beta1:Dataset
properties:
    description: string
    displayName: string
    lastMigrateTime: string
    project: string
Dataset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dataset resource accepts the following input properties:
- DisplayName string
- The display name of the dataset. Maximum of 64 characters.
- Description string
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- LastMigrate 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.
- Project string
- DisplayName string
- The display name of the dataset. Maximum of 64 characters.
- Description string
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- LastMigrate 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.
- Project string
- displayName String
- The display name of the dataset. Maximum of 64 characters.
- description String
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- lastMigrate 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.
- project String
- displayName string
- The display name of the dataset. Maximum of 64 characters.
- description string
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- lastMigrate 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.
- project string
- display_name str
- The display name of the dataset. Maximum of 64 characters.
- description str
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- 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.
- project str
- displayName String
- The display name of the dataset. Maximum of 64 characters.
- description String
- Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
- lastMigrate 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.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataset resource produces the following output properties:
- BlockingResources List<string>
- The names of any related resources that are blocking changes to the dataset.
- CreateTime string
- Time the dataset is created.
- DataItem stringCount 
- The number of data items in the dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- InputConfigs 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.
- Name string
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- BlockingResources []string
- The names of any related resources that are blocking changes to the dataset.
- CreateTime string
- Time the dataset is created.
- DataItem stringCount 
- The number of data items in the dataset.
- Id string
- The provider-assigned unique ID for this managed resource.
- InputConfigs []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.
- Name string
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blockingResources List<String>
- The names of any related resources that are blocking changes to the dataset.
- createTime String
- Time the dataset is created.
- dataItem StringCount 
- The number of data items in the dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- inputConfigs 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.
- name String
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blockingResources string[]
- The names of any related resources that are blocking changes to the dataset.
- createTime string
- Time the dataset is created.
- dataItem stringCount 
- The number of data items in the dataset.
- id string
- The provider-assigned unique ID for this managed resource.
- inputConfigs 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.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- name str
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
- blockingResources List<String>
- The names of any related resources that are blocking changes to the dataset.
- createTime String
- Time the dataset is created.
- dataItem StringCount 
- The number of data items in the dataset.
- id String
- The provider-assigned unique ID for this managed resource.
- inputConfigs 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.
- name String
- Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
Supporting Types
GoogleCloudDatalabelingV1beta1BigQuerySourceResponse, GoogleCloudDatalabelingV1beta1BigQuerySourceResponseArgs              
- InputUri 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.
- InputUri 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.
- inputUri 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.
- inputUri 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.
- inputUri 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, GoogleCloudDatalabelingV1beta1ClassificationMetadataResponseArgs            
- IsMulti boolLabel 
- Whether the classification task is multi-label or not.
- IsMulti boolLabel 
- Whether the classification task is multi-label or not.
- isMulti BooleanLabel 
- Whether the classification task is multi-label or not.
- isMulti booleanLabel 
- Whether the classification task is multi-label or not.
- is_multi_ boollabel 
- Whether the classification task is multi-label or not.
- isMulti BooleanLabel 
- Whether the classification task is multi-label or not.
GoogleCloudDatalabelingV1beta1GcsSourceResponse, GoogleCloudDatalabelingV1beta1GcsSourceResponseArgs            
GoogleCloudDatalabelingV1beta1InputConfigResponse, GoogleCloudDatalabelingV1beta1InputConfigResponseArgs            
- AnnotationType 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.
- BigquerySource 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.
- ClassificationMetadata 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.
- DataType string
- Data type must be specifed when user tries to import data.
- GcsSource Pulumi.Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Gcs Source Response 
- Source located in Cloud Storage.
- TextMetadata Pulumi.Google Native. Data Labeling. V1Beta1. Inputs. Google Cloud Datalabeling V1beta1Text Metadata Response 
- Required for text import, as language code must be specified.
- AnnotationType 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.
- BigquerySource GoogleCloud Datalabeling V1beta1Big Query Source Response 
- Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- ClassificationMetadata 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.
- DataType string
- Data type must be specifed when user tries to import data.
- GcsSource GoogleCloud Datalabeling V1beta1Gcs Source Response 
- Source located in Cloud Storage.
- TextMetadata GoogleCloud Datalabeling V1beta1Text Metadata Response 
- Required for text import, as language code must be specified.
- annotationType 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.
- bigquerySource GoogleCloud Datalabeling V1beta1Big Query Source Response 
- Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classificationMetadata 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.
- dataType String
- Data type must be specifed when user tries to import data.
- gcsSource GoogleCloud Datalabeling V1beta1Gcs Source Response 
- Source located in Cloud Storage.
- textMetadata GoogleCloud Datalabeling V1beta1Text Metadata Response 
- Required for text import, as language code must be specified.
- annotationType 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.
- bigquerySource GoogleCloud Datalabeling V1beta1Big Query Source Response 
- Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classificationMetadata 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.
- dataType string
- Data type must be specifed when user tries to import data.
- gcsSource GoogleCloud Datalabeling V1beta1Gcs Source Response 
- Source located in Cloud Storage.
- textMetadata 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.
- annotationType 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.
- bigquerySource Property Map
- Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
- classificationMetadata 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.
- dataType String
- Data type must be specifed when user tries to import data.
- gcsSource Property Map
- Source located in Cloud Storage.
- textMetadata Property Map
- Required for text import, as language code must be specified.
GoogleCloudDatalabelingV1beta1TextMetadataResponse, GoogleCloudDatalabelingV1beta1TextMetadataResponseArgs            
- LanguageCode string
- The language of this text, as a BCP-47. Default value is en-US.
- LanguageCode string
- The language of this text, as a BCP-47. Default value is en-US.
- languageCode String
- The language of this text, as a BCP-47. Default value is en-US.
- languageCode 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.
- languageCode 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.