Class: Anthropic::Models::Beta::UserProfiles::Providers::Google::DataControlUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::UserProfiles::Providers::Google::DataControlUpdateParams
- 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
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
google-managed-data-controls-2026-09-01in this header. -
#cmek ⇒ Anthropic::Models::Beta::UserProfiles::Providers::Google::BetaGoogleManagedCMEKDisabledParams, ...
The customer-managed encryption key control.
-
#storage ⇒ Anthropic::Models::Beta::UserProfiles::Providers::Google::BetaGoogleManagedStorageDisabledParams, ...
The customer-owned storage control.
-
#user_profile_id ⇒ String
The ID of the user profile whose Google-managed data controls to update (
uprof_...). -
#workspace_id ⇒ String?
Optional header to select the Workspace for this request.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(user_profile_id:, cmek: nil, storage: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ DataControlUpdateParams
constructor
Some parameter documentations has been truncated, see DataControlUpdateParams for more 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 }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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.
|
|
# 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.
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.
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.
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_...).
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.
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 }
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
}
|