gcp.vertex-ai-publisher-model
GCP Resource for Vertex AI Model Garden Publisher Models
https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/publishers.models
This resource provides access to the Vertex AI Model Garden catalog of publisher models from all configured publishers (Google, Anthropic, Meta, etc.).
Note: Uses v1beta1 API because v1 does not support list operations. As of 2026-03, the v1 API only has ‘get’ method for publishers.models. When v1 adds list support, migrate to v1 (expect 180-day deprecation notice per Google Cloud’s beta API policy: https://google.aip.dev/185).
- example:
List all Vertex AI publisher models from all publishers
policies:
- name: vertex-ai-publisher-models
resource: gcp.vertex-ai-publisher-model
- example:
List only Anthropic models
policies:
- name: anthropic-models
resource: gcp.vertex-ai-publisher-model
filters:
- type: value
key: name
op: regex
value: 'publishers/anthropic/.*'
- example:
Find models that used more than 1,000,000 input tokens in the last day
Cloud Monitoring returns one token_count time series per combination
of metric labels, such as type (input or output) and
source region. Filter on the labels you want, then reduce the
remaining series to one value per model.
policies:
- name: vertex-ai-publisher-model-input-tokens
resource: gcp.vertex-ai-publisher-model
filters:
- type: metrics
name: aiplatform.googleapis.com/publisher/online_serving/token_count
filter: metric.labels.type = "input"
aligner: ALIGN_SUM
reducer: REDUCE_SUM
group-by-fields:
- resource.labels.model_user_id
days: 1
op: greater-than
value: 1000000
Filters
metrics
Supports metrics filters on resources.
All resources that have cloud watch metrics are supported.
Docs on cloud watch metrics
Google Supported Metrics https://cloud.google.com/monitoring/api/metrics_gcp
Custom Metrics https://cloud.google.com/monitoring/api/v3/metric-model#intro-custom-metrics
- name: firewall-hit-count
resource: gcp.firewall
filters:
- type: metrics
name: firewallinsights.googleapis.com/subnet/firewall_hit_count
aligner: ALIGN_COUNT
days: 14
value: 1
op: greater-than
The period-start key allows you to align the metric window in two ways.
By default, using auto, the window is computed relative to the current time.
Alternatively, setting it to start-of-day aligns the window to full UTC calendar days,
beginning at 00:00:00 UTC and ending at current day 00:00:00 UTC.
- name: instance-low-cpu-last-full-day
resource: gcp.instance
filters:
- type: metrics
name: compute.googleapis.com/instance/cpu/utilization
aligner: ALIGN_MEAN
days: 1
value: 0.05
op: less-than
period-start: start-of-day
properties:
aligner:
enum:
- ALIGN_NONE
- ALIGN_DELTA
- ALIGN_RATE
- ALIGN_INTERPOLATE
- ALIGN_MIN
- ALIGN_MAX
- ALIGN_MEAN
- ALIGN_COUNT
- ALIGN_SUM
- REDUCE_COUNT_FALSE
- ALIGN_STDDEV
- ALIGN_COUNT_TRUE
- ALIGN_COUNT_FALSE
- ALIGN_FRACTION_TRUE
- ALIGN_PERCENTILE_99
- ALIGN_PERCENTILE_95
- ALIGN_PERCENTILE_50
- ALIGN_PERCENTILE_05
- ALIGN_PERCENT_CHANG
type: string
days:
type: number
filter:
type: string
group-by-fields:
items:
type: string
type: array
metric-key:
type: string
missing-value:
type: number
name:
type: string
op:
enum:
- eq
- equal
- ne
- not-equal
- gt
- greater-than
- ge
- gte
- le
- lte
- lt
- less-than
- glob
- regex
- regex-case
- in
- ni
- not-in
- contains
- difference
- intersect
- mod
type: string
period-start:
enum:
- auto
- start-of-day
type: string
reducer:
enum:
- REDUCE_NONE
- REDUCE_MEAN
- REDUCE_MIN
- REDUCE_MAX
- REDUCE_MEAN
- REDUCE_SUM
- REDUCE_STDDEV
- REDUCE_COUNT
- REDUCE_COUNT_TRUE
- REDUCE_COUNT_FALSE
- REDUCE_FRACTION_TRUE
- REDUCE_PERCENTILE_99
- REDUCE_PERCENTILE_95
- REDUCE_PERCENTILE_50
- REDUCE_PERCENTILE_05
type: string
type:
enum:
- metrics
value:
type: number
required:
- value
- name
- op
Permissions - monitoring.timeSeries.list