---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["billingAccounts"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Updates an InsightTypeConfig change. This will create a new revision of the config.

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string
- `validateOnly` boolean

## Request body

- GoogleCloudRecommenderV1InsightTypeConfig — Configuration for an InsightType.
  - `updateTime` string, google-datetime — Last time when the config was updated.
  - `revisionId` string — Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
  - `name` string — Identifier. Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
  - `etag` string — Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
  - `annotations` object — Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
  - `displayName` string — A user-settable field to provide a human-readable name to be used in user interfaces.
  - `insightTypeGenerationConfig` GoogleCloudRecommenderV1InsightTypeGenerationConfig — A configuration to customize the generation of insights. Eg, customizing the lookback period considered when generating a insight.
    - `params` object — Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/recommender.md) · [All operations](https://skmtc.dev/google/apis/recommender/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/recommender/revisions/f31252c26a24/schema)
