Class: OpenAI::Models::Admin::Organization::ExternalStorageCreateParams::Provider::Gcp

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/external_storage_create_params.rb,
sig/openai/models/admin/organization/external_storage_create_params.rbs

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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_with_error, 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(bucket:, workload_identity_pool_id:, workload_identity_project_number:, workload_identity_provider_id:, type: :gcp) ⇒ Object

Parameters:

  • bucket (String)
  • workload_identity_pool_id (String)
  • workload_identity_project_number (String)
  • workload_identity_provider_id (String)
  • type (Symbol, :gcp) (defaults to: :gcp)


# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 126

Instance Attribute Details

#bucketString

Parameters:

  • value (String)

Returns:

  • (String)


104
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 104

required :bucket, String

#typeSymbol, :gcp

Parameters:

  • value (:gcp)

Returns:

  • (Symbol, :gcp)


109
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 109

required :type, const: :gcp

#workload_identity_pool_idString

Parameters:

  • value (String)

Returns:

  • (String)


114
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 114

required :workload_identity_pool_id, String

#workload_identity_project_numberString

Parameters:

  • value (String)

Returns:

  • (String)


119
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 119

required :workload_identity_project_number, String

#workload_identity_provider_idString

Parameters:

  • value (String)

Returns:

  • (String)


124
# File 'lib/openai/models/admin/organization/external_storage_create_params.rb', line 124

required :workload_identity_provider_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


128
# File 'sig/openai/models/admin/organization/external_storage_create_params.rbs', line 128

def to_hash: -> {