Class AiDataset


  • public class AiDataset
    extends com.pulumi.resources.CustomResource
    A collection of DataItems and Annotations on them. To get more information about Dataset, see: * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.datasets) * How-to Guides * [Official Documentation](https://cloud.google.com/vertex-ai/docs) ## Example Usage ### Vertex Ai Dataset ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.gcp.vertex.AiDataset; import com.pulumi.gcp.vertex.AiDatasetArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var dataset = new AiDataset("dataset", AiDatasetArgs.builder() .displayName("terraform") .metadataSchemaUri("gs://google-cloud-aiplatform/schema/dataset/metadata/image_1.0.0.yaml") .region("us-central1") .build()); } } ``` ## Import This resource does not support import.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Constructor Summary

      Constructors 
      Constructor Description
      AiDataset​(java.lang.String name)  
      AiDataset​(java.lang.String name, AiDatasetArgs args)  
      AiDataset​(java.lang.String name, AiDatasetArgs args, com.pulumi.resources.CustomResourceOptions options)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> createTime()  
      com.pulumi.core.Output<java.lang.String> displayName()  
      com.pulumi.core.Output<java.util.Optional<AiDatasetEncryptionSpec>> encryptionSpec()  
      static AiDataset get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, AiDatasetState state, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels()  
      com.pulumi.core.Output<java.lang.String> metadataSchemaUri()  
      com.pulumi.core.Output<java.lang.String> name()  
      com.pulumi.core.Output<java.lang.String> project()  
      com.pulumi.core.Output<java.lang.String> region()  
      com.pulumi.core.Output<java.lang.String> updateTime()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AiDataset

        public AiDataset​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • AiDataset

        public AiDataset​(java.lang.String name,
                         AiDatasetArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • AiDataset

        public AiDataset​(java.lang.String name,
                         AiDatasetArgs args,
                         @Nullable
                         com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • createTime

        public com.pulumi.core.Output<java.lang.String> createTime()
        Returns:
        The timestamp of when the dataset was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
      • displayName

        public com.pulumi.core.Output<java.lang.String> displayName()
        Returns:
        The user-defined name of the Dataset. The name can be up to 128 characters long and can be consist of any UTF-8 characters.
      • encryptionSpec

        public com.pulumi.core.Output<java.util.Optional<AiDatasetEncryptionSpec>> encryptionSpec()
        Returns:
        Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key. Structure is documented below.
      • labels

        public com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels()
        Returns:
        A set of key/value label pairs to assign to this Workflow.
      • metadataSchemaUri

        public com.pulumi.core.Output<java.lang.String> metadataSchemaUri()
        Returns:
        Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/. ***
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The resource name of the Dataset. This value is set by Google.
      • project

        public com.pulumi.core.Output<java.lang.String> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        The region of the dataset. eg us-central1
      • updateTime

        public com.pulumi.core.Output<java.lang.String> updateTime()
        Returns:
        The timestamp of when the dataset was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
      • get

        public static AiDataset get​(java.lang.String name,
                                    com.pulumi.core.Output<java.lang.String> id,
                                    @Nullable
                                    AiDatasetState state,
                                    @Nullable
                                    com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.