Class: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Oci
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Oci
- Defined in:
- lib/openai/models/admin/organization/external_key_create_params.rb,
sig/openai/models/admin/organization/external_key_create_params.rbs
Defined Under Namespace
Modules: Purpose
Instance Attribute Summary collapse
-
#key_ocid ⇒ String
The OCI Vault key OCID.
-
#key_version_ocid ⇒ String?
The exact OCI key version OCID for PSP decryption.
-
#name ⇒ String
A friendly name to identify this config.
- #purpose ⇒ Symbol, ...
-
#region ⇒ String
The OCI region containing the vault.
- #type ⇒ Symbol, :oci
-
#vault_ocid ⇒ String
The customer OCI Vault OCID.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(key_ocid:, name:, region:, vault_ocid:, key_version_ocid: nil, purpose: nil, type: :oci) ⇒ Oci
constructor
A new instance of Oci.
- #to_hash ⇒ { key_ocid: String, name: String, region: String, ?type: :oci, vault_ocid: String, ?key_version_ocid: String, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Oci::purpose }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(key_ocid:, name:, region:, vault_ocid:, key_version_ocid: nil, purpose: nil, type: :oci) ⇒ Oci
Returns a new instance of Oci.
|
|
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 347
|
Instance Attribute Details
#key_ocid ⇒ String
The OCI Vault key OCID
311 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 311 required :key_ocid, String |
#key_version_ocid ⇒ String?
The exact OCI key version OCID for PSP decryption.
340 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 340 optional :key_version_ocid, String |
#name ⇒ String
A friendly name to identify this config
317 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 317 required :name, String |
#purpose ⇒ Symbol, ...
345 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 345 optional :purpose, enum: -> { OpenAI::Admin::Organization::ExternalKeyCreateParams::Body::Oci::Purpose } |
#region ⇒ String
The OCI region containing the vault
323 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 323 required :region, String |
#type ⇒ Symbol, :oci
328 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 328 required :type, const: :oci |
#vault_ocid ⇒ String
The customer OCI Vault OCID
334 |
# File 'lib/openai/models/admin/organization/external_key_create_params.rb', line 334 required :vault_ocid, String |
Instance Method Details
#to_hash ⇒ { key_ocid: String, name: String, region: String, ?type: :oci, vault_ocid: String, ?key_version_ocid: String, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Oci::purpose }
503 504 505 506 507 508 509 510 511 |
# File 'sig/openai/models/admin/organization/external_key_create_params.rbs', line 503
def to_hash: -> {
key_ocid: String,
name: String,
region: String,
?type: :oci,
vault_ocid: String,
?key_version_ocid: String,
?purpose: OpenAI::Models::Admin::Organization::ExternalKeyCreateParams::Body::Oci::purpose
}
|