openai 0.64.0 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/openai/models/admin/organization/audit_log_list_params.rb +6 -0
- data/lib/openai/models/admin/organization/audit_log_list_response.rb +231 -1
- data/lib/openai/models/chat/chat_completion.rb +341 -3
- data/lib/openai/models/chat/chat_completion_chunk.rb +341 -1
- data/lib/openai/models/chat/completion_create_params.rb +42 -1
- data/lib/openai/models/conversations/conversation_create_params.rb +2 -2
- data/lib/openai/models/conversations/conversation_item.rb +57 -1
- data/lib/openai/models/conversations/conversation_item_list.rb +2 -2
- data/lib/openai/models/conversations/item_create_params.rb +2 -2
- data/lib/openai/models/responses/compacted_response.rb +2 -2
- data/lib/openai/models/responses/input_token_count_params.rb +41 -4
- data/lib/openai/models/responses/response.rb +296 -6
- data/lib/openai/models/responses/response_compact_params.rb +3 -3
- data/lib/openai/models/responses/response_create_params.rb +45 -4
- data/lib/openai/models/responses/response_function_web_search.rb +11 -9
- data/lib/openai/models/responses/response_input_item.rb +38 -1
- data/lib/openai/models/responses/response_item.rb +57 -1
- data/lib/openai/models/responses/response_item_list.rb +2 -2
- data/lib/openai/models/responses/response_output_item.rb +57 -1
- data/lib/openai/models/responses/response_output_item_added_event.rb +2 -2
- data/lib/openai/models/responses/response_output_item_done_event.rb +2 -2
- data/lib/openai/models/responses/responses_client_event.rb +46 -4
- data/lib/openai/resources/chat/completions.rb +6 -2
- data/lib/openai/resources/conversations/items.rb +3 -3
- data/lib/openai/resources/conversations.rb +1 -1
- data/lib/openai/resources/responses/input_items.rb +1 -1
- data/lib/openai/resources/responses/input_tokens.rb +4 -2
- data/lib/openai/resources/responses.rb +9 -5
- data/lib/openai/version.rb +1 -1
- data/rbi/openai/models/admin/organization/audit_log_list_params.rbi +30 -0
- data/rbi/openai/models/admin/organization/audit_log_list_response.rbi +489 -3
- data/rbi/openai/models/chat/chat_completion.rbi +620 -3
- data/rbi/openai/models/chat/chat_completion_chunk.rbi +621 -0
- data/rbi/openai/models/chat/completion_create_params.rbi +76 -0
- data/rbi/openai/models/conversations/conversation_create_params.rbi +3 -0
- data/rbi/openai/models/conversations/conversation_item.rbi +150 -0
- data/rbi/openai/models/conversations/conversation_item_list.rbi +1 -0
- data/rbi/openai/models/conversations/item_create_params.rbi +3 -0
- data/rbi/openai/models/responses/compacted_response.rbi +1 -0
- data/rbi/openai/models/responses/input_token_count_params.rbi +85 -0
- data/rbi/openai/models/responses/response.rbi +510 -0
- data/rbi/openai/models/responses/response_create_params.rbi +78 -0
- data/rbi/openai/models/responses/response_function_web_search.rbi +11 -8
- data/rbi/openai/models/responses/response_input_item.rbi +120 -0
- data/rbi/openai/models/responses/response_item.rbi +150 -0
- data/rbi/openai/models/responses/response_item_list.rbi +1 -0
- data/rbi/openai/models/responses/response_output_item.rbi +150 -0
- data/rbi/openai/models/responses/response_output_item_added_event.rbi +1 -0
- data/rbi/openai/models/responses/response_output_item_done_event.rbi +1 -0
- data/rbi/openai/models/responses/responses_client_event.rbi +78 -0
- data/rbi/openai/resources/chat/completions.rbi +28 -0
- data/rbi/openai/resources/conversations/items.rbi +1 -0
- data/rbi/openai/resources/conversations.rbi +1 -0
- data/rbi/openai/resources/responses/input_tokens.rbi +9 -0
- data/rbi/openai/resources/responses.rbi +28 -0
- data/sig/openai/models/admin/organization/audit_log_list_params.rbs +12 -0
- data/sig/openai/models/admin/organization/audit_log_list_response.rbs +216 -3
- data/sig/openai/models/chat/chat_completion.rbs +243 -0
- data/sig/openai/models/chat/chat_completion_chunk.rbs +243 -0
- data/sig/openai/models/chat/completion_create_params.rbs +15 -0
- data/sig/openai/models/conversations/conversation_item.rbs +58 -0
- data/sig/openai/models/responses/input_token_count_params.rbs +20 -0
- data/sig/openai/models/responses/response.rbs +189 -0
- data/sig/openai/models/responses/response_create_params.rbs +15 -0
- data/sig/openai/models/responses/response_function_web_search.rbs +7 -5
- data/sig/openai/models/responses/response_input_item.rbs +33 -0
- data/sig/openai/models/responses/response_item.rbs +58 -0
- data/sig/openai/models/responses/response_output_item.rbs +58 -0
- data/sig/openai/models/responses/responses_client_event.rbs +15 -0
- data/sig/openai/resources/chat/completions.rbs +2 -0
- data/sig/openai/resources/responses/input_tokens.rbs +1 -0
- data/sig/openai/resources/responses.rbs +2 -0
- metadata +2 -2
|
@@ -67,6 +67,10 @@ module OpenAI
|
|
|
67
67
|
OpenAI::Chat::CompletionCreateParams::Modality::OrSymbol
|
|
68
68
|
]
|
|
69
69
|
),
|
|
70
|
+
moderation:
|
|
71
|
+
T.nilable(
|
|
72
|
+
OpenAI::Chat::CompletionCreateParams::Moderation::OrHash
|
|
73
|
+
),
|
|
70
74
|
n: T.nilable(Integer),
|
|
71
75
|
parallel_tool_calls: T::Boolean,
|
|
72
76
|
prediction:
|
|
@@ -209,6 +213,8 @@ module OpenAI
|
|
|
209
213
|
#
|
|
210
214
|
# `["text", "audio"]`
|
|
211
215
|
modalities: nil,
|
|
216
|
+
# Configuration for running moderation on the request input and generated output.
|
|
217
|
+
moderation: nil,
|
|
212
218
|
# How many chat completion choices to generate for each input message. Note that
|
|
213
219
|
# you will be charged based on the number of generated tokens across all of the
|
|
214
220
|
# choices. Keep `n` as `1` to minimize costs.
|
|
@@ -232,6 +238,14 @@ module OpenAI
|
|
|
232
238
|
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
233
239
|
# of 24 hours.
|
|
234
240
|
# [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
241
|
+
# For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
|
|
242
|
+
#
|
|
243
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
244
|
+
# your organization's data retention policy:
|
|
245
|
+
#
|
|
246
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
247
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
248
|
+
# `prompt_cache_retention` is not specified.
|
|
235
249
|
prompt_cache_retention: nil,
|
|
236
250
|
# Constrains effort on reasoning for
|
|
237
251
|
# [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
|
|
@@ -408,6 +422,10 @@ module OpenAI
|
|
|
408
422
|
OpenAI::Chat::CompletionCreateParams::Modality::OrSymbol
|
|
409
423
|
]
|
|
410
424
|
),
|
|
425
|
+
moderation:
|
|
426
|
+
T.nilable(
|
|
427
|
+
OpenAI::Chat::CompletionCreateParams::Moderation::OrHash
|
|
428
|
+
),
|
|
411
429
|
n: T.nilable(Integer),
|
|
412
430
|
parallel_tool_calls: T::Boolean,
|
|
413
431
|
prediction:
|
|
@@ -548,6 +566,8 @@ module OpenAI
|
|
|
548
566
|
#
|
|
549
567
|
# `["text", "audio"]`
|
|
550
568
|
modalities: nil,
|
|
569
|
+
# Configuration for running moderation on the request input and generated output.
|
|
570
|
+
moderation: nil,
|
|
551
571
|
# How many chat completion choices to generate for each input message. Note that
|
|
552
572
|
# you will be charged based on the number of generated tokens across all of the
|
|
553
573
|
# choices. Keep `n` as `1` to minimize costs.
|
|
@@ -571,6 +591,14 @@ module OpenAI
|
|
|
571
591
|
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
572
592
|
# of 24 hours.
|
|
573
593
|
# [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
594
|
+
# For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
|
|
595
|
+
#
|
|
596
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
597
|
+
# your organization's data retention policy:
|
|
598
|
+
#
|
|
599
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
600
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
601
|
+
# `prompt_cache_retention` is not specified.
|
|
574
602
|
prompt_cache_retention: nil,
|
|
575
603
|
# Constrains effort on reasoning for
|
|
576
604
|
# [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
|
|
@@ -23,6 +23,7 @@ module OpenAI
|
|
|
23
23
|
OpenAI::Responses::ResponseInputItem::FunctionCallOutput::OrHash,
|
|
24
24
|
OpenAI::Responses::ResponseInputItem::ToolSearchCall::OrHash,
|
|
25
25
|
OpenAI::Responses::ResponseToolSearchOutputItemParam::OrHash,
|
|
26
|
+
OpenAI::Responses::ResponseInputItem::AdditionalTools::OrHash,
|
|
26
27
|
OpenAI::Responses::ResponseReasoningItem::OrHash,
|
|
27
28
|
OpenAI::Responses::ResponseCompactionItemParam::OrHash,
|
|
28
29
|
OpenAI::Responses::ResponseInputItem::ImageGenerationCall::OrHash,
|
|
@@ -26,6 +26,7 @@ module OpenAI
|
|
|
26
26
|
OpenAI::Responses::ResponseInputItem::FunctionCallOutput::OrHash,
|
|
27
27
|
OpenAI::Responses::ResponseInputItem::ToolSearchCall::OrHash,
|
|
28
28
|
OpenAI::Responses::ResponseToolSearchOutputItemParam::OrHash,
|
|
29
|
+
OpenAI::Responses::ResponseInputItem::AdditionalTools::OrHash,
|
|
29
30
|
OpenAI::Responses::ResponseReasoningItem::OrHash,
|
|
30
31
|
OpenAI::Responses::ResponseCompactionItemParam::OrHash,
|
|
31
32
|
OpenAI::Responses::ResponseInputItem::ImageGenerationCall::OrHash,
|
|
@@ -24,6 +24,11 @@ module OpenAI
|
|
|
24
24
|
instructions: T.nilable(String),
|
|
25
25
|
model: T.nilable(String),
|
|
26
26
|
parallel_tool_calls: T.nilable(T::Boolean),
|
|
27
|
+
personality:
|
|
28
|
+
T.any(
|
|
29
|
+
String,
|
|
30
|
+
OpenAI::Responses::InputTokenCountParams::Personality::OrSymbol
|
|
31
|
+
),
|
|
27
32
|
previous_response_id: T.nilable(String),
|
|
28
33
|
reasoning: T.nilable(OpenAI::Reasoning::OrHash),
|
|
29
34
|
text:
|
|
@@ -89,6 +94,10 @@ module OpenAI
|
|
|
89
94
|
model: nil,
|
|
90
95
|
# Whether to allow the model to run tool calls in parallel.
|
|
91
96
|
parallel_tool_calls: nil,
|
|
97
|
+
# A model-owned style preset to apply to this request. Omit this parameter to use
|
|
98
|
+
# the model's default style. Supported values may expand over time. Values must be
|
|
99
|
+
# at most 64 characters.
|
|
100
|
+
personality: nil,
|
|
92
101
|
# The unique ID of the previous response to the model. Use this to create
|
|
93
102
|
# multi-turn conversations. Learn more about
|
|
94
103
|
# [conversation state](https://platform.openai.com/docs/guides/conversation-state).
|
|
@@ -53,6 +53,10 @@ module OpenAI
|
|
|
53
53
|
OpenAI::ChatModel::OrSymbol,
|
|
54
54
|
OpenAI::ResponsesModel::ResponsesOnlyModel::OrSymbol
|
|
55
55
|
),
|
|
56
|
+
moderation:
|
|
57
|
+
T.nilable(
|
|
58
|
+
OpenAI::Responses::ResponseCreateParams::Moderation::OrHash
|
|
59
|
+
),
|
|
56
60
|
parallel_tool_calls: T.nilable(T::Boolean),
|
|
57
61
|
previous_response_id: T.nilable(String),
|
|
58
62
|
prompt: T.nilable(OpenAI::Responses::ResponsePrompt::OrHash),
|
|
@@ -188,6 +192,8 @@ module OpenAI
|
|
|
188
192
|
# [model guide](https://platform.openai.com/docs/models) to browse and compare
|
|
189
193
|
# available models.
|
|
190
194
|
model: nil,
|
|
195
|
+
# Configuration for running moderation on the input and output of this response.
|
|
196
|
+
moderation: nil,
|
|
191
197
|
# Whether to allow the model to run tool calls in parallel.
|
|
192
198
|
parallel_tool_calls: nil,
|
|
193
199
|
# The unique ID of the previous response to the model. Use this to create
|
|
@@ -206,6 +212,14 @@ module OpenAI
|
|
|
206
212
|
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
207
213
|
# of 24 hours.
|
|
208
214
|
# [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
215
|
+
# For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
|
|
216
|
+
#
|
|
217
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
218
|
+
# your organization's data retention policy:
|
|
219
|
+
#
|
|
220
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
221
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
222
|
+
# `prompt_cache_retention` is not specified.
|
|
209
223
|
prompt_cache_retention: nil,
|
|
210
224
|
# **gpt-5 and o-series models only**
|
|
211
225
|
#
|
|
@@ -350,6 +364,10 @@ module OpenAI
|
|
|
350
364
|
OpenAI::ChatModel::OrSymbol,
|
|
351
365
|
OpenAI::ResponsesModel::ResponsesOnlyModel::OrSymbol
|
|
352
366
|
),
|
|
367
|
+
moderation:
|
|
368
|
+
T.nilable(
|
|
369
|
+
OpenAI::Responses::ResponseCreateParams::Moderation::OrHash
|
|
370
|
+
),
|
|
353
371
|
parallel_tool_calls: T.nilable(T::Boolean),
|
|
354
372
|
previous_response_id: T.nilable(String),
|
|
355
373
|
prompt: T.nilable(OpenAI::Responses::ResponsePrompt::OrHash),
|
|
@@ -491,6 +509,8 @@ module OpenAI
|
|
|
491
509
|
# [model guide](https://platform.openai.com/docs/models) to browse and compare
|
|
492
510
|
# available models.
|
|
493
511
|
model: nil,
|
|
512
|
+
# Configuration for running moderation on the input and output of this response.
|
|
513
|
+
moderation: nil,
|
|
494
514
|
# Whether to allow the model to run tool calls in parallel.
|
|
495
515
|
parallel_tool_calls: nil,
|
|
496
516
|
# The unique ID of the previous response to the model. Use this to create
|
|
@@ -509,6 +529,14 @@ module OpenAI
|
|
|
509
529
|
# prompt caching, which keeps cached prefixes active for longer, up to a maximum
|
|
510
530
|
# of 24 hours.
|
|
511
531
|
# [Learn more](https://platform.openai.com/docs/guides/prompt-caching#prompt-cache-retention).
|
|
532
|
+
# For `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.
|
|
533
|
+
#
|
|
534
|
+
# For older models that support both `in_memory` and `24h`, the default depends on
|
|
535
|
+
# your organization's data retention policy:
|
|
536
|
+
#
|
|
537
|
+
# - Organizations without ZDR enabled default to `24h`.
|
|
538
|
+
# - Organizations with ZDR enabled default to `in_memory` when
|
|
539
|
+
# `prompt_cache_retention` is not specified.
|
|
512
540
|
prompt_cache_retention: nil,
|
|
513
541
|
# **gpt-5 and o-series models only**
|
|
514
542
|
#
|
|
@@ -160,6 +160,12 @@ module OpenAI
|
|
|
160
160
|
| :"tunnel.created"
|
|
161
161
|
| :"tunnel.updated"
|
|
162
162
|
| :"tunnel.deleted"
|
|
163
|
+
| :"workload_identity_provider.created"
|
|
164
|
+
| :"workload_identity_provider.updated"
|
|
165
|
+
| :"workload_identity_provider.deleted"
|
|
166
|
+
| :"workload_identity_provider_mapping.created"
|
|
167
|
+
| :"workload_identity_provider_mapping.updated"
|
|
168
|
+
| :"workload_identity_provider_mapping.deleted"
|
|
163
169
|
| :"role.created"
|
|
164
170
|
| :"role.updated"
|
|
165
171
|
| :"role.deleted"
|
|
@@ -215,6 +221,12 @@ module OpenAI
|
|
|
215
221
|
TUNNEL_CREATED: :"tunnel.created"
|
|
216
222
|
TUNNEL_UPDATED: :"tunnel.updated"
|
|
217
223
|
TUNNEL_DELETED: :"tunnel.deleted"
|
|
224
|
+
WORKLOAD_IDENTITY_PROVIDER_CREATED: :"workload_identity_provider.created"
|
|
225
|
+
WORKLOAD_IDENTITY_PROVIDER_UPDATED: :"workload_identity_provider.updated"
|
|
226
|
+
WORKLOAD_IDENTITY_PROVIDER_DELETED: :"workload_identity_provider.deleted"
|
|
227
|
+
WORKLOAD_IDENTITY_PROVIDER_MAPPING_CREATED: :"workload_identity_provider_mapping.created"
|
|
228
|
+
WORKLOAD_IDENTITY_PROVIDER_MAPPING_UPDATED: :"workload_identity_provider_mapping.updated"
|
|
229
|
+
WORKLOAD_IDENTITY_PROVIDER_MAPPING_DELETED: :"workload_identity_provider_mapping.deleted"
|
|
218
230
|
ROLE_CREATED: :"role.created"
|
|
219
231
|
ROLE_UPDATED: :"role.updated"
|
|
220
232
|
ROLE_DELETED: :"role.deleted"
|
|
@@ -55,7 +55,13 @@ module OpenAI
|
|
|
55
55
|
service_account_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated,
|
|
56
56
|
user_added: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded,
|
|
57
57
|
user_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserDeleted,
|
|
58
|
-
user_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated
|
|
58
|
+
user_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated,
|
|
59
|
+
workload_identity_provider_mapping_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingCreated,
|
|
60
|
+
workload_identity_provider_mapping_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingDeleted,
|
|
61
|
+
workload_identity_provider_mapping_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingUpdated,
|
|
62
|
+
workload_identity_provider_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderCreated,
|
|
63
|
+
workload_identity_provider_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderDeleted,
|
|
64
|
+
workload_identity_provider_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderUpdated
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
class AuditLogListResponse < OpenAI::Internal::Type::BaseModel
|
|
@@ -351,6 +357,42 @@ module OpenAI
|
|
|
351
357
|
OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated
|
|
352
358
|
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated
|
|
353
359
|
|
|
360
|
+
attr_reader workload_identity_provider_mapping_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingCreated?
|
|
361
|
+
|
|
362
|
+
def workload_identity_provider_mapping_created=: (
|
|
363
|
+
OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingCreated
|
|
364
|
+
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingCreated
|
|
365
|
+
|
|
366
|
+
attr_reader workload_identity_provider_mapping_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingDeleted?
|
|
367
|
+
|
|
368
|
+
def workload_identity_provider_mapping_deleted=: (
|
|
369
|
+
OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingDeleted
|
|
370
|
+
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingDeleted
|
|
371
|
+
|
|
372
|
+
attr_reader workload_identity_provider_mapping_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingUpdated?
|
|
373
|
+
|
|
374
|
+
def workload_identity_provider_mapping_updated=: (
|
|
375
|
+
OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingUpdated
|
|
376
|
+
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingUpdated
|
|
377
|
+
|
|
378
|
+
attr_reader workload_identity_provider_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderCreated?
|
|
379
|
+
|
|
380
|
+
def workload_identity_provider_created=: (
|
|
381
|
+
OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderCreated
|
|
382
|
+
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderCreated
|
|
383
|
+
|
|
384
|
+
attr_reader workload_identity_provider_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderDeleted?
|
|
385
|
+
|
|
386
|
+
def workload_identity_provider_deleted=: (
|
|
387
|
+
OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderDeleted
|
|
388
|
+
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderDeleted
|
|
389
|
+
|
|
390
|
+
attr_reader workload_identity_provider_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderUpdated?
|
|
391
|
+
|
|
392
|
+
def workload_identity_provider_updated=: (
|
|
393
|
+
OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderUpdated
|
|
394
|
+
) -> OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderUpdated
|
|
395
|
+
|
|
354
396
|
def initialize: (
|
|
355
397
|
id: String,
|
|
356
398
|
effective_at: Integer,
|
|
@@ -403,7 +445,13 @@ module OpenAI
|
|
|
403
445
|
?service_account_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated,
|
|
404
446
|
?user_added: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded,
|
|
405
447
|
?user_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserDeleted,
|
|
406
|
-
?user_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated
|
|
448
|
+
?user_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated,
|
|
449
|
+
?workload_identity_provider_mapping_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingCreated,
|
|
450
|
+
?workload_identity_provider_mapping_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingDeleted,
|
|
451
|
+
?workload_identity_provider_mapping_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingUpdated,
|
|
452
|
+
?workload_identity_provider_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderCreated,
|
|
453
|
+
?workload_identity_provider_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderDeleted,
|
|
454
|
+
?workload_identity_provider_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderUpdated
|
|
407
455
|
) -> void
|
|
408
456
|
|
|
409
457
|
def to_hash: -> {
|
|
@@ -458,7 +506,13 @@ module OpenAI
|
|
|
458
506
|
service_account_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::ServiceAccountUpdated,
|
|
459
507
|
user_added: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserAdded,
|
|
460
508
|
user_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserDeleted,
|
|
461
|
-
user_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated
|
|
509
|
+
user_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::UserUpdated,
|
|
510
|
+
workload_identity_provider_mapping_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingCreated,
|
|
511
|
+
workload_identity_provider_mapping_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingDeleted,
|
|
512
|
+
workload_identity_provider_mapping_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderMappingUpdated,
|
|
513
|
+
workload_identity_provider_created: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderCreated,
|
|
514
|
+
workload_identity_provider_deleted: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderDeleted,
|
|
515
|
+
workload_identity_provider_updated: OpenAI::Models::Admin::Organization::AuditLogListResponse::WorkloadIdentityProviderUpdated
|
|
462
516
|
}
|
|
463
517
|
|
|
464
518
|
type type_ =
|
|
@@ -500,6 +554,12 @@ module OpenAI
|
|
|
500
554
|
| :"tunnel.created"
|
|
501
555
|
| :"tunnel.updated"
|
|
502
556
|
| :"tunnel.deleted"
|
|
557
|
+
| :"workload_identity_provider.created"
|
|
558
|
+
| :"workload_identity_provider.updated"
|
|
559
|
+
| :"workload_identity_provider.deleted"
|
|
560
|
+
| :"workload_identity_provider_mapping.created"
|
|
561
|
+
| :"workload_identity_provider_mapping.updated"
|
|
562
|
+
| :"workload_identity_provider_mapping.deleted"
|
|
503
563
|
| :"role.created"
|
|
504
564
|
| :"role.updated"
|
|
505
565
|
| :"role.deleted"
|
|
@@ -555,6 +615,12 @@ module OpenAI
|
|
|
555
615
|
TUNNEL_CREATED: :"tunnel.created"
|
|
556
616
|
TUNNEL_UPDATED: :"tunnel.updated"
|
|
557
617
|
TUNNEL_DELETED: :"tunnel.deleted"
|
|
618
|
+
WORKLOAD_IDENTITY_PROVIDER_CREATED: :"workload_identity_provider.created"
|
|
619
|
+
WORKLOAD_IDENTITY_PROVIDER_UPDATED: :"workload_identity_provider.updated"
|
|
620
|
+
WORKLOAD_IDENTITY_PROVIDER_DELETED: :"workload_identity_provider.deleted"
|
|
621
|
+
WORKLOAD_IDENTITY_PROVIDER_MAPPING_CREATED: :"workload_identity_provider_mapping.created"
|
|
622
|
+
WORKLOAD_IDENTITY_PROVIDER_MAPPING_UPDATED: :"workload_identity_provider_mapping.updated"
|
|
623
|
+
WORKLOAD_IDENTITY_PROVIDER_MAPPING_DELETED: :"workload_identity_provider_mapping.deleted"
|
|
558
624
|
ROLE_CREATED: :"role.created"
|
|
559
625
|
ROLE_UPDATED: :"role.updated"
|
|
560
626
|
ROLE_DELETED: :"role.deleted"
|
|
@@ -2168,6 +2234,153 @@ module OpenAI
|
|
|
2168
2234
|
def to_hash: -> { role: String }
|
|
2169
2235
|
end
|
|
2170
2236
|
end
|
|
2237
|
+
|
|
2238
|
+
type workload_identity_provider_mapping_created =
|
|
2239
|
+
{ id: String, data: top, identity_provider_id: String }
|
|
2240
|
+
|
|
2241
|
+
class WorkloadIdentityProviderMappingCreated < OpenAI::Internal::Type::BaseModel
|
|
2242
|
+
attr_reader id: String?
|
|
2243
|
+
|
|
2244
|
+
def id=: (String) -> String
|
|
2245
|
+
|
|
2246
|
+
attr_reader data: top?
|
|
2247
|
+
|
|
2248
|
+
def data=: (top) -> top
|
|
2249
|
+
|
|
2250
|
+
attr_reader identity_provider_id: String?
|
|
2251
|
+
|
|
2252
|
+
def identity_provider_id=: (String) -> String
|
|
2253
|
+
|
|
2254
|
+
def initialize: (
|
|
2255
|
+
?id: String,
|
|
2256
|
+
?data: top,
|
|
2257
|
+
?identity_provider_id: String
|
|
2258
|
+
) -> void
|
|
2259
|
+
|
|
2260
|
+
def to_hash: -> {
|
|
2261
|
+
id: String,
|
|
2262
|
+
data: top,
|
|
2263
|
+
identity_provider_id: String
|
|
2264
|
+
}
|
|
2265
|
+
end
|
|
2266
|
+
|
|
2267
|
+
type workload_identity_provider_mapping_deleted =
|
|
2268
|
+
{
|
|
2269
|
+
id: String,
|
|
2270
|
+
identity_provider_id: String,
|
|
2271
|
+
project_id: String,
|
|
2272
|
+
service_account_id: String
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
class WorkloadIdentityProviderMappingDeleted < OpenAI::Internal::Type::BaseModel
|
|
2276
|
+
attr_reader id: String?
|
|
2277
|
+
|
|
2278
|
+
def id=: (String) -> String
|
|
2279
|
+
|
|
2280
|
+
attr_reader identity_provider_id: String?
|
|
2281
|
+
|
|
2282
|
+
def identity_provider_id=: (String) -> String
|
|
2283
|
+
|
|
2284
|
+
attr_reader project_id: String?
|
|
2285
|
+
|
|
2286
|
+
def project_id=: (String) -> String
|
|
2287
|
+
|
|
2288
|
+
attr_reader service_account_id: String?
|
|
2289
|
+
|
|
2290
|
+
def service_account_id=: (String) -> String
|
|
2291
|
+
|
|
2292
|
+
def initialize: (
|
|
2293
|
+
?id: String,
|
|
2294
|
+
?identity_provider_id: String,
|
|
2295
|
+
?project_id: String,
|
|
2296
|
+
?service_account_id: String
|
|
2297
|
+
) -> void
|
|
2298
|
+
|
|
2299
|
+
def to_hash: -> {
|
|
2300
|
+
id: String,
|
|
2301
|
+
identity_provider_id: String,
|
|
2302
|
+
project_id: String,
|
|
2303
|
+
service_account_id: String
|
|
2304
|
+
}
|
|
2305
|
+
end
|
|
2306
|
+
|
|
2307
|
+
type workload_identity_provider_mapping_updated =
|
|
2308
|
+
{ id: String, changes_requested: top, identity_provider_id: String }
|
|
2309
|
+
|
|
2310
|
+
class WorkloadIdentityProviderMappingUpdated < OpenAI::Internal::Type::BaseModel
|
|
2311
|
+
attr_reader id: String?
|
|
2312
|
+
|
|
2313
|
+
def id=: (String) -> String
|
|
2314
|
+
|
|
2315
|
+
attr_reader changes_requested: top?
|
|
2316
|
+
|
|
2317
|
+
def changes_requested=: (top) -> top
|
|
2318
|
+
|
|
2319
|
+
attr_reader identity_provider_id: String?
|
|
2320
|
+
|
|
2321
|
+
def identity_provider_id=: (String) -> String
|
|
2322
|
+
|
|
2323
|
+
def initialize: (
|
|
2324
|
+
?id: String,
|
|
2325
|
+
?changes_requested: top,
|
|
2326
|
+
?identity_provider_id: String
|
|
2327
|
+
) -> void
|
|
2328
|
+
|
|
2329
|
+
def to_hash: -> {
|
|
2330
|
+
id: String,
|
|
2331
|
+
changes_requested: top,
|
|
2332
|
+
identity_provider_id: String
|
|
2333
|
+
}
|
|
2334
|
+
end
|
|
2335
|
+
|
|
2336
|
+
type workload_identity_provider_created = { id: String, data: top }
|
|
2337
|
+
|
|
2338
|
+
class WorkloadIdentityProviderCreated < OpenAI::Internal::Type::BaseModel
|
|
2339
|
+
attr_reader id: String?
|
|
2340
|
+
|
|
2341
|
+
def id=: (String) -> String
|
|
2342
|
+
|
|
2343
|
+
attr_reader data: top?
|
|
2344
|
+
|
|
2345
|
+
def data=: (top) -> top
|
|
2346
|
+
|
|
2347
|
+
def initialize: (?id: String, ?data: top) -> void
|
|
2348
|
+
|
|
2349
|
+
def to_hash: -> { id: String, data: top }
|
|
2350
|
+
end
|
|
2351
|
+
|
|
2352
|
+
type workload_identity_provider_deleted = { id: String, name: String }
|
|
2353
|
+
|
|
2354
|
+
class WorkloadIdentityProviderDeleted < OpenAI::Internal::Type::BaseModel
|
|
2355
|
+
attr_reader id: String?
|
|
2356
|
+
|
|
2357
|
+
def id=: (String) -> String
|
|
2358
|
+
|
|
2359
|
+
attr_reader name: String?
|
|
2360
|
+
|
|
2361
|
+
def name=: (String) -> String
|
|
2362
|
+
|
|
2363
|
+
def initialize: (?id: String, ?name: String) -> void
|
|
2364
|
+
|
|
2365
|
+
def to_hash: -> { id: String, name: String }
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2368
|
+
type workload_identity_provider_updated =
|
|
2369
|
+
{ id: String, changes_requested: top }
|
|
2370
|
+
|
|
2371
|
+
class WorkloadIdentityProviderUpdated < OpenAI::Internal::Type::BaseModel
|
|
2372
|
+
attr_reader id: String?
|
|
2373
|
+
|
|
2374
|
+
def id=: (String) -> String
|
|
2375
|
+
|
|
2376
|
+
attr_reader changes_requested: top?
|
|
2377
|
+
|
|
2378
|
+
def changes_requested=: (top) -> top
|
|
2379
|
+
|
|
2380
|
+
def initialize: (?id: String, ?changes_requested: top) -> void
|
|
2381
|
+
|
|
2382
|
+
def to_hash: -> { id: String, changes_requested: top }
|
|
2383
|
+
end
|
|
2171
2384
|
end
|
|
2172
2385
|
end
|
|
2173
2386
|
end
|