permalink |
---|
/vertex_ai_dataset/ |
vertex_ai_dataset
represents the google_vertex_ai_dataset
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withDisplayName()
fn withEncryptionSpec()
fn withEncryptionSpecMixin()
fn withLabels()
fn withMetadataSchemaUri()
fn withProject()
fn withRegion()
fn withTimeouts()
fn withTimeoutsMixin()
obj encryption_spec
obj timeouts
new()
google.vertex_ai_dataset.new
injects a new google_vertex_ai_dataset
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
google.vertex_ai_dataset.new('some_id')
You can get the reference to the id
field of the created google.vertex_ai_dataset
using the reference:
$._ref.google_vertex_ai_dataset.some_id.get('id')
This is the same as directly entering "${ google_vertex_ai_dataset.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.display_name
(string
): 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.labels
(obj
): A set of key/value label pairs to assign to this Workflow. Whennull
, thelabels
field will be omitted from the resulting object.metadata_schema_uri
(string
): 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/.project
(string
): Set theproject
field on the resulting resource block. Whennull
, theproject
field will be omitted from the resulting object.region
(string
): The region of the dataset. eg us-central1 Whennull
, theregion
field will be omitted from the resulting object.encryption_spec
(list[obj]
): 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. Whennull
, theencryption_spec
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the google.vertex_ai_dataset.encryption_spec.new constructor.timeouts
(obj
): Set thetimeouts
field on the resulting resource block. Whennull
, thetimeouts
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the google.vertex_ai_dataset.timeouts.new constructor.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
google.vertex_ai_dataset.newAttrs
constructs a new object with attributes and blocks configured for the vertex_ai_dataset
Terraform resource.
Unlike google.vertex_ai_dataset.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
display_name
(string
): 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.labels
(obj
): A set of key/value label pairs to assign to this Workflow. Whennull
, thelabels
field will be omitted from the resulting object.metadata_schema_uri
(string
): 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/.project
(string
): Set theproject
field on the resulting object. Whennull
, theproject
field will be omitted from the resulting object.region
(string
): The region of the dataset. eg us-central1 Whennull
, theregion
field will be omitted from the resulting object.encryption_spec
(list[obj]
): 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. Whennull
, theencryption_spec
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the google.vertex_ai_dataset.encryption_spec.new constructor.timeouts
(obj
): Set thetimeouts
field on the resulting object. Whennull
, thetimeouts
sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the google.vertex_ai_dataset.timeouts.new constructor.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
vertex_ai_dataset
resource into the root Terraform configuration.
withDisplayName()
google.string.withDisplayName
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the display_name field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thedisplay_name
field.
withEncryptionSpec()
google.list[obj].withEncryptionSpec
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the encryption_spec field.
This function will replace the array with the passed in value
. If you wish to instead append the
passed in value to the existing array, use the google.list[obj].withEncryptionSpecMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theencryption_spec
field.
withEncryptionSpecMixin()
google.list[obj].withEncryptionSpecMixin
constructs a mixin object that can be merged into the list[obj]
Terraform resource block to set or update the encryption_spec field.
This function will append the passed in array or object to the existing array. If you wish
to instead replace the array with the passed in value
, use the google.list[obj].withEncryptionSpec
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(list[obj]
): The value to set for theencryption_spec
field.
withLabels()
google.obj.withLabels
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the labels field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thelabels
field.
withMetadataSchemaUri()
google.string.withMetadataSchemaUri
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the metadata_schema_uri field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for themetadata_schema_uri
field.
withProject()
google.string.withProject
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the project field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theproject
field.
withRegion()
google.string.withRegion
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the region field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theregion
field.
withTimeouts()
google.obj.withTimeouts
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the timeouts field.
This function will replace the map with the passed in value
. If you wish to instead merge the
passed in value to the existing map, use the google.obj.withTimeoutsMixin function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetimeouts
field.
withTimeoutsMixin()
google.obj.withTimeoutsMixin
constructs a mixin object that can be merged into the obj
Terraform resource block to set or update the timeouts field.
This function will merge the passed in value to the existing map. If you wish
to instead replace the entire map with the passed in value
, use the google.obj.withTimeouts
function.
Args:
resourceLabel
(string
): The name label of the block to update.value
(obj
): The value to set for thetimeouts
field.
new()
google.vertex_ai_dataset.encryption_spec.new
constructs a new object with attributes and blocks configured for the encryption_spec
Terraform sub block.
Args:
kms_key_name
(string
): Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. The key needs to be in the same region as where the resource is created. Whennull
, thekms_key_name
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
encryption_spec
sub block.
new()
google.vertex_ai_dataset.timeouts.new
constructs a new object with attributes and blocks configured for the timeouts
Terraform sub block.
Args:
create
(string
): Set thecreate
field on the resulting object. Whennull
, thecreate
field will be omitted from the resulting object.delete
(string
): Set thedelete
field on the resulting object. Whennull
, thedelete
field will be omitted from the resulting object.update
(string
): Set theupdate
field on the resulting object. Whennull
, theupdate
field will be omitted from the resulting object.
Returns:
- An attribute object that represents the
timeouts
sub block.