marmotdata/vertexai
Discover models, endpoints, datasets, feature groups and pipeline jobs from Google Vertex AI
The Vertex AI plugin discovers models, prediction endpoints, managed datasets, feature groups and pipeline jobs from a Google Cloud project.
Managed datasets and feature groups are both catalogued as Datasets, with a feature group's features as the schema. Pipeline jobs are catalogued as Jobs with run history.
Pipeline jobs are off by default because a project keeps a long job history. Turn them on with include_pipeline_jobs: true.
Vertex AI has no wildcard location and serves regional resources from the location's own host, so locations is required and each one is scanned through its own endpoint.
Naming
Vertex AI display names are not unique. An asset is named after its display name, and when more than one resource of the same kind shares one, every one of them is named display name (resource id). A feature group is named after its id.
Lineage
| Edge | Meaning |
|---|---|
| GCS bucket FEEDS model | The bucket holding the model artifact |
| Model FEEDS endpoint | The endpoint serves the model |
| Pipeline job PRODUCES model | The job the model was produced by |
| BigQuery table FEEDS dataset | The table a tabular or time series dataset reads |
| GCS bucket FEEDS dataset | The bucket a dataset reads its files or blobs from |
| BigQuery table FEEDS feature group | The table the feature group reads its features from |
Edges into BigQuery and Cloud Storage name assets those plugins own. Marmot drops an edge whose other end is not catalogued.
Required Permissions
roles/aiplatform.viewer covers every call this plugin makes. With no credentials set, Application Default Credentials are used.
Testing
Google publishes no Vertex AI emulator. The end to end tests serve the aiplatform API themselves, built from the generated API structs, and drive the plugin binary over the gRPC wire:
MARMOT_TEST_VERTEXAI_ENDPOINT=http://127.0.0.1:18821 go test ./...
Keyless authentication
On Marmot Cloud or Marmot Enterprise the pipeline can present its own identity instead of a service account key. Set workload_identity_provider to a Workload Identity Federation provider that trusts your Marmot zone as an OIDC issuer, and grant the pipeline's subject, pipeline:<name> as reported by the pipeline API, the role above directly (principal://iam.googleapis.com/<pool>/subject/pipeline:<name>), or grant it roles/iam.workloadIdentityUser on a service account named in service_account. No key exists anywhere; Marmot mints a short-lived token for each run.
Set zone when you catalogue more than one project or region. It becomes part of every MRN the plugin owns, for example mrn://asset/model/vertex-ai@prod/churn-predictor. BigQuery tables are named <project>.<dataset>.<table> as the BigQuery plugin names them.
In the UI
Point and click, no config file needed.
- Open Runs and choose Create pipeline.
- Pick Google Vertex AI from the plugin list.
- Fill in the settings, set a schedule and save.
With the CLI
Save a YAML config, then run marmot ingest.
Not using plugins? Other ways to populate Marmot
Configuration
Fields marked Required must be set.
tagsList of textTags to apply to discovered assets
external_linksList of groupsExternal links to show on all assets
nameTextDisplay name for the link
iconTextIcon identifier for the link
urlTextURL to the external resource
filterGroup of settingsFilter discovered assets by name (regex)
includeList of textInclude patterns for resource names (regex)
excludeList of textExclude patterns for resource names (regex)
zoneTextTells this system apart from others of the same technology and becomes part of every asset's MRN
audienceTextAudience of the Marmot identity token. Derived from the credentials' federation settings; set it only when the cloud side expects another
project_idText RequiredGoogle Cloud project ID
locationsList of text RequiredRegions to scan
credentials_fileTextPath to service account JSON file
credentials_jsonSecretService account JSON content
workload_identity_providerTextWorkload Identity Federation provider to exchange the Marmot identity token at, projects/<number>/locations/global/workloadIdentityPools/<pool>/providers/<provider>. Setting it federates: no key is needed; bind the pipeline's subject on the Google Cloud side
service_accountTextService account to impersonate after the exchange; empty acts as the federated principal directly
endpointTextCustom endpoint URL, for testing against a local server
disable_authYes or noDisable authentication, for local testing
include_endpointsYes or noWhether to discover prediction endpoints
include_datasetsYes or noWhether to discover managed datasets
include_feature_groupsYes or noWhether to discover feature groups from the feature store
include_pipeline_jobsYes or noWhether to discover pipeline jobs. Projects keep a long job history, so this is off by default
max_pipeline_jobsNumberHow many recent pipeline jobs to read
Assets emitted
Metadata this plugin attaches to each discovered asset.
Common
The metadata every Vertex AI asset carries, whatever its kind.
Model
The metadata a Model asset carries.
Endpoint
The metadata an Endpoint asset carries.
Dataset
The metadata a managed dataset carries. Feature groups are Datasets too, and carry the feature group fields below instead.
Feature Group
The metadata a feature group Dataset asset carries.
Feature
The per-feature fields embedded in a feature group's schema.
Pipeline Job
The metadata a pipeline Job asset carries.