Class: OpenAI::Models::Admin::Organization::GcpExternalStorageProvider

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/admin/organization/gcp_external_storage_provider.rb,
sig/openai/models/admin/organization/gcp_external_storage_provider.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(audience:, bucket:, region:, workload_identity_pool_id:, workload_identity_project_number:, workload_identity_provider_id:, type: :gcp) ⇒ Object

Parameters:

  • audience (String)
  • bucket (String)
  • region (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/gcp_external_storage_provider.rb', line 43

Instance Attribute Details

#audience ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


11
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 11

required :audience, String

#bucket ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 16

required :bucket, String

#region ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


21
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 21

required :region, String

#type ⇒ Symbol, :gcp

Parameters:

  • value (:gcp)

Returns:

  • (Symbol, :gcp)


26
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 26

required :type, const: :gcp

#workload_identity_pool_id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


31
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 31

required :workload_identity_pool_id, String

#workload_identity_project_number ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


36
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 36

required :workload_identity_project_number, String

#workload_identity_provider_id ⇒ String

Parameters:

  • value (String)

Returns:

  • (String)


41
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 41

required :workload_identity_provider_id, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


41
# File 'sig/openai/models/admin/organization/gcp_external_storage_provider.rbs', line 41

def to_hash: -> {