vertex_ai library

Vertex AI — Feature Store (legacy featurestore / entity type / feature) plus feature groups (BigQuery-backed), managed datasets, experiment Tensorboards (with experiments and runs), pipeline schedules, GenAI cache config, online prediction endpoints, shared deployment resource pools, and Vector Search indexes / index endpoints (plus deployed indexes). Nested config blocks (e.g. encryption_spec) are passed as structured maps.

Classes

AppConstant<T>
A value the Stack hands to application code as a static const in the generated AppExports file — known when synth runs, so the app compiles against it.
AppExports
Where synth writes the Dart file application code imports: the Stack's constants, as the static const members of <name>Constants, and a typed reader of its Terraform outputs, <name>Outputs.
AttributeRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.attribute() may construct instances.
DartDefineOutput
An output whose value is the client build's --dart-define file, registered with Stack.addDartDefineOutput.
Data
Base of every user-instantiable Terraform data block.
DataGoogleVertexAiIndex
Factory wrapper for google_vertex_ai_index.
DataGoogleVertexAiReasoningEngineIamPolicy
Factory wrapper for google_vertex_ai_reasoning_engine_iam_policy.
DataGoogleVertexAiReasoningEngineQuery
Factory wrapper for google_vertex_ai_reasoning_engine_query.
DataRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.data() may construct instances.
EnvironmentConstant
The AppConstant.fromEnvironment choice.
GcsBackend
terraform { backend "gcs" { ... } } configuration.
GoogleVertexAiCacheConfig
Factory wrapper for google_vertex_ai_cache_config.
GoogleVertexAiDataset
Factory wrapper for google_vertex_ai_dataset.
GoogleVertexAiDeploymentResourcePool
Factory wrapper for google_vertex_ai_deployment_resource_pool.
GoogleVertexAiEndpoint
Factory wrapper for google_vertex_ai_endpoint.
GoogleVertexAiEndpointWithModelGardenDeployment
Factory wrapper for google_vertex_ai_endpoint_with_model_garden_deployment.
GoogleVertexAiEvaluationMetric
Factory wrapper for google_vertex_ai_evaluation_metric.
GoogleVertexAiFeatureGroup
Factory wrapper for google_vertex_ai_feature_group.
GoogleVertexAiFeatureGroupFeature
Factory wrapper for google_vertex_ai_feature_group_feature.
GoogleVertexAiFeatureOnlineStore
Factory wrapper for google_vertex_ai_feature_online_store.
GoogleVertexAiFeatureOnlineStoreFeatureview
Factory wrapper for google_vertex_ai_feature_online_store_featureview.
GoogleVertexAiFeaturestore
Factory wrapper for google_vertex_ai_featurestore.
GoogleVertexAiFeaturestoreEntitytype
Factory wrapper for google_vertex_ai_featurestore_entitytype.
GoogleVertexAiFeaturestoreEntitytypeFeature
Factory wrapper for google_vertex_ai_featurestore_entitytype_feature.
GoogleVertexAiIndex
Factory wrapper for google_vertex_ai_index.
GoogleVertexAiIndexEndpoint
Factory wrapper for google_vertex_ai_index_endpoint.
GoogleVertexAiIndexEndpointDeployedIndex
Factory wrapper for google_vertex_ai_index_endpoint_deployed_index.
GoogleVertexAiPersistentResource
Factory wrapper for google_vertex_ai_persistent_resource.
GoogleVertexAiRagCorpus
Factory wrapper for google_vertex_ai_rag_corpus.
GoogleVertexAiRagEngineConfig
Factory wrapper for google_vertex_ai_rag_engine_config.
GoogleVertexAiReasoningEngine
Factory wrapper for google_vertex_ai_reasoning_engine.
GoogleVertexAiReasoningEngineIamBinding
Factory wrapper for google_vertex_ai_reasoning_engine_iam_binding.
GoogleVertexAiReasoningEngineIamMember
Factory wrapper for google_vertex_ai_reasoning_engine_iam_member.
GoogleVertexAiReasoningEngineIamPolicy
Factory wrapper for google_vertex_ai_reasoning_engine_iam_policy.
GoogleVertexAiSemanticGovernancePolicyEngine
Factory wrapper for google_vertex_ai_semantic_governance_policy_engine.
GoogleVertexAiTensorboard
Factory wrapper for google_vertex_ai_tensorboard.
GoogleVertexAiTensorboardExperiment
Factory wrapper for google_vertex_ai_tensorboard_experiment.
GoogleVertexAiTensorboardRun
Factory wrapper for google_vertex_ai_tensorboard_run.
IgnoreAllChanges
IgnoreChanges.all.
IgnoreAttributes
IgnoreChanges.of.
IgnoreChanges
What ignore_changes covers: every attribute, or the listed ones.
InvalidDartDefineOutput
An output of Stack.addDartDefineOutput that cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all.
InvalidLifecycle
A lifecycle block Terraform rejects: a data source (or one of its attributes) in replaceTriggeredBy, all inside IgnoreChanges.of, or a condition with an empty error message.
InvalidMoveTarget
A moved block whose to names no resource of the Stack.
InvalidTimeout
A negative timeouts duration.
LifecycleCondition
A precondition or postcondition block: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false.
LifecycleOptions
lifecycle { ... } block on a resource.
LocalBackend
terraform { backend "local" { ... } } configuration.
MissingProvider
A block needs a provider configuration the Stack does not register: the provider its type implies (google for google_pubsub_topic), the one its provider meta-argument names, or one a module call passes on.
ModuleCall
A module "<localName>" { ... } call as a Dart value.
NoProviders
The Stack registers no provider, but declares resources or data sources.
ProviderConflict
Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
RefConstant<T>
The AppConstant.ref choice.
ReplaceTrigger
What lifecycle.replaceTriggeredBy lists: a resource of the Stack or an attribute getter of one. Resource and TfRef implement it; synth reports a data source or a data-source attribute as an InvalidLifecycle.
Resource
Base of every user-instantiable Terraform resource.
ResourceRef
Public for sealed pattern matching, but constructor is private — only TfRef.resource() may construct instances.
S3Backend
terraform { backend "s3" { ... } } configuration.
Sensitive<T>
What an argument Terraform marks sensitive takes: a variable, an expression or an attribute getter — a value Terraform resolves, never a Dart literal that would be written into main.tf.json.
SensitiveLiteral
A sensitive field is set to a literal, which would write the secret in plain text into main.tf.json.
Stack
User-extended IaC composition root.
StackBackend
Lightweight backend hook. Core ships GcsBackend, S3Backend, and LocalBackend; anything else implements this interface in the caller. The Stack only stores the value and exposes a discriminator for synth's terraform { backend ... } emitter.
StackProvider
Coordination interface between Stack (in this package) and concrete providers (e.g. GoogleProvider in terradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen.
SynthIssue
One reason a Stack cannot be synthesized.
SynthResult
Bundle returned by StackSynth.synth.
TfAddressed
Anything that exposes a Terraform address, e.g. google_pubsub_topic.orders.
TfArg<T>
A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
TfArgExpression<T>
A raw Terraform expression — the tf.json template string, verbatim.
TfArgLiteral<T>
TfArgVariable<T>
TfCollectionType
list(...), set(...) or map(...).
TfMoved
One moved { from = ... to = ... } block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create.
TfObjectType
object({ ... }).
TfOptionalType
optional(<type>[, <default>]).
TfOutput<T>
An output "<name>" { value = ... } block, registered with Stack.addOutput.
TfPrimitiveType
string, number, bool or any.
TfRef<T>
A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
TfTimeouts
timeouts { ... } on a resource or data source: how long Terraform waits for each operation before giving up.
TfTupleType
tuple([...]).
TfType
A Terraform type constraint: string, list(number), object({ name = string }).
TfVariable
One variable "<name>" { ... } declaration.
UndeclaredVariable
A TfArg.variable or var.<name> in an expression names a variable the Stack does not declare.
UnregisteredReference
A block references another block that was never registered on the Stack: built, but not passed to add(...) / addModule(...).
UnresolvableConstant
An AppConstant.ref whose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered.
ValueConstant<T>
The AppConstant.value choice.
VertexAiDatasetEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_dataset (derived from provider schema).
VertexAiDeploymentResourcePoolAutoscalingMetricSpecs
Typed helper for the dedicated_resources.autoscaling_metric_specs block of google_vertex_ai_deployment_resource_pool (derived from provider schema).
VertexAiDeploymentResourcePoolDedicatedResources
Typed helper for the dedicated_resources block of google_vertex_ai_deployment_resource_pool (derived from provider schema).
VertexAiDeploymentResourcePoolMachineSpec
Typed helper for the dedicated_resources.machine_spec block of google_vertex_ai_deployment_resource_pool (derived from provider schema).
VertexAiEndpointBigqueryDestination
Typed helper for the predict_request_response_logging_config.bigquery_destination block of google_vertex_ai_endpoint (derived from provider schema).
VertexAiEndpointEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_endpoint (derived from provider schema).
VertexAiEndpointPredictRequestResponseLoggingConfig
Typed helper for the predict_request_response_logging_config block of google_vertex_ai_endpoint (derived from provider schema).
VertexAiEndpointPrivateServiceConnectConfig
Typed helper for the private_service_connect_config block of google_vertex_ai_endpoint (derived from provider schema).
VertexAiEndpointPscAutomationConfigs
Typed helper for the private_service_connect_config.psc_automation_configs block of google_vertex_ai_endpoint (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentAutoscalingMetricSpecs
Typed helper for the deploy_config.dedicated_resources.autoscaling_metric_specs block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentContainerSpec
Typed helper for the model_config.container_spec block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentDedicatedResources
Typed helper for the deploy_config.dedicated_resources block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentDeployConfig
Typed helper for the deploy_config block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentEndpointConfig
Typed helper for the endpoint_config block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentEnv
Typed helper for the model_config.container_spec.env block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentExec
Typed helper for the model_config.container_spec.health_probe.exec block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema). Shared by every block of this shape in the resource.
VertexAiEndpointWithModelGardenDeploymentGrpc
Typed helper for the model_config.container_spec.health_probe.grpc block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema). Shared by every block of this shape in the resource.
VertexAiEndpointWithModelGardenDeploymentGrpcPorts
Typed helper for the model_config.container_spec.grpc_ports block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentHealthProbe
Typed helper for the model_config.container_spec.health_probe block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentHttpGet
Typed helper for the model_config.container_spec.health_probe.http_get block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema). Shared by every block of this shape in the resource.
VertexAiEndpointWithModelGardenDeploymentHttpHeaders
Typed helper for the model_config.container_spec.health_probe.http_get.http_headers block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema). Shared by every block of this shape in the resource.
VertexAiEndpointWithModelGardenDeploymentHuggingFaceModel
Hugging Face model id (e.g. google/gemma-2-2b-it).
VertexAiEndpointWithModelGardenDeploymentLivenessProbe
Typed helper for the model_config.container_spec.liveness_probe block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentMachineSpec
Typed helper for the deploy_config.dedicated_resources.machine_spec block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentModel
Model identity for GoogleVertexAiEndpointWithModelGardenDeployment. Sealed so the MM exactly_one_of (publisher_model_name / hugging_face_model_id) is exhaustive at the type level.
VertexAiEndpointWithModelGardenDeploymentModelConfig
Typed helper for the model_config block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentPorts
Typed helper for the model_config.container_spec.ports block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentPrivateServiceConnectConfig
Typed helper for the endpoint_config.private_service_connect_config block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentPscAutomationConfigs
Typed helper for the endpoint_config.private_service_connect_config.psc_automation_configs block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentPublisherModel
Model Garden publisher model path (publishers/{publisher}/models/{model}@{version}).
VertexAiEndpointWithModelGardenDeploymentReservationAffinity
Typed helper for the deploy_config.dedicated_resources.machine_spec.reservation_affinity block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentStartupProbe
Typed helper for the model_config.container_spec.startup_probe block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema).
VertexAiEndpointWithModelGardenDeploymentTcpSocket
Typed helper for the model_config.container_spec.health_probe.tcp_socket block of google_vertex_ai_endpoint_with_model_garden_deployment (derived from provider schema). Shared by every block of this shape in the resource.
VertexAiEvaluationMetricEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_evaluation_metric (derived from provider schema).
VertexAiFeatureGroupBigQuery
Typed helper for the big_query block of google_vertex_ai_feature_group (derived from provider schema).
VertexAiFeatureGroupBigQuerySource
Typed helper for the big_query.big_query_source block of google_vertex_ai_feature_group (derived from provider schema).
VertexAiFeatureOnlineStoreBigtable
bigtable storage — Cloud Bigtable instance with required autoscaling.
VertexAiFeatureOnlineStoreBigtableAutoScaling
Autoscaling config under VertexAiFeatureOnlineStoreBigtable (auto_scaling list max 1).
VertexAiFeatureOnlineStoreDedicatedServingEndpoint
Typed helper for the dedicated_serving_endpoint block of google_vertex_ai_feature_online_store (derived from provider schema).
VertexAiFeatureOnlineStoreEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_feature_online_store (derived from provider schema).
VertexAiFeatureOnlineStoreFeatureviewBigQuerySource
Typed helper for the big_query_source block of google_vertex_ai_feature_online_store_featureview (derived from provider schema).
VertexAiFeatureOnlineStoreFeatureviewBigQuerySourceChoice
The VertexAiFeatureOnlineStoreFeatureviewSource.bigQuerySource choice: sets big_query_source.
VertexAiFeatureOnlineStoreFeatureviewFeatureGroups
Typed helper for the feature_registry_source.feature_groups block of google_vertex_ai_feature_online_store_featureview (derived from provider schema).
VertexAiFeatureOnlineStoreFeatureviewFeatureRegistrySource
Typed helper for the feature_registry_source block of google_vertex_ai_feature_online_store_featureview (derived from provider schema).
VertexAiFeatureOnlineStoreFeatureviewFeatureRegistrySourceChoice
The VertexAiFeatureOnlineStoreFeatureviewSource.featureRegistrySource choice: sets feature_registry_source.
VertexAiFeatureOnlineStoreFeatureviewSource
Exactly one of big_query_source, feature_registry_source on google_vertex_ai_feature_online_store_featureview: the provider rejects none and more than one, so each variant sets one of them.
VertexAiFeatureOnlineStoreFeatureviewSyncConfig
At most one of cron, continuous on the sync_config block of google_vertex_ai_feature_online_store_featureview: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
VertexAiFeatureOnlineStoreFeatureviewSyncConfigContinuous
The VertexAiFeatureOnlineStoreFeatureviewSyncConfig.continuous choice: sets continuous.
VertexAiFeatureOnlineStoreFeatureviewSyncConfigCron
The VertexAiFeatureOnlineStoreFeatureviewSyncConfig.cron choice: sets cron.
VertexAiFeatureOnlineStoreOptimized
optimized storage — empty object (allow_empty_object in MM).
VertexAiFeatureOnlineStorePrivateServiceConnectConfig
Typed helper for the dedicated_serving_endpoint.private_service_connect_config block of google_vertex_ai_feature_online_store (derived from provider schema).
VertexAiFeatureOnlineStoreStorage
Online serving storage for GoogleVertexAiFeatureOnlineStore. Sealed so the MM exactly_one_of (bigtable / optimized) is exhaustive at the type level.
VertexAiFeaturestoreEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_featurestore (derived from provider schema).
VertexAiFeaturestoreEntitytypeCategoricalThresholdConfig
Typed helper for the monitoring_config.categorical_threshold_config block of google_vertex_ai_featurestore_entitytype (derived from provider schema).
VertexAiFeaturestoreEntitytypeImportFeaturesAnalysis
Typed helper for the monitoring_config.import_features_analysis block of google_vertex_ai_featurestore_entitytype (derived from provider schema).
VertexAiFeaturestoreEntitytypeMonitoringConfig
Typed helper for the monitoring_config block of google_vertex_ai_featurestore_entitytype (derived from provider schema).
VertexAiFeaturestoreEntitytypeNumericalThresholdConfig
Typed helper for the monitoring_config.numerical_threshold_config block of google_vertex_ai_featurestore_entitytype (derived from provider schema).
VertexAiFeaturestoreEntitytypeSnapshotAnalysis
Typed helper for the monitoring_config.snapshot_analysis block of google_vertex_ai_featurestore_entitytype (derived from provider schema).
VertexAiFeaturestoreOnlineServingConfig
Exactly one of fixed_node_count, scaling on the online_serving_config block of google_vertex_ai_featurestore: the provider rejects none and more than one, so each variant sets one of them.
VertexAiFeaturestoreOnlineServingConfigFixedNodeCount
The VertexAiFeaturestoreOnlineServingConfig.fixedNodeCount choice: sets fixed_node_count.
VertexAiFeaturestoreOnlineServingConfigScaling
The VertexAiFeaturestoreOnlineServingConfig.scaling choice: sets scaling.
VertexAiFeaturestoreScaling
Typed helper for the online_serving_config.scaling block of google_vertex_ai_featurestore (derived from provider schema).
VertexAiIndexAlgorithmConfig
Exactly one of tree_ah_config, brute_force_config on the metadata.config.algorithm_config block of google_vertex_ai_index: the provider rejects none and more than one, so each variant sets one of them.
VertexAiIndexAlgorithmConfigBruteForceConfig
The VertexAiIndexAlgorithmConfig.bruteForceConfig choice: sets brute_force_config.
VertexAiIndexAlgorithmConfigTreeAhConfig
The VertexAiIndexAlgorithmConfig.treeAhConfig choice: sets tree_ah_config.
VertexAiIndexBruteForceConfig
Typed helper for the metadata.config.algorithm_config.brute_force_config block of google_vertex_ai_index (derived from provider schema).
VertexAiIndexConfig
Typed helper for the metadata.config block of google_vertex_ai_index (derived from provider schema).
VertexAiIndexEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_index (derived from provider schema).
VertexAiIndexEndpointConnectivity
At most one of network, private_service_connect_config on google_vertex_ai_index_endpoint: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
VertexAiIndexEndpointConnectivityNetwork
The VertexAiIndexEndpointConnectivity.network choice: sets network.
VertexAiIndexEndpointConnectivityPrivateServiceConnectConfig
The VertexAiIndexEndpointConnectivity.privateServiceConnectConfig choice: sets private_service_connect_config.
VertexAiIndexEndpointDeployedIndexAuthConfig
Typed helper for the deployed_index_auth_config block of google_vertex_ai_index_endpoint_deployed_index (derived from provider schema).
VertexAiIndexEndpointDeployedIndexAuthProvider
Typed helper for the deployed_index_auth_config.auth_provider block of google_vertex_ai_index_endpoint_deployed_index (derived from provider schema).
VertexAiIndexEndpointDeployedIndexAutomaticResources
Typed helper for the automatic_resources block of google_vertex_ai_index_endpoint_deployed_index (derived from provider schema).
VertexAiIndexEndpointDeployedIndexDedicatedResources
Typed helper for the dedicated_resources block of google_vertex_ai_index_endpoint_deployed_index (derived from provider schema).
VertexAiIndexEndpointDeployedIndexMachineSpec
Typed helper for the dedicated_resources.machine_spec block of google_vertex_ai_index_endpoint_deployed_index (derived from provider schema).
VertexAiIndexEndpointEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_index_endpoint (derived from provider schema).
VertexAiIndexEndpointPrivateServiceConnectConfig
Typed helper for the private_service_connect_config block of google_vertex_ai_index_endpoint (derived from provider schema).
VertexAiIndexEndpointPscAutomationConfigs
Typed helper for the private_service_connect_config.psc_automation_configs block of google_vertex_ai_index_endpoint (derived from provider schema).
VertexAiIndexMetadata
Typed helper for the metadata block of google_vertex_ai_index (derived from provider schema).
VertexAiIndexTreeAhConfig
Typed helper for the metadata.config.algorithm_config.tree_ah_config block of google_vertex_ai_index (derived from provider schema).
VertexAiPersistentResourceAutoscalingSpec
Typed helper for the resource_pools.autoscaling_spec block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourceDiskSpec
Typed helper for the resource_pools.disk_spec block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourceDnsPeeringConfigs
Typed helper for the psc_interface_config.dns_peering_configs block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourceEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourceMachineSpec
Typed helper for the resource_pools.machine_spec block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourcePools
Typed helper for the resource_pools block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourcePscInterfaceConfig
Typed helper for the psc_interface_config block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourceRuntimeSpec
Typed helper for the resource_runtime_spec block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiPersistentResourceServiceAccountSpec
Typed helper for the resource_runtime_spec.service_account_spec block of google_vertex_ai_persistent_resource (derived from provider schema).
VertexAiRagCorpusAnn
Typed helper for the vector_db_config.rag_managed_db.ann block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusApiAuth
Typed helper for the vector_db_config.api_auth block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusApiKeyConfig
Exactly one of api_key_secret_version, api_key_string on the vector_db_config.api_auth.api_key_config block of google_vertex_ai_rag_corpus: the provider rejects none and more than one, so each variant sets one of them.
VertexAiRagCorpusApiKeyConfigApiKeySecretVersion
The VertexAiRagCorpusApiKeyConfig.apiKeySecretVersion choice: sets api_key_secret_version.
VertexAiRagCorpusApiKeyConfigApiKeyString
The VertexAiRagCorpusApiKeyConfig.apiKeyString choice: sets api_key_string.
VertexAiRagCorpusBackend
At most one of vector_db_config, vertex_ai_search_config on google_vertex_ai_rag_corpus: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
VertexAiRagCorpusBackendVectorDbConfig
The VertexAiRagCorpusBackend.vectorDbConfig choice: sets vector_db_config.
VertexAiRagCorpusBackendVertexAiSearchConfig
The VertexAiRagCorpusBackend.vertexAiSearchConfig choice: sets vertex_ai_search_config.
VertexAiRagCorpusEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusKnn
Typed helper for the vector_db_config.rag_managed_db.knn block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusPinecone
Typed helper for the vector_db_config.pinecone block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusRagEmbeddingModelConfig
Typed helper for the vector_db_config.rag_embedding_model_config block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusRagManagedDb
Exactly one of knn, ann on the vector_db_config.rag_managed_db block of google_vertex_ai_rag_corpus: the provider rejects none and more than one, so each variant sets one of them.
VertexAiRagCorpusRagManagedDbAnn
The VertexAiRagCorpusRagManagedDb.ann choice: sets ann.
VertexAiRagCorpusRagManagedDbKnn
The VertexAiRagCorpusRagManagedDb.knn choice: sets knn.
VertexAiRagCorpusVectorDbConfig
Typed helper for the vector_db_config block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusVectorDbConfigBackend
At most one of rag_managed_db, pinecone, vertex_vector_search on the vector_db_config block of google_vertex_ai_rag_corpus: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
VertexAiRagCorpusVectorDbConfigBackendPinecone
The VertexAiRagCorpusVectorDbConfigBackend.pinecone choice: sets pinecone.
VertexAiRagCorpusVectorDbConfigBackendRagManagedDb
The VertexAiRagCorpusVectorDbConfigBackend.ragManagedDb choice: sets rag_managed_db.
VertexAiRagCorpusVectorDbConfigBackendVertexVectorSearch
The VertexAiRagCorpusVectorDbConfigBackend.vertexVectorSearch choice: sets vertex_vector_search.
VertexAiRagCorpusVertexAiSearchConfig
Typed helper for the vertex_ai_search_config block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusVertexPredictionEndpoint
Typed helper for the vector_db_config.rag_embedding_model_config.vertex_prediction_endpoint block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagCorpusVertexVectorSearch
Typed helper for the vector_db_config.vertex_vector_search block of google_vertex_ai_rag_corpus (derived from provider schema).
VertexAiRagEngineConfigBasic
Typed helper for the rag_managed_db_config.basic block of google_vertex_ai_rag_engine_config (derived from provider schema).
VertexAiRagEngineConfigRagManagedDbConfig
Exactly one of scaled, basic, unprovisioned on the rag_managed_db_config block of google_vertex_ai_rag_engine_config: the provider rejects none and more than one, so each variant sets one of them.
VertexAiRagEngineConfigRagManagedDbConfigBasic
The VertexAiRagEngineConfigRagManagedDbConfig.basic choice: sets basic.
VertexAiRagEngineConfigRagManagedDbConfigScaled
The VertexAiRagEngineConfigRagManagedDbConfig.scaled choice: sets scaled.
VertexAiRagEngineConfigRagManagedDbConfigUnprovisioned
The VertexAiRagEngineConfigRagManagedDbConfig.unprovisioned choice: sets unprovisioned.
VertexAiRagEngineConfigScaled
Typed helper for the rag_managed_db_config.scaled block of google_vertex_ai_rag_engine_config (derived from provider schema).
VertexAiRagEngineConfigUnprovisioned
Typed helper for the rag_managed_db_config.unprovisioned block of google_vertex_ai_rag_engine_config (derived from provider schema).
VertexAiReasoningEngineAdkConfig
Typed helper for the spec.source_code_spec.agent_config_source.adk_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineAgentConfigSource
Typed helper for the spec.source_code_spec.agent_config_source block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineAgentConfigSourceInlineSource
Typed helper for the spec.source_code_spec.agent_config_source.inline_source block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineAgentGatewayConfig
Typed helper for the spec.deployment_spec.agent_gateway_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineAgentToAnywhereConfig
Typed helper for the spec.deployment_spec.agent_gateway_config.agent_to_anywhere_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineAudioTranscription
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.audio_transcription block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineBuildSpec
Typed helper for the spec.build_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineClientToAgentConfig
Typed helper for the spec.deployment_spec.agent_gateway_config.client_to_agent_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineCodeExecutionResult
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.code_execution_result block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineConfig
Typed helper for the spec.source_code_spec.developer_connect_source.config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineConsolidationConfig
Typed helper for the context_spec.memory_bank_config.customization_configs.consolidation_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineContainerSpec
Typed helper for the spec.container_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineContent
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineContextSpec
Typed helper for the context_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineConversationSource
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineCustomizationConfigs
Typed helper for the context_spec.memory_bank_config.customization_configs block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineCustomMemoryTopic
Typed helper for the context_spec.memory_bank_config.customization_configs.memory_topics.custom_memory_topic block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineDeployment
At most one of container_spec, source_code_spec on the spec block of google_vertex_ai_reasoning_engine: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
VertexAiReasoningEngineDeploymentContainerSpec
The VertexAiReasoningEngineDeployment.containerSpec choice: sets container_spec.
VertexAiReasoningEngineDeploymentSourceCodeSpec
The VertexAiReasoningEngineDeployment.sourceCodeSpec choice: sets source_code_spec.
VertexAiReasoningEngineDeploymentSpec
Typed helper for the spec.deployment_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineDeveloperConnectSource
Typed helper for the spec.source_code_spec.developer_connect_source block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineDnsPeeringConfigs
Typed helper for the spec.deployment_spec.psc_interface_config.dns_peering_configs block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineEnv
Typed helper for the spec.deployment_spec.env block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineEvents
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineExecutableCode
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.executable_code block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineFileData
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.file_data block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineFunctionCall
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.function_call block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineFunctionResponse
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.function_response block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineGeneratedMemories
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.generated_memories block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineGenerateMemoriesExamples
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineGenerationConfig
Typed helper for the context_spec.memory_bank_config.generation_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineGenerationRule
Typed helper for the context_spec.memory_bank_config.generation_config.generation_trigger_config.generation_rule block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineGenerationTriggerConfig
Typed helper for the context_spec.memory_bank_config.generation_config.generation_trigger_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineGranularTtlConfig
Typed helper for the context_spec.memory_bank_config.ttl_config.granular_ttl_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineIamBindingCondition
Typed helper for the condition block of google_vertex_ai_reasoning_engine_iam_binding (derived from provider schema).
VertexAiReasoningEngineIamMemberCondition
Typed helper for the condition block of google_vertex_ai_reasoning_engine_iam_member (derived from provider schema).
VertexAiReasoningEngineImageSpec
Typed helper for the spec.source_code_spec.image_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineInlineData
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.inline_data block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineInlineSource
Typed helper for the spec.source_code_spec.inline_source block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineManagedMemoryTopic
Typed helper for the context_spec.memory_bank_config.customization_configs.memory_topics.managed_memory_topic block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineMemoryBankConfig
Typed helper for the context_spec.memory_bank_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineMemoryTopics
Exactly one of managed_memory_topic, custom_memory_topic on the context_spec.memory_bank_config.customization_configs.memory_topics block of google_vertex_ai_reasoning_engine: the provider rejects none and more than one, so each variant sets one of them.
VertexAiReasoningEngineMemoryTopicsCustomMemoryTopic
The VertexAiReasoningEngineMemoryTopics.customMemoryTopic choice: sets custom_memory_topic.
VertexAiReasoningEngineMemoryTopicsManagedMemoryTopic
The VertexAiReasoningEngineMemoryTopics.managedMemoryTopic choice: sets managed_memory_topic.
VertexAiReasoningEnginePackageSpec
Typed helper for the spec.package_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineParts
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEnginePolicy
Exactly one of default_ttl, granular_ttl_config on the context_spec.memory_bank_config.ttl_config block of google_vertex_ai_reasoning_engine: the provider rejects none and more than one, so each variant sets one of them.
VertexAiReasoningEnginePolicyDefaultTtl
The VertexAiReasoningEnginePolicy.defaultTtl choice: sets default_ttl.
VertexAiReasoningEnginePolicyGranularTtlConfig
The VertexAiReasoningEnginePolicy.granularTtlConfig choice: sets granular_ttl_config.
VertexAiReasoningEnginePscInterfaceConfig
Typed helper for the spec.deployment_spec.psc_interface_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEnginePythonSpec
Typed helper for the spec.source_code_spec.python_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineRuntime
At most one of image_spec, python_spec on the spec.source_code_spec block of google_vertex_ai_reasoning_engine: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
VertexAiReasoningEngineRuntimeImageSpec
The VertexAiReasoningEngineRuntime.imageSpec choice: sets image_spec.
VertexAiReasoningEngineRuntimePythonSpec
The VertexAiReasoningEngineRuntime.pythonSpec choice: sets python_spec.
VertexAiReasoningEngineSchemaConfigs
Typed helper for the context_spec.memory_bank_config.structured_memory_configs.schema_configs block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineSecretEnv
Typed helper for the spec.deployment_spec.secret_env block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineSecretRef
Typed helper for the spec.deployment_spec.secret_env.secret_ref block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineSimilaritySearchConfig
Typed helper for the context_spec.memory_bank_config.similarity_search_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineSourceCodeSpec
Typed helper for the spec.source_code_spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineSpec
Typed helper for the spec block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineStructuredMemoryConfigs
Typed helper for the context_spec.memory_bank_config.structured_memory_configs block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineTopics
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.generated_memories.topics block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineTtlConfig
Typed helper for the context_spec.memory_bank_config.ttl_config block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineVideoMetadata
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.video_metadata block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiReasoningEngineWords
Typed helper for the context_spec.memory_bank_config.customization_configs.generate_memories_examples.conversation_source.events.content.parts.audio_transcription.words block of google_vertex_ai_reasoning_engine (derived from provider schema).
VertexAiSemanticGovernancePolicyEngineGatewayConfigs
Typed helper for the gateway_configs block of google_vertex_ai_semantic_governance_policy_engine (derived from provider schema).
VertexAiTensorboardEncryptionSpec
Typed helper for the encryption_spec block of google_vertex_ai_tensorboard (derived from provider schema).

Enums

ResourceKind
Whether a Stack entry is a resource block or a data block in Terraform JSON.

Extension Types

OutputEnvironment
The environment Stack.outputEnvironment returns: each variable and its value, in registration order.
RefTo
A reference to a resource of type R, for an argument that names another resource (network, vpc_id, role_arn, ...).
VertexAiReasoningEngineIdentityType
identity_type — derived from the provider schema description.
VertexAiReasoningEngineLanguage
language — derived from the provider schema description.
VertexAiReasoningEngineOutcome
outcome — derived from the provider schema description.
VertexAiReasoningEngineTopicsManagedMemoryTopic
managed_memory_topic — derived from the provider schema description.

Extensions

RefToList on TfArg<List<RefTo<R>>>
A list-valued reference argument (security_group_ids, subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'), TfArg.expression(...)).
TerraformDurationExt on Duration
Converts a Dart Duration into a Terraform duration string ("604800s").

Constants

terradartManifestVariable → const String
The environment variable the terradart command sets to the file runStack and runEnvironments describe what they wrote in.

Functions

runEnvironments<E extends Enum>(List<String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?, E? defaultEnv}) → Future<void>
The entry point of a project with one Stack per environment. The environments are the members of an enum of the project's own — any names, each carrying its values — so the Stack takes a typed env and derives everything per environment from it, its backend included:
runStack(List<String> args, Stack build(), {String out = 'tf-out'}) → Future<void>
The entry point of a project with one Stack: writes it to out.

Exceptions / Errors

DuplicateModuleError
A ModuleCall registered twice under one name.
DuplicateResourceError
Thrown by Stack.add when an entry with the same (kind, terraformType, localName) triple is registered twice.
SynthException
Thrown by Stack.synth() and Stack.writeTo() when the Stack has one or more SynthIssues. Nothing is written.