Datenkontrollen (Google managed) aktualisieren
POST/v1/user_profiles/{user_profile_id}/providers/google/data_controls
Requires
anthropic-beta: google-managed-data-controls-2026-09-01. Learn how to send beta headers.Schaltet eine Kontrolle ein oder aus oder ändert den für eine Region festgelegten Schlüssel oder Bucket. Kontrollen und Regionen, die du weglässt, bleiben unverändert.
Parameters
Returns
Datenkontrollen (Google managed) aktualisieren
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.userprofiles.providers.google.datacontrols.BetaGoogleManagedDataControls;
import com.anthropic.models.beta.userprofiles.providers.google.datacontrols.DataControlUpdateParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaGoogleManagedDataControls betaGoogleManagedDataControls = client.beta().userProfiles().providers().google().dataControls().update("uprof_011CZkZCu8hGbp5mYRQgUmz9");
}
}Response 200
{
"bucket_label_value": "2f6d8c3a-91b4-4e57-8a0c-d5e1f7b3a924",
"cmek": {
"retired_keys": [
{
"expires_at": "2026-09-29T09:14:03Z",
"external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"region": "us"
}
],
"type": "disabled"
},
"storage": {
"retired_buckets": [],
"type": "disabled"
},
"type": "google_managed_data_controls",
"updated_at": "2026-08-30T09:14:03Z",
"user_profile_id": "uprof_011CZkZCu8hGbp5mYRQgUmz9"
}Returns Examples
Response 200
{
"bucket_label_value": "2f6d8c3a-91b4-4e57-8a0c-d5e1f7b3a924",
"cmek": {
"retired_keys": [
{
"expires_at": "2026-09-29T09:14:03Z",
"external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
"region": "us"
}
],
"type": "disabled"
},
"storage": {
"retired_buckets": [],
"type": "disabled"
},
"type": "google_managed_data_controls",
"updated_at": "2026-08-30T09:14:03Z",
"user_profile_id": "uprof_011CZkZCu8hGbp5mYRQgUmz9"
}