Class: Anthropic::Models::Beta::UserProfiles::Providers::Google::DataControlUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb,
sig/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::UserProfiles::Providers::Google::DataControls#update

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(user_profile_id:, cmek: nil, storage: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ DataControlUpdateParams

Some parameter documentations has been truncated, see Anthropic::Models::Beta::UserProfiles::Providers::Google::DataControlUpdateParams for more details.

Parameters:



# File 'lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb', line 55

Instance Attribute Details

#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?

This endpoint is in beta: requests must send google-managed-data-controls-2026-09-01 in this header.

Parameters:

  • (::Array[Anthropic::Models::anthropic_beta])

Returns:



42
# File 'lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb', line 42

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#cmek ⇒ Anthropic::Models::Beta::UserProfiles::Providers::Google::BetaGoogleManagedCMEKDisabledParams, ...

The customer-managed encryption key control. Leave it out to keep the control as it is. Send cmek, storage, or both.

Parameters:

  • (Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_cmek_control_params)

Returns:



26
27
# File 'lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb', line 26

optional :cmek,
union: -> { Anthropic::Beta::UserProfiles::Providers::Google::BetaGoogleManagedCMEKControlParams }

#storage ⇒ Anthropic::Models::Beta::UserProfiles::Providers::Google::BetaGoogleManagedStorageDisabledParams, ...

The customer-owned storage control. Leave it out to keep the control as it is. Send cmek, storage, or both.

Parameters:

  • (Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_storage_control_params)

Returns:



34
35
# File 'lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb', line 34

optional :storage,
union: -> { Anthropic::Beta::UserProfiles::Providers::Google::BetaGoogleManagedStorageControlParams }

#user_profile_id ⇒ String

The ID of the user profile whose Google-managed data controls to update (uprof_...).

Parameters:

  • value (String)

Returns:

  • (String)


19
# File 'lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb', line 19

required :user_profile_id, String

#workspace_id ⇒ String?

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Parameters:

  • (String)

Returns:

  • (String, nil)


53
# File 'lib/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rb', line 53

optional :workspace_id, String

Instance Method Details

#to_hash ⇒ { user_profile_id: String, cmek: Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_cmek_control_params, storage: Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_storage_control_params, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions }

Returns:

  • ({ user_profile_id: String, cmek: Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_cmek_control_params, storage: Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_storage_control_params, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions })


54
55
56
57
58
59
60
61
# File 'sig/anthropic/models/beta/user_profiles/providers/google/data_control_update_params.rbs', line 54

def to_hash: -> {
  user_profile_id: String,
  cmek: Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_cmek_control_params,
  storage: Anthropic::Models::Beta::UserProfiles::Providers::Google::beta_google_managed_storage_control_params,
  betas: ::Array[Anthropic::Models::anthropic_beta],
  workspace_id: String,
  request_options: Anthropic::RequestOptions
}