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
#last_response
Instance Method Summary
collapse
-
#initialize(audience:, bucket:, region:, workload_identity_pool_id:, workload_identity_project_number:, workload_identity_provider_id:, type: :gcp) ⇒ GcpExternalStorageProvider
constructor
A new instance of GcpExternalStorageProvider.
-
#to_hash ⇒ { audience: String, bucket: String, region: String, ?type: :gcp, workload_identity_pool_id: String, workload_identity_project_number: String, workload_identity_provider_id: String }
==, #==, #[], #_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
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
#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) ⇒ GcpExternalStorageProvider
Returns a new instance of GcpExternalStorageProvider.
|
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 43
|
Instance Attribute Details
#audience ⇒ String
11
|
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 11
required :audience, String
|
#bucket ⇒ String
16
|
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 16
required :bucket, String
|
#region ⇒ String
21
|
# File 'lib/openai/models/admin/organization/gcp_external_storage_provider.rb', line 21
required :region, String
|
#type ⇒ 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
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
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
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 ⇒ { audience: String, bucket: String, region: String, ?type: :gcp, workload_identity_pool_id: String, workload_identity_project_number: String, workload_identity_provider_id: String }
41
42
43
44
45
46
47
48
49
|
# File 'sig/openai/models/admin/organization/gcp_external_storage_provider.rbs', line 41
def to_hash: -> {
audience: String,
bucket: String,
region: String,
?type: :gcp,
workload_identity_pool_id: String,
workload_identity_project_number: String,
workload_identity_provider_id: String
}
|