Class: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::ExternalStorageCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/admin/organization/external_storage_create_params.rb,
sig/openai/models/admin/organization/external_storage_create_params.rbs
Overview
Defined Under Namespace
Modules: Provider
Instance Attribute Summary collapse
- #project_id ⇒ String
- #provider ⇒ OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::Provider::Aws, ...
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ ExternalStorageCreateParams
constructor
A new instance of ExternalStorageCreateParams.
- #to_hash ⇒ { project_id: String, provider: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::provider, ?request_options: OpenAI::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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 ⇒ ExternalStorageCreateParams
Returns a new instance of ExternalStorageCreateParams.
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'sig/openai/models/admin/organization/external_storage_create_params.rbs', line 68
def initialize: (
project_id: String,
provider: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::provider
| { bucket: String, role_arn: String, type: :aws }
| {
account_name: String,
container: String,
resource_group: String,
subscription_id: String,
tenant_id: String,
type: :azure
}
| {
bucket: String,
type: :gcp,
workload_identity_pool_id: String,
workload_identity_project_number: String,
workload_identity_provider_id: String
}
| {
bucket: String,
region: String,
tenancy_ocid: String,
type: :oci
},
?request_options: OpenAI::request_opts
) -> void
|
Instance Attribute Details
#project_id ⇒ String
15 |
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 15 required :project_id, String |
#provider ⇒ OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::Provider::Aws, ...
20 |
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 20 required :provider, union: -> { OpenAI::Admin::Organization::ExternalStorageCreateParams::Provider } |
Instance Method Details
#to_hash ⇒ { project_id: String, provider: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::provider, ?request_options: OpenAI::RequestOptions }
96 97 98 99 100 |
# File 'sig/openai/models/admin/organization/external_storage_create_params.rbs', line 96
def to_hash: -> {
project_id: String,
provider: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::provider,
?request_options: OpenAI::RequestOptions
}
|