Claude Platform Docs

데이터 제어

Google managed 데이터 제어 조회
BetaGoogleManagedDataControls beta().userProfiles().providers().google().dataControls().retrieve(params = DataControlRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/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.

Google Cloud's Agent Platform의 Claude에 대한 프로필의 암호화 키와 스토리지 버킷을 각 리전의 상태와 함께 가져옵니다.

Google managed 데이터 제어 업데이트
BetaGoogleManagedDataControls beta().userProfiles().providers().google().dataControls().update(params = DataControlUpdateParams.none(), requestOptions = RequestOptions.none())
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.

제어를 켜거나 끄거나, 리전에 설정된 키 또는 버킷을 변경합니다. 생략한 제어와 리전은 그대로 유지됩니다.

Models
class BetaGoogleManagedBucketReference { bucketName; projectNumber; }

A Cloud Storage bucket, named by the project that holds it and by its own name.

String bucketName

The bucket's Cloud Storage name.

String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

class BetaGoogleManagedCmekControl: union

The customer-managed encryption key control, discriminated by type.

class BetaGoogleManagedCmekDisabled { type = "disabled"; retiredKeys; }

The control is off and has no keys.

JsonValue type = "disabled"
List<BetaGoogleManagedRetiredKey> retiredKeys

Keys that a region has retired, earliest expires_at first.

OffsetDateTime expiresAt

When this entry is removed, in RFC 3339 format.

formatdate-time
String externalKeyId

The ID of the retired External Key (ekey_...).

String region

The code of the region that retired the key.

class BetaGoogleManagedCmekEnabled { type = "enabled"; externalKeyIds; retiredKeys; status; }

The control is on and has a key for at least one region.

class BetaGoogleManagedCmekControlParams: union

How to set the cmek control, discriminated by type.

class BetaGoogleManagedCmekDisabledParams { type = "disabled"; }

Turns the control off and removes every region's key.

JsonValue type = "disabled"
class BetaGoogleManagedCmekEnabledParams { type = "enabled"; externalKeyIds; }

Turns the control on, or changes its keys while it is on.

JsonValue type = "enabled"
Optional<ExternalKeyIds> externalKeyIds

The External Key to use in each region, keyed by region code, such as us or eu. An External Key ID (ekey_...) sets that region's key, null removes it, and a region you leave out keeps its key. While the control is on, at least one region must have a key.

class BetaGoogleManagedCmekDisabled { type = "disabled"; retiredKeys; }

The control is off and has no keys.

JsonValue type = "disabled"
List<BetaGoogleManagedRetiredKey> retiredKeys

Keys that a region has retired, earliest expires_at first.

OffsetDateTime expiresAt

When this entry is removed, in RFC 3339 format.

formatdate-time
String externalKeyId

The ID of the retired External Key (ekey_...).

String region

The code of the region that retired the key.

class BetaGoogleManagedCmekDisabledParams { type = "disabled"; }

Turns the control off and removes every region's key.

JsonValue type = "disabled"
class BetaGoogleManagedCmekEnabled { type = "enabled"; externalKeyIds; retiredKeys; status; }

The control is on and has a key for at least one region.

class BetaGoogleManagedCmekEnabledParams { type = "enabled"; externalKeyIds; }

Turns the control on, or changes its keys while it is on.

JsonValue type = "enabled"
Optional<ExternalKeyIds> externalKeyIds

The External Key to use in each region, keyed by region code, such as us or eu. An External Key ID (ekey_...) sets that region's key, null removes it, and a region you leave out keeps its key. While the control is on, at least one region must have a key.

class BetaGoogleManagedCmekRegionActive { type = "active"; effectiveExternalKeyId; error; /* 2 more */ }

The configured key passed validation, and the region applies it.

JsonValue type = "active"
Optional<String> effectiveExternalKeyId

The ID of the External Key that the region applies now (ekey_...). While a replacement key is pending or failed, this is the previous key. null when the region applies no key.

Optional<String> error

Why Google Cloud KMS refused the region's latest use of the key. null when the region has no refusal to report. A null does not mean that the key works.

Optional<OffsetDateTime> lastCheckedAt

When the region last got a successful answer from Google Cloud KMS for the key, in RFC 3339 format. null when it has none to report.

formatdate-time
OffsetDateTime validatedAt

When the status last became active, in RFC 3339 format.

formatdate-time
class BetaGoogleManagedCmekRegionFailed { type = "failed"; effectiveExternalKeyId; error; }

The region stopped retrying validation before the configured key passed. To restart validation, send the region a key again. It can be the same key.

JsonValue type = "failed"
Optional<String> effectiveExternalKeyId

The ID of the External Key that the region applies now (ekey_...). While a replacement key is pending or failed, this is the previous key. null when the region applies no key.

String error

Why the region cannot use the configured key.

class BetaGoogleManagedCmekRegionNotConfigured { type = "not_configured"; effectiveExternalKeyId; }

No key is set for this region.

JsonValue type = "not_configured"
Optional<String> effectiveExternalKeyId

The ID of the External Key that the region applies now (ekey_...). While a replacement key is pending or failed, this is the previous key. null when the region applies no key.

class BetaGoogleManagedCmekRegionPending { type = "pending"; effectiveExternalKeyId; error; }

The region is validating the configured key, or the key has passed validation and the region has not started to apply it.

JsonValue type = "pending"
Optional<String> effectiveExternalKeyId

The ID of the External Key that the region applies now (ekey_...). While a replacement key is pending or failed, this is the previous key. null when the region applies no key.

Optional<String> error

Why the latest validation attempt failed. null when no attempt has failed.

class BetaGoogleManagedCmekRegionStatus: union

One region's status for the cmek control, discriminated by type.

class BetaGoogleManagedCmekRegionSuspended { type = "suspended"; effectiveExternalKeyId; }

Anthropic has withdrawn or paused its approval of customer-managed keys for this profile, so the region does not apply the control.

JsonValue type = "suspended"
Optional<String> effectiveExternalKeyId

The ID of the External Key that the region applies now (ekey_...). While a replacement key is pending or failed, this is the previous key. null when the region applies no key.

class BetaGoogleManagedDataControls { type = "google_managed_data_controls"; bucketLabelValue; cmek; /* 3 more */ }

A user profile's encryption key and storage bucket settings for Claude on Google Cloud's Agent Platform. Every user profile has one of these objects. You can read and update it, but not create or delete it. Keys and buckets are set for each region. A request's region depends on the Google endpoint it is sent to: us is the US multi-region endpoint and the regional endpoint of every location whose name starts with us-, eu is the EU multi-region endpoint and the regional endpoint of every location whose name starts with europe-, sg is the asia-southeast1 regional endpoint, and global is the global endpoint, wherever Google serves the request. Anthropic may add regions.

class BetaGoogleManagedRetiredBucket { bucketName; expiresAt; projectNumber; region; }

A bucket that a region has retired. Until expires_at, keep the bucket and Anthropic's access to it as they were when the bucket passed verification.

String bucketName

The bucket's Cloud Storage name.

OffsetDateTime expiresAt

When this entry is removed, in RFC 3339 format.

formatdate-time
String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

String region

The code of the region that retired the bucket.

class BetaGoogleManagedRetiredKey { expiresAt; externalKeyId; region; }

A key that a region has retired. Keep the key usable until expires_at.

OffsetDateTime expiresAt

When this entry is removed, in RFC 3339 format.

formatdate-time
String externalKeyId

The ID of the retired External Key (ekey_...).

String region

The code of the region that retired the key.

class BetaGoogleManagedStorageBucket { bucketName; kmsKeyName; location; /* 2 more */ }

The bucket configured for a region.

String bucketName

The bucket's Cloud Storage name.

Optional<String> kmsKeyName

The resource name of the Cloud KMS key that the bucket encrypts objects under by default. null until the region has confirmed the bucket, and when the bucket has no default key.

Optional<String> location

The bucket's location, as Cloud Storage reports it. null until the region has confirmed the bucket.

Optional<String> projectId

The ID of the project that holds the bucket. null until the region has confirmed the bucket.

String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

class BetaGoogleManagedStorageControl: union

The customer-owned storage control, discriminated by type.

class BetaGoogleManagedStorageDisabled { type = "disabled"; retiredBuckets; }

The control is off and has no buckets.

JsonValue type = "disabled"
List<BetaGoogleManagedRetiredBucket> retiredBuckets

Buckets that a region has retired, earliest expires_at first.

String bucketName

The bucket's Cloud Storage name.

OffsetDateTime expiresAt

When this entry is removed, in RFC 3339 format.

formatdate-time
String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

String region

The code of the region that retired the bucket.

class BetaGoogleManagedStorageEnabled { type = "enabled"; buckets; retiredBuckets; status; }

The control is on and has a bucket for at least one region.

class BetaGoogleManagedStorageControlParams: union

How to set the storage control, discriminated by type.

class BetaGoogleManagedStorageDisabledParams { type = "disabled"; }

Turns the control off and removes every region's bucket.

JsonValue type = "disabled"
class BetaGoogleManagedStorageEnabledParams { type = "enabled"; buckets; }

Turns the control on, or changes its buckets while it is on.

JsonValue type = "enabled"
Optional<Buckets> buckets

The bucket to use in each region, keyed by region code, such as us or eu. An object with project_number and bucket_name sets that region's bucket, null removes it, and a region you leave out keeps its bucket. A bucket can serve only one region. While the control is on, at least one region must have a bucket.

String bucketName

The bucket's Cloud Storage name.

String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

class BetaGoogleManagedStorageDisabled { type = "disabled"; retiredBuckets; }

The control is off and has no buckets.

JsonValue type = "disabled"
List<BetaGoogleManagedRetiredBucket> retiredBuckets

Buckets that a region has retired, earliest expires_at first.

String bucketName

The bucket's Cloud Storage name.

OffsetDateTime expiresAt

When this entry is removed, in RFC 3339 format.

formatdate-time
String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

String region

The code of the region that retired the bucket.

class BetaGoogleManagedStorageDisabledParams { type = "disabled"; }

Turns the control off and removes every region's bucket.

JsonValue type = "disabled"
class BetaGoogleManagedStorageEnabled { type = "enabled"; buckets; retiredBuckets; status; }

The control is on and has a bucket for at least one region.

class BetaGoogleManagedStorageEnabledParams { type = "enabled"; buckets; }

Turns the control on, or changes its buckets while it is on.

JsonValue type = "enabled"
Optional<Buckets> buckets

The bucket to use in each region, keyed by region code, such as us or eu. An object with project_number and bucket_name sets that region's bucket, null removes it, and a region you leave out keeps its bucket. A bucket can serve only one region. While the control is on, at least one region must have a bucket.

String bucketName

The bucket's Cloud Storage name.

String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

class BetaGoogleManagedStorageFailedCheck { check; message; role; }

One check that a verification attempt failed.

class BetaGoogleManagedStorageRegionActive { type = "active"; effectiveBucket; failedChecks; validatedAt; }

The configured bucket passed verification, and the region applies it.

class BetaGoogleManagedStorageRegionFailed { type = "failed"; effectiveBucket; failedChecks; }

The region stopped retrying verification before the configured bucket passed. To restart verification, send the region a bucket again. It can be the same bucket.

class BetaGoogleManagedStorageRegionNotConfigured { type = "not_configured"; effectiveBucket; }

No bucket is set for this region.

JsonValue type = "not_configured"
Optional<BetaGoogleManagedBucketReference> effectiveBucket

The bucket that the region applies now. While a replacement bucket is pending or failed, this is the previous bucket. null when the region applies no bucket.

String bucketName

The bucket's Cloud Storage name.

String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.

class BetaGoogleManagedStorageRegionPending { type = "pending"; effectiveBucket; failedChecks; }

The region is verifying the configured bucket.

class BetaGoogleManagedStorageRegionStatus: union

One region's status for the storage control, discriminated by type.

class BetaGoogleManagedStorageRegionSuspended { type = "suspended"; effectiveBucket; }

Anthropic has withdrawn or paused its approval of customer-owned storage for this profile, so the region does not apply the control.

JsonValue type = "suspended"
Optional<BetaGoogleManagedBucketReference> effectiveBucket

The bucket that the region applies now. While a replacement bucket is pending or failed, this is the previous bucket. null when the region applies no bucket.

String bucketName

The bucket's Cloud Storage name.

String projectNumber

The number of the Google Cloud project that holds the bucket, in decimal.