Skip to content

Commit 4ad2567

Browse files
Auto-update API to: 130d294, 2026-02-05 09:55:47 +0000
1 parent ebeb2bb commit 4ad2567

File tree

24 files changed

+672
-100
lines changed

24 files changed

+672
-100
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "nebius"
7-
version = "0.3.33"
7+
version = "0.3.34"
88
description = "Nebius Python SDK"
99
authors = [
1010
{ name = "Daniil Drizhuk", email = "complynx@nebius.com" },

src/nebius/api/nebius/audit/v2/__init__.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ def __dir__(self) ->abc.Iterable[builtins.str]:
503503
@builtins.property
504504
def authorized(self) -> "builtins.bool":
505505
"""
506-
Field is required. We do not use «(buf.validate.field).required = true» here as false value considered as unset (validation violation)
506+
Field is required. We do not use ``(buf.validate.field).required = true`` here as false value
507+
considered as unset (validation violation)
507508
"""
508509

509510
return super()._get_field("authorized", explicit_presence=False,
@@ -1164,7 +1165,8 @@ def spec_version(self, value: "builtins.str|None") -> None:
11641165
@builtins.property
11651166
def type(self) -> "builtins.str":
11661167
"""
1167-
The type of event related to the originating occurrence. Formed according to template: ``ai.nebius.<serviceName>.<resourceType>.<action>``
1168+
The type of event related to the originating occurrence. Formed according to template:
1169+
``ai.nebius.<serviceName>.<resourceType>.<action>``
11681170
"""
11691171

11701172
return super()._get_field("type", explicit_presence=False,
@@ -2063,14 +2065,18 @@ def __init__(
20632065
initial_message: message_1.Message|None = None,
20642066
*,
20652067
state: "AuditEventExportState|audit_event_export_pb2.AuditEventExportState|None|unset.UnsetType" = unset.Unset,
2068+
export_operation_id: "builtins.str|None|unset.UnsetType" = unset.Unset,
20662069
) -> None:
20672070
super().__init__(initial_message)
20682071
if not isinstance(state, unset.UnsetType):
20692072
self.state = state
2073+
if not isinstance(export_operation_id, unset.UnsetType):
2074+
self.export_operation_id = export_operation_id
20702075

20712076
def __dir__(self) ->abc.Iterable[builtins.str]:
20722077
return [
20732078
"state",
2079+
"export_operation_id",
20742080
]
20752081

20762082
@builtins.property
@@ -2087,8 +2093,23 @@ def state(self, value: "AuditEventExportState|audit_event_export_pb2.AuditEventE
20872093
return super()._set_field("state",value,explicit_presence=False,
20882094
)
20892095

2096+
@builtins.property
2097+
def export_operation_id(self) -> "builtins.str":
2098+
"""
2099+
Identifier of the audit logs export operation.
2100+
This value is used as the final path prefix for exported files in the destination object storage bucket.
2101+
"""
2102+
2103+
return super()._get_field("export_operation_id", explicit_presence=False,
2104+
)
2105+
@export_operation_id.setter
2106+
def export_operation_id(self, value: "builtins.str|None") -> None:
2107+
return super()._set_field("export_operation_id",value,explicit_presence=False,
2108+
)
2109+
20902110
__PY_TO_PB2__: builtins.dict[builtins.str,builtins.str] = {
20912111
"state":"state",
2112+
"export_operation_id":"export_operation_id",
20922113
}
20932114

20942115
# file: nebius/audit/v2/audit_event_export_service.proto

src/nebius/api/nebius/audit/v2/audit_event_export_pb2.py

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/nebius/api/nebius/audit/v2/audit_event_export_pb2.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ class AuditEventExportParams(_message.Message):
6767
def __init__(self, to: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., filter: _Optional[str] = ..., event_type: _Optional[_Union[_audit_event_service_pb2.EventType, str]] = ..., **kwargs) -> None: ...
6868

6969
class AuditEventExportStatus(_message.Message):
70-
__slots__ = ["state"]
70+
__slots__ = ["state", "export_operation_id"]
7171
STATE_FIELD_NUMBER: _ClassVar[int]
72+
EXPORT_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
7273
state: AuditEventExportState
73-
def __init__(self, state: _Optional[_Union[AuditEventExportState, str]] = ...) -> None: ...
74+
export_operation_id: str
75+
def __init__(self, state: _Optional[_Union[AuditEventExportState, str]] = ..., export_operation_id: _Optional[str] = ...) -> None: ...

0 commit comments

Comments
 (0)