modal 1.0.3.dev10__py3-none-any.whl → 1.2.3.dev7__py3-none-any.whl
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.
Potentially problematic release.
This version of modal might be problematic. Click here for more details.
- modal/__init__.py +0 -2
- modal/__main__.py +3 -4
- modal/_billing.py +80 -0
- modal/_clustered_functions.py +7 -3
- modal/_clustered_functions.pyi +15 -3
- modal/_container_entrypoint.py +51 -69
- modal/_functions.py +508 -240
- modal/_grpc_client.py +171 -0
- modal/_load_context.py +105 -0
- modal/_object.py +81 -21
- modal/_output.py +58 -45
- modal/_partial_function.py +48 -73
- modal/_pty.py +7 -3
- modal/_resolver.py +26 -46
- modal/_runtime/asgi.py +4 -3
- modal/_runtime/container_io_manager.py +358 -220
- modal/_runtime/container_io_manager.pyi +296 -101
- modal/_runtime/execution_context.py +18 -2
- modal/_runtime/execution_context.pyi +64 -7
- modal/_runtime/gpu_memory_snapshot.py +262 -57
- modal/_runtime/user_code_imports.py +28 -58
- modal/_serialization.py +90 -6
- modal/_traceback.py +42 -1
- modal/_tunnel.pyi +380 -12
- modal/_utils/async_utils.py +84 -29
- modal/_utils/auth_token_manager.py +111 -0
- modal/_utils/blob_utils.py +181 -58
- modal/_utils/deprecation.py +19 -0
- modal/_utils/function_utils.py +91 -47
- modal/_utils/grpc_utils.py +89 -66
- modal/_utils/mount_utils.py +26 -1
- modal/_utils/name_utils.py +17 -3
- modal/_utils/task_command_router_client.py +536 -0
- modal/_utils/time_utils.py +34 -6
- modal/app.py +256 -88
- modal/app.pyi +909 -92
- modal/billing.py +5 -0
- modal/builder/2025.06.txt +18 -0
- modal/builder/PREVIEW.txt +18 -0
- modal/builder/base-images.json +58 -0
- modal/cli/_download.py +19 -3
- modal/cli/_traceback.py +3 -2
- modal/cli/app.py +4 -4
- modal/cli/cluster.py +15 -7
- modal/cli/config.py +5 -3
- modal/cli/container.py +7 -6
- modal/cli/dict.py +22 -16
- modal/cli/entry_point.py +12 -5
- modal/cli/environment.py +5 -4
- modal/cli/import_refs.py +3 -3
- modal/cli/launch.py +102 -5
- modal/cli/network_file_system.py +11 -12
- modal/cli/profile.py +3 -2
- modal/cli/programs/launch_instance_ssh.py +94 -0
- modal/cli/programs/run_jupyter.py +1 -1
- modal/cli/programs/run_marimo.py +95 -0
- modal/cli/programs/vscode.py +1 -1
- modal/cli/queues.py +57 -26
- modal/cli/run.py +91 -23
- modal/cli/secret.py +48 -22
- modal/cli/token.py +7 -8
- modal/cli/utils.py +4 -7
- modal/cli/volume.py +31 -25
- modal/client.py +15 -85
- modal/client.pyi +183 -62
- modal/cloud_bucket_mount.py +5 -3
- modal/cloud_bucket_mount.pyi +197 -5
- modal/cls.py +200 -126
- modal/cls.pyi +446 -68
- modal/config.py +29 -11
- modal/container_process.py +319 -19
- modal/container_process.pyi +190 -20
- modal/dict.py +290 -71
- modal/dict.pyi +835 -83
- modal/environments.py +15 -27
- modal/environments.pyi +46 -24
- modal/exception.py +14 -2
- modal/experimental/__init__.py +194 -40
- modal/experimental/flash.py +618 -0
- modal/experimental/flash.pyi +380 -0
- modal/experimental/ipython.py +11 -7
- modal/file_io.py +29 -36
- modal/file_io.pyi +251 -53
- modal/file_pattern_matcher.py +56 -16
- modal/functions.pyi +673 -92
- modal/gpu.py +1 -1
- modal/image.py +528 -176
- modal/image.pyi +1572 -145
- modal/io_streams.py +458 -128
- modal/io_streams.pyi +433 -52
- modal/mount.py +216 -151
- modal/mount.pyi +225 -78
- modal/network_file_system.py +45 -62
- modal/network_file_system.pyi +277 -56
- modal/object.pyi +93 -17
- modal/parallel_map.py +942 -129
- modal/parallel_map.pyi +294 -15
- modal/partial_function.py +0 -2
- modal/partial_function.pyi +234 -19
- modal/proxy.py +17 -8
- modal/proxy.pyi +36 -3
- modal/queue.py +270 -65
- modal/queue.pyi +817 -57
- modal/runner.py +115 -101
- modal/runner.pyi +205 -49
- modal/sandbox.py +512 -136
- modal/sandbox.pyi +845 -111
- modal/schedule.py +1 -1
- modal/secret.py +300 -70
- modal/secret.pyi +589 -34
- modal/serving.py +7 -11
- modal/serving.pyi +7 -8
- modal/snapshot.py +11 -8
- modal/snapshot.pyi +25 -4
- modal/token_flow.py +4 -4
- modal/token_flow.pyi +28 -8
- modal/volume.py +416 -158
- modal/volume.pyi +1117 -121
- {modal-1.0.3.dev10.dist-info → modal-1.2.3.dev7.dist-info}/METADATA +10 -9
- modal-1.2.3.dev7.dist-info/RECORD +195 -0
- modal_docs/mdmd/mdmd.py +17 -4
- modal_proto/api.proto +534 -79
- modal_proto/api_grpc.py +337 -1
- modal_proto/api_pb2.py +1522 -968
- modal_proto/api_pb2.pyi +1619 -134
- modal_proto/api_pb2_grpc.py +699 -4
- modal_proto/api_pb2_grpc.pyi +226 -14
- modal_proto/modal_api_grpc.py +175 -154
- modal_proto/sandbox_router.proto +145 -0
- modal_proto/sandbox_router_grpc.py +105 -0
- modal_proto/sandbox_router_pb2.py +149 -0
- modal_proto/sandbox_router_pb2.pyi +333 -0
- modal_proto/sandbox_router_pb2_grpc.py +203 -0
- modal_proto/sandbox_router_pb2_grpc.pyi +75 -0
- modal_proto/task_command_router.proto +144 -0
- modal_proto/task_command_router_grpc.py +105 -0
- modal_proto/task_command_router_pb2.py +149 -0
- modal_proto/task_command_router_pb2.pyi +333 -0
- modal_proto/task_command_router_pb2_grpc.py +203 -0
- modal_proto/task_command_router_pb2_grpc.pyi +75 -0
- modal_version/__init__.py +1 -1
- modal/requirements/PREVIEW.txt +0 -16
- modal/requirements/base-images.json +0 -26
- modal-1.0.3.dev10.dist-info/RECORD +0 -179
- modal_proto/modal_options_grpc.py +0 -3
- modal_proto/options.proto +0 -19
- modal_proto/options_grpc.py +0 -3
- modal_proto/options_pb2.py +0 -35
- modal_proto/options_pb2.pyi +0 -20
- modal_proto/options_pb2_grpc.py +0 -4
- modal_proto/options_pb2_grpc.pyi +0 -7
- /modal/{requirements → builder}/2023.12.312.txt +0 -0
- /modal/{requirements → builder}/2023.12.txt +0 -0
- /modal/{requirements → builder}/2024.04.txt +0 -0
- /modal/{requirements → builder}/2024.10.txt +0 -0
- /modal/{requirements → builder}/README.md +0 -0
- {modal-1.0.3.dev10.dist-info → modal-1.2.3.dev7.dist-info}/WHEEL +0 -0
- {modal-1.0.3.dev10.dist-info → modal-1.2.3.dev7.dist-info}/entry_points.txt +0 -0
- {modal-1.0.3.dev10.dist-info → modal-1.2.3.dev7.dist-info}/licenses/LICENSE +0 -0
- {modal-1.0.3.dev10.dist-info → modal-1.2.3.dev7.dist-info}/top_level.txt +0 -0
modal_proto/api_pb2.pyi
CHANGED
|
@@ -9,6 +9,7 @@ import google.protobuf.internal.containers
|
|
|
9
9
|
import google.protobuf.internal.enum_type_wrapper
|
|
10
10
|
import google.protobuf.message
|
|
11
11
|
import google.protobuf.struct_pb2
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
12
13
|
import google.protobuf.wrappers_pb2
|
|
13
14
|
import sys
|
|
14
15
|
import typing
|
|
@@ -187,7 +188,11 @@ class _ClientTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enu
|
|
|
187
188
|
CLIENT_TYPE_NOTEBOOK_KERNEL: _ClientType.ValueType # 6
|
|
188
189
|
"""kernelshim.py from notebooks"""
|
|
189
190
|
CLIENT_TYPE_LIBMODAL: _ClientType.ValueType # 7
|
|
190
|
-
"""libmodal: experimental client library"""
|
|
191
|
+
"""libmodal: experimental JS&Go client library, before version modal-js/v0.3.15, modal-go/v0.0.15"""
|
|
192
|
+
CLIENT_TYPE_LIBMODAL_JS: _ClientType.ValueType # 8
|
|
193
|
+
"""libmodal/modal-js: JavaScript client library, since version modal-js/v0.3.15"""
|
|
194
|
+
CLIENT_TYPE_LIBMODAL_GO: _ClientType.ValueType # 9
|
|
195
|
+
"""libmodal/modal-go: Go client library, since version modal-go/v0.0.15"""
|
|
191
196
|
|
|
192
197
|
class ClientType(_ClientType, metaclass=_ClientTypeEnumTypeWrapper): ...
|
|
193
198
|
|
|
@@ -203,7 +208,11 @@ CLIENT_TYPE_WEB_SERVER: ClientType.ValueType # 5
|
|
|
203
208
|
CLIENT_TYPE_NOTEBOOK_KERNEL: ClientType.ValueType # 6
|
|
204
209
|
"""kernelshim.py from notebooks"""
|
|
205
210
|
CLIENT_TYPE_LIBMODAL: ClientType.ValueType # 7
|
|
206
|
-
"""libmodal: experimental client library"""
|
|
211
|
+
"""libmodal: experimental JS&Go client library, before version modal-js/v0.3.15, modal-go/v0.0.15"""
|
|
212
|
+
CLIENT_TYPE_LIBMODAL_JS: ClientType.ValueType # 8
|
|
213
|
+
"""libmodal/modal-js: JavaScript client library, since version modal-js/v0.3.15"""
|
|
214
|
+
CLIENT_TYPE_LIBMODAL_GO: ClientType.ValueType # 9
|
|
215
|
+
"""libmodal/modal-go: Go client library, since version modal-go/v0.0.15"""
|
|
207
216
|
global___ClientType = ClientType
|
|
208
217
|
|
|
209
218
|
class _CloudProvider:
|
|
@@ -257,6 +266,7 @@ class _DataFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enu
|
|
|
257
266
|
""""Asgi" protobuf message"""
|
|
258
267
|
DATA_FORMAT_GENERATOR_DONE: _DataFormat.ValueType # 3
|
|
259
268
|
""""GeneratorDone" protobuf message"""
|
|
269
|
+
DATA_FORMAT_CBOR: _DataFormat.ValueType # 4
|
|
260
270
|
|
|
261
271
|
class DataFormat(_DataFormat, metaclass=_DataFormatEnumTypeWrapper):
|
|
262
272
|
"""Which data format a binary message is encoded with."""
|
|
@@ -268,6 +278,7 @@ DATA_FORMAT_ASGI: DataFormat.ValueType # 2
|
|
|
268
278
|
""""Asgi" protobuf message"""
|
|
269
279
|
DATA_FORMAT_GENERATOR_DONE: DataFormat.ValueType # 3
|
|
270
280
|
""""GeneratorDone" protobuf message"""
|
|
281
|
+
DATA_FORMAT_CBOR: DataFormat.ValueType # 4
|
|
271
282
|
global___DataFormat = DataFormat
|
|
272
283
|
|
|
273
284
|
class _DeploymentNamespace:
|
|
@@ -641,6 +652,25 @@ SYSTEM_ERROR_CODE_NOSPC: SystemErrorCode.ValueType # 28
|
|
|
641
652
|
"""ENOSPC: No space left on device"""
|
|
642
653
|
global___SystemErrorCode = SystemErrorCode
|
|
643
654
|
|
|
655
|
+
class _TaskSnapshotBehavior:
|
|
656
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
657
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
658
|
+
|
|
659
|
+
class _TaskSnapshotBehaviorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TaskSnapshotBehavior.ValueType], builtins.type): # noqa: F821
|
|
660
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
661
|
+
TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED: _TaskSnapshotBehavior.ValueType # 0
|
|
662
|
+
TASK_SNAPSHOT_BEHAVIOR_SNAPSHOT: _TaskSnapshotBehavior.ValueType # 1
|
|
663
|
+
TASK_SNAPSHOT_BEHAVIOR_RESTORE: _TaskSnapshotBehavior.ValueType # 2
|
|
664
|
+
TASK_SNAPSHOT_BEHAVIOR_NONE: _TaskSnapshotBehavior.ValueType # 3
|
|
665
|
+
|
|
666
|
+
class TaskSnapshotBehavior(_TaskSnapshotBehavior, metaclass=_TaskSnapshotBehaviorEnumTypeWrapper): ...
|
|
667
|
+
|
|
668
|
+
TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED: TaskSnapshotBehavior.ValueType # 0
|
|
669
|
+
TASK_SNAPSHOT_BEHAVIOR_SNAPSHOT: TaskSnapshotBehavior.ValueType # 1
|
|
670
|
+
TASK_SNAPSHOT_BEHAVIOR_RESTORE: TaskSnapshotBehavior.ValueType # 2
|
|
671
|
+
TASK_SNAPSHOT_BEHAVIOR_NONE: TaskSnapshotBehavior.ValueType # 3
|
|
672
|
+
global___TaskSnapshotBehavior = TaskSnapshotBehavior
|
|
673
|
+
|
|
644
674
|
class _TaskState:
|
|
645
675
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
646
676
|
V: typing_extensions.TypeAlias = ValueType
|
|
@@ -779,15 +809,34 @@ global___AppClientDisconnectRequest = AppClientDisconnectRequest
|
|
|
779
809
|
class AppCreateRequest(google.protobuf.message.Message):
|
|
780
810
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
781
811
|
|
|
812
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
813
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
814
|
+
|
|
815
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
816
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
817
|
+
key: builtins.str
|
|
818
|
+
value: builtins.str
|
|
819
|
+
def __init__(
|
|
820
|
+
self,
|
|
821
|
+
*,
|
|
822
|
+
key: builtins.str = ...,
|
|
823
|
+
value: builtins.str = ...,
|
|
824
|
+
) -> None: ...
|
|
825
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
826
|
+
|
|
782
827
|
CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
783
828
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
784
829
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
785
830
|
APP_STATE_FIELD_NUMBER: builtins.int
|
|
831
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
786
832
|
client_id: builtins.str
|
|
787
833
|
description: builtins.str
|
|
788
834
|
"""Human readable label for the app"""
|
|
789
835
|
environment_name: builtins.str
|
|
790
836
|
app_state: global___AppState.ValueType
|
|
837
|
+
@property
|
|
838
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
839
|
+
"""Additional metadata to attach to the App"""
|
|
791
840
|
def __init__(
|
|
792
841
|
self,
|
|
793
842
|
*,
|
|
@@ -795,8 +844,9 @@ class AppCreateRequest(google.protobuf.message.Message):
|
|
|
795
844
|
description: builtins.str = ...,
|
|
796
845
|
environment_name: builtins.str = ...,
|
|
797
846
|
app_state: global___AppState.ValueType = ...,
|
|
847
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
798
848
|
) -> None: ...
|
|
799
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_state", b"app_state", "client_id", b"client_id", "description", b"description", "environment_name", b"environment_name"]) -> None: ...
|
|
849
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_state", b"app_state", "client_id", b"client_id", "description", b"description", "environment_name", b"environment_name", "tags", b"tags"]) -> None: ...
|
|
800
850
|
|
|
801
851
|
global___AppCreateRequest = AppCreateRequest
|
|
802
852
|
|
|
@@ -824,13 +874,11 @@ class AppDeployRequest(google.protobuf.message.Message):
|
|
|
824
874
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
825
875
|
|
|
826
876
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
827
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
828
877
|
NAME_FIELD_NUMBER: builtins.int
|
|
829
878
|
OBJECT_ENTITY_FIELD_NUMBER: builtins.int
|
|
830
879
|
VISIBILITY_FIELD_NUMBER: builtins.int
|
|
831
880
|
TAG_FIELD_NUMBER: builtins.int
|
|
832
881
|
app_id: builtins.str
|
|
833
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
834
882
|
name: builtins.str
|
|
835
883
|
object_entity: builtins.str
|
|
836
884
|
visibility: global___AppDeployVisibility.ValueType
|
|
@@ -839,13 +887,12 @@ class AppDeployRequest(google.protobuf.message.Message):
|
|
|
839
887
|
self,
|
|
840
888
|
*,
|
|
841
889
|
app_id: builtins.str = ...,
|
|
842
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
843
890
|
name: builtins.str = ...,
|
|
844
891
|
object_entity: builtins.str = ...,
|
|
845
892
|
visibility: global___AppDeployVisibility.ValueType = ...,
|
|
846
893
|
tag: builtins.str = ...,
|
|
847
894
|
) -> None: ...
|
|
848
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "name", b"name", "
|
|
895
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "name", b"name", "object_entity", b"object_entity", "tag", b"tag", "visibility", b"visibility"]) -> None: ...
|
|
849
896
|
|
|
850
897
|
global___AppDeployRequest = AppDeployRequest
|
|
851
898
|
|
|
@@ -939,20 +986,17 @@ global___AppDeploymentHistoryResponse = AppDeploymentHistoryResponse
|
|
|
939
986
|
class AppGetByDeploymentNameRequest(google.protobuf.message.Message):
|
|
940
987
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
941
988
|
|
|
942
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
943
989
|
NAME_FIELD_NUMBER: builtins.int
|
|
944
990
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
945
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
946
991
|
name: builtins.str
|
|
947
992
|
environment_name: builtins.str
|
|
948
993
|
def __init__(
|
|
949
994
|
self,
|
|
950
995
|
*,
|
|
951
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
952
996
|
name: builtins.str = ...,
|
|
953
997
|
environment_name: builtins.str = ...,
|
|
954
998
|
) -> None: ...
|
|
955
|
-
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "name", b"name"
|
|
999
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "name", b"name"]) -> None: ...
|
|
956
1000
|
|
|
957
1001
|
global___AppGetByDeploymentNameRequest = AppGetByDeploymentNameRequest
|
|
958
1002
|
|
|
@@ -1007,18 +1051,22 @@ class AppGetLogsRequest(google.protobuf.message.Message):
|
|
|
1007
1051
|
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
1008
1052
|
LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
|
|
1009
1053
|
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
1054
|
+
PARAMETRIZED_FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
1010
1055
|
INPUT_ID_FIELD_NUMBER: builtins.int
|
|
1011
1056
|
TASK_ID_FIELD_NUMBER: builtins.int
|
|
1012
1057
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
1013
1058
|
FILE_DESCRIPTOR_FIELD_NUMBER: builtins.int
|
|
1059
|
+
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
1014
1060
|
app_id: builtins.str
|
|
1015
1061
|
timeout: builtins.float
|
|
1016
1062
|
last_entry_id: builtins.str
|
|
1017
1063
|
function_id: builtins.str
|
|
1064
|
+
parametrized_function_id: builtins.str
|
|
1018
1065
|
input_id: builtins.str
|
|
1019
1066
|
task_id: builtins.str
|
|
1020
1067
|
function_call_id: builtins.str
|
|
1021
1068
|
file_descriptor: global___FileDescriptor.ValueType
|
|
1069
|
+
sandbox_id: builtins.str
|
|
1022
1070
|
def __init__(
|
|
1023
1071
|
self,
|
|
1024
1072
|
*,
|
|
@@ -1026,12 +1074,14 @@ class AppGetLogsRequest(google.protobuf.message.Message):
|
|
|
1026
1074
|
timeout: builtins.float = ...,
|
|
1027
1075
|
last_entry_id: builtins.str = ...,
|
|
1028
1076
|
function_id: builtins.str = ...,
|
|
1077
|
+
parametrized_function_id: builtins.str = ...,
|
|
1029
1078
|
input_id: builtins.str = ...,
|
|
1030
1079
|
task_id: builtins.str = ...,
|
|
1031
1080
|
function_call_id: builtins.str = ...,
|
|
1032
1081
|
file_descriptor: global___FileDescriptor.ValueType = ...,
|
|
1082
|
+
sandbox_id: builtins.str = ...,
|
|
1033
1083
|
) -> None: ...
|
|
1034
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "file_descriptor", b"file_descriptor", "function_call_id", b"function_call_id", "function_id", b"function_id", "input_id", b"input_id", "last_entry_id", b"last_entry_id", "task_id", b"task_id", "timeout", b"timeout"]) -> None: ...
|
|
1084
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "file_descriptor", b"file_descriptor", "function_call_id", b"function_call_id", "function_id", b"function_id", "input_id", b"input_id", "last_entry_id", b"last_entry_id", "parametrized_function_id", b"parametrized_function_id", "sandbox_id", b"sandbox_id", "task_id", b"task_id", "timeout", b"timeout"]) -> None: ...
|
|
1035
1085
|
|
|
1036
1086
|
global___AppGetLogsRequest = AppGetLogsRequest
|
|
1037
1087
|
|
|
@@ -1124,6 +1174,50 @@ class AppGetOrCreateResponse(google.protobuf.message.Message):
|
|
|
1124
1174
|
|
|
1125
1175
|
global___AppGetOrCreateResponse = AppGetOrCreateResponse
|
|
1126
1176
|
|
|
1177
|
+
class AppGetTagsRequest(google.protobuf.message.Message):
|
|
1178
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1179
|
+
|
|
1180
|
+
APP_ID_FIELD_NUMBER: builtins.int
|
|
1181
|
+
app_id: builtins.str
|
|
1182
|
+
def __init__(
|
|
1183
|
+
self,
|
|
1184
|
+
*,
|
|
1185
|
+
app_id: builtins.str = ...,
|
|
1186
|
+
) -> None: ...
|
|
1187
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id"]) -> None: ...
|
|
1188
|
+
|
|
1189
|
+
global___AppGetTagsRequest = AppGetTagsRequest
|
|
1190
|
+
|
|
1191
|
+
class AppGetTagsResponse(google.protobuf.message.Message):
|
|
1192
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1193
|
+
|
|
1194
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
1195
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1196
|
+
|
|
1197
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1198
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1199
|
+
key: builtins.str
|
|
1200
|
+
value: builtins.str
|
|
1201
|
+
def __init__(
|
|
1202
|
+
self,
|
|
1203
|
+
*,
|
|
1204
|
+
key: builtins.str = ...,
|
|
1205
|
+
value: builtins.str = ...,
|
|
1206
|
+
) -> None: ...
|
|
1207
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1208
|
+
|
|
1209
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
1210
|
+
@property
|
|
1211
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
1212
|
+
def __init__(
|
|
1213
|
+
self,
|
|
1214
|
+
*,
|
|
1215
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1216
|
+
) -> None: ...
|
|
1217
|
+
def ClearField(self, field_name: typing_extensions.Literal["tags", b"tags"]) -> None: ...
|
|
1218
|
+
|
|
1219
|
+
global___AppGetTagsResponse = AppGetTagsResponse
|
|
1220
|
+
|
|
1127
1221
|
class AppHeartbeatRequest(google.protobuf.message.Message):
|
|
1128
1222
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1129
1223
|
|
|
@@ -1331,6 +1425,21 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1331
1425
|
) -> None: ...
|
|
1332
1426
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1333
1427
|
|
|
1428
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
1429
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1430
|
+
|
|
1431
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1432
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1433
|
+
key: builtins.str
|
|
1434
|
+
value: builtins.str
|
|
1435
|
+
def __init__(
|
|
1436
|
+
self,
|
|
1437
|
+
*,
|
|
1438
|
+
key: builtins.str = ...,
|
|
1439
|
+
value: builtins.str = ...,
|
|
1440
|
+
) -> None: ...
|
|
1441
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1442
|
+
|
|
1334
1443
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
1335
1444
|
NAME_FIELD_NUMBER: builtins.int
|
|
1336
1445
|
DEPLOYMENT_TAG_FIELD_NUMBER: builtins.int
|
|
@@ -1341,6 +1450,7 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1341
1450
|
ROLLBACK_VERSION_FIELD_NUMBER: builtins.int
|
|
1342
1451
|
CLIENT_VERSION_FIELD_NUMBER: builtins.int
|
|
1343
1452
|
COMMIT_INFO_FIELD_NUMBER: builtins.int
|
|
1453
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
1344
1454
|
app_id: builtins.str
|
|
1345
1455
|
name: builtins.str
|
|
1346
1456
|
deployment_tag: builtins.str
|
|
@@ -1363,6 +1473,9 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1363
1473
|
@property
|
|
1364
1474
|
def commit_info(self) -> global___CommitInfo:
|
|
1365
1475
|
"""Git information for deployment tracking"""
|
|
1476
|
+
@property
|
|
1477
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
1478
|
+
"""Additional metadata to attach to the App"""
|
|
1366
1479
|
def __init__(
|
|
1367
1480
|
self,
|
|
1368
1481
|
*,
|
|
@@ -1376,9 +1489,10 @@ class AppPublishRequest(google.protobuf.message.Message):
|
|
|
1376
1489
|
rollback_version: builtins.int = ...,
|
|
1377
1490
|
client_version: builtins.str = ...,
|
|
1378
1491
|
commit_info: global___CommitInfo | None = ...,
|
|
1492
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1379
1493
|
) -> None: ...
|
|
1380
1494
|
def HasField(self, field_name: typing_extensions.Literal["commit_info", b"commit_info"]) -> builtins.bool: ...
|
|
1381
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "app_state", b"app_state", "class_ids", b"class_ids", "client_version", b"client_version", "commit_info", b"commit_info", "definition_ids", b"definition_ids", "deployment_tag", b"deployment_tag", "function_ids", b"function_ids", "name", b"name", "rollback_version", b"rollback_version"]) -> None: ...
|
|
1495
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "app_state", b"app_state", "class_ids", b"class_ids", "client_version", b"client_version", "commit_info", b"commit_info", "definition_ids", b"definition_ids", "deployment_tag", b"deployment_tag", "function_ids", b"function_ids", "name", b"name", "rollback_version", b"rollback_version", "tags", b"tags"]) -> None: ...
|
|
1382
1496
|
|
|
1383
1497
|
global___AppPublishRequest = AppPublishRequest
|
|
1384
1498
|
|
|
@@ -1462,6 +1576,39 @@ class AppSetObjectsRequest(google.protobuf.message.Message):
|
|
|
1462
1576
|
|
|
1463
1577
|
global___AppSetObjectsRequest = AppSetObjectsRequest
|
|
1464
1578
|
|
|
1579
|
+
class AppSetTagsRequest(google.protobuf.message.Message):
|
|
1580
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1581
|
+
|
|
1582
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
1583
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1584
|
+
|
|
1585
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
1586
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
1587
|
+
key: builtins.str
|
|
1588
|
+
value: builtins.str
|
|
1589
|
+
def __init__(
|
|
1590
|
+
self,
|
|
1591
|
+
*,
|
|
1592
|
+
key: builtins.str = ...,
|
|
1593
|
+
value: builtins.str = ...,
|
|
1594
|
+
) -> None: ...
|
|
1595
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
1596
|
+
|
|
1597
|
+
APP_ID_FIELD_NUMBER: builtins.int
|
|
1598
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
1599
|
+
app_id: builtins.str
|
|
1600
|
+
@property
|
|
1601
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
1602
|
+
def __init__(
|
|
1603
|
+
self,
|
|
1604
|
+
*,
|
|
1605
|
+
app_id: builtins.str = ...,
|
|
1606
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
1607
|
+
) -> None: ...
|
|
1608
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "tags", b"tags"]) -> None: ...
|
|
1609
|
+
|
|
1610
|
+
global___AppSetTagsRequest = AppSetTagsRequest
|
|
1611
|
+
|
|
1465
1612
|
class AppStopRequest(google.protobuf.message.Message):
|
|
1466
1613
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1467
1614
|
|
|
@@ -1947,6 +2094,87 @@ class AttemptStartResponse(google.protobuf.message.Message):
|
|
|
1947
2094
|
|
|
1948
2095
|
global___AttemptStartResponse = AttemptStartResponse
|
|
1949
2096
|
|
|
2097
|
+
class AuthTokenGetRequest(google.protobuf.message.Message):
|
|
2098
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2099
|
+
|
|
2100
|
+
def __init__(
|
|
2101
|
+
self,
|
|
2102
|
+
) -> None: ...
|
|
2103
|
+
|
|
2104
|
+
global___AuthTokenGetRequest = AuthTokenGetRequest
|
|
2105
|
+
|
|
2106
|
+
class AuthTokenGetResponse(google.protobuf.message.Message):
|
|
2107
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2108
|
+
|
|
2109
|
+
TOKEN_FIELD_NUMBER: builtins.int
|
|
2110
|
+
token: builtins.str
|
|
2111
|
+
def __init__(
|
|
2112
|
+
self,
|
|
2113
|
+
*,
|
|
2114
|
+
token: builtins.str = ...,
|
|
2115
|
+
) -> None: ...
|
|
2116
|
+
def ClearField(self, field_name: typing_extensions.Literal["token", b"token"]) -> None: ...
|
|
2117
|
+
|
|
2118
|
+
global___AuthTokenGetResponse = AuthTokenGetResponse
|
|
2119
|
+
|
|
2120
|
+
class AutoscalerConfiguration(google.protobuf.message.Message):
|
|
2121
|
+
"""Message representing the current (coalesced) state of the autoscaler configuration
|
|
2122
|
+
As well as the different sources that were used to create it.
|
|
2123
|
+
"""
|
|
2124
|
+
|
|
2125
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2126
|
+
|
|
2127
|
+
class OverrideEventsEntry(google.protobuf.message.Message):
|
|
2128
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2129
|
+
|
|
2130
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
2131
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
2132
|
+
key: builtins.str
|
|
2133
|
+
@property
|
|
2134
|
+
def value(self) -> global___UserActionInfo: ...
|
|
2135
|
+
def __init__(
|
|
2136
|
+
self,
|
|
2137
|
+
*,
|
|
2138
|
+
key: builtins.str = ...,
|
|
2139
|
+
value: global___UserActionInfo | None = ...,
|
|
2140
|
+
) -> None: ...
|
|
2141
|
+
def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
|
|
2142
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
2143
|
+
|
|
2144
|
+
SETTINGS_FIELD_NUMBER: builtins.int
|
|
2145
|
+
OVERRIDE_EVENTS_FIELD_NUMBER: builtins.int
|
|
2146
|
+
DEFAULT_SETTINGS_FIELD_NUMBER: builtins.int
|
|
2147
|
+
STATIC_SETTINGS_FIELD_NUMBER: builtins.int
|
|
2148
|
+
OVERRIDE_SETTINGS_FIELD_NUMBER: builtins.int
|
|
2149
|
+
@property
|
|
2150
|
+
def settings(self) -> global___AutoscalerSettings:
|
|
2151
|
+
"""The settings that are currently in effect."""
|
|
2152
|
+
@property
|
|
2153
|
+
def override_events(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___UserActionInfo]:
|
|
2154
|
+
"""For tracking the source of the overridden value; keys correspond to fields in `settings`."""
|
|
2155
|
+
@property
|
|
2156
|
+
def default_settings(self) -> global___AutoscalerSettings:
|
|
2157
|
+
"""The default settings that are used when no static settings are provided and no overrides are in effect."""
|
|
2158
|
+
@property
|
|
2159
|
+
def static_settings(self) -> global___AutoscalerSettings:
|
|
2160
|
+
"""The static settings that were used to initialize the configuration."""
|
|
2161
|
+
@property
|
|
2162
|
+
def override_settings(self) -> global___AutoscalerSettings:
|
|
2163
|
+
"""The merge of all overrides that were used to create the current configuration."""
|
|
2164
|
+
def __init__(
|
|
2165
|
+
self,
|
|
2166
|
+
*,
|
|
2167
|
+
settings: global___AutoscalerSettings | None = ...,
|
|
2168
|
+
override_events: collections.abc.Mapping[builtins.str, global___UserActionInfo] | None = ...,
|
|
2169
|
+
default_settings: global___AutoscalerSettings | None = ...,
|
|
2170
|
+
static_settings: global___AutoscalerSettings | None = ...,
|
|
2171
|
+
override_settings: global___AutoscalerSettings | None = ...,
|
|
2172
|
+
) -> None: ...
|
|
2173
|
+
def HasField(self, field_name: typing_extensions.Literal["default_settings", b"default_settings", "override_settings", b"override_settings", "settings", b"settings", "static_settings", b"static_settings"]) -> builtins.bool: ...
|
|
2174
|
+
def ClearField(self, field_name: typing_extensions.Literal["default_settings", b"default_settings", "override_events", b"override_events", "override_settings", b"override_settings", "settings", b"settings", "static_settings", b"static_settings"]) -> None: ...
|
|
2175
|
+
|
|
2176
|
+
global___AutoscalerConfiguration = AutoscalerConfiguration
|
|
2177
|
+
|
|
1950
2178
|
class AutoscalerSettings(google.protobuf.message.Message):
|
|
1951
2179
|
"""A collection of user-configurable settings for Function autoscaling
|
|
1952
2180
|
These are used for static configuration and for dynamic autoscaler updates
|
|
@@ -1960,7 +2188,7 @@ class AutoscalerSettings(google.protobuf.message.Message):
|
|
|
1960
2188
|
SCALEUP_WINDOW_FIELD_NUMBER: builtins.int
|
|
1961
2189
|
SCALEDOWN_WINDOW_FIELD_NUMBER: builtins.int
|
|
1962
2190
|
min_containers: builtins.int
|
|
1963
|
-
"""Minimum containers when scale-to-zero is not
|
|
2191
|
+
"""Minimum containers when scale-to-zero is not desired; pka "keep_warm" or "warm_pool_size" """
|
|
1964
2192
|
max_containers: builtins.int
|
|
1965
2193
|
"""Limit on the number of containers that can be running for each Function; pka "concurrency_limit" """
|
|
1966
2194
|
buffer_containers: builtins.int
|
|
@@ -1993,6 +2221,31 @@ class AutoscalerSettings(google.protobuf.message.Message):
|
|
|
1993
2221
|
|
|
1994
2222
|
global___AutoscalerSettings = AutoscalerSettings
|
|
1995
2223
|
|
|
2224
|
+
class AutoscalingMetrics(google.protobuf.message.Message):
|
|
2225
|
+
"""Used for flash autoscaling"""
|
|
2226
|
+
|
|
2227
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2228
|
+
|
|
2229
|
+
CPU_USAGE_PERCENT_FIELD_NUMBER: builtins.int
|
|
2230
|
+
MEMORY_USAGE_PERCENT_FIELD_NUMBER: builtins.int
|
|
2231
|
+
CONCURRENT_REQUESTS_FIELD_NUMBER: builtins.int
|
|
2232
|
+
TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
2233
|
+
cpu_usage_percent: builtins.float
|
|
2234
|
+
memory_usage_percent: builtins.float
|
|
2235
|
+
concurrent_requests: builtins.int
|
|
2236
|
+
timestamp: builtins.float
|
|
2237
|
+
def __init__(
|
|
2238
|
+
self,
|
|
2239
|
+
*,
|
|
2240
|
+
cpu_usage_percent: builtins.float = ...,
|
|
2241
|
+
memory_usage_percent: builtins.float = ...,
|
|
2242
|
+
concurrent_requests: builtins.int = ...,
|
|
2243
|
+
timestamp: builtins.float = ...,
|
|
2244
|
+
) -> None: ...
|
|
2245
|
+
def ClearField(self, field_name: typing_extensions.Literal["concurrent_requests", b"concurrent_requests", "cpu_usage_percent", b"cpu_usage_percent", "memory_usage_percent", b"memory_usage_percent", "timestamp", b"timestamp"]) -> None: ...
|
|
2246
|
+
|
|
2247
|
+
global___AutoscalingMetrics = AutoscalingMetrics
|
|
2248
|
+
|
|
1996
2249
|
class BaseImage(google.protobuf.message.Message):
|
|
1997
2250
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1998
2251
|
|
|
@@ -2039,20 +2292,35 @@ class BlobCreateResponse(google.protobuf.message.Message):
|
|
|
2039
2292
|
BLOB_ID_FIELD_NUMBER: builtins.int
|
|
2040
2293
|
UPLOAD_URL_FIELD_NUMBER: builtins.int
|
|
2041
2294
|
MULTIPART_FIELD_NUMBER: builtins.int
|
|
2295
|
+
BLOB_IDS_FIELD_NUMBER: builtins.int
|
|
2296
|
+
UPLOAD_URLS_FIELD_NUMBER: builtins.int
|
|
2297
|
+
MULTIPARTS_FIELD_NUMBER: builtins.int
|
|
2042
2298
|
blob_id: builtins.str
|
|
2043
2299
|
upload_url: builtins.str
|
|
2044
2300
|
@property
|
|
2045
2301
|
def multipart(self) -> global___MultiPartUpload: ...
|
|
2302
|
+
@property
|
|
2303
|
+
def blob_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
2304
|
+
@property
|
|
2305
|
+
def upload_urls(self) -> global___UploadUrlList: ...
|
|
2306
|
+
@property
|
|
2307
|
+
def multiparts(self) -> global___MultiPartUploadList: ...
|
|
2046
2308
|
def __init__(
|
|
2047
2309
|
self,
|
|
2048
2310
|
*,
|
|
2049
2311
|
blob_id: builtins.str = ...,
|
|
2050
2312
|
upload_url: builtins.str = ...,
|
|
2051
2313
|
multipart: global___MultiPartUpload | None = ...,
|
|
2314
|
+
blob_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
2315
|
+
upload_urls: global___UploadUrlList | None = ...,
|
|
2316
|
+
multiparts: global___MultiPartUploadList | None = ...,
|
|
2052
2317
|
) -> None: ...
|
|
2053
|
-
def HasField(self, field_name: typing_extensions.Literal["multipart", b"multipart", "upload_type_oneof", b"upload_type_oneof", "upload_url", b"upload_url"]) -> builtins.bool: ...
|
|
2054
|
-
def ClearField(self, field_name: typing_extensions.Literal["blob_id", b"blob_id", "multipart", b"multipart", "upload_type_oneof", b"upload_type_oneof", "upload_url", b"upload_url"]) -> None: ...
|
|
2318
|
+
def HasField(self, field_name: typing_extensions.Literal["multipart", b"multipart", "multiparts", b"multiparts", "upload_type_oneof", b"upload_type_oneof", "upload_types_oneof", b"upload_types_oneof", "upload_url", b"upload_url", "upload_urls", b"upload_urls"]) -> builtins.bool: ...
|
|
2319
|
+
def ClearField(self, field_name: typing_extensions.Literal["blob_id", b"blob_id", "blob_ids", b"blob_ids", "multipart", b"multipart", "multiparts", b"multiparts", "upload_type_oneof", b"upload_type_oneof", "upload_types_oneof", b"upload_types_oneof", "upload_url", b"upload_url", "upload_urls", b"upload_urls"]) -> None: ...
|
|
2320
|
+
@typing.overload
|
|
2055
2321
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["upload_type_oneof", b"upload_type_oneof"]) -> typing_extensions.Literal["upload_url", "multipart"] | None: ...
|
|
2322
|
+
@typing.overload
|
|
2323
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["upload_types_oneof", b"upload_types_oneof"]) -> typing_extensions.Literal["upload_urls", "multiparts"] | None: ...
|
|
2056
2324
|
|
|
2057
2325
|
global___BlobCreateResponse = BlobCreateResponse
|
|
2058
2326
|
|
|
@@ -2208,12 +2476,10 @@ class ClassGetRequest(google.protobuf.message.Message):
|
|
|
2208
2476
|
|
|
2209
2477
|
APP_NAME_FIELD_NUMBER: builtins.int
|
|
2210
2478
|
OBJECT_TAG_FIELD_NUMBER: builtins.int
|
|
2211
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
2212
2479
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
2213
2480
|
ONLY_CLASS_FUNCTION_FIELD_NUMBER: builtins.int
|
|
2214
2481
|
app_name: builtins.str
|
|
2215
2482
|
object_tag: builtins.str
|
|
2216
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
2217
2483
|
environment_name: builtins.str
|
|
2218
2484
|
only_class_function: builtins.bool
|
|
2219
2485
|
"""True starting with 0.67.x clients, which don't create method placeholder functions"""
|
|
@@ -2222,11 +2488,10 @@ class ClassGetRequest(google.protobuf.message.Message):
|
|
|
2222
2488
|
*,
|
|
2223
2489
|
app_name: builtins.str = ...,
|
|
2224
2490
|
object_tag: builtins.str = ...,
|
|
2225
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
2226
2491
|
environment_name: builtins.str = ...,
|
|
2227
2492
|
only_class_function: builtins.bool = ...,
|
|
2228
2493
|
) -> None: ...
|
|
2229
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "
|
|
2494
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "object_tag", b"object_tag", "only_class_function", b"only_class_function"]) -> None: ...
|
|
2230
2495
|
|
|
2231
2496
|
global___ClassGetRequest = ClassGetRequest
|
|
2232
2497
|
|
|
@@ -2484,6 +2749,21 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
|
2484
2749
|
R2: CloudBucketMount.BucketType.ValueType # 2
|
|
2485
2750
|
GCP: CloudBucketMount.BucketType.ValueType # 3
|
|
2486
2751
|
|
|
2752
|
+
class _MetadataTTLType:
|
|
2753
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
2754
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
2755
|
+
|
|
2756
|
+
class _MetadataTTLTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[CloudBucketMount._MetadataTTLType.ValueType], builtins.type): # noqa: F821
|
|
2757
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
2758
|
+
METADATA_TTL_TYPE_UNSPECIFIED: CloudBucketMount._MetadataTTLType.ValueType # 0
|
|
2759
|
+
METADATA_TTL_TYPE_MINIMAL: CloudBucketMount._MetadataTTLType.ValueType # 1
|
|
2760
|
+
METADATA_TTL_TYPE_INDEFINITE: CloudBucketMount._MetadataTTLType.ValueType # 2
|
|
2761
|
+
|
|
2762
|
+
class MetadataTTLType(_MetadataTTLType, metaclass=_MetadataTTLTypeEnumTypeWrapper): ...
|
|
2763
|
+
METADATA_TTL_TYPE_UNSPECIFIED: CloudBucketMount.MetadataTTLType.ValueType # 0
|
|
2764
|
+
METADATA_TTL_TYPE_MINIMAL: CloudBucketMount.MetadataTTLType.ValueType # 1
|
|
2765
|
+
METADATA_TTL_TYPE_INDEFINITE: CloudBucketMount.MetadataTTLType.ValueType # 2
|
|
2766
|
+
|
|
2487
2767
|
BUCKET_NAME_FIELD_NUMBER: builtins.int
|
|
2488
2768
|
MOUNT_PATH_FIELD_NUMBER: builtins.int
|
|
2489
2769
|
CREDENTIALS_SECRET_ID_FIELD_NUMBER: builtins.int
|
|
@@ -2493,6 +2773,9 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
|
2493
2773
|
BUCKET_ENDPOINT_URL_FIELD_NUMBER: builtins.int
|
|
2494
2774
|
KEY_PREFIX_FIELD_NUMBER: builtins.int
|
|
2495
2775
|
OIDC_AUTH_ROLE_ARN_FIELD_NUMBER: builtins.int
|
|
2776
|
+
FORCE_PATH_STYLE_FIELD_NUMBER: builtins.int
|
|
2777
|
+
METADATA_TTL_TYPE_FIELD_NUMBER: builtins.int
|
|
2778
|
+
METADATA_TTL_SECONDS_FIELD_NUMBER: builtins.int
|
|
2496
2779
|
bucket_name: builtins.str
|
|
2497
2780
|
mount_path: builtins.str
|
|
2498
2781
|
credentials_secret_id: builtins.str
|
|
@@ -2502,6 +2785,9 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
|
2502
2785
|
bucket_endpoint_url: builtins.str
|
|
2503
2786
|
key_prefix: builtins.str
|
|
2504
2787
|
oidc_auth_role_arn: builtins.str
|
|
2788
|
+
force_path_style: builtins.bool
|
|
2789
|
+
metadata_ttl_type: global___CloudBucketMount.MetadataTTLType.ValueType
|
|
2790
|
+
metadata_ttl_seconds: builtins.int
|
|
2505
2791
|
def __init__(
|
|
2506
2792
|
self,
|
|
2507
2793
|
*,
|
|
@@ -2514,15 +2800,20 @@ class CloudBucketMount(google.protobuf.message.Message):
|
|
|
2514
2800
|
bucket_endpoint_url: builtins.str | None = ...,
|
|
2515
2801
|
key_prefix: builtins.str | None = ...,
|
|
2516
2802
|
oidc_auth_role_arn: builtins.str | None = ...,
|
|
2803
|
+
force_path_style: builtins.bool = ...,
|
|
2804
|
+
metadata_ttl_type: global___CloudBucketMount.MetadataTTLType.ValueType = ...,
|
|
2805
|
+
metadata_ttl_seconds: builtins.int = ...,
|
|
2517
2806
|
) -> None: ...
|
|
2518
|
-
def HasField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "_oidc_auth_role_arn", b"_oidc_auth_role_arn", "bucket_endpoint_url", b"bucket_endpoint_url", "key_prefix", b"key_prefix", "oidc_auth_role_arn", b"oidc_auth_role_arn"]) -> builtins.bool: ...
|
|
2519
|
-
def ClearField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "_oidc_auth_role_arn", b"_oidc_auth_role_arn", "bucket_endpoint_url", b"bucket_endpoint_url", "bucket_name", b"bucket_name", "bucket_type", b"bucket_type", "credentials_secret_id", b"credentials_secret_id", "key_prefix", b"key_prefix", "mount_path", b"mount_path", "oidc_auth_role_arn", b"oidc_auth_role_arn", "read_only", b"read_only", "requester_pays", b"requester_pays"]) -> None: ...
|
|
2807
|
+
def HasField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "_oidc_auth_role_arn", b"_oidc_auth_role_arn", "bucket_endpoint_url", b"bucket_endpoint_url", "key_prefix", b"key_prefix", "metadata_ttl_oneof", b"metadata_ttl_oneof", "metadata_ttl_seconds", b"metadata_ttl_seconds", "metadata_ttl_type", b"metadata_ttl_type", "oidc_auth_role_arn", b"oidc_auth_role_arn"]) -> builtins.bool: ...
|
|
2808
|
+
def ClearField(self, field_name: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url", "_key_prefix", b"_key_prefix", "_oidc_auth_role_arn", b"_oidc_auth_role_arn", "bucket_endpoint_url", b"bucket_endpoint_url", "bucket_name", b"bucket_name", "bucket_type", b"bucket_type", "credentials_secret_id", b"credentials_secret_id", "force_path_style", b"force_path_style", "key_prefix", b"key_prefix", "metadata_ttl_oneof", b"metadata_ttl_oneof", "metadata_ttl_seconds", b"metadata_ttl_seconds", "metadata_ttl_type", b"metadata_ttl_type", "mount_path", b"mount_path", "oidc_auth_role_arn", b"oidc_auth_role_arn", "read_only", b"read_only", "requester_pays", b"requester_pays"]) -> None: ...
|
|
2520
2809
|
@typing.overload
|
|
2521
2810
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_bucket_endpoint_url", b"_bucket_endpoint_url"]) -> typing_extensions.Literal["bucket_endpoint_url"] | None: ...
|
|
2522
2811
|
@typing.overload
|
|
2523
2812
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_key_prefix", b"_key_prefix"]) -> typing_extensions.Literal["key_prefix"] | None: ...
|
|
2524
2813
|
@typing.overload
|
|
2525
2814
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_oidc_auth_role_arn", b"_oidc_auth_role_arn"]) -> typing_extensions.Literal["oidc_auth_role_arn"] | None: ...
|
|
2815
|
+
@typing.overload
|
|
2816
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["metadata_ttl_oneof", b"metadata_ttl_oneof"]) -> typing_extensions.Literal["metadata_ttl_type", "metadata_ttl_seconds"] | None: ...
|
|
2526
2817
|
|
|
2527
2818
|
global___CloudBucketMount = CloudBucketMount
|
|
2528
2819
|
|
|
@@ -2677,6 +2968,7 @@ class ContainerArguments(google.protobuf.message.Message):
|
|
|
2677
2968
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
2678
2969
|
CHECKPOINT_ID_FIELD_NUMBER: builtins.int
|
|
2679
2970
|
APP_LAYOUT_FIELD_NUMBER: builtins.int
|
|
2971
|
+
INPUT_PLANE_SERVER_URL_FIELD_NUMBER: builtins.int
|
|
2680
2972
|
task_id: builtins.str
|
|
2681
2973
|
function_id: builtins.str
|
|
2682
2974
|
app_id: builtins.str
|
|
@@ -2692,6 +2984,7 @@ class ContainerArguments(google.protobuf.message.Message):
|
|
|
2692
2984
|
checkpoint_id: builtins.str
|
|
2693
2985
|
@property
|
|
2694
2986
|
def app_layout(self) -> global___AppLayout: ...
|
|
2987
|
+
input_plane_server_url: builtins.str
|
|
2695
2988
|
def __init__(
|
|
2696
2989
|
self,
|
|
2697
2990
|
*,
|
|
@@ -2706,9 +2999,10 @@ class ContainerArguments(google.protobuf.message.Message):
|
|
|
2706
2999
|
environment_name: builtins.str = ...,
|
|
2707
3000
|
checkpoint_id: builtins.str | None = ...,
|
|
2708
3001
|
app_layout: global___AppLayout | None = ...,
|
|
3002
|
+
input_plane_server_url: builtins.str = ...,
|
|
2709
3003
|
) -> None: ...
|
|
2710
3004
|
def HasField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "app_layout", b"app_layout", "checkpoint_id", b"checkpoint_id", "function_def", b"function_def", "proxy_info", b"proxy_info"]) -> builtins.bool: ...
|
|
2711
|
-
def ClearField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "app_id", b"app_id", "app_layout", b"app_layout", "checkpoint_id", b"checkpoint_id", "environment_name", b"environment_name", "function_def", b"function_def", "function_id", b"function_id", "proxy_info", b"proxy_info", "runtime", b"runtime", "serialized_params", b"serialized_params", "task_id", b"task_id", "tracing_context", b"tracing_context"]) -> None: ...
|
|
3005
|
+
def ClearField(self, field_name: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id", "app_id", b"app_id", "app_layout", b"app_layout", "checkpoint_id", b"checkpoint_id", "environment_name", b"environment_name", "function_def", b"function_def", "function_id", b"function_id", "input_plane_server_url", b"input_plane_server_url", "proxy_info", b"proxy_info", "runtime", b"runtime", "serialized_params", b"serialized_params", "task_id", b"task_id", "tracing_context", b"tracing_context"]) -> None: ...
|
|
2712
3006
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_checkpoint_id", b"_checkpoint_id"]) -> typing_extensions.Literal["checkpoint_id"] | None: ...
|
|
2713
3007
|
|
|
2714
3008
|
global___ContainerArguments = ContainerArguments
|
|
@@ -3277,6 +3571,29 @@ class ContainerLogRequest(google.protobuf.message.Message):
|
|
|
3277
3571
|
|
|
3278
3572
|
global___ContainerLogRequest = ContainerLogRequest
|
|
3279
3573
|
|
|
3574
|
+
class ContainerReloadVolumesRequest(google.protobuf.message.Message):
|
|
3575
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3576
|
+
|
|
3577
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
3578
|
+
task_id: builtins.str
|
|
3579
|
+
def __init__(
|
|
3580
|
+
self,
|
|
3581
|
+
*,
|
|
3582
|
+
task_id: builtins.str = ...,
|
|
3583
|
+
) -> None: ...
|
|
3584
|
+
def ClearField(self, field_name: typing_extensions.Literal["task_id", b"task_id"]) -> None: ...
|
|
3585
|
+
|
|
3586
|
+
global___ContainerReloadVolumesRequest = ContainerReloadVolumesRequest
|
|
3587
|
+
|
|
3588
|
+
class ContainerReloadVolumesResponse(google.protobuf.message.Message):
|
|
3589
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3590
|
+
|
|
3591
|
+
def __init__(
|
|
3592
|
+
self,
|
|
3593
|
+
) -> None: ...
|
|
3594
|
+
|
|
3595
|
+
global___ContainerReloadVolumesResponse = ContainerReloadVolumesResponse
|
|
3596
|
+
|
|
3280
3597
|
class ContainerStopRequest(google.protobuf.message.Message):
|
|
3281
3598
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3282
3599
|
|
|
@@ -3300,6 +3617,27 @@ class ContainerStopResponse(google.protobuf.message.Message):
|
|
|
3300
3617
|
|
|
3301
3618
|
global___ContainerStopResponse = ContainerStopResponse
|
|
3302
3619
|
|
|
3620
|
+
class CreationInfo(google.protobuf.message.Message):
|
|
3621
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3622
|
+
|
|
3623
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
3624
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
3625
|
+
created_at: builtins.float
|
|
3626
|
+
"""This message is used in metadata for resource objects like Dict, Queue, Volume, etc.
|
|
3627
|
+
Timestamp of resource creation
|
|
3628
|
+
"""
|
|
3629
|
+
created_by: builtins.str
|
|
3630
|
+
"""User name or service name"""
|
|
3631
|
+
def __init__(
|
|
3632
|
+
self,
|
|
3633
|
+
*,
|
|
3634
|
+
created_at: builtins.float = ...,
|
|
3635
|
+
created_by: builtins.str = ...,
|
|
3636
|
+
) -> None: ...
|
|
3637
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "created_by", b"created_by"]) -> None: ...
|
|
3638
|
+
|
|
3639
|
+
global___CreationInfo = CreationInfo
|
|
3640
|
+
|
|
3303
3641
|
class CustomDomainConfig(google.protobuf.message.Message):
|
|
3304
3642
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3305
3643
|
|
|
@@ -3479,12 +3817,10 @@ class DictGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
3479
3817
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3480
3818
|
|
|
3481
3819
|
DEPLOYMENT_NAME_FIELD_NUMBER: builtins.int
|
|
3482
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
3483
3820
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
3484
3821
|
OBJECT_CREATION_TYPE_FIELD_NUMBER: builtins.int
|
|
3485
3822
|
DATA_FIELD_NUMBER: builtins.int
|
|
3486
3823
|
deployment_name: builtins.str
|
|
3487
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
3488
3824
|
environment_name: builtins.str
|
|
3489
3825
|
object_creation_type: global___ObjectCreationType.ValueType
|
|
3490
3826
|
@property
|
|
@@ -3493,12 +3829,11 @@ class DictGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
3493
3829
|
self,
|
|
3494
3830
|
*,
|
|
3495
3831
|
deployment_name: builtins.str = ...,
|
|
3496
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
3497
3832
|
environment_name: builtins.str = ...,
|
|
3498
3833
|
object_creation_type: global___ObjectCreationType.ValueType = ...,
|
|
3499
3834
|
data: collections.abc.Iterable[global___DictEntry] | None = ...,
|
|
3500
3835
|
) -> None: ...
|
|
3501
|
-
def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "deployment_name", b"deployment_name", "environment_name", b"environment_name", "
|
|
3836
|
+
def ClearField(self, field_name: typing_extensions.Literal["data", b"data", "deployment_name", b"deployment_name", "environment_name", b"environment_name", "object_creation_type", b"object_creation_type"]) -> None: ...
|
|
3502
3837
|
|
|
3503
3838
|
global___DictGetOrCreateRequest = DictGetOrCreateRequest
|
|
3504
3839
|
|
|
@@ -3506,13 +3841,18 @@ class DictGetOrCreateResponse(google.protobuf.message.Message):
|
|
|
3506
3841
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3507
3842
|
|
|
3508
3843
|
DICT_ID_FIELD_NUMBER: builtins.int
|
|
3844
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
3509
3845
|
dict_id: builtins.str
|
|
3846
|
+
@property
|
|
3847
|
+
def metadata(self) -> global___DictMetadata: ...
|
|
3510
3848
|
def __init__(
|
|
3511
3849
|
self,
|
|
3512
3850
|
*,
|
|
3513
3851
|
dict_id: builtins.str = ...,
|
|
3852
|
+
metadata: global___DictMetadata | None = ...,
|
|
3514
3853
|
) -> None: ...
|
|
3515
|
-
def
|
|
3854
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
3855
|
+
def ClearField(self, field_name: typing_extensions.Literal["dict_id", b"dict_id", "metadata", b"metadata"]) -> None: ...
|
|
3516
3856
|
|
|
3517
3857
|
global___DictGetOrCreateResponse = DictGetOrCreateResponse
|
|
3518
3858
|
|
|
@@ -3598,13 +3938,18 @@ class DictListRequest(google.protobuf.message.Message):
|
|
|
3598
3938
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3599
3939
|
|
|
3600
3940
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
3941
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
3601
3942
|
environment_name: builtins.str
|
|
3943
|
+
@property
|
|
3944
|
+
def pagination(self) -> global___ListPagination: ...
|
|
3602
3945
|
def __init__(
|
|
3603
3946
|
self,
|
|
3604
3947
|
*,
|
|
3605
3948
|
environment_name: builtins.str = ...,
|
|
3949
|
+
pagination: global___ListPagination | None = ...,
|
|
3606
3950
|
) -> None: ...
|
|
3607
|
-
def
|
|
3951
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
3952
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
|
|
3608
3953
|
|
|
3609
3954
|
global___DictListRequest = DictListRequest
|
|
3610
3955
|
|
|
@@ -3616,28 +3961,59 @@ class DictListResponse(google.protobuf.message.Message):
|
|
|
3616
3961
|
|
|
3617
3962
|
NAME_FIELD_NUMBER: builtins.int
|
|
3618
3963
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
3964
|
+
DICT_ID_FIELD_NUMBER: builtins.int
|
|
3965
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
3619
3966
|
name: builtins.str
|
|
3620
3967
|
created_at: builtins.float
|
|
3968
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
|
3969
|
+
dict_id: builtins.str
|
|
3970
|
+
@property
|
|
3971
|
+
def metadata(self) -> global___DictMetadata: ...
|
|
3621
3972
|
def __init__(
|
|
3622
3973
|
self,
|
|
3623
3974
|
*,
|
|
3624
3975
|
name: builtins.str = ...,
|
|
3625
3976
|
created_at: builtins.float = ...,
|
|
3977
|
+
dict_id: builtins.str = ...,
|
|
3978
|
+
metadata: global___DictMetadata | None = ...,
|
|
3626
3979
|
) -> None: ...
|
|
3627
|
-
def
|
|
3980
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
3981
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "dict_id", b"dict_id", "metadata", b"metadata", "name", b"name"]) -> None: ...
|
|
3628
3982
|
|
|
3629
3983
|
DICTS_FIELD_NUMBER: builtins.int
|
|
3984
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
3630
3985
|
@property
|
|
3631
3986
|
def dicts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DictListResponse.DictInfo]: ...
|
|
3987
|
+
environment_name: builtins.str
|
|
3632
3988
|
def __init__(
|
|
3633
3989
|
self,
|
|
3634
3990
|
*,
|
|
3635
3991
|
dicts: collections.abc.Iterable[global___DictListResponse.DictInfo] | None = ...,
|
|
3992
|
+
environment_name: builtins.str = ...,
|
|
3636
3993
|
) -> None: ...
|
|
3637
|
-
def ClearField(self, field_name: typing_extensions.Literal["dicts", b"dicts"]) -> None: ...
|
|
3994
|
+
def ClearField(self, field_name: typing_extensions.Literal["dicts", b"dicts", "environment_name", b"environment_name"]) -> None: ...
|
|
3638
3995
|
|
|
3639
3996
|
global___DictListResponse = DictListResponse
|
|
3640
3997
|
|
|
3998
|
+
class DictMetadata(google.protobuf.message.Message):
|
|
3999
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4000
|
+
|
|
4001
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
4002
|
+
CREATION_INFO_FIELD_NUMBER: builtins.int
|
|
4003
|
+
name: builtins.str
|
|
4004
|
+
@property
|
|
4005
|
+
def creation_info(self) -> global___CreationInfo: ...
|
|
4006
|
+
def __init__(
|
|
4007
|
+
self,
|
|
4008
|
+
*,
|
|
4009
|
+
name: builtins.str = ...,
|
|
4010
|
+
creation_info: global___CreationInfo | None = ...,
|
|
4011
|
+
) -> None: ...
|
|
4012
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
|
|
4013
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name"]) -> None: ...
|
|
4014
|
+
|
|
4015
|
+
global___DictMetadata = DictMetadata
|
|
4016
|
+
|
|
3641
4017
|
class DictPopRequest(google.protobuf.message.Message):
|
|
3642
4018
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
3643
4019
|
|
|
@@ -3893,10 +4269,22 @@ class EnvironmentListItem(google.protobuf.message.Message):
|
|
|
3893
4269
|
WEBHOOK_SUFFIX_FIELD_NUMBER: builtins.int
|
|
3894
4270
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
3895
4271
|
DEFAULT_FIELD_NUMBER: builtins.int
|
|
4272
|
+
IS_MANAGED_FIELD_NUMBER: builtins.int
|
|
4273
|
+
ENVIRONMENT_ID_FIELD_NUMBER: builtins.int
|
|
4274
|
+
MAX_CONCURRENT_TASKS_FIELD_NUMBER: builtins.int
|
|
4275
|
+
MAX_CONCURRENT_GPUS_FIELD_NUMBER: builtins.int
|
|
4276
|
+
CURRENT_CONCURRENT_TASKS_FIELD_NUMBER: builtins.int
|
|
4277
|
+
CURRENT_CONCURRENT_GPUS_FIELD_NUMBER: builtins.int
|
|
3896
4278
|
name: builtins.str
|
|
3897
4279
|
webhook_suffix: builtins.str
|
|
3898
4280
|
created_at: builtins.float
|
|
3899
4281
|
default: builtins.bool
|
|
4282
|
+
is_managed: builtins.bool
|
|
4283
|
+
environment_id: builtins.str
|
|
4284
|
+
max_concurrent_tasks: builtins.int
|
|
4285
|
+
max_concurrent_gpus: builtins.int
|
|
4286
|
+
current_concurrent_tasks: builtins.int
|
|
4287
|
+
current_concurrent_gpus: builtins.int
|
|
3900
4288
|
def __init__(
|
|
3901
4289
|
self,
|
|
3902
4290
|
*,
|
|
@@ -3904,8 +4292,19 @@ class EnvironmentListItem(google.protobuf.message.Message):
|
|
|
3904
4292
|
webhook_suffix: builtins.str = ...,
|
|
3905
4293
|
created_at: builtins.float = ...,
|
|
3906
4294
|
default: builtins.bool = ...,
|
|
4295
|
+
is_managed: builtins.bool = ...,
|
|
4296
|
+
environment_id: builtins.str = ...,
|
|
4297
|
+
max_concurrent_tasks: builtins.int | None = ...,
|
|
4298
|
+
max_concurrent_gpus: builtins.int | None = ...,
|
|
4299
|
+
current_concurrent_tasks: builtins.int = ...,
|
|
4300
|
+
current_concurrent_gpus: builtins.int = ...,
|
|
3907
4301
|
) -> None: ...
|
|
3908
|
-
def
|
|
4302
|
+
def HasField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks"]) -> builtins.bool: ...
|
|
4303
|
+
def ClearField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "created_at", b"created_at", "current_concurrent_gpus", b"current_concurrent_gpus", "current_concurrent_tasks", b"current_concurrent_tasks", "default", b"default", "environment_id", b"environment_id", "is_managed", b"is_managed", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks", "name", b"name", "webhook_suffix", b"webhook_suffix"]) -> None: ...
|
|
4304
|
+
@typing.overload
|
|
4305
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus"]) -> typing_extensions.Literal["max_concurrent_gpus"] | None: ...
|
|
4306
|
+
@typing.overload
|
|
4307
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_tasks", b"_max_concurrent_tasks"]) -> typing_extensions.Literal["max_concurrent_tasks"] | None: ...
|
|
3909
4308
|
|
|
3910
4309
|
global___EnvironmentListItem = EnvironmentListItem
|
|
3911
4310
|
|
|
@@ -3971,20 +4370,30 @@ class EnvironmentUpdateRequest(google.protobuf.message.Message):
|
|
|
3971
4370
|
CURRENT_NAME_FIELD_NUMBER: builtins.int
|
|
3972
4371
|
NAME_FIELD_NUMBER: builtins.int
|
|
3973
4372
|
WEB_SUFFIX_FIELD_NUMBER: builtins.int
|
|
4373
|
+
MAX_CONCURRENT_TASKS_FIELD_NUMBER: builtins.int
|
|
4374
|
+
MAX_CONCURRENT_GPUS_FIELD_NUMBER: builtins.int
|
|
3974
4375
|
current_name: builtins.str
|
|
3975
4376
|
@property
|
|
3976
4377
|
def name(self) -> google.protobuf.wrappers_pb2.StringValue: ...
|
|
3977
4378
|
@property
|
|
3978
4379
|
def web_suffix(self) -> google.protobuf.wrappers_pb2.StringValue: ...
|
|
4380
|
+
max_concurrent_tasks: builtins.int
|
|
4381
|
+
max_concurrent_gpus: builtins.int
|
|
3979
4382
|
def __init__(
|
|
3980
4383
|
self,
|
|
3981
4384
|
*,
|
|
3982
4385
|
current_name: builtins.str = ...,
|
|
3983
4386
|
name: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
3984
4387
|
web_suffix: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
4388
|
+
max_concurrent_tasks: builtins.int | None = ...,
|
|
4389
|
+
max_concurrent_gpus: builtins.int | None = ...,
|
|
3985
4390
|
) -> None: ...
|
|
3986
|
-
def HasField(self, field_name: typing_extensions.Literal["name", b"name", "web_suffix", b"web_suffix"]) -> builtins.bool: ...
|
|
3987
|
-
def ClearField(self, field_name: typing_extensions.Literal["current_name", b"current_name", "name", b"name", "web_suffix", b"web_suffix"]) -> None: ...
|
|
4391
|
+
def HasField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks", "name", b"name", "web_suffix", b"web_suffix"]) -> builtins.bool: ...
|
|
4392
|
+
def ClearField(self, field_name: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus", "_max_concurrent_tasks", b"_max_concurrent_tasks", "current_name", b"current_name", "max_concurrent_gpus", b"max_concurrent_gpus", "max_concurrent_tasks", b"max_concurrent_tasks", "name", b"name", "web_suffix", b"web_suffix"]) -> None: ...
|
|
4393
|
+
@typing.overload
|
|
4394
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_gpus", b"_max_concurrent_gpus"]) -> typing_extensions.Literal["max_concurrent_gpus"] | None: ...
|
|
4395
|
+
@typing.overload
|
|
4396
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_tasks", b"_max_concurrent_tasks"]) -> typing_extensions.Literal["max_concurrent_tasks"] | None: ...
|
|
3988
4397
|
|
|
3989
4398
|
global___EnvironmentUpdateRequest = EnvironmentUpdateRequest
|
|
3990
4399
|
|
|
@@ -4061,14 +4470,160 @@ class FilesystemRuntimeOutputBatch(google.protobuf.message.Message):
|
|
|
4061
4470
|
|
|
4062
4471
|
global___FilesystemRuntimeOutputBatch = FilesystemRuntimeOutputBatch
|
|
4063
4472
|
|
|
4064
|
-
class
|
|
4473
|
+
class FlashContainerDeregisterRequest(google.protobuf.message.Message):
|
|
4065
4474
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4066
4475
|
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4476
|
+
SERVICE_NAME_FIELD_NUMBER: builtins.int
|
|
4477
|
+
service_name: builtins.str
|
|
4478
|
+
def __init__(
|
|
4479
|
+
self,
|
|
4480
|
+
*,
|
|
4481
|
+
service_name: builtins.str = ...,
|
|
4482
|
+
) -> None: ...
|
|
4483
|
+
def ClearField(self, field_name: typing_extensions.Literal["service_name", b"service_name"]) -> None: ...
|
|
4484
|
+
|
|
4485
|
+
global___FlashContainerDeregisterRequest = FlashContainerDeregisterRequest
|
|
4486
|
+
|
|
4487
|
+
class FlashContainerListRequest(google.protobuf.message.Message):
|
|
4488
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4489
|
+
|
|
4490
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
4491
|
+
function_id: builtins.str
|
|
4492
|
+
def __init__(
|
|
4493
|
+
self,
|
|
4494
|
+
*,
|
|
4495
|
+
function_id: builtins.str = ...,
|
|
4496
|
+
) -> None: ...
|
|
4497
|
+
def ClearField(self, field_name: typing_extensions.Literal["function_id", b"function_id"]) -> None: ...
|
|
4498
|
+
|
|
4499
|
+
global___FlashContainerListRequest = FlashContainerListRequest
|
|
4500
|
+
|
|
4501
|
+
class FlashContainerListResponse(google.protobuf.message.Message):
|
|
4502
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4503
|
+
|
|
4504
|
+
class Container(google.protobuf.message.Message):
|
|
4505
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4506
|
+
|
|
4507
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
4508
|
+
HOST_FIELD_NUMBER: builtins.int
|
|
4509
|
+
PORT_FIELD_NUMBER: builtins.int
|
|
4510
|
+
task_id: builtins.str
|
|
4511
|
+
host: builtins.str
|
|
4512
|
+
port: builtins.int
|
|
4513
|
+
def __init__(
|
|
4514
|
+
self,
|
|
4515
|
+
*,
|
|
4516
|
+
task_id: builtins.str = ...,
|
|
4517
|
+
host: builtins.str = ...,
|
|
4518
|
+
port: builtins.int = ...,
|
|
4519
|
+
) -> None: ...
|
|
4520
|
+
def ClearField(self, field_name: typing_extensions.Literal["host", b"host", "port", b"port", "task_id", b"task_id"]) -> None: ...
|
|
4521
|
+
|
|
4522
|
+
CONTAINERS_FIELD_NUMBER: builtins.int
|
|
4523
|
+
@property
|
|
4524
|
+
def containers(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FlashContainerListResponse.Container]: ...
|
|
4525
|
+
def __init__(
|
|
4526
|
+
self,
|
|
4527
|
+
*,
|
|
4528
|
+
containers: collections.abc.Iterable[global___FlashContainerListResponse.Container] | None = ...,
|
|
4529
|
+
) -> None: ...
|
|
4530
|
+
def ClearField(self, field_name: typing_extensions.Literal["containers", b"containers"]) -> None: ...
|
|
4531
|
+
|
|
4532
|
+
global___FlashContainerListResponse = FlashContainerListResponse
|
|
4533
|
+
|
|
4534
|
+
class FlashContainerRegisterRequest(google.protobuf.message.Message):
|
|
4535
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4536
|
+
|
|
4537
|
+
SERVICE_NAME_FIELD_NUMBER: builtins.int
|
|
4538
|
+
PRIORITY_FIELD_NUMBER: builtins.int
|
|
4539
|
+
WEIGHT_FIELD_NUMBER: builtins.int
|
|
4540
|
+
HOST_FIELD_NUMBER: builtins.int
|
|
4541
|
+
PORT_FIELD_NUMBER: builtins.int
|
|
4542
|
+
service_name: builtins.str
|
|
4543
|
+
"""not used?"""
|
|
4544
|
+
priority: builtins.int
|
|
4545
|
+
weight: builtins.int
|
|
4546
|
+
host: builtins.str
|
|
4547
|
+
port: builtins.int
|
|
4548
|
+
def __init__(
|
|
4549
|
+
self,
|
|
4550
|
+
*,
|
|
4551
|
+
service_name: builtins.str = ...,
|
|
4552
|
+
priority: builtins.int = ...,
|
|
4553
|
+
weight: builtins.int = ...,
|
|
4554
|
+
host: builtins.str = ...,
|
|
4555
|
+
port: builtins.int = ...,
|
|
4556
|
+
) -> None: ...
|
|
4557
|
+
def ClearField(self, field_name: typing_extensions.Literal["host", b"host", "port", b"port", "priority", b"priority", "service_name", b"service_name", "weight", b"weight"]) -> None: ...
|
|
4558
|
+
|
|
4559
|
+
global___FlashContainerRegisterRequest = FlashContainerRegisterRequest
|
|
4560
|
+
|
|
4561
|
+
class FlashContainerRegisterResponse(google.protobuf.message.Message):
|
|
4562
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4563
|
+
|
|
4564
|
+
URL_FIELD_NUMBER: builtins.int
|
|
4565
|
+
url: builtins.str
|
|
4566
|
+
def __init__(
|
|
4567
|
+
self,
|
|
4568
|
+
*,
|
|
4569
|
+
url: builtins.str = ...,
|
|
4570
|
+
) -> None: ...
|
|
4571
|
+
def ClearField(self, field_name: typing_extensions.Literal["url", b"url"]) -> None: ...
|
|
4572
|
+
|
|
4573
|
+
global___FlashContainerRegisterResponse = FlashContainerRegisterResponse
|
|
4574
|
+
|
|
4575
|
+
class FlashProxyUpstreamRequest(google.protobuf.message.Message):
|
|
4576
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4577
|
+
|
|
4578
|
+
UPSTREAM_REQUESTS_FIELD_NUMBER: builtins.int
|
|
4579
|
+
TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
4580
|
+
upstream_requests: builtins.int
|
|
4581
|
+
timestamp: builtins.float
|
|
4582
|
+
def __init__(
|
|
4583
|
+
self,
|
|
4584
|
+
*,
|
|
4585
|
+
upstream_requests: builtins.int = ...,
|
|
4586
|
+
timestamp: builtins.float = ...,
|
|
4587
|
+
) -> None: ...
|
|
4588
|
+
def ClearField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp", "upstream_requests", b"upstream_requests"]) -> None: ...
|
|
4589
|
+
|
|
4590
|
+
global___FlashProxyUpstreamRequest = FlashProxyUpstreamRequest
|
|
4591
|
+
|
|
4592
|
+
class FlashSetTargetSlotsMetricsRequest(google.protobuf.message.Message):
|
|
4593
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4594
|
+
|
|
4595
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
4596
|
+
TARGET_SLOTS_FIELD_NUMBER: builtins.int
|
|
4597
|
+
function_id: builtins.str
|
|
4598
|
+
"""TODO(claudia): add other metrics to use in autoscaling decisions"""
|
|
4599
|
+
target_slots: builtins.int
|
|
4600
|
+
def __init__(
|
|
4601
|
+
self,
|
|
4602
|
+
*,
|
|
4603
|
+
function_id: builtins.str = ...,
|
|
4604
|
+
target_slots: builtins.int = ...,
|
|
4605
|
+
) -> None: ...
|
|
4606
|
+
def ClearField(self, field_name: typing_extensions.Literal["function_id", b"function_id", "target_slots", b"target_slots"]) -> None: ...
|
|
4607
|
+
|
|
4608
|
+
global___FlashSetTargetSlotsMetricsRequest = FlashSetTargetSlotsMetricsRequest
|
|
4609
|
+
|
|
4610
|
+
class FlashSetTargetSlotsMetricsResponse(google.protobuf.message.Message):
|
|
4611
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4612
|
+
|
|
4613
|
+
def __init__(
|
|
4614
|
+
self,
|
|
4615
|
+
) -> None: ...
|
|
4616
|
+
|
|
4617
|
+
global___FlashSetTargetSlotsMetricsResponse = FlashSetTargetSlotsMetricsResponse
|
|
4618
|
+
|
|
4619
|
+
class Function(google.protobuf.message.Message):
|
|
4620
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4621
|
+
|
|
4622
|
+
class _DefinitionType:
|
|
4623
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
4624
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
4625
|
+
|
|
4626
|
+
class _DefinitionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Function._DefinitionType.ValueType], builtins.type): # noqa: F821
|
|
4072
4627
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
4073
4628
|
DEFINITION_TYPE_UNSPECIFIED: Function._DefinitionType.ValueType # 0
|
|
4074
4629
|
DEFINITION_TYPE_SERIALIZED: Function._DefinitionType.ValueType # 1
|
|
@@ -4195,6 +4750,12 @@ class Function(google.protobuf.message.Message):
|
|
|
4195
4750
|
FUNCTION_SCHEMA_FIELD_NUMBER: builtins.int
|
|
4196
4751
|
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
|
4197
4752
|
MOUNT_CLIENT_DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
4753
|
+
FLASH_SERVICE_URLS_FIELD_NUMBER: builtins.int
|
|
4754
|
+
FLASH_SERVICE_LABEL_FIELD_NUMBER: builtins.int
|
|
4755
|
+
ENABLE_GPU_SNAPSHOT_FIELD_NUMBER: builtins.int
|
|
4756
|
+
STARTUP_TIMEOUT_SECS_FIELD_NUMBER: builtins.int
|
|
4757
|
+
SUPPORTED_INPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
4758
|
+
SUPPORTED_OUTPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
4198
4759
|
module_name: builtins.str
|
|
4199
4760
|
function_name: builtins.str
|
|
4200
4761
|
@property
|
|
@@ -4316,7 +4877,8 @@ class Function(google.protobuf.message.Message):
|
|
|
4316
4877
|
def autoscaler_settings(self) -> global___AutoscalerSettings:
|
|
4317
4878
|
"""Bundle of parameters related to autoscaling"""
|
|
4318
4879
|
@property
|
|
4319
|
-
def function_schema(self) -> global___FunctionSchema:
|
|
4880
|
+
def function_schema(self) -> global___FunctionSchema:
|
|
4881
|
+
"""Function schema, may be missing: client doesn't block deployment if it fails to get it"""
|
|
4320
4882
|
@property
|
|
4321
4883
|
def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
4322
4884
|
"""For server-side experimental functionality. Prefer using this over individual _experimental_* fields.
|
|
@@ -4327,6 +4889,17 @@ class Function(google.protobuf.message.Message):
|
|
|
4327
4889
|
"""If set, client deps will be mounted into the container, and are
|
|
4328
4890
|
no longer expected to exist in the image itself.
|
|
4329
4891
|
"""
|
|
4892
|
+
@property
|
|
4893
|
+
def flash_service_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
4894
|
+
flash_service_label: builtins.str
|
|
4895
|
+
enable_gpu_snapshot: builtins.bool
|
|
4896
|
+
"""GPU memory snapshotting (alpha)"""
|
|
4897
|
+
startup_timeout_secs: builtins.int
|
|
4898
|
+
@property
|
|
4899
|
+
def supported_input_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]:
|
|
4900
|
+
"""can be used as inputs"""
|
|
4901
|
+
@property
|
|
4902
|
+
def supported_output_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
4330
4903
|
def __init__(
|
|
4331
4904
|
self,
|
|
4332
4905
|
*,
|
|
@@ -4399,9 +4972,15 @@ class Function(google.protobuf.message.Message):
|
|
|
4399
4972
|
function_schema: global___FunctionSchema | None = ...,
|
|
4400
4973
|
experimental_options: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
4401
4974
|
mount_client_dependencies: builtins.bool = ...,
|
|
4975
|
+
flash_service_urls: collections.abc.Iterable[builtins.str] | None = ...,
|
|
4976
|
+
flash_service_label: builtins.str = ...,
|
|
4977
|
+
enable_gpu_snapshot: builtins.bool = ...,
|
|
4978
|
+
startup_timeout_secs: builtins.int = ...,
|
|
4979
|
+
supported_input_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
4980
|
+
supported_output_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
4402
4981
|
) -> None: ...
|
|
4403
4982
|
def HasField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_cloud_provider", b"_cloud_provider", "_experimental_proxy_ip", b"_experimental_proxy_ip", "_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "autoscaler_settings", b"autoscaler_settings", "checkpoint", b"checkpoint", "class_parameter_info", b"class_parameter_info", "cloud_provider", b"cloud_provider", "function_schema", b"function_schema", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "rate_limit", b"rate_limit", "resources", b"resources", "retry_policy", b"retry_policy", "schedule", b"schedule", "scheduler_placement", b"scheduler_placement", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> builtins.bool: ...
|
|
4404
|
-
def ClearField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_cloud_provider", b"_cloud_provider", "_experimental_buffer_containers", b"_experimental_buffer_containers", "_experimental_concurrent_cancellations", b"_experimental_concurrent_cancellations", "_experimental_custom_scaling", b"_experimental_custom_scaling", "_experimental_enable_gpu_snapshot", b"_experimental_enable_gpu_snapshot", "_experimental_group_size", b"_experimental_group_size", "_experimental_proxy_ip", b"_experimental_proxy_ip", "_experimental_task_templates", b"_experimental_task_templates", "_experimental_task_templates_enabled", b"_experimental_task_templates_enabled", "_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "app_name", b"app_name", "autoscaler_settings", b"autoscaler_settings", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "block_network", b"block_network", "checkpoint", b"checkpoint", "checkpointing_enabled", b"checkpointing_enabled", "class_parameter_info", b"class_parameter_info", "class_serialized", b"class_serialized", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "concurrency_limit", b"concurrency_limit", "custom_domain_info", b"custom_domain_info", "definition_type", b"definition_type", "experimental_options", b"experimental_options", "function_name", b"function_name", "function_schema", b"function_schema", "function_serialized", b"function_serialized", "function_type", b"function_type", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "is_auto_snapshot", b"is_auto_snapshot", "is_builder_function", b"is_builder_function", "is_checkpointing_function", b"is_checkpointing_function", "is_class", b"is_class", "is_method", b"is_method", "max_concurrent_inputs", b"max_concurrent_inputs", "max_inputs", b"max_inputs", "method_definitions", b"method_definitions", "method_definitions_set", b"method_definitions_set", "module_name", b"module_name", "mount_client_dependencies", b"mount_client_dependencies", "mount_ids", b"mount_ids", "object_dependencies", b"object_dependencies", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "rate_limit", b"rate_limit", "resources", b"resources", "retry_policy", b"retry_policy", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "runtime_perf_record", b"runtime_perf_record", "s3_mounts", b"s3_mounts", "schedule", b"schedule", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "shared_volume_mounts", b"shared_volume_mounts", "snapshot_debug", b"snapshot_debug", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "untrusted", b"untrusted", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "volume_mounts", b"volume_mounts", "warm_pool_size", b"warm_pool_size", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config", "worker_id", b"worker_id"]) -> None: ...
|
|
4983
|
+
def ClearField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_cloud_provider", b"_cloud_provider", "_experimental_buffer_containers", b"_experimental_buffer_containers", "_experimental_concurrent_cancellations", b"_experimental_concurrent_cancellations", "_experimental_custom_scaling", b"_experimental_custom_scaling", "_experimental_enable_gpu_snapshot", b"_experimental_enable_gpu_snapshot", "_experimental_group_size", b"_experimental_group_size", "_experimental_proxy_ip", b"_experimental_proxy_ip", "_experimental_task_templates", b"_experimental_task_templates", "_experimental_task_templates_enabled", b"_experimental_task_templates_enabled", "_proxy_id", b"_proxy_id", "_scheduler_placement", b"_scheduler_placement", "app_name", b"app_name", "autoscaler_settings", b"autoscaler_settings", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "block_network", b"block_network", "checkpoint", b"checkpoint", "checkpointing_enabled", b"checkpointing_enabled", "class_parameter_info", b"class_parameter_info", "class_serialized", b"class_serialized", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "concurrency_limit", b"concurrency_limit", "custom_domain_info", b"custom_domain_info", "definition_type", b"definition_type", "enable_gpu_snapshot", b"enable_gpu_snapshot", "experimental_options", b"experimental_options", "flash_service_label", b"flash_service_label", "flash_service_urls", b"flash_service_urls", "function_name", b"function_name", "function_schema", b"function_schema", "function_serialized", b"function_serialized", "function_type", b"function_type", "i6pn_enabled", b"i6pn_enabled", "image_id", b"image_id", "is_auto_snapshot", b"is_auto_snapshot", "is_builder_function", b"is_builder_function", "is_checkpointing_function", b"is_checkpointing_function", "is_class", b"is_class", "is_method", b"is_method", "max_concurrent_inputs", b"max_concurrent_inputs", "max_inputs", b"max_inputs", "method_definitions", b"method_definitions", "method_definitions_set", b"method_definitions_set", "module_name", b"module_name", "mount_client_dependencies", b"mount_client_dependencies", "mount_ids", b"mount_ids", "object_dependencies", b"object_dependencies", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "rate_limit", b"rate_limit", "resources", b"resources", "retry_policy", b"retry_policy", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "runtime_perf_record", b"runtime_perf_record", "s3_mounts", b"s3_mounts", "schedule", b"schedule", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "shared_volume_mounts", b"shared_volume_mounts", "snapshot_debug", b"snapshot_debug", "startup_timeout_secs", b"startup_timeout_secs", "supported_input_formats", b"supported_input_formats", "supported_output_formats", b"supported_output_formats", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "untrusted", b"untrusted", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "volume_mounts", b"volume_mounts", "warm_pool_size", b"warm_pool_size", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config", "worker_id", b"worker_id"]) -> None: ...
|
|
4405
4984
|
@typing.overload
|
|
4406
4985
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip"]) -> typing_extensions.Literal["_experimental_proxy_ip"] | None: ...
|
|
4407
4986
|
@typing.overload
|
|
@@ -4459,11 +5038,14 @@ class FunctionBindParamsRequest(google.protobuf.message.Message):
|
|
|
4459
5038
|
SERIALIZED_PARAMS_FIELD_NUMBER: builtins.int
|
|
4460
5039
|
FUNCTION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
4461
5040
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
5041
|
+
AUTH_SECRET_FIELD_NUMBER: builtins.int
|
|
4462
5042
|
function_id: builtins.str
|
|
4463
5043
|
serialized_params: builtins.bytes
|
|
4464
5044
|
@property
|
|
4465
5045
|
def function_options(self) -> global___FunctionOptions: ...
|
|
4466
5046
|
environment_name: builtins.str
|
|
5047
|
+
auth_secret: builtins.str
|
|
5048
|
+
"""Only used for the input plane."""
|
|
4467
5049
|
def __init__(
|
|
4468
5050
|
self,
|
|
4469
5051
|
*,
|
|
@@ -4471,9 +5053,10 @@ class FunctionBindParamsRequest(google.protobuf.message.Message):
|
|
|
4471
5053
|
serialized_params: builtins.bytes = ...,
|
|
4472
5054
|
function_options: global___FunctionOptions | None = ...,
|
|
4473
5055
|
environment_name: builtins.str = ...,
|
|
5056
|
+
auth_secret: builtins.str = ...,
|
|
4474
5057
|
) -> None: ...
|
|
4475
5058
|
def HasField(self, field_name: typing_extensions.Literal["function_options", b"function_options"]) -> builtins.bool: ...
|
|
4476
|
-
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "function_id", b"function_id", "function_options", b"function_options", "serialized_params", b"serialized_params"]) -> None: ...
|
|
5059
|
+
def ClearField(self, field_name: typing_extensions.Literal["auth_secret", b"auth_secret", "environment_name", b"environment_name", "function_id", b"function_id", "function_options", b"function_options", "serialized_params", b"serialized_params"]) -> None: ...
|
|
4477
5060
|
|
|
4478
5061
|
global___FunctionBindParamsRequest = FunctionBindParamsRequest
|
|
4479
5062
|
|
|
@@ -4524,32 +5107,79 @@ class FunctionCallCancelRequest(google.protobuf.message.Message):
|
|
|
4524
5107
|
|
|
4525
5108
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
4526
5109
|
TERMINATE_CONTAINERS_FIELD_NUMBER: builtins.int
|
|
5110
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
4527
5111
|
function_call_id: builtins.str
|
|
4528
5112
|
terminate_containers: builtins.bool
|
|
5113
|
+
function_id: builtins.str
|
|
5114
|
+
"""Only provided for sync input cancellation on the input plane. Async input cancellation does not provide this field this."""
|
|
4529
5115
|
def __init__(
|
|
4530
5116
|
self,
|
|
4531
5117
|
*,
|
|
4532
5118
|
function_call_id: builtins.str = ...,
|
|
4533
5119
|
terminate_containers: builtins.bool = ...,
|
|
5120
|
+
function_id: builtins.str | None = ...,
|
|
4534
5121
|
) -> None: ...
|
|
4535
|
-
def
|
|
5122
|
+
def HasField(self, field_name: typing_extensions.Literal["_function_id", b"_function_id", "function_id", b"function_id"]) -> builtins.bool: ...
|
|
5123
|
+
def ClearField(self, field_name: typing_extensions.Literal["_function_id", b"_function_id", "function_call_id", b"function_call_id", "function_id", b"function_id", "terminate_containers", b"terminate_containers"]) -> None: ...
|
|
5124
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_function_id", b"_function_id"]) -> typing_extensions.Literal["function_id"] | None: ...
|
|
4536
5125
|
|
|
4537
5126
|
global___FunctionCallCancelRequest = FunctionCallCancelRequest
|
|
4538
5127
|
|
|
5128
|
+
class FunctionCallFromIdRequest(google.protobuf.message.Message):
|
|
5129
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
5130
|
+
|
|
5131
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
5132
|
+
function_call_id: builtins.str
|
|
5133
|
+
def __init__(
|
|
5134
|
+
self,
|
|
5135
|
+
*,
|
|
5136
|
+
function_call_id: builtins.str = ...,
|
|
5137
|
+
) -> None: ...
|
|
5138
|
+
def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id"]) -> None: ...
|
|
5139
|
+
|
|
5140
|
+
global___FunctionCallFromIdRequest = FunctionCallFromIdRequest
|
|
5141
|
+
|
|
5142
|
+
class FunctionCallFromIdResponse(google.protobuf.message.Message):
|
|
5143
|
+
"""Everything you need to build a FunctionCallHandler."""
|
|
5144
|
+
|
|
5145
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
5146
|
+
|
|
5147
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
5148
|
+
NUM_INPUTS_FIELD_NUMBER: builtins.int
|
|
5149
|
+
function_call_id: builtins.str
|
|
5150
|
+
num_inputs: builtins.int
|
|
5151
|
+
def __init__(
|
|
5152
|
+
self,
|
|
5153
|
+
*,
|
|
5154
|
+
function_call_id: builtins.str = ...,
|
|
5155
|
+
num_inputs: builtins.int = ...,
|
|
5156
|
+
) -> None: ...
|
|
5157
|
+
def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id", "num_inputs", b"num_inputs"]) -> None: ...
|
|
5158
|
+
|
|
5159
|
+
global___FunctionCallFromIdResponse = FunctionCallFromIdResponse
|
|
5160
|
+
|
|
4539
5161
|
class FunctionCallGetDataRequest(google.protobuf.message.Message):
|
|
4540
5162
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4541
5163
|
|
|
4542
5164
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
5165
|
+
ATTEMPT_TOKEN_FIELD_NUMBER: builtins.int
|
|
4543
5166
|
LAST_INDEX_FIELD_NUMBER: builtins.int
|
|
5167
|
+
USE_GAPLESS_READ_FIELD_NUMBER: builtins.int
|
|
4544
5168
|
function_call_id: builtins.str
|
|
5169
|
+
attempt_token: builtins.str
|
|
4545
5170
|
last_index: builtins.int
|
|
5171
|
+
use_gapless_read: builtins.bool
|
|
4546
5172
|
def __init__(
|
|
4547
5173
|
self,
|
|
4548
5174
|
*,
|
|
4549
5175
|
function_call_id: builtins.str = ...,
|
|
5176
|
+
attempt_token: builtins.str = ...,
|
|
4550
5177
|
last_index: builtins.int = ...,
|
|
5178
|
+
use_gapless_read: builtins.bool = ...,
|
|
4551
5179
|
) -> None: ...
|
|
4552
|
-
def
|
|
5180
|
+
def HasField(self, field_name: typing_extensions.Literal["attempt_token", b"attempt_token", "call_info", b"call_info", "function_call_id", b"function_call_id"]) -> builtins.bool: ...
|
|
5181
|
+
def ClearField(self, field_name: typing_extensions.Literal["attempt_token", b"attempt_token", "call_info", b"call_info", "function_call_id", b"function_call_id", "last_index", b"last_index", "use_gapless_read", b"use_gapless_read"]) -> None: ...
|
|
5182
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["call_info", b"call_info"]) -> typing_extensions.Literal["function_call_id", "attempt_token"] | None: ...
|
|
4553
5183
|
|
|
4554
5184
|
global___FunctionCallGetDataRequest = FunctionCallGetDataRequest
|
|
4555
5185
|
|
|
@@ -4635,17 +5265,22 @@ class FunctionCallPutDataRequest(google.protobuf.message.Message):
|
|
|
4635
5265
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4636
5266
|
|
|
4637
5267
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
5268
|
+
ATTEMPT_TOKEN_FIELD_NUMBER: builtins.int
|
|
4638
5269
|
DATA_CHUNKS_FIELD_NUMBER: builtins.int
|
|
4639
5270
|
function_call_id: builtins.str
|
|
5271
|
+
attempt_token: builtins.str
|
|
4640
5272
|
@property
|
|
4641
5273
|
def data_chunks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DataChunk]: ...
|
|
4642
5274
|
def __init__(
|
|
4643
5275
|
self,
|
|
4644
5276
|
*,
|
|
4645
5277
|
function_call_id: builtins.str = ...,
|
|
5278
|
+
attempt_token: builtins.str = ...,
|
|
4646
5279
|
data_chunks: collections.abc.Iterable[global___DataChunk] | None = ...,
|
|
4647
5280
|
) -> None: ...
|
|
4648
|
-
def
|
|
5281
|
+
def HasField(self, field_name: typing_extensions.Literal["attempt_token", b"attempt_token", "call_info", b"call_info", "function_call_id", b"function_call_id"]) -> builtins.bool: ...
|
|
5282
|
+
def ClearField(self, field_name: typing_extensions.Literal["attempt_token", b"attempt_token", "call_info", b"call_info", "data_chunks", b"data_chunks", "function_call_id", b"function_call_id"]) -> None: ...
|
|
5283
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["call_info", b"call_info"]) -> typing_extensions.Literal["function_call_id", "attempt_token"] | None: ...
|
|
4649
5284
|
|
|
4650
5285
|
global___FunctionCallPutDataRequest = FunctionCallPutDataRequest
|
|
4651
5286
|
|
|
@@ -4806,6 +5441,11 @@ class FunctionData(google.protobuf.message.Message):
|
|
|
4806
5441
|
AUTOSCALER_SETTINGS_FIELD_NUMBER: builtins.int
|
|
4807
5442
|
FUNCTION_SCHEMA_FIELD_NUMBER: builtins.int
|
|
4808
5443
|
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
|
5444
|
+
FLASH_SERVICE_URLS_FIELD_NUMBER: builtins.int
|
|
5445
|
+
FLASH_SERVICE_LABEL_FIELD_NUMBER: builtins.int
|
|
5446
|
+
STARTUP_TIMEOUT_SECS_FIELD_NUMBER: builtins.int
|
|
5447
|
+
SUPPORTED_INPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
5448
|
+
SUPPORTED_OUTPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
4809
5449
|
module_name: builtins.str
|
|
4810
5450
|
function_name: builtins.str
|
|
4811
5451
|
function_type: global___Function.FunctionType.ValueType
|
|
@@ -4864,6 +5504,14 @@ class FunctionData(google.protobuf.message.Message):
|
|
|
4864
5504
|
def function_schema(self) -> global___FunctionSchema: ...
|
|
4865
5505
|
@property
|
|
4866
5506
|
def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
5507
|
+
@property
|
|
5508
|
+
def flash_service_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
5509
|
+
flash_service_label: builtins.str
|
|
5510
|
+
startup_timeout_secs: builtins.int
|
|
5511
|
+
@property
|
|
5512
|
+
def supported_input_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
5513
|
+
@property
|
|
5514
|
+
def supported_output_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
4867
5515
|
def __init__(
|
|
4868
5516
|
self,
|
|
4869
5517
|
*,
|
|
@@ -4899,9 +5547,14 @@ class FunctionData(google.protobuf.message.Message):
|
|
|
4899
5547
|
autoscaler_settings: global___AutoscalerSettings | None = ...,
|
|
4900
5548
|
function_schema: global___FunctionSchema | None = ...,
|
|
4901
5549
|
experimental_options: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
5550
|
+
flash_service_urls: collections.abc.Iterable[builtins.str] | None = ...,
|
|
5551
|
+
flash_service_label: builtins.str = ...,
|
|
5552
|
+
startup_timeout_secs: builtins.int = ...,
|
|
5553
|
+
supported_input_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
5554
|
+
supported_output_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
4902
5555
|
) -> None: ...
|
|
4903
5556
|
def HasField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_experimental_proxy_ip", b"_experimental_proxy_ip", "autoscaler_settings", b"autoscaler_settings", "class_parameter_info", b"class_parameter_info", "function_schema", b"function_schema", "schedule", b"schedule", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> builtins.bool: ...
|
|
4904
|
-
def ClearField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_experimental_buffer_containers", b"_experimental_buffer_containers", "_experimental_custom_scaling", b"_experimental_custom_scaling", "_experimental_enable_gpu_snapshot", b"_experimental_enable_gpu_snapshot", "_experimental_group_size", b"_experimental_group_size", "_experimental_proxy_ip", b"_experimental_proxy_ip", "autoscaler_settings", b"autoscaler_settings", "class_parameter_info", b"class_parameter_info", "concurrency_limit", b"concurrency_limit", "custom_domain_info", b"custom_domain_info", "experimental_options", b"experimental_options", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "is_class", b"is_class", "is_method", b"is_method", "method_definitions", b"method_definitions", "method_definitions_set", b"method_definitions_set", "module_name", b"module_name", "ranked_functions", b"ranked_functions", "runtime_perf_record", b"runtime_perf_record", "schedule", b"schedule", "snapshot_debug", b"snapshot_debug", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "untrusted", b"untrusted", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "warm_pool_size", b"warm_pool_size", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config", "worker_id", b"worker_id"]) -> None: ...
|
|
5557
|
+
def ClearField(self, field_name: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip", "_experimental_buffer_containers", b"_experimental_buffer_containers", "_experimental_custom_scaling", b"_experimental_custom_scaling", "_experimental_enable_gpu_snapshot", b"_experimental_enable_gpu_snapshot", "_experimental_group_size", b"_experimental_group_size", "_experimental_proxy_ip", b"_experimental_proxy_ip", "autoscaler_settings", b"autoscaler_settings", "class_parameter_info", b"class_parameter_info", "concurrency_limit", b"concurrency_limit", "custom_domain_info", b"custom_domain_info", "experimental_options", b"experimental_options", "flash_service_label", b"flash_service_label", "flash_service_urls", b"flash_service_urls", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "is_class", b"is_class", "is_method", b"is_method", "method_definitions", b"method_definitions", "method_definitions_set", b"method_definitions_set", "module_name", b"module_name", "ranked_functions", b"ranked_functions", "runtime_perf_record", b"runtime_perf_record", "schedule", b"schedule", "snapshot_debug", b"snapshot_debug", "startup_timeout_secs", b"startup_timeout_secs", "supported_input_formats", b"supported_input_formats", "supported_output_formats", b"supported_output_formats", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "untrusted", b"untrusted", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "warm_pool_size", b"warm_pool_size", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config", "worker_id", b"worker_id"]) -> None: ...
|
|
4905
5558
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["X_experimental_proxy_ip", b"X_experimental_proxy_ip"]) -> typing_extensions.Literal["_experimental_proxy_ip"] | None: ...
|
|
4906
5559
|
|
|
4907
5560
|
global___FunctionData = FunctionData
|
|
@@ -4930,6 +5583,26 @@ class FunctionExtended(google.protobuf.message.Message):
|
|
|
4930
5583
|
|
|
4931
5584
|
global___FunctionExtended = FunctionExtended
|
|
4932
5585
|
|
|
5586
|
+
class FunctionFinishInputsRequest(google.protobuf.message.Message):
|
|
5587
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
5588
|
+
|
|
5589
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
5590
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
5591
|
+
NUM_INPUTS_FIELD_NUMBER: builtins.int
|
|
5592
|
+
function_id: builtins.str
|
|
5593
|
+
function_call_id: builtins.str
|
|
5594
|
+
num_inputs: builtins.int
|
|
5595
|
+
def __init__(
|
|
5596
|
+
self,
|
|
5597
|
+
*,
|
|
5598
|
+
function_id: builtins.str = ...,
|
|
5599
|
+
function_call_id: builtins.str = ...,
|
|
5600
|
+
num_inputs: builtins.int = ...,
|
|
5601
|
+
) -> None: ...
|
|
5602
|
+
def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id", "function_id", b"function_id", "num_inputs", b"num_inputs"]) -> None: ...
|
|
5603
|
+
|
|
5604
|
+
global___FunctionFinishInputsRequest = FunctionFinishInputsRequest
|
|
5605
|
+
|
|
4933
5606
|
class FunctionGetCallGraphRequest(google.protobuf.message.Message):
|
|
4934
5607
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
4935
5608
|
|
|
@@ -5021,6 +5694,8 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
|
5021
5694
|
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
5022
5695
|
FUNCTION_CALL_INVOCATION_TYPE_FIELD_NUMBER: builtins.int
|
|
5023
5696
|
RETRY_COUNT_FIELD_NUMBER: builtins.int
|
|
5697
|
+
FUNCTION_MAP_IDX_FIELD_NUMBER: builtins.int
|
|
5698
|
+
ATTEMPT_TOKEN_FIELD_NUMBER: builtins.int
|
|
5024
5699
|
input_id: builtins.str
|
|
5025
5700
|
@property
|
|
5026
5701
|
def input(self) -> global___FunctionInput: ...
|
|
@@ -5028,6 +5703,9 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
|
5028
5703
|
function_call_id: builtins.str
|
|
5029
5704
|
function_call_invocation_type: global___FunctionCallInvocationType.ValueType
|
|
5030
5705
|
retry_count: builtins.int
|
|
5706
|
+
function_map_idx: builtins.int
|
|
5707
|
+
"""intercepted and only used by the worker."""
|
|
5708
|
+
attempt_token: builtins.str
|
|
5031
5709
|
def __init__(
|
|
5032
5710
|
self,
|
|
5033
5711
|
*,
|
|
@@ -5037,9 +5715,12 @@ class FunctionGetInputsItem(google.protobuf.message.Message):
|
|
|
5037
5715
|
function_call_id: builtins.str = ...,
|
|
5038
5716
|
function_call_invocation_type: global___FunctionCallInvocationType.ValueType = ...,
|
|
5039
5717
|
retry_count: builtins.int = ...,
|
|
5718
|
+
function_map_idx: builtins.int | None = ...,
|
|
5719
|
+
attempt_token: builtins.str = ...,
|
|
5040
5720
|
) -> None: ...
|
|
5041
|
-
def HasField(self, field_name: typing_extensions.Literal["input", b"input"]) -> builtins.bool: ...
|
|
5042
|
-
def ClearField(self, field_name: typing_extensions.Literal["function_call_id", b"function_call_id", "function_call_invocation_type", b"function_call_invocation_type", "input", b"input", "input_id", b"input_id", "kill_switch", b"kill_switch", "retry_count", b"retry_count"]) -> None: ...
|
|
5721
|
+
def HasField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "function_map_idx", b"function_map_idx", "input", b"input"]) -> builtins.bool: ...
|
|
5722
|
+
def ClearField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "attempt_token", b"attempt_token", "function_call_id", b"function_call_id", "function_call_invocation_type", b"function_call_invocation_type", "function_map_idx", b"function_map_idx", "input", b"input", "input_id", b"input_id", "kill_switch", b"kill_switch", "retry_count", b"retry_count"]) -> None: ...
|
|
5723
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_function_map_idx", b"_function_map_idx"]) -> typing_extensions.Literal["function_map_idx"] | None: ...
|
|
5043
5724
|
|
|
5044
5725
|
global___FunctionGetInputsItem = FunctionGetInputsItem
|
|
5045
5726
|
|
|
@@ -5146,6 +5827,8 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
|
|
|
5146
5827
|
CLEAR_ON_SUCCESS_FIELD_NUMBER: builtins.int
|
|
5147
5828
|
REQUESTED_AT_FIELD_NUMBER: builtins.int
|
|
5148
5829
|
INPUT_JWTS_FIELD_NUMBER: builtins.int
|
|
5830
|
+
START_IDX_FIELD_NUMBER: builtins.int
|
|
5831
|
+
END_IDX_FIELD_NUMBER: builtins.int
|
|
5149
5832
|
function_call_id: builtins.str
|
|
5150
5833
|
max_values: builtins.int
|
|
5151
5834
|
timeout: builtins.float
|
|
@@ -5157,6 +5840,10 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
|
|
|
5157
5840
|
@property
|
|
5158
5841
|
def input_jwts(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
5159
5842
|
"""The jwts the client expects the server to be processing. This is optional and used for sync inputs only."""
|
|
5843
|
+
start_idx: builtins.int
|
|
5844
|
+
"""for async batch requests. this indicates which index to start from."""
|
|
5845
|
+
end_idx: builtins.int
|
|
5846
|
+
"""for async batch requests. this indicates which index to end at."""
|
|
5160
5847
|
def __init__(
|
|
5161
5848
|
self,
|
|
5162
5849
|
*,
|
|
@@ -5167,8 +5854,15 @@ class FunctionGetOutputsRequest(google.protobuf.message.Message):
|
|
|
5167
5854
|
clear_on_success: builtins.bool = ...,
|
|
5168
5855
|
requested_at: builtins.float = ...,
|
|
5169
5856
|
input_jwts: collections.abc.Iterable[builtins.str] | None = ...,
|
|
5857
|
+
start_idx: builtins.int | None = ...,
|
|
5858
|
+
end_idx: builtins.int | None = ...,
|
|
5170
5859
|
) -> None: ...
|
|
5171
|
-
def
|
|
5860
|
+
def HasField(self, field_name: typing_extensions.Literal["_end_idx", b"_end_idx", "_start_idx", b"_start_idx", "end_idx", b"end_idx", "start_idx", b"start_idx"]) -> builtins.bool: ...
|
|
5861
|
+
def ClearField(self, field_name: typing_extensions.Literal["_end_idx", b"_end_idx", "_start_idx", b"_start_idx", "clear_on_success", b"clear_on_success", "end_idx", b"end_idx", "function_call_id", b"function_call_id", "input_jwts", b"input_jwts", "last_entry_id", b"last_entry_id", "max_values", b"max_values", "requested_at", b"requested_at", "start_idx", b"start_idx", "timeout", b"timeout"]) -> None: ...
|
|
5862
|
+
@typing.overload
|
|
5863
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_end_idx", b"_end_idx"]) -> typing_extensions.Literal["end_idx"] | None: ...
|
|
5864
|
+
@typing.overload
|
|
5865
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_start_idx", b"_start_idx"]) -> typing_extensions.Literal["start_idx"] | None: ...
|
|
5172
5866
|
|
|
5173
5867
|
global___FunctionGetOutputsRequest = FunctionGetOutputsRequest
|
|
5174
5868
|
|
|
@@ -5202,21 +5896,18 @@ class FunctionGetRequest(google.protobuf.message.Message):
|
|
|
5202
5896
|
|
|
5203
5897
|
APP_NAME_FIELD_NUMBER: builtins.int
|
|
5204
5898
|
OBJECT_TAG_FIELD_NUMBER: builtins.int
|
|
5205
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
5206
5899
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
5207
5900
|
app_name: builtins.str
|
|
5208
5901
|
object_tag: builtins.str
|
|
5209
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
5210
5902
|
environment_name: builtins.str
|
|
5211
5903
|
def __init__(
|
|
5212
5904
|
self,
|
|
5213
5905
|
*,
|
|
5214
5906
|
app_name: builtins.str = ...,
|
|
5215
5907
|
object_tag: builtins.str = ...,
|
|
5216
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
5217
5908
|
environment_name: builtins.str = ...,
|
|
5218
5909
|
) -> None: ...
|
|
5219
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "
|
|
5910
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "object_tag", b"object_tag"]) -> None: ...
|
|
5220
5911
|
|
|
5221
5912
|
global___FunctionGetRequest = FunctionGetRequest
|
|
5222
5913
|
|
|
@@ -5310,6 +6001,11 @@ class FunctionHandleMetadata(google.protobuf.message.Message):
|
|
|
5310
6001
|
METHOD_HANDLE_METADATA_FIELD_NUMBER: builtins.int
|
|
5311
6002
|
FUNCTION_SCHEMA_FIELD_NUMBER: builtins.int
|
|
5312
6003
|
INPUT_PLANE_URL_FIELD_NUMBER: builtins.int
|
|
6004
|
+
INPUT_PLANE_REGION_FIELD_NUMBER: builtins.int
|
|
6005
|
+
MAX_OBJECT_SIZE_BYTES_FIELD_NUMBER: builtins.int
|
|
6006
|
+
_EXPERIMENTAL_FLASH_URLS_FIELD_NUMBER: builtins.int
|
|
6007
|
+
SUPPORTED_INPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
6008
|
+
SUPPORTED_OUTPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
5313
6009
|
function_name: builtins.str
|
|
5314
6010
|
"""Should be a subset and use IDs/types from `Function` above"""
|
|
5315
6011
|
function_type: global___Function.FunctionType.ValueType
|
|
@@ -5328,6 +6024,16 @@ class FunctionHandleMetadata(google.protobuf.message.Message):
|
|
|
5328
6024
|
@property
|
|
5329
6025
|
def function_schema(self) -> global___FunctionSchema: ...
|
|
5330
6026
|
input_plane_url: builtins.str
|
|
6027
|
+
input_plane_region: builtins.str
|
|
6028
|
+
max_object_size_bytes: builtins.int
|
|
6029
|
+
"""Use optional to ensure unset values default to None instead of 0"""
|
|
6030
|
+
@property
|
|
6031
|
+
def _experimental_flash_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
6032
|
+
"""(Optional) urls for flash services"""
|
|
6033
|
+
@property
|
|
6034
|
+
def supported_input_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
6035
|
+
@property
|
|
6036
|
+
def supported_output_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
5331
6037
|
def __init__(
|
|
5332
6038
|
self,
|
|
5333
6039
|
*,
|
|
@@ -5342,10 +6048,20 @@ class FunctionHandleMetadata(google.protobuf.message.Message):
|
|
|
5342
6048
|
method_handle_metadata: collections.abc.Mapping[builtins.str, global___FunctionHandleMetadata] | None = ...,
|
|
5343
6049
|
function_schema: global___FunctionSchema | None = ...,
|
|
5344
6050
|
input_plane_url: builtins.str | None = ...,
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
6051
|
+
input_plane_region: builtins.str | None = ...,
|
|
6052
|
+
max_object_size_bytes: builtins.int | None = ...,
|
|
6053
|
+
_experimental_flash_urls: collections.abc.Iterable[builtins.str] | None = ...,
|
|
6054
|
+
supported_input_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
6055
|
+
supported_output_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
6056
|
+
) -> None: ...
|
|
6057
|
+
def HasField(self, field_name: typing_extensions.Literal["_input_plane_region", b"_input_plane_region", "_input_plane_url", b"_input_plane_url", "_max_object_size_bytes", b"_max_object_size_bytes", "class_parameter_info", b"class_parameter_info", "function_schema", b"function_schema", "input_plane_region", b"input_plane_region", "input_plane_url", b"input_plane_url", "max_object_size_bytes", b"max_object_size_bytes"]) -> builtins.bool: ...
|
|
6058
|
+
def ClearField(self, field_name: typing_extensions.Literal["_experimental_flash_urls", b"_experimental_flash_urls", "_input_plane_region", b"_input_plane_region", "_input_plane_url", b"_input_plane_url", "_max_object_size_bytes", b"_max_object_size_bytes", "class_parameter_info", b"class_parameter_info", "definition_id", b"definition_id", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "input_plane_region", b"input_plane_region", "input_plane_url", b"input_plane_url", "is_method", b"is_method", "max_object_size_bytes", b"max_object_size_bytes", "method_handle_metadata", b"method_handle_metadata", "supported_input_formats", b"supported_input_formats", "supported_output_formats", b"supported_output_formats", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "web_url", b"web_url"]) -> None: ...
|
|
6059
|
+
@typing.overload
|
|
6060
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_input_plane_region", b"_input_plane_region"]) -> typing_extensions.Literal["input_plane_region"] | None: ...
|
|
6061
|
+
@typing.overload
|
|
5348
6062
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_input_plane_url", b"_input_plane_url"]) -> typing_extensions.Literal["input_plane_url"] | None: ...
|
|
6063
|
+
@typing.overload
|
|
6064
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_object_size_bytes", b"_max_object_size_bytes"]) -> typing_extensions.Literal["max_object_size_bytes"] | None: ...
|
|
5349
6065
|
|
|
5350
6066
|
global___FunctionHandleMetadata = FunctionHandleMetadata
|
|
5351
6067
|
|
|
@@ -5466,6 +6182,10 @@ class FunctionOptions(google.protobuf.message.Message):
|
|
|
5466
6182
|
MAX_CONCURRENT_INPUTS_FIELD_NUMBER: builtins.int
|
|
5467
6183
|
BATCH_MAX_SIZE_FIELD_NUMBER: builtins.int
|
|
5468
6184
|
BATCH_LINGER_MS_FIELD_NUMBER: builtins.int
|
|
6185
|
+
SCHEDULER_PLACEMENT_FIELD_NUMBER: builtins.int
|
|
6186
|
+
CLOUD_PROVIDER_STR_FIELD_NUMBER: builtins.int
|
|
6187
|
+
REPLACE_CLOUD_BUCKET_MOUNTS_FIELD_NUMBER: builtins.int
|
|
6188
|
+
CLOUD_BUCKET_MOUNTS_FIELD_NUMBER: builtins.int
|
|
5469
6189
|
@property
|
|
5470
6190
|
def secret_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
5471
6191
|
@property
|
|
@@ -5488,6 +6208,12 @@ class FunctionOptions(google.protobuf.message.Message):
|
|
|
5488
6208
|
max_concurrent_inputs: builtins.int
|
|
5489
6209
|
batch_max_size: builtins.int
|
|
5490
6210
|
batch_linger_ms: builtins.int
|
|
6211
|
+
@property
|
|
6212
|
+
def scheduler_placement(self) -> global___SchedulerPlacement: ...
|
|
6213
|
+
cloud_provider_str: builtins.str
|
|
6214
|
+
replace_cloud_bucket_mounts: builtins.bool
|
|
6215
|
+
@property
|
|
6216
|
+
def cloud_bucket_mounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CloudBucketMount]: ...
|
|
5491
6217
|
def __init__(
|
|
5492
6218
|
self,
|
|
5493
6219
|
*,
|
|
@@ -5507,9 +6233,13 @@ class FunctionOptions(google.protobuf.message.Message):
|
|
|
5507
6233
|
max_concurrent_inputs: builtins.int | None = ...,
|
|
5508
6234
|
batch_max_size: builtins.int | None = ...,
|
|
5509
6235
|
batch_linger_ms: builtins.int | None = ...,
|
|
6236
|
+
scheduler_placement: global___SchedulerPlacement | None = ...,
|
|
6237
|
+
cloud_provider_str: builtins.str | None = ...,
|
|
6238
|
+
replace_cloud_bucket_mounts: builtins.bool = ...,
|
|
6239
|
+
cloud_bucket_mounts: collections.abc.Iterable[global___CloudBucketMount] | None = ...,
|
|
5510
6240
|
) -> None: ...
|
|
5511
|
-
def HasField(self, field_name: typing_extensions.Literal["_batch_linger_ms", b"_batch_linger_ms", "_batch_max_size", b"_batch_max_size", "_buffer_containers", b"_buffer_containers", "_concurrency_limit", b"_concurrency_limit", "_max_concurrent_inputs", b"_max_concurrent_inputs", "_resources", b"_resources", "_retry_policy", b"_retry_policy", "_target_concurrent_inputs", b"_target_concurrent_inputs", "_task_idle_timeout_secs", b"_task_idle_timeout_secs", "_timeout_secs", b"_timeout_secs", "_warm_pool_size", b"_warm_pool_size", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "buffer_containers", b"buffer_containers", "concurrency_limit", b"concurrency_limit", "max_concurrent_inputs", b"max_concurrent_inputs", "resources", b"resources", "retry_policy", b"retry_policy", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "warm_pool_size", b"warm_pool_size"]) -> builtins.bool: ...
|
|
5512
|
-
def ClearField(self, field_name: typing_extensions.Literal["_batch_linger_ms", b"_batch_linger_ms", "_batch_max_size", b"_batch_max_size", "_buffer_containers", b"_buffer_containers", "_concurrency_limit", b"_concurrency_limit", "_max_concurrent_inputs", b"_max_concurrent_inputs", "_resources", b"_resources", "_retry_policy", b"_retry_policy", "_target_concurrent_inputs", b"_target_concurrent_inputs", "_task_idle_timeout_secs", b"_task_idle_timeout_secs", "_timeout_secs", b"_timeout_secs", "_warm_pool_size", b"_warm_pool_size", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "buffer_containers", b"buffer_containers", "concurrency_limit", b"concurrency_limit", "max_concurrent_inputs", b"max_concurrent_inputs", "mount_ids", b"mount_ids", "replace_secret_ids", b"replace_secret_ids", "replace_volume_mounts", b"replace_volume_mounts", "resources", b"resources", "retry_policy", b"retry_policy", "secret_ids", b"secret_ids", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "volume_mounts", b"volume_mounts", "warm_pool_size", b"warm_pool_size"]) -> None: ...
|
|
6241
|
+
def HasField(self, field_name: typing_extensions.Literal["_batch_linger_ms", b"_batch_linger_ms", "_batch_max_size", b"_batch_max_size", "_buffer_containers", b"_buffer_containers", "_cloud_provider_str", b"_cloud_provider_str", "_concurrency_limit", b"_concurrency_limit", "_max_concurrent_inputs", b"_max_concurrent_inputs", "_resources", b"_resources", "_retry_policy", b"_retry_policy", "_scheduler_placement", b"_scheduler_placement", "_target_concurrent_inputs", b"_target_concurrent_inputs", "_task_idle_timeout_secs", b"_task_idle_timeout_secs", "_timeout_secs", b"_timeout_secs", "_warm_pool_size", b"_warm_pool_size", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "buffer_containers", b"buffer_containers", "cloud_provider_str", b"cloud_provider_str", "concurrency_limit", b"concurrency_limit", "max_concurrent_inputs", b"max_concurrent_inputs", "resources", b"resources", "retry_policy", b"retry_policy", "scheduler_placement", b"scheduler_placement", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "warm_pool_size", b"warm_pool_size"]) -> builtins.bool: ...
|
|
6242
|
+
def ClearField(self, field_name: typing_extensions.Literal["_batch_linger_ms", b"_batch_linger_ms", "_batch_max_size", b"_batch_max_size", "_buffer_containers", b"_buffer_containers", "_cloud_provider_str", b"_cloud_provider_str", "_concurrency_limit", b"_concurrency_limit", "_max_concurrent_inputs", b"_max_concurrent_inputs", "_resources", b"_resources", "_retry_policy", b"_retry_policy", "_scheduler_placement", b"_scheduler_placement", "_target_concurrent_inputs", b"_target_concurrent_inputs", "_task_idle_timeout_secs", b"_task_idle_timeout_secs", "_timeout_secs", b"_timeout_secs", "_warm_pool_size", b"_warm_pool_size", "batch_linger_ms", b"batch_linger_ms", "batch_max_size", b"batch_max_size", "buffer_containers", b"buffer_containers", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider_str", b"cloud_provider_str", "concurrency_limit", b"concurrency_limit", "max_concurrent_inputs", b"max_concurrent_inputs", "mount_ids", b"mount_ids", "replace_cloud_bucket_mounts", b"replace_cloud_bucket_mounts", "replace_secret_ids", b"replace_secret_ids", "replace_volume_mounts", b"replace_volume_mounts", "resources", b"resources", "retry_policy", b"retry_policy", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "target_concurrent_inputs", b"target_concurrent_inputs", "task_idle_timeout_secs", b"task_idle_timeout_secs", "timeout_secs", b"timeout_secs", "volume_mounts", b"volume_mounts", "warm_pool_size", b"warm_pool_size"]) -> None: ...
|
|
5513
6243
|
@typing.overload
|
|
5514
6244
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_batch_linger_ms", b"_batch_linger_ms"]) -> typing_extensions.Literal["batch_linger_ms"] | None: ...
|
|
5515
6245
|
@typing.overload
|
|
@@ -5517,6 +6247,8 @@ class FunctionOptions(google.protobuf.message.Message):
|
|
|
5517
6247
|
@typing.overload
|
|
5518
6248
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_buffer_containers", b"_buffer_containers"]) -> typing_extensions.Literal["buffer_containers"] | None: ...
|
|
5519
6249
|
@typing.overload
|
|
6250
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_cloud_provider_str", b"_cloud_provider_str"]) -> typing_extensions.Literal["cloud_provider_str"] | None: ...
|
|
6251
|
+
@typing.overload
|
|
5520
6252
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_concurrency_limit", b"_concurrency_limit"]) -> typing_extensions.Literal["concurrency_limit"] | None: ...
|
|
5521
6253
|
@typing.overload
|
|
5522
6254
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_max_concurrent_inputs", b"_max_concurrent_inputs"]) -> typing_extensions.Literal["max_concurrent_inputs"] | None: ...
|
|
@@ -5525,6 +6257,8 @@ class FunctionOptions(google.protobuf.message.Message):
|
|
|
5525
6257
|
@typing.overload
|
|
5526
6258
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_retry_policy", b"_retry_policy"]) -> typing_extensions.Literal["retry_policy"] | None: ...
|
|
5527
6259
|
@typing.overload
|
|
6260
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_scheduler_placement", b"_scheduler_placement"]) -> typing_extensions.Literal["scheduler_placement"] | None: ...
|
|
6261
|
+
@typing.overload
|
|
5528
6262
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_target_concurrent_inputs", b"_target_concurrent_inputs"]) -> typing_extensions.Literal["target_concurrent_inputs"] | None: ...
|
|
5529
6263
|
@typing.overload
|
|
5530
6264
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_task_idle_timeout_secs", b"_task_idle_timeout_secs"]) -> typing_extensions.Literal["task_idle_timeout_secs"] | None: ...
|
|
@@ -5564,6 +6298,8 @@ class FunctionPrecreateRequest(google.protobuf.message.Message):
|
|
|
5564
6298
|
USE_METHOD_NAME_FIELD_NUMBER: builtins.int
|
|
5565
6299
|
METHOD_DEFINITIONS_FIELD_NUMBER: builtins.int
|
|
5566
6300
|
FUNCTION_SCHEMA_FIELD_NUMBER: builtins.int
|
|
6301
|
+
SUPPORTED_INPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
6302
|
+
SUPPORTED_OUTPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
5567
6303
|
app_id: builtins.str
|
|
5568
6304
|
function_name: builtins.str
|
|
5569
6305
|
existing_function_id: builtins.str
|
|
@@ -5579,6 +6315,10 @@ class FunctionPrecreateRequest(google.protobuf.message.Message):
|
|
|
5579
6315
|
"""Mapping of method names to method definitions, only non-empty for class service functions"""
|
|
5580
6316
|
@property
|
|
5581
6317
|
def function_schema(self) -> global___FunctionSchema: ...
|
|
6318
|
+
@property
|
|
6319
|
+
def supported_input_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
6320
|
+
@property
|
|
6321
|
+
def supported_output_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
5582
6322
|
def __init__(
|
|
5583
6323
|
self,
|
|
5584
6324
|
*,
|
|
@@ -5591,9 +6331,11 @@ class FunctionPrecreateRequest(google.protobuf.message.Message):
|
|
|
5591
6331
|
use_method_name: builtins.str = ...,
|
|
5592
6332
|
method_definitions: collections.abc.Mapping[builtins.str, global___MethodDefinition] | None = ...,
|
|
5593
6333
|
function_schema: global___FunctionSchema | None = ...,
|
|
6334
|
+
supported_input_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
6335
|
+
supported_output_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
5594
6336
|
) -> None: ...
|
|
5595
6337
|
def HasField(self, field_name: typing_extensions.Literal["function_schema", b"function_schema", "webhook_config", b"webhook_config"]) -> builtins.bool: ...
|
|
5596
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "existing_function_id", b"existing_function_id", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "method_definitions", b"method_definitions", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "webhook_config", b"webhook_config"]) -> None: ...
|
|
6338
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "existing_function_id", b"existing_function_id", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "method_definitions", b"method_definitions", "supported_input_formats", b"supported_input_formats", "supported_output_formats", b"supported_output_formats", "use_function_id", b"use_function_id", "use_method_name", b"use_method_name", "webhook_config", b"webhook_config"]) -> None: ...
|
|
5597
6339
|
|
|
5598
6340
|
global___FunctionPrecreateRequest = FunctionPrecreateRequest
|
|
5599
6341
|
|
|
@@ -5621,17 +6363,23 @@ class FunctionPutInputsItem(google.protobuf.message.Message):
|
|
|
5621
6363
|
|
|
5622
6364
|
IDX_FIELD_NUMBER: builtins.int
|
|
5623
6365
|
INPUT_FIELD_NUMBER: builtins.int
|
|
6366
|
+
R2_FAILED_FIELD_NUMBER: builtins.int
|
|
6367
|
+
R2_THROUGHPUT_BYTES_S_FIELD_NUMBER: builtins.int
|
|
5624
6368
|
idx: builtins.int
|
|
5625
6369
|
@property
|
|
5626
6370
|
def input(self) -> global___FunctionInput: ...
|
|
6371
|
+
r2_failed: builtins.bool
|
|
6372
|
+
r2_throughput_bytes_s: builtins.int
|
|
5627
6373
|
def __init__(
|
|
5628
6374
|
self,
|
|
5629
6375
|
*,
|
|
5630
6376
|
idx: builtins.int = ...,
|
|
5631
6377
|
input: global___FunctionInput | None = ...,
|
|
6378
|
+
r2_failed: builtins.bool = ...,
|
|
6379
|
+
r2_throughput_bytes_s: builtins.int = ...,
|
|
5632
6380
|
) -> None: ...
|
|
5633
6381
|
def HasField(self, field_name: typing_extensions.Literal["input", b"input"]) -> builtins.bool: ...
|
|
5634
|
-
def ClearField(self, field_name: typing_extensions.Literal["idx", b"idx", "input", b"input"]) -> None: ...
|
|
6382
|
+
def ClearField(self, field_name: typing_extensions.Literal["idx", b"idx", "input", b"input", "r2_failed", b"r2_failed", "r2_throughput_bytes_s", b"r2_throughput_bytes_s"]) -> None: ...
|
|
5635
6383
|
|
|
5636
6384
|
global___FunctionPutInputsItem = FunctionPutInputsItem
|
|
5637
6385
|
|
|
@@ -5700,6 +6448,8 @@ class FunctionPutOutputsItem(google.protobuf.message.Message):
|
|
|
5700
6448
|
OUTPUT_CREATED_AT_FIELD_NUMBER: builtins.int
|
|
5701
6449
|
DATA_FORMAT_FIELD_NUMBER: builtins.int
|
|
5702
6450
|
RETRY_COUNT_FIELD_NUMBER: builtins.int
|
|
6451
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
6452
|
+
FUNCTION_MAP_IDX_FIELD_NUMBER: builtins.int
|
|
5703
6453
|
input_id: builtins.str
|
|
5704
6454
|
@property
|
|
5705
6455
|
def result(self) -> global___GenericResult: ...
|
|
@@ -5708,6 +6458,10 @@ class FunctionPutOutputsItem(google.protobuf.message.Message):
|
|
|
5708
6458
|
data_format: global___DataFormat.ValueType
|
|
5709
6459
|
"""for result.data_oneof"""
|
|
5710
6460
|
retry_count: builtins.int
|
|
6461
|
+
function_call_id: builtins.str
|
|
6462
|
+
"""injected by the worker"""
|
|
6463
|
+
function_map_idx: builtins.int
|
|
6464
|
+
"""injected by the worker"""
|
|
5711
6465
|
def __init__(
|
|
5712
6466
|
self,
|
|
5713
6467
|
*,
|
|
@@ -5717,9 +6471,12 @@ class FunctionPutOutputsItem(google.protobuf.message.Message):
|
|
|
5717
6471
|
output_created_at: builtins.float = ...,
|
|
5718
6472
|
data_format: global___DataFormat.ValueType = ...,
|
|
5719
6473
|
retry_count: builtins.int = ...,
|
|
6474
|
+
function_call_id: builtins.str = ...,
|
|
6475
|
+
function_map_idx: builtins.int | None = ...,
|
|
5720
6476
|
) -> None: ...
|
|
5721
|
-
def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ...
|
|
5722
|
-
def ClearField(self, field_name: typing_extensions.Literal["data_format", b"data_format", "input_id", b"input_id", "input_started_at", b"input_started_at", "output_created_at", b"output_created_at", "result", b"result", "retry_count", b"retry_count"]) -> None: ...
|
|
6477
|
+
def HasField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "function_map_idx", b"function_map_idx", "result", b"result"]) -> builtins.bool: ...
|
|
6478
|
+
def ClearField(self, field_name: typing_extensions.Literal["_function_map_idx", b"_function_map_idx", "data_format", b"data_format", "function_call_id", b"function_call_id", "function_map_idx", b"function_map_idx", "input_id", b"input_id", "input_started_at", b"input_started_at", "output_created_at", b"output_created_at", "result", b"result", "retry_count", b"retry_count"]) -> None: ...
|
|
6479
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_function_map_idx", b"_function_map_idx"]) -> typing_extensions.Literal["function_map_idx"] | None: ...
|
|
5723
6480
|
|
|
5724
6481
|
global___FunctionPutOutputsItem = FunctionPutOutputsItem
|
|
5725
6482
|
|
|
@@ -5984,6 +6741,8 @@ class GenericResult(google.protobuf.message.Message):
|
|
|
5984
6741
|
Terminates the function and all remaining inputs.
|
|
5985
6742
|
"""
|
|
5986
6743
|
GENERIC_STATUS_INTERNAL_FAILURE: GenericResult._GenericStatus.ValueType # 6
|
|
6744
|
+
GENERIC_STATUS_IDLE_TIMEOUT: GenericResult._GenericStatus.ValueType # 7
|
|
6745
|
+
"""Used when sandboxes are terminated due to idle_timeout"""
|
|
5987
6746
|
|
|
5988
6747
|
class GenericStatus(_GenericStatus, metaclass=_GenericStatusEnumTypeWrapper): ...
|
|
5989
6748
|
GENERIC_STATUS_UNSPECIFIED: GenericResult.GenericStatus.ValueType # 0
|
|
@@ -5997,6 +6756,8 @@ class GenericResult(google.protobuf.message.Message):
|
|
|
5997
6756
|
Terminates the function and all remaining inputs.
|
|
5998
6757
|
"""
|
|
5999
6758
|
GENERIC_STATUS_INTERNAL_FAILURE: GenericResult.GenericStatus.ValueType # 6
|
|
6759
|
+
GENERIC_STATUS_IDLE_TIMEOUT: GenericResult.GenericStatus.ValueType # 7
|
|
6760
|
+
"""Used when sandboxes are terminated due to idle_timeout"""
|
|
6000
6761
|
|
|
6001
6762
|
STATUS_FIELD_NUMBER: builtins.int
|
|
6002
6763
|
EXCEPTION_FIELD_NUMBER: builtins.int
|
|
@@ -6047,6 +6808,21 @@ global___GenericResult = GenericResult
|
|
|
6047
6808
|
class Image(google.protobuf.message.Message):
|
|
6048
6809
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6049
6810
|
|
|
6811
|
+
class BuildArgsEntry(google.protobuf.message.Message):
|
|
6812
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6813
|
+
|
|
6814
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
6815
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
6816
|
+
key: builtins.str
|
|
6817
|
+
value: builtins.str
|
|
6818
|
+
def __init__(
|
|
6819
|
+
self,
|
|
6820
|
+
*,
|
|
6821
|
+
key: builtins.str = ...,
|
|
6822
|
+
value: builtins.str = ...,
|
|
6823
|
+
) -> None: ...
|
|
6824
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
6825
|
+
|
|
6050
6826
|
BASE_IMAGES_FIELD_NUMBER: builtins.int
|
|
6051
6827
|
DOCKERFILE_COMMANDS_FIELD_NUMBER: builtins.int
|
|
6052
6828
|
CONTEXT_FILES_FIELD_NUMBER: builtins.int
|
|
@@ -6060,6 +6836,8 @@ class Image(google.protobuf.message.Message):
|
|
|
6060
6836
|
RUNTIME_FIELD_NUMBER: builtins.int
|
|
6061
6837
|
RUNTIME_DEBUG_FIELD_NUMBER: builtins.int
|
|
6062
6838
|
BUILD_FUNCTION_FIELD_NUMBER: builtins.int
|
|
6839
|
+
BUILD_ARGS_FIELD_NUMBER: builtins.int
|
|
6840
|
+
VOLUME_MOUNTS_FIELD_NUMBER: builtins.int
|
|
6063
6841
|
@property
|
|
6064
6842
|
def base_images(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BaseImage]: ...
|
|
6065
6843
|
@property
|
|
@@ -6087,6 +6865,12 @@ class Image(google.protobuf.message.Message):
|
|
|
6087
6865
|
"""Not included in image definition checksum as debug features do not affect built image."""
|
|
6088
6866
|
@property
|
|
6089
6867
|
def build_function(self) -> global___BuildFunction: ...
|
|
6868
|
+
@property
|
|
6869
|
+
def build_args(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
6870
|
+
"""Build arguments for the image (--build-arg) for ARG substitution in Dockerfile."""
|
|
6871
|
+
@property
|
|
6872
|
+
def volume_mounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VolumeMount]:
|
|
6873
|
+
"""Volume mount for RUN commands"""
|
|
6090
6874
|
def __init__(
|
|
6091
6875
|
self,
|
|
6092
6876
|
*,
|
|
@@ -6103,9 +6887,11 @@ class Image(google.protobuf.message.Message):
|
|
|
6103
6887
|
runtime: builtins.str = ...,
|
|
6104
6888
|
runtime_debug: builtins.bool = ...,
|
|
6105
6889
|
build_function: global___BuildFunction | None = ...,
|
|
6890
|
+
build_args: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
6891
|
+
volume_mounts: collections.abc.Iterable[global___VolumeMount] | None = ...,
|
|
6106
6892
|
) -> None: ...
|
|
6107
6893
|
def HasField(self, field_name: typing_extensions.Literal["build_function", b"build_function", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config"]) -> builtins.bool: ...
|
|
6108
|
-
def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_function", b"build_function", "build_function_def", b"build_function_def", "build_function_globals", b"build_function_globals", "context_files", b"context_files", "context_mount_id", b"context_mount_id", "dockerfile_commands", b"dockerfile_commands", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "version", b"version"]) -> None: ...
|
|
6894
|
+
def ClearField(self, field_name: typing_extensions.Literal["base_images", b"base_images", "build_args", b"build_args", "build_function", b"build_function", "build_function_def", b"build_function_def", "build_function_globals", b"build_function_globals", "context_files", b"context_files", "context_mount_id", b"context_mount_id", "dockerfile_commands", b"dockerfile_commands", "gpu_config", b"gpu_config", "image_registry_config", b"image_registry_config", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "secret_ids", b"secret_ids", "version", b"version", "volume_mounts", b"volume_mounts"]) -> None: ...
|
|
6109
6895
|
|
|
6110
6896
|
global___Image = Image
|
|
6111
6897
|
|
|
@@ -6126,6 +6912,20 @@ class ImageContextFile(google.protobuf.message.Message):
|
|
|
6126
6912
|
|
|
6127
6913
|
global___ImageContextFile = ImageContextFile
|
|
6128
6914
|
|
|
6915
|
+
class ImageDeleteRequest(google.protobuf.message.Message):
|
|
6916
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6917
|
+
|
|
6918
|
+
IMAGE_ID_FIELD_NUMBER: builtins.int
|
|
6919
|
+
image_id: builtins.str
|
|
6920
|
+
def __init__(
|
|
6921
|
+
self,
|
|
6922
|
+
*,
|
|
6923
|
+
image_id: builtins.str = ...,
|
|
6924
|
+
) -> None: ...
|
|
6925
|
+
def ClearField(self, field_name: typing_extensions.Literal["image_id", b"image_id"]) -> None: ...
|
|
6926
|
+
|
|
6927
|
+
global___ImageDeleteRequest = ImageDeleteRequest
|
|
6928
|
+
|
|
6129
6929
|
class ImageFromIdRequest(google.protobuf.message.Message):
|
|
6130
6930
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6131
6931
|
|
|
@@ -6313,9 +7113,14 @@ class ImageMetadata(google.protobuf.message.Message):
|
|
|
6313
7113
|
package name -> version. Empty if missing
|
|
6314
7114
|
"""
|
|
6315
7115
|
workdir: builtins.str
|
|
6316
|
-
"""The
|
|
7116
|
+
"""The working directory of the image, as an absolute file path.
|
|
7117
|
+
|
|
7118
|
+
For most images, this is not set, which means to use the default workdir:
|
|
7119
|
+
- On function runners, the default is `/root` (home directory).
|
|
7120
|
+
- For image builds and sandbox environments, it is `/`.
|
|
7121
|
+
"""
|
|
6317
7122
|
libc_version_info: builtins.str
|
|
6318
|
-
"""The image
|
|
7123
|
+
"""The version of glibc in this image, if any."""
|
|
6319
7124
|
image_builder_version: builtins.str
|
|
6320
7125
|
"""The builder version for/with which the image was created."""
|
|
6321
7126
|
def __init__(
|
|
@@ -6430,6 +7235,191 @@ class InputInfo(google.protobuf.message.Message):
|
|
|
6430
7235
|
|
|
6431
7236
|
global___InputInfo = InputInfo
|
|
6432
7237
|
|
|
7238
|
+
class ListPagination(google.protobuf.message.Message):
|
|
7239
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7240
|
+
|
|
7241
|
+
MAX_OBJECTS_FIELD_NUMBER: builtins.int
|
|
7242
|
+
CREATED_BEFORE_FIELD_NUMBER: builtins.int
|
|
7243
|
+
max_objects: builtins.int
|
|
7244
|
+
created_before: builtins.float
|
|
7245
|
+
def __init__(
|
|
7246
|
+
self,
|
|
7247
|
+
*,
|
|
7248
|
+
max_objects: builtins.int = ...,
|
|
7249
|
+
created_before: builtins.float = ...,
|
|
7250
|
+
) -> None: ...
|
|
7251
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_before", b"created_before", "max_objects", b"max_objects"]) -> None: ...
|
|
7252
|
+
|
|
7253
|
+
global___ListPagination = ListPagination
|
|
7254
|
+
|
|
7255
|
+
class MapAwaitRequest(google.protobuf.message.Message):
|
|
7256
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7257
|
+
|
|
7258
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
7259
|
+
MAP_TOKEN_FIELD_NUMBER: builtins.int
|
|
7260
|
+
LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
|
|
7261
|
+
REQUESTED_AT_FIELD_NUMBER: builtins.int
|
|
7262
|
+
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
7263
|
+
function_call_id: builtins.str
|
|
7264
|
+
map_token: builtins.str
|
|
7265
|
+
last_entry_id: builtins.str
|
|
7266
|
+
requested_at: builtins.float
|
|
7267
|
+
"""Used for waypoints."""
|
|
7268
|
+
timeout: builtins.float
|
|
7269
|
+
def __init__(
|
|
7270
|
+
self,
|
|
7271
|
+
*,
|
|
7272
|
+
function_call_id: builtins.str = ...,
|
|
7273
|
+
map_token: builtins.str = ...,
|
|
7274
|
+
last_entry_id: builtins.str = ...,
|
|
7275
|
+
requested_at: builtins.float = ...,
|
|
7276
|
+
timeout: builtins.float = ...,
|
|
7277
|
+
) -> None: ...
|
|
7278
|
+
def HasField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "map_token", b"map_token"]) -> builtins.bool: ...
|
|
7279
|
+
def ClearField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "last_entry_id", b"last_entry_id", "map_token", b"map_token", "requested_at", b"requested_at", "timeout", b"timeout"]) -> None: ...
|
|
7280
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["call_info", b"call_info"]) -> typing_extensions.Literal["function_call_id", "map_token"] | None: ...
|
|
7281
|
+
|
|
7282
|
+
global___MapAwaitRequest = MapAwaitRequest
|
|
7283
|
+
|
|
7284
|
+
class MapAwaitResponse(google.protobuf.message.Message):
|
|
7285
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7286
|
+
|
|
7287
|
+
OUTPUTS_FIELD_NUMBER: builtins.int
|
|
7288
|
+
LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
|
|
7289
|
+
@property
|
|
7290
|
+
def outputs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FunctionGetOutputsItem]: ...
|
|
7291
|
+
last_entry_id: builtins.str
|
|
7292
|
+
def __init__(
|
|
7293
|
+
self,
|
|
7294
|
+
*,
|
|
7295
|
+
outputs: collections.abc.Iterable[global___FunctionGetOutputsItem] | None = ...,
|
|
7296
|
+
last_entry_id: builtins.str = ...,
|
|
7297
|
+
) -> None: ...
|
|
7298
|
+
def ClearField(self, field_name: typing_extensions.Literal["last_entry_id", b"last_entry_id", "outputs", b"outputs"]) -> None: ...
|
|
7299
|
+
|
|
7300
|
+
global___MapAwaitResponse = MapAwaitResponse
|
|
7301
|
+
|
|
7302
|
+
class MapCheckInputsRequest(google.protobuf.message.Message):
|
|
7303
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7304
|
+
|
|
7305
|
+
LAST_ENTRY_ID_FIELD_NUMBER: builtins.int
|
|
7306
|
+
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
7307
|
+
ATTEMPT_TOKENS_FIELD_NUMBER: builtins.int
|
|
7308
|
+
last_entry_id: builtins.str
|
|
7309
|
+
timeout: builtins.float
|
|
7310
|
+
@property
|
|
7311
|
+
def attempt_tokens(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
7312
|
+
def __init__(
|
|
7313
|
+
self,
|
|
7314
|
+
*,
|
|
7315
|
+
last_entry_id: builtins.str = ...,
|
|
7316
|
+
timeout: builtins.float = ...,
|
|
7317
|
+
attempt_tokens: collections.abc.Iterable[builtins.str] | None = ...,
|
|
7318
|
+
) -> None: ...
|
|
7319
|
+
def ClearField(self, field_name: typing_extensions.Literal["attempt_tokens", b"attempt_tokens", "last_entry_id", b"last_entry_id", "timeout", b"timeout"]) -> None: ...
|
|
7320
|
+
|
|
7321
|
+
global___MapCheckInputsRequest = MapCheckInputsRequest
|
|
7322
|
+
|
|
7323
|
+
class MapCheckInputsResponse(google.protobuf.message.Message):
|
|
7324
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7325
|
+
|
|
7326
|
+
LOST_FIELD_NUMBER: builtins.int
|
|
7327
|
+
@property
|
|
7328
|
+
def lost(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bool]: ...
|
|
7329
|
+
def __init__(
|
|
7330
|
+
self,
|
|
7331
|
+
*,
|
|
7332
|
+
lost: collections.abc.Iterable[builtins.bool] | None = ...,
|
|
7333
|
+
) -> None: ...
|
|
7334
|
+
def ClearField(self, field_name: typing_extensions.Literal["lost", b"lost"]) -> None: ...
|
|
7335
|
+
|
|
7336
|
+
global___MapCheckInputsResponse = MapCheckInputsResponse
|
|
7337
|
+
|
|
7338
|
+
class MapStartOrContinueItem(google.protobuf.message.Message):
|
|
7339
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7340
|
+
|
|
7341
|
+
INPUT_FIELD_NUMBER: builtins.int
|
|
7342
|
+
ATTEMPT_TOKEN_FIELD_NUMBER: builtins.int
|
|
7343
|
+
@property
|
|
7344
|
+
def input(self) -> global___FunctionPutInputsItem: ...
|
|
7345
|
+
attempt_token: builtins.str
|
|
7346
|
+
"""None if this is a fresh input, otherwise it is the attempt token for a retry."""
|
|
7347
|
+
def __init__(
|
|
7348
|
+
self,
|
|
7349
|
+
*,
|
|
7350
|
+
input: global___FunctionPutInputsItem | None = ...,
|
|
7351
|
+
attempt_token: builtins.str | None = ...,
|
|
7352
|
+
) -> None: ...
|
|
7353
|
+
def HasField(self, field_name: typing_extensions.Literal["_attempt_token", b"_attempt_token", "attempt_token", b"attempt_token", "input", b"input"]) -> builtins.bool: ...
|
|
7354
|
+
def ClearField(self, field_name: typing_extensions.Literal["_attempt_token", b"_attempt_token", "attempt_token", b"attempt_token", "input", b"input"]) -> None: ...
|
|
7355
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_attempt_token", b"_attempt_token"]) -> typing_extensions.Literal["attempt_token"] | None: ...
|
|
7356
|
+
|
|
7357
|
+
global___MapStartOrContinueItem = MapStartOrContinueItem
|
|
7358
|
+
|
|
7359
|
+
class MapStartOrContinueRequest(google.protobuf.message.Message):
|
|
7360
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7361
|
+
|
|
7362
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
7363
|
+
PARENT_INPUT_ID_FIELD_NUMBER: builtins.int
|
|
7364
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
7365
|
+
MAP_TOKEN_FIELD_NUMBER: builtins.int
|
|
7366
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
7367
|
+
function_id: builtins.str
|
|
7368
|
+
parent_input_id: builtins.str
|
|
7369
|
+
function_call_id: builtins.str
|
|
7370
|
+
map_token: builtins.str
|
|
7371
|
+
@property
|
|
7372
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MapStartOrContinueItem]: ...
|
|
7373
|
+
def __init__(
|
|
7374
|
+
self,
|
|
7375
|
+
*,
|
|
7376
|
+
function_id: builtins.str = ...,
|
|
7377
|
+
parent_input_id: builtins.str = ...,
|
|
7378
|
+
function_call_id: builtins.str = ...,
|
|
7379
|
+
map_token: builtins.str = ...,
|
|
7380
|
+
items: collections.abc.Iterable[global___MapStartOrContinueItem] | None = ...,
|
|
7381
|
+
) -> None: ...
|
|
7382
|
+
def HasField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "map_token", b"map_token"]) -> builtins.bool: ...
|
|
7383
|
+
def ClearField(self, field_name: typing_extensions.Literal["call_info", b"call_info", "function_call_id", b"function_call_id", "function_id", b"function_id", "items", b"items", "map_token", b"map_token", "parent_input_id", b"parent_input_id"]) -> None: ...
|
|
7384
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["call_info", b"call_info"]) -> typing_extensions.Literal["function_call_id", "map_token"] | None: ...
|
|
7385
|
+
|
|
7386
|
+
global___MapStartOrContinueRequest = MapStartOrContinueRequest
|
|
7387
|
+
|
|
7388
|
+
class MapStartOrContinueResponse(google.protobuf.message.Message):
|
|
7389
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7390
|
+
|
|
7391
|
+
MAP_TOKEN_FIELD_NUMBER: builtins.int
|
|
7392
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
7393
|
+
FUNCTION_CALL_ID_FIELD_NUMBER: builtins.int
|
|
7394
|
+
MAX_INPUTS_OUTSTANDING_FIELD_NUMBER: builtins.int
|
|
7395
|
+
ATTEMPT_TOKENS_FIELD_NUMBER: builtins.int
|
|
7396
|
+
RETRY_POLICY_FIELD_NUMBER: builtins.int
|
|
7397
|
+
map_token: builtins.str
|
|
7398
|
+
"""function_id and function_call_id are not necessary if map_token is provided.
|
|
7399
|
+
All 3 will be sent until it is safe to only send map_token.
|
|
7400
|
+
"""
|
|
7401
|
+
function_id: builtins.str
|
|
7402
|
+
function_call_id: builtins.str
|
|
7403
|
+
max_inputs_outstanding: builtins.int
|
|
7404
|
+
@property
|
|
7405
|
+
def attempt_tokens(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
7406
|
+
@property
|
|
7407
|
+
def retry_policy(self) -> global___FunctionRetryPolicy: ...
|
|
7408
|
+
def __init__(
|
|
7409
|
+
self,
|
|
7410
|
+
*,
|
|
7411
|
+
map_token: builtins.str = ...,
|
|
7412
|
+
function_id: builtins.str = ...,
|
|
7413
|
+
function_call_id: builtins.str = ...,
|
|
7414
|
+
max_inputs_outstanding: builtins.int = ...,
|
|
7415
|
+
attempt_tokens: collections.abc.Iterable[builtins.str] | None = ...,
|
|
7416
|
+
retry_policy: global___FunctionRetryPolicy | None = ...,
|
|
7417
|
+
) -> None: ...
|
|
7418
|
+
def HasField(self, field_name: typing_extensions.Literal["retry_policy", b"retry_policy"]) -> builtins.bool: ...
|
|
7419
|
+
def ClearField(self, field_name: typing_extensions.Literal["attempt_tokens", b"attempt_tokens", "function_call_id", b"function_call_id", "function_id", b"function_id", "map_token", b"map_token", "max_inputs_outstanding", b"max_inputs_outstanding", "retry_policy", b"retry_policy"]) -> None: ...
|
|
7420
|
+
|
|
7421
|
+
global___MapStartOrContinueResponse = MapStartOrContinueResponse
|
|
7422
|
+
|
|
6433
7423
|
class MethodDefinition(google.protobuf.message.Message):
|
|
6434
7424
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6435
7425
|
|
|
@@ -6440,6 +7430,8 @@ class MethodDefinition(google.protobuf.message.Message):
|
|
|
6440
7430
|
WEB_URL_INFO_FIELD_NUMBER: builtins.int
|
|
6441
7431
|
CUSTOM_DOMAIN_INFO_FIELD_NUMBER: builtins.int
|
|
6442
7432
|
FUNCTION_SCHEMA_FIELD_NUMBER: builtins.int
|
|
7433
|
+
SUPPORTED_INPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
7434
|
+
SUPPORTED_OUTPUT_FORMATS_FIELD_NUMBER: builtins.int
|
|
6443
7435
|
function_name: builtins.str
|
|
6444
7436
|
function_type: global___Function.FunctionType.ValueType
|
|
6445
7437
|
@property
|
|
@@ -6451,6 +7443,10 @@ class MethodDefinition(google.protobuf.message.Message):
|
|
|
6451
7443
|
def custom_domain_info(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CustomDomainInfo]: ...
|
|
6452
7444
|
@property
|
|
6453
7445
|
def function_schema(self) -> global___FunctionSchema: ...
|
|
7446
|
+
@property
|
|
7447
|
+
def supported_input_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
7448
|
+
@property
|
|
7449
|
+
def supported_output_formats(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___DataFormat.ValueType]: ...
|
|
6454
7450
|
def __init__(
|
|
6455
7451
|
self,
|
|
6456
7452
|
*,
|
|
@@ -6461,9 +7457,11 @@ class MethodDefinition(google.protobuf.message.Message):
|
|
|
6461
7457
|
web_url_info: global___WebUrlInfo | None = ...,
|
|
6462
7458
|
custom_domain_info: collections.abc.Iterable[global___CustomDomainInfo] | None = ...,
|
|
6463
7459
|
function_schema: global___FunctionSchema | None = ...,
|
|
7460
|
+
supported_input_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
7461
|
+
supported_output_formats: collections.abc.Iterable[global___DataFormat.ValueType] | None = ...,
|
|
6464
7462
|
) -> None: ...
|
|
6465
7463
|
def HasField(self, field_name: typing_extensions.Literal["function_schema", b"function_schema", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> builtins.bool: ...
|
|
6466
|
-
def ClearField(self, field_name: typing_extensions.Literal["custom_domain_info", b"custom_domain_info", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> None: ...
|
|
7464
|
+
def ClearField(self, field_name: typing_extensions.Literal["custom_domain_info", b"custom_domain_info", "function_name", b"function_name", "function_schema", b"function_schema", "function_type", b"function_type", "supported_input_formats", b"supported_input_formats", "supported_output_formats", b"supported_output_formats", "web_url", b"web_url", "web_url_info", b"web_url_info", "webhook_config", b"webhook_config"]) -> None: ...
|
|
6467
7465
|
|
|
6468
7466
|
global___MethodDefinition = MethodDefinition
|
|
6469
7467
|
|
|
@@ -6620,6 +7618,21 @@ class MultiPartUpload(google.protobuf.message.Message):
|
|
|
6620
7618
|
|
|
6621
7619
|
global___MultiPartUpload = MultiPartUpload
|
|
6622
7620
|
|
|
7621
|
+
class MultiPartUploadList(google.protobuf.message.Message):
|
|
7622
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7623
|
+
|
|
7624
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
7625
|
+
@property
|
|
7626
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___MultiPartUpload]: ...
|
|
7627
|
+
def __init__(
|
|
7628
|
+
self,
|
|
7629
|
+
*,
|
|
7630
|
+
items: collections.abc.Iterable[global___MultiPartUpload] | None = ...,
|
|
7631
|
+
) -> None: ...
|
|
7632
|
+
def ClearField(self, field_name: typing_extensions.Literal["items", b"items"]) -> None: ...
|
|
7633
|
+
|
|
7634
|
+
global___MultiPartUploadList = MultiPartUploadList
|
|
7635
|
+
|
|
6623
7636
|
class NetworkAccess(google.protobuf.message.Message):
|
|
6624
7637
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
6625
7638
|
|
|
@@ -6931,6 +7944,7 @@ class PTYInfo(google.protobuf.message.Message):
|
|
|
6931
7944
|
ENV_COLORTERM_FIELD_NUMBER: builtins.int
|
|
6932
7945
|
ENV_TERM_PROGRAM_FIELD_NUMBER: builtins.int
|
|
6933
7946
|
PTY_TYPE_FIELD_NUMBER: builtins.int
|
|
7947
|
+
NO_TERMINATE_ON_IDLE_STDIN_FIELD_NUMBER: builtins.int
|
|
6934
7948
|
enabled: builtins.bool
|
|
6935
7949
|
"""Soon deprecated"""
|
|
6936
7950
|
winsz_rows: builtins.int
|
|
@@ -6939,6 +7953,7 @@ class PTYInfo(google.protobuf.message.Message):
|
|
|
6939
7953
|
env_colorterm: builtins.str
|
|
6940
7954
|
env_term_program: builtins.str
|
|
6941
7955
|
pty_type: global___PTYInfo.PTYType.ValueType
|
|
7956
|
+
no_terminate_on_idle_stdin: builtins.bool
|
|
6942
7957
|
def __init__(
|
|
6943
7958
|
self,
|
|
6944
7959
|
*,
|
|
@@ -6949,8 +7964,9 @@ class PTYInfo(google.protobuf.message.Message):
|
|
|
6949
7964
|
env_colorterm: builtins.str = ...,
|
|
6950
7965
|
env_term_program: builtins.str = ...,
|
|
6951
7966
|
pty_type: global___PTYInfo.PTYType.ValueType = ...,
|
|
7967
|
+
no_terminate_on_idle_stdin: builtins.bool = ...,
|
|
6952
7968
|
) -> None: ...
|
|
6953
|
-
def ClearField(self, field_name: typing_extensions.Literal["enabled", b"enabled", "env_colorterm", b"env_colorterm", "env_term", b"env_term", "env_term_program", b"env_term_program", "pty_type", b"pty_type", "winsz_cols", b"winsz_cols", "winsz_rows", b"winsz_rows"]) -> None: ...
|
|
7969
|
+
def ClearField(self, field_name: typing_extensions.Literal["enabled", b"enabled", "env_colorterm", b"env_colorterm", "env_term", b"env_term", "env_term_program", b"env_term_program", "no_terminate_on_idle_stdin", b"no_terminate_on_idle_stdin", "pty_type", b"pty_type", "winsz_cols", b"winsz_cols", "winsz_rows", b"winsz_rows"]) -> None: ...
|
|
6954
7970
|
|
|
6955
7971
|
global___PTYInfo = PTYInfo
|
|
6956
7972
|
|
|
@@ -6997,24 +8013,27 @@ class Proxy(google.protobuf.message.Message):
|
|
|
6997
8013
|
NAME_FIELD_NUMBER: builtins.int
|
|
6998
8014
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
6999
8015
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7000
|
-
PROXY_ID_FIELD_NUMBER: builtins.int
|
|
7001
8016
|
PROXY_IPS_FIELD_NUMBER: builtins.int
|
|
8017
|
+
PROXY_ID_FIELD_NUMBER: builtins.int
|
|
8018
|
+
REGION_FIELD_NUMBER: builtins.int
|
|
7002
8019
|
name: builtins.str
|
|
7003
8020
|
created_at: builtins.float
|
|
7004
8021
|
environment_name: builtins.str
|
|
7005
|
-
proxy_id: builtins.str
|
|
7006
8022
|
@property
|
|
7007
8023
|
def proxy_ips(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ProxyIp]: ...
|
|
8024
|
+
proxy_id: builtins.str
|
|
8025
|
+
region: builtins.str
|
|
7008
8026
|
def __init__(
|
|
7009
8027
|
self,
|
|
7010
8028
|
*,
|
|
7011
8029
|
name: builtins.str = ...,
|
|
7012
8030
|
created_at: builtins.float = ...,
|
|
7013
8031
|
environment_name: builtins.str = ...,
|
|
7014
|
-
proxy_id: builtins.str = ...,
|
|
7015
8032
|
proxy_ips: collections.abc.Iterable[global___ProxyIp] | None = ...,
|
|
8033
|
+
proxy_id: builtins.str = ...,
|
|
8034
|
+
region: builtins.str = ...,
|
|
7016
8035
|
) -> None: ...
|
|
7017
|
-
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "environment_name", b"environment_name", "name", b"name", "proxy_id", b"proxy_id", "proxy_ips", b"proxy_ips"]) -> None: ...
|
|
8036
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "environment_name", b"environment_name", "name", b"name", "proxy_id", b"proxy_id", "proxy_ips", b"proxy_ips", "region", b"region"]) -> None: ...
|
|
7018
8037
|
|
|
7019
8038
|
global___Proxy = Proxy
|
|
7020
8039
|
|
|
@@ -7053,15 +8072,18 @@ class ProxyCreateRequest(google.protobuf.message.Message):
|
|
|
7053
8072
|
|
|
7054
8073
|
NAME_FIELD_NUMBER: builtins.int
|
|
7055
8074
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
8075
|
+
REGION_FIELD_NUMBER: builtins.int
|
|
7056
8076
|
name: builtins.str
|
|
7057
8077
|
environment_name: builtins.str
|
|
8078
|
+
region: builtins.str
|
|
7058
8079
|
def __init__(
|
|
7059
8080
|
self,
|
|
7060
8081
|
*,
|
|
7061
8082
|
name: builtins.str = ...,
|
|
7062
8083
|
environment_name: builtins.str = ...,
|
|
8084
|
+
region: builtins.str = ...,
|
|
7063
8085
|
) -> None: ...
|
|
7064
|
-
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "name", b"name"]) -> None: ...
|
|
8086
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "name", b"name", "region", b"region"]) -> None: ...
|
|
7065
8087
|
|
|
7066
8088
|
global___ProxyCreateRequest = ProxyCreateRequest
|
|
7067
8089
|
|
|
@@ -7099,11 +8121,9 @@ class ProxyGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
7099
8121
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7100
8122
|
|
|
7101
8123
|
DEPLOYMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7102
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
7103
8124
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7104
8125
|
OBJECT_CREATION_TYPE_FIELD_NUMBER: builtins.int
|
|
7105
8126
|
deployment_name: builtins.str
|
|
7106
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
7107
8127
|
environment_name: builtins.str
|
|
7108
8128
|
object_creation_type: global___ObjectCreationType.ValueType
|
|
7109
8129
|
"""must be UNSPECIFIED"""
|
|
@@ -7111,11 +8131,10 @@ class ProxyGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
7111
8131
|
self,
|
|
7112
8132
|
*,
|
|
7113
8133
|
deployment_name: builtins.str = ...,
|
|
7114
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
7115
8134
|
environment_name: builtins.str = ...,
|
|
7116
8135
|
object_creation_type: global___ObjectCreationType.ValueType = ...,
|
|
7117
8136
|
) -> None: ...
|
|
7118
|
-
def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "environment_name", b"environment_name", "
|
|
8137
|
+
def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "environment_name", b"environment_name", "object_creation_type", b"object_creation_type"]) -> None: ...
|
|
7119
8138
|
|
|
7120
8139
|
global___ProxyGetOrCreateRequest = ProxyGetOrCreateRequest
|
|
7121
8140
|
|
|
@@ -7282,22 +8301,19 @@ class QueueGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
7282
8301
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7283
8302
|
|
|
7284
8303
|
DEPLOYMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7285
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
7286
8304
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7287
8305
|
OBJECT_CREATION_TYPE_FIELD_NUMBER: builtins.int
|
|
7288
8306
|
deployment_name: builtins.str
|
|
7289
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
7290
8307
|
environment_name: builtins.str
|
|
7291
8308
|
object_creation_type: global___ObjectCreationType.ValueType
|
|
7292
8309
|
def __init__(
|
|
7293
8310
|
self,
|
|
7294
8311
|
*,
|
|
7295
8312
|
deployment_name: builtins.str = ...,
|
|
7296
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
7297
8313
|
environment_name: builtins.str = ...,
|
|
7298
8314
|
object_creation_type: global___ObjectCreationType.ValueType = ...,
|
|
7299
8315
|
) -> None: ...
|
|
7300
|
-
def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "environment_name", b"environment_name", "
|
|
8316
|
+
def ClearField(self, field_name: typing_extensions.Literal["deployment_name", b"deployment_name", "environment_name", b"environment_name", "object_creation_type", b"object_creation_type"]) -> None: ...
|
|
7301
8317
|
|
|
7302
8318
|
global___QueueGetOrCreateRequest = QueueGetOrCreateRequest
|
|
7303
8319
|
|
|
@@ -7305,13 +8321,18 @@ class QueueGetOrCreateResponse(google.protobuf.message.Message):
|
|
|
7305
8321
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7306
8322
|
|
|
7307
8323
|
QUEUE_ID_FIELD_NUMBER: builtins.int
|
|
8324
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
7308
8325
|
queue_id: builtins.str
|
|
8326
|
+
@property
|
|
8327
|
+
def metadata(self) -> global___QueueMetadata: ...
|
|
7309
8328
|
def __init__(
|
|
7310
8329
|
self,
|
|
7311
8330
|
*,
|
|
7312
8331
|
queue_id: builtins.str = ...,
|
|
8332
|
+
metadata: global___QueueMetadata | None = ...,
|
|
7313
8333
|
) -> None: ...
|
|
7314
|
-
def
|
|
8334
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
8335
|
+
def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "queue_id", b"queue_id"]) -> None: ...
|
|
7315
8336
|
|
|
7316
8337
|
global___QueueGetOrCreateResponse = QueueGetOrCreateResponse
|
|
7317
8338
|
|
|
@@ -7423,16 +8444,21 @@ class QueueListRequest(google.protobuf.message.Message):
|
|
|
7423
8444
|
|
|
7424
8445
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7425
8446
|
TOTAL_SIZE_LIMIT_FIELD_NUMBER: builtins.int
|
|
8447
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
7426
8448
|
environment_name: builtins.str
|
|
7427
8449
|
total_size_limit: builtins.int
|
|
7428
|
-
"""
|
|
8450
|
+
"""Limit on "number of partitions" reported, since checking them is costly"""
|
|
8451
|
+
@property
|
|
8452
|
+
def pagination(self) -> global___ListPagination: ...
|
|
7429
8453
|
def __init__(
|
|
7430
8454
|
self,
|
|
7431
8455
|
*,
|
|
7432
8456
|
environment_name: builtins.str = ...,
|
|
7433
8457
|
total_size_limit: builtins.int = ...,
|
|
8458
|
+
pagination: global___ListPagination | None = ...,
|
|
7434
8459
|
) -> None: ...
|
|
7435
|
-
def
|
|
8460
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
8461
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination", "total_size_limit", b"total_size_limit"]) -> None: ...
|
|
7436
8462
|
|
|
7437
8463
|
global___QueueListRequest = QueueListRequest
|
|
7438
8464
|
|
|
@@ -7446,10 +8472,16 @@ class QueueListResponse(google.protobuf.message.Message):
|
|
|
7446
8472
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
7447
8473
|
NUM_PARTITIONS_FIELD_NUMBER: builtins.int
|
|
7448
8474
|
TOTAL_SIZE_FIELD_NUMBER: builtins.int
|
|
8475
|
+
QUEUE_ID_FIELD_NUMBER: builtins.int
|
|
8476
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
7449
8477
|
name: builtins.str
|
|
7450
8478
|
created_at: builtins.float
|
|
8479
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
|
7451
8480
|
num_partitions: builtins.int
|
|
7452
8481
|
total_size: builtins.int
|
|
8482
|
+
queue_id: builtins.str
|
|
8483
|
+
@property
|
|
8484
|
+
def metadata(self) -> global___QueueMetadata: ...
|
|
7453
8485
|
def __init__(
|
|
7454
8486
|
self,
|
|
7455
8487
|
*,
|
|
@@ -7457,21 +8489,46 @@ class QueueListResponse(google.protobuf.message.Message):
|
|
|
7457
8489
|
created_at: builtins.float = ...,
|
|
7458
8490
|
num_partitions: builtins.int = ...,
|
|
7459
8491
|
total_size: builtins.int = ...,
|
|
8492
|
+
queue_id: builtins.str = ...,
|
|
8493
|
+
metadata: global___QueueMetadata | None = ...,
|
|
7460
8494
|
) -> None: ...
|
|
7461
|
-
def
|
|
8495
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
8496
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "metadata", b"metadata", "name", b"name", "num_partitions", b"num_partitions", "queue_id", b"queue_id", "total_size", b"total_size"]) -> None: ...
|
|
7462
8497
|
|
|
7463
8498
|
QUEUES_FIELD_NUMBER: builtins.int
|
|
8499
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
7464
8500
|
@property
|
|
7465
8501
|
def queues(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___QueueListResponse.QueueInfo]: ...
|
|
8502
|
+
environment_name: builtins.str
|
|
7466
8503
|
def __init__(
|
|
7467
8504
|
self,
|
|
7468
8505
|
*,
|
|
7469
8506
|
queues: collections.abc.Iterable[global___QueueListResponse.QueueInfo] | None = ...,
|
|
8507
|
+
environment_name: builtins.str = ...,
|
|
7470
8508
|
) -> None: ...
|
|
7471
|
-
def ClearField(self, field_name: typing_extensions.Literal["queues", b"queues"]) -> None: ...
|
|
8509
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "queues", b"queues"]) -> None: ...
|
|
7472
8510
|
|
|
7473
8511
|
global___QueueListResponse = QueueListResponse
|
|
7474
8512
|
|
|
8513
|
+
class QueueMetadata(google.protobuf.message.Message):
|
|
8514
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8515
|
+
|
|
8516
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
8517
|
+
CREATION_INFO_FIELD_NUMBER: builtins.int
|
|
8518
|
+
name: builtins.str
|
|
8519
|
+
@property
|
|
8520
|
+
def creation_info(self) -> global___CreationInfo: ...
|
|
8521
|
+
def __init__(
|
|
8522
|
+
self,
|
|
8523
|
+
*,
|
|
8524
|
+
name: builtins.str = ...,
|
|
8525
|
+
creation_info: global___CreationInfo | None = ...,
|
|
8526
|
+
) -> None: ...
|
|
8527
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
|
|
8528
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name"]) -> None: ...
|
|
8529
|
+
|
|
8530
|
+
global___QueueMetadata = QueueMetadata
|
|
8531
|
+
|
|
7475
8532
|
class QueueNextItemsRequest(google.protobuf.message.Message):
|
|
7476
8533
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7477
8534
|
|
|
@@ -7697,6 +8754,21 @@ global___S3Mount = S3Mount
|
|
|
7697
8754
|
class Sandbox(google.protobuf.message.Message):
|
|
7698
8755
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7699
8756
|
|
|
8757
|
+
class ExperimentalOptionsEntry(google.protobuf.message.Message):
|
|
8758
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8759
|
+
|
|
8760
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
8761
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
8762
|
+
key: builtins.str
|
|
8763
|
+
value: builtins.bool
|
|
8764
|
+
def __init__(
|
|
8765
|
+
self,
|
|
8766
|
+
*,
|
|
8767
|
+
key: builtins.str = ...,
|
|
8768
|
+
value: builtins.bool = ...,
|
|
8769
|
+
) -> None: ...
|
|
8770
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
8771
|
+
|
|
7700
8772
|
ENTRYPOINT_ARGS_FIELD_NUMBER: builtins.int
|
|
7701
8773
|
MOUNT_IDS_FIELD_NUMBER: builtins.int
|
|
7702
8774
|
IMAGE_ID_FIELD_NUMBER: builtins.int
|
|
@@ -7723,6 +8795,12 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
7723
8795
|
CLOUD_PROVIDER_STR_FIELD_NUMBER: builtins.int
|
|
7724
8796
|
RUNSC_RUNTIME_VERSION_FIELD_NUMBER: builtins.int
|
|
7725
8797
|
RUNTIME_FIELD_NUMBER: builtins.int
|
|
8798
|
+
VERBOSE_FIELD_NUMBER: builtins.int
|
|
8799
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
8800
|
+
EXPERIMENTAL_OPTIONS_FIELD_NUMBER: builtins.int
|
|
8801
|
+
PRELOAD_PATH_PREFIXES_FIELD_NUMBER: builtins.int
|
|
8802
|
+
IDLE_TIMEOUT_SECS_FIELD_NUMBER: builtins.int
|
|
8803
|
+
DIRECT_SANDBOX_COMMANDS_ENABLED_FIELD_NUMBER: builtins.int
|
|
7726
8804
|
@property
|
|
7727
8805
|
def entrypoint_args(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
7728
8806
|
@property
|
|
@@ -7735,6 +8813,7 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
7735
8813
|
cloud_provider: global___CloudProvider.ValueType
|
|
7736
8814
|
"""Deprecated at some point"""
|
|
7737
8815
|
timeout_secs: builtins.int
|
|
8816
|
+
"""The max lifetime of a sandbox in seconds."""
|
|
7738
8817
|
workdir: builtins.str
|
|
7739
8818
|
@property
|
|
7740
8819
|
def nfs_mounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SharedVolumeMount]: ...
|
|
@@ -7776,6 +8855,23 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
7776
8855
|
"""
|
|
7777
8856
|
runtime: builtins.str
|
|
7778
8857
|
"""If set, overrides the runtime used by the function, either "runc" or "gvisor"."""
|
|
8858
|
+
verbose: builtins.bool
|
|
8859
|
+
"""If set, the sandbox will be created with verbose logging enabled."""
|
|
8860
|
+
name: builtins.str
|
|
8861
|
+
"""If set, the sandbox will be created with a name."""
|
|
8862
|
+
@property
|
|
8863
|
+
def experimental_options(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.bool]:
|
|
8864
|
+
"""Experimental options"""
|
|
8865
|
+
@property
|
|
8866
|
+
def preload_path_prefixes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
8867
|
+
"""Internal use only."""
|
|
8868
|
+
idle_timeout_secs: builtins.int
|
|
8869
|
+
"""Optional idle timeout in seconds. If set, the sandbox will be terminated after being idle for this duration."""
|
|
8870
|
+
direct_sandbox_commands_enabled: builtins.bool
|
|
8871
|
+
"""If set, the sandbox will be created with direct sandbox commands enabled.
|
|
8872
|
+
Exec commands for the sandbox will be issued directly to the sandbox
|
|
8873
|
+
command router running on the Modal worker.
|
|
8874
|
+
"""
|
|
7779
8875
|
def __init__(
|
|
7780
8876
|
self,
|
|
7781
8877
|
*,
|
|
@@ -7805,9 +8901,19 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
7805
8901
|
cloud_provider_str: builtins.str = ...,
|
|
7806
8902
|
runsc_runtime_version: builtins.str | None = ...,
|
|
7807
8903
|
runtime: builtins.str | None = ...,
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
8904
|
+
verbose: builtins.bool = ...,
|
|
8905
|
+
name: builtins.str | None = ...,
|
|
8906
|
+
experimental_options: collections.abc.Mapping[builtins.str, builtins.bool] | None = ...,
|
|
8907
|
+
preload_path_prefixes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
8908
|
+
idle_timeout_secs: builtins.int | None = ...,
|
|
8909
|
+
direct_sandbox_commands_enabled: builtins.bool = ...,
|
|
8910
|
+
) -> None: ...
|
|
8911
|
+
def HasField(self, field_name: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs", "_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "idle_timeout_secs", b"idle_timeout_secs", "name", b"name", "network_access", b"network_access", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "runtime", b"runtime", "scheduler_placement", b"scheduler_placement", "snapshot_version", b"snapshot_version", "workdir", b"workdir"]) -> builtins.bool: ...
|
|
8912
|
+
def ClearField(self, field_name: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs", "_name", b"_name", "_proxy_id", b"_proxy_id", "_runsc_runtime_version", b"_runsc_runtime_version", "_runtime", b"_runtime", "_scheduler_placement", b"_scheduler_placement", "_snapshot_version", b"_snapshot_version", "_workdir", b"_workdir", "block_network", b"block_network", "cloud_bucket_mounts", b"cloud_bucket_mounts", "cloud_provider", b"cloud_provider", "cloud_provider_str", b"cloud_provider_str", "direct_sandbox_commands_enabled", b"direct_sandbox_commands_enabled", "enable_snapshot", b"enable_snapshot", "entrypoint_args", b"entrypoint_args", "experimental_options", b"experimental_options", "i6pn_enabled", b"i6pn_enabled", "idle_timeout_secs", b"idle_timeout_secs", "image_id", b"image_id", "mount_ids", b"mount_ids", "name", b"name", "network_access", b"network_access", "nfs_mounts", b"nfs_mounts", "open_ports", b"open_ports", "open_ports_oneof", b"open_ports_oneof", "preload_path_prefixes", b"preload_path_prefixes", "proxy_id", b"proxy_id", "pty_info", b"pty_info", "resources", b"resources", "runsc_runtime_version", b"runsc_runtime_version", "runtime", b"runtime", "runtime_debug", b"runtime_debug", "s3_mounts", b"s3_mounts", "scheduler_placement", b"scheduler_placement", "secret_ids", b"secret_ids", "snapshot_version", b"snapshot_version", "timeout_secs", b"timeout_secs", "verbose", b"verbose", "volume_mounts", b"volume_mounts", "workdir", b"workdir", "worker_id", b"worker_id"]) -> None: ...
|
|
8913
|
+
@typing.overload
|
|
8914
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_idle_timeout_secs", b"_idle_timeout_secs"]) -> typing_extensions.Literal["idle_timeout_secs"] | None: ...
|
|
8915
|
+
@typing.overload
|
|
8916
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_name", b"_name"]) -> typing_extensions.Literal["name"] | None: ...
|
|
7811
8917
|
@typing.overload
|
|
7812
8918
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["_proxy_id", b"_proxy_id"]) -> typing_extensions.Literal["proxy_id"] | None: ...
|
|
7813
8919
|
@typing.overload
|
|
@@ -7823,7 +8929,41 @@ class Sandbox(google.protobuf.message.Message):
|
|
|
7823
8929
|
@typing.overload
|
|
7824
8930
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["open_ports_oneof", b"open_ports_oneof"]) -> typing_extensions.Literal["open_ports"] | None: ...
|
|
7825
8931
|
|
|
7826
|
-
global___Sandbox = Sandbox
|
|
8932
|
+
global___Sandbox = Sandbox
|
|
8933
|
+
|
|
8934
|
+
class SandboxCreateConnectTokenRequest(google.protobuf.message.Message):
|
|
8935
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8936
|
+
|
|
8937
|
+
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
8938
|
+
USER_METADATA_FIELD_NUMBER: builtins.int
|
|
8939
|
+
sandbox_id: builtins.str
|
|
8940
|
+
user_metadata: builtins.str
|
|
8941
|
+
def __init__(
|
|
8942
|
+
self,
|
|
8943
|
+
*,
|
|
8944
|
+
sandbox_id: builtins.str = ...,
|
|
8945
|
+
user_metadata: builtins.str = ...,
|
|
8946
|
+
) -> None: ...
|
|
8947
|
+
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id", "user_metadata", b"user_metadata"]) -> None: ...
|
|
8948
|
+
|
|
8949
|
+
global___SandboxCreateConnectTokenRequest = SandboxCreateConnectTokenRequest
|
|
8950
|
+
|
|
8951
|
+
class SandboxCreateConnectTokenResponse(google.protobuf.message.Message):
|
|
8952
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8953
|
+
|
|
8954
|
+
URL_FIELD_NUMBER: builtins.int
|
|
8955
|
+
TOKEN_FIELD_NUMBER: builtins.int
|
|
8956
|
+
url: builtins.str
|
|
8957
|
+
token: builtins.str
|
|
8958
|
+
def __init__(
|
|
8959
|
+
self,
|
|
8960
|
+
*,
|
|
8961
|
+
url: builtins.str = ...,
|
|
8962
|
+
token: builtins.str = ...,
|
|
8963
|
+
) -> None: ...
|
|
8964
|
+
def ClearField(self, field_name: typing_extensions.Literal["token", b"token", "url", b"url"]) -> None: ...
|
|
8965
|
+
|
|
8966
|
+
global___SandboxCreateConnectTokenResponse = SandboxCreateConnectTokenResponse
|
|
7827
8967
|
|
|
7828
8968
|
class SandboxCreateRequest(google.protobuf.message.Message):
|
|
7829
8969
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -7835,6 +8975,7 @@ class SandboxCreateRequest(google.protobuf.message.Message):
|
|
|
7835
8975
|
@property
|
|
7836
8976
|
def definition(self) -> global___Sandbox: ...
|
|
7837
8977
|
environment_name: builtins.str
|
|
8978
|
+
"""*DEPRECATED* 7/16/2025"""
|
|
7838
8979
|
def __init__(
|
|
7839
8980
|
self,
|
|
7840
8981
|
*,
|
|
@@ -7861,6 +9002,40 @@ class SandboxCreateResponse(google.protobuf.message.Message):
|
|
|
7861
9002
|
|
|
7862
9003
|
global___SandboxCreateResponse = SandboxCreateResponse
|
|
7863
9004
|
|
|
9005
|
+
class SandboxGetFromNameRequest(google.protobuf.message.Message):
|
|
9006
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9007
|
+
|
|
9008
|
+
SANDBOX_NAME_FIELD_NUMBER: builtins.int
|
|
9009
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
9010
|
+
APP_NAME_FIELD_NUMBER: builtins.int
|
|
9011
|
+
sandbox_name: builtins.str
|
|
9012
|
+
environment_name: builtins.str
|
|
9013
|
+
app_name: builtins.str
|
|
9014
|
+
def __init__(
|
|
9015
|
+
self,
|
|
9016
|
+
*,
|
|
9017
|
+
sandbox_name: builtins.str = ...,
|
|
9018
|
+
environment_name: builtins.str = ...,
|
|
9019
|
+
app_name: builtins.str = ...,
|
|
9020
|
+
) -> None: ...
|
|
9021
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_name", b"app_name", "environment_name", b"environment_name", "sandbox_name", b"sandbox_name"]) -> None: ...
|
|
9022
|
+
|
|
9023
|
+
global___SandboxGetFromNameRequest = SandboxGetFromNameRequest
|
|
9024
|
+
|
|
9025
|
+
class SandboxGetFromNameResponse(google.protobuf.message.Message):
|
|
9026
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9027
|
+
|
|
9028
|
+
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
9029
|
+
sandbox_id: builtins.str
|
|
9030
|
+
def __init__(
|
|
9031
|
+
self,
|
|
9032
|
+
*,
|
|
9033
|
+
sandbox_id: builtins.str = ...,
|
|
9034
|
+
) -> None: ...
|
|
9035
|
+
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"]) -> None: ...
|
|
9036
|
+
|
|
9037
|
+
global___SandboxGetFromNameResponse = SandboxGetFromNameResponse
|
|
9038
|
+
|
|
7864
9039
|
class SandboxGetLogsRequest(google.protobuf.message.Message):
|
|
7865
9040
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
7866
9041
|
|
|
@@ -8032,11 +9207,17 @@ class SandboxInfo(google.protobuf.message.Message):
|
|
|
8032
9207
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
8033
9208
|
TASK_INFO_FIELD_NUMBER: builtins.int
|
|
8034
9209
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
9210
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
9211
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
8035
9212
|
id: builtins.str
|
|
8036
9213
|
created_at: builtins.float
|
|
8037
9214
|
@property
|
|
8038
9215
|
def task_info(self) -> global___TaskInfo: ...
|
|
8039
9216
|
app_id: builtins.str
|
|
9217
|
+
@property
|
|
9218
|
+
def tags(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SandboxTag]:
|
|
9219
|
+
"""TODO: Not yet exposed in client library."""
|
|
9220
|
+
name: builtins.str
|
|
8040
9221
|
def __init__(
|
|
8041
9222
|
self,
|
|
8042
9223
|
*,
|
|
@@ -8044,9 +9225,11 @@ class SandboxInfo(google.protobuf.message.Message):
|
|
|
8044
9225
|
created_at: builtins.float = ...,
|
|
8045
9226
|
task_info: global___TaskInfo | None = ...,
|
|
8046
9227
|
app_id: builtins.str = ...,
|
|
9228
|
+
tags: collections.abc.Iterable[global___SandboxTag] | None = ...,
|
|
9229
|
+
name: builtins.str = ...,
|
|
8047
9230
|
) -> None: ...
|
|
8048
9231
|
def HasField(self, field_name: typing_extensions.Literal["task_info", b"task_info"]) -> builtins.bool: ...
|
|
8049
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "created_at", b"created_at", "id", b"id", "task_info", b"task_info"]) -> None: ...
|
|
9232
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "created_at", b"created_at", "id", b"id", "name", b"name", "tags", b"tags", "task_info", b"task_info"]) -> None: ...
|
|
8050
9233
|
|
|
8051
9234
|
global___SandboxInfo = SandboxInfo
|
|
8052
9235
|
|
|
@@ -8095,14 +9278,35 @@ global___SandboxListResponse = SandboxListResponse
|
|
|
8095
9278
|
class SandboxRestoreRequest(google.protobuf.message.Message):
|
|
8096
9279
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8097
9280
|
|
|
9281
|
+
class _SandboxNameOverrideType:
|
|
9282
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
9283
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
9284
|
+
|
|
9285
|
+
class _SandboxNameOverrideTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SandboxRestoreRequest._SandboxNameOverrideType.ValueType], builtins.type): # noqa: F821
|
|
9286
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
9287
|
+
SANDBOX_NAME_OVERRIDE_TYPE_UNSPECIFIED: SandboxRestoreRequest._SandboxNameOverrideType.ValueType # 0
|
|
9288
|
+
SANDBOX_NAME_OVERRIDE_TYPE_NONE: SandboxRestoreRequest._SandboxNameOverrideType.ValueType # 1
|
|
9289
|
+
SANDBOX_NAME_OVERRIDE_TYPE_STRING: SandboxRestoreRequest._SandboxNameOverrideType.ValueType # 2
|
|
9290
|
+
|
|
9291
|
+
class SandboxNameOverrideType(_SandboxNameOverrideType, metaclass=_SandboxNameOverrideTypeEnumTypeWrapper): ...
|
|
9292
|
+
SANDBOX_NAME_OVERRIDE_TYPE_UNSPECIFIED: SandboxRestoreRequest.SandboxNameOverrideType.ValueType # 0
|
|
9293
|
+
SANDBOX_NAME_OVERRIDE_TYPE_NONE: SandboxRestoreRequest.SandboxNameOverrideType.ValueType # 1
|
|
9294
|
+
SANDBOX_NAME_OVERRIDE_TYPE_STRING: SandboxRestoreRequest.SandboxNameOverrideType.ValueType # 2
|
|
9295
|
+
|
|
8098
9296
|
SNAPSHOT_ID_FIELD_NUMBER: builtins.int
|
|
9297
|
+
SANDBOX_NAME_OVERRIDE_FIELD_NUMBER: builtins.int
|
|
9298
|
+
SANDBOX_NAME_OVERRIDE_TYPE_FIELD_NUMBER: builtins.int
|
|
8099
9299
|
snapshot_id: builtins.str
|
|
9300
|
+
sandbox_name_override: builtins.str
|
|
9301
|
+
sandbox_name_override_type: global___SandboxRestoreRequest.SandboxNameOverrideType.ValueType
|
|
8100
9302
|
def __init__(
|
|
8101
9303
|
self,
|
|
8102
9304
|
*,
|
|
8103
9305
|
snapshot_id: builtins.str = ...,
|
|
9306
|
+
sandbox_name_override: builtins.str = ...,
|
|
9307
|
+
sandbox_name_override_type: global___SandboxRestoreRequest.SandboxNameOverrideType.ValueType = ...,
|
|
8104
9308
|
) -> None: ...
|
|
8105
|
-
def ClearField(self, field_name: typing_extensions.Literal["snapshot_id", b"snapshot_id"]) -> None: ...
|
|
9309
|
+
def ClearField(self, field_name: typing_extensions.Literal["sandbox_name_override", b"sandbox_name_override", "sandbox_name_override_type", b"sandbox_name_override_type", "snapshot_id", b"snapshot_id"]) -> None: ...
|
|
8106
9310
|
|
|
8107
9311
|
global___SandboxRestoreRequest = SandboxRestoreRequest
|
|
8108
9312
|
|
|
@@ -8120,6 +9324,51 @@ class SandboxRestoreResponse(google.protobuf.message.Message):
|
|
|
8120
9324
|
|
|
8121
9325
|
global___SandboxRestoreResponse = SandboxRestoreResponse
|
|
8122
9326
|
|
|
9327
|
+
class SandboxSnapshotFsAsyncGetRequest(google.protobuf.message.Message):
|
|
9328
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9329
|
+
|
|
9330
|
+
IMAGE_ID_FIELD_NUMBER: builtins.int
|
|
9331
|
+
TIMEOUT_FIELD_NUMBER: builtins.int
|
|
9332
|
+
image_id: builtins.str
|
|
9333
|
+
timeout: builtins.float
|
|
9334
|
+
def __init__(
|
|
9335
|
+
self,
|
|
9336
|
+
*,
|
|
9337
|
+
image_id: builtins.str = ...,
|
|
9338
|
+
timeout: builtins.float = ...,
|
|
9339
|
+
) -> None: ...
|
|
9340
|
+
def ClearField(self, field_name: typing_extensions.Literal["image_id", b"image_id", "timeout", b"timeout"]) -> None: ...
|
|
9341
|
+
|
|
9342
|
+
global___SandboxSnapshotFsAsyncGetRequest = SandboxSnapshotFsAsyncGetRequest
|
|
9343
|
+
|
|
9344
|
+
class SandboxSnapshotFsAsyncRequest(google.protobuf.message.Message):
|
|
9345
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9346
|
+
|
|
9347
|
+
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
9348
|
+
sandbox_id: builtins.str
|
|
9349
|
+
def __init__(
|
|
9350
|
+
self,
|
|
9351
|
+
*,
|
|
9352
|
+
sandbox_id: builtins.str = ...,
|
|
9353
|
+
) -> None: ...
|
|
9354
|
+
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"]) -> None: ...
|
|
9355
|
+
|
|
9356
|
+
global___SandboxSnapshotFsAsyncRequest = SandboxSnapshotFsAsyncRequest
|
|
9357
|
+
|
|
9358
|
+
class SandboxSnapshotFsAsyncResponse(google.protobuf.message.Message):
|
|
9359
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9360
|
+
|
|
9361
|
+
IMAGE_ID_FIELD_NUMBER: builtins.int
|
|
9362
|
+
image_id: builtins.str
|
|
9363
|
+
def __init__(
|
|
9364
|
+
self,
|
|
9365
|
+
*,
|
|
9366
|
+
image_id: builtins.str = ...,
|
|
9367
|
+
) -> None: ...
|
|
9368
|
+
def ClearField(self, field_name: typing_extensions.Literal["image_id", b"image_id"]) -> None: ...
|
|
9369
|
+
|
|
9370
|
+
global___SandboxSnapshotFsAsyncResponse = SandboxSnapshotFsAsyncResponse
|
|
9371
|
+
|
|
8123
9372
|
class SandboxSnapshotFsRequest(google.protobuf.message.Message):
|
|
8124
9373
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8125
9374
|
|
|
@@ -8299,6 +9548,35 @@ class SandboxTag(google.protobuf.message.Message):
|
|
|
8299
9548
|
|
|
8300
9549
|
global___SandboxTag = SandboxTag
|
|
8301
9550
|
|
|
9551
|
+
class SandboxTagsGetRequest(google.protobuf.message.Message):
|
|
9552
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9553
|
+
|
|
9554
|
+
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
9555
|
+
sandbox_id: builtins.str
|
|
9556
|
+
def __init__(
|
|
9557
|
+
self,
|
|
9558
|
+
*,
|
|
9559
|
+
sandbox_id: builtins.str = ...,
|
|
9560
|
+
) -> None: ...
|
|
9561
|
+
def ClearField(self, field_name: typing_extensions.Literal["sandbox_id", b"sandbox_id"]) -> None: ...
|
|
9562
|
+
|
|
9563
|
+
global___SandboxTagsGetRequest = SandboxTagsGetRequest
|
|
9564
|
+
|
|
9565
|
+
class SandboxTagsGetResponse(google.protobuf.message.Message):
|
|
9566
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9567
|
+
|
|
9568
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
9569
|
+
@property
|
|
9570
|
+
def tags(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SandboxTag]: ...
|
|
9571
|
+
def __init__(
|
|
9572
|
+
self,
|
|
9573
|
+
*,
|
|
9574
|
+
tags: collections.abc.Iterable[global___SandboxTag] | None = ...,
|
|
9575
|
+
) -> None: ...
|
|
9576
|
+
def ClearField(self, field_name: typing_extensions.Literal["tags", b"tags"]) -> None: ...
|
|
9577
|
+
|
|
9578
|
+
global___SandboxTagsGetResponse = SandboxTagsGetResponse
|
|
9579
|
+
|
|
8302
9580
|
class SandboxTagsSetRequest(google.protobuf.message.Message):
|
|
8303
9581
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8304
9582
|
|
|
@@ -8450,29 +9728,23 @@ class Schedule(google.protobuf.message.Message):
|
|
|
8450
9728
|
global___Schedule = Schedule
|
|
8451
9729
|
|
|
8452
9730
|
class SchedulerPlacement(google.protobuf.message.Message):
|
|
8453
|
-
"""TODO(irfansharif):
|
|
8454
|
-
- Fold in cloud, resource needs here too.
|
|
8455
|
-
- Allow specifying list of zones, cloud, fallback and alternative
|
|
8456
|
-
GPU types.
|
|
8457
|
-
"""
|
|
8458
|
-
|
|
8459
9731
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8460
9732
|
|
|
8461
9733
|
REGIONS_FIELD_NUMBER: builtins.int
|
|
8462
9734
|
_ZONE_FIELD_NUMBER: builtins.int
|
|
8463
9735
|
_LIFECYCLE_FIELD_NUMBER: builtins.int
|
|
8464
9736
|
_INSTANCE_TYPES_FIELD_NUMBER: builtins.int
|
|
9737
|
+
NONPREEMPTIBLE_FIELD_NUMBER: builtins.int
|
|
8465
9738
|
@property
|
|
8466
9739
|
def regions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
8467
9740
|
_zone: builtins.str
|
|
8468
|
-
"""TODO
|
|
8469
|
-
admin-only
|
|
8470
|
-
"""
|
|
9741
|
+
"""TODO: Deprecate"""
|
|
8471
9742
|
_lifecycle: builtins.str
|
|
8472
|
-
"""
|
|
9743
|
+
"""TODO: Deprecate"""
|
|
8473
9744
|
@property
|
|
8474
9745
|
def _instance_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
8475
|
-
"""
|
|
9746
|
+
"""TODO: Deprecate"""
|
|
9747
|
+
nonpreemptible: builtins.bool
|
|
8476
9748
|
def __init__(
|
|
8477
9749
|
self,
|
|
8478
9750
|
*,
|
|
@@ -8480,9 +9752,10 @@ class SchedulerPlacement(google.protobuf.message.Message):
|
|
|
8480
9752
|
_zone: builtins.str | None = ...,
|
|
8481
9753
|
_lifecycle: builtins.str | None = ...,
|
|
8482
9754
|
_instance_types: collections.abc.Iterable[builtins.str] | None = ...,
|
|
9755
|
+
nonpreemptible: builtins.bool = ...,
|
|
8483
9756
|
) -> None: ...
|
|
8484
9757
|
def HasField(self, field_name: typing_extensions.Literal["X_lifecycle", b"X_lifecycle", "X_zone", b"X_zone", "_lifecycle", b"_lifecycle", "_zone", b"_zone"]) -> builtins.bool: ...
|
|
8485
|
-
def ClearField(self, field_name: typing_extensions.Literal["X_lifecycle", b"X_lifecycle", "X_zone", b"X_zone", "_instance_types", b"_instance_types", "_lifecycle", b"_lifecycle", "_zone", b"_zone", "regions", b"regions"]) -> None: ...
|
|
9758
|
+
def ClearField(self, field_name: typing_extensions.Literal["X_lifecycle", b"X_lifecycle", "X_zone", b"X_zone", "_instance_types", b"_instance_types", "_lifecycle", b"_lifecycle", "_zone", b"_zone", "nonpreemptible", b"nonpreemptible", "regions", b"regions"]) -> None: ...
|
|
8486
9759
|
@typing.overload
|
|
8487
9760
|
def WhichOneof(self, oneof_group: typing_extensions.Literal["X_lifecycle", b"X_lifecycle"]) -> typing_extensions.Literal["_lifecycle"] | None: ...
|
|
8488
9761
|
@typing.overload
|
|
@@ -8581,14 +9854,12 @@ class SecretGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
8581
9854
|
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
8582
9855
|
|
|
8583
9856
|
DEPLOYMENT_NAME_FIELD_NUMBER: builtins.int
|
|
8584
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
8585
9857
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
8586
9858
|
OBJECT_CREATION_TYPE_FIELD_NUMBER: builtins.int
|
|
8587
9859
|
ENV_DICT_FIELD_NUMBER: builtins.int
|
|
8588
9860
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
8589
9861
|
REQUIRED_KEYS_FIELD_NUMBER: builtins.int
|
|
8590
9862
|
deployment_name: builtins.str
|
|
8591
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
8592
9863
|
environment_name: builtins.str
|
|
8593
9864
|
object_creation_type: global___ObjectCreationType.ValueType
|
|
8594
9865
|
"""Not used atm"""
|
|
@@ -8602,14 +9873,13 @@ class SecretGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
8602
9873
|
self,
|
|
8603
9874
|
*,
|
|
8604
9875
|
deployment_name: builtins.str = ...,
|
|
8605
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
8606
9876
|
environment_name: builtins.str = ...,
|
|
8607
9877
|
object_creation_type: global___ObjectCreationType.ValueType = ...,
|
|
8608
9878
|
env_dict: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
8609
9879
|
app_id: builtins.str = ...,
|
|
8610
9880
|
required_keys: collections.abc.Iterable[builtins.str] | None = ...,
|
|
8611
9881
|
) -> None: ...
|
|
8612
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "deployment_name", b"deployment_name", "env_dict", b"env_dict", "environment_name", b"environment_name", "
|
|
9882
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "deployment_name", b"deployment_name", "env_dict", b"env_dict", "environment_name", b"environment_name", "object_creation_type", b"object_creation_type", "required_keys", b"required_keys"]) -> None: ...
|
|
8613
9883
|
|
|
8614
9884
|
global___SecretGetOrCreateRequest = SecretGetOrCreateRequest
|
|
8615
9885
|
|
|
@@ -8617,13 +9887,18 @@ class SecretGetOrCreateResponse(google.protobuf.message.Message):
|
|
|
8617
9887
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8618
9888
|
|
|
8619
9889
|
SECRET_ID_FIELD_NUMBER: builtins.int
|
|
9890
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
8620
9891
|
secret_id: builtins.str
|
|
9892
|
+
@property
|
|
9893
|
+
def metadata(self) -> global___SecretMetadata: ...
|
|
8621
9894
|
def __init__(
|
|
8622
9895
|
self,
|
|
8623
9896
|
*,
|
|
8624
9897
|
secret_id: builtins.str = ...,
|
|
9898
|
+
metadata: global___SecretMetadata | None = ...,
|
|
8625
9899
|
) -> None: ...
|
|
8626
|
-
def
|
|
9900
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
9901
|
+
def ClearField(self, field_name: typing_extensions.Literal["metadata", b"metadata", "secret_id", b"secret_id"]) -> None: ...
|
|
8627
9902
|
|
|
8628
9903
|
global___SecretGetOrCreateResponse = SecretGetOrCreateResponse
|
|
8629
9904
|
|
|
@@ -8635,11 +9910,16 @@ class SecretListItem(google.protobuf.message.Message):
|
|
|
8635
9910
|
LAST_USED_AT_FIELD_NUMBER: builtins.int
|
|
8636
9911
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
8637
9912
|
SECRET_ID_FIELD_NUMBER: builtins.int
|
|
9913
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
8638
9914
|
label: builtins.str
|
|
8639
9915
|
created_at: builtins.float
|
|
9916
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
|
8640
9917
|
last_used_at: builtins.float
|
|
8641
9918
|
environment_name: builtins.str
|
|
9919
|
+
"""Unused by client"""
|
|
8642
9920
|
secret_id: builtins.str
|
|
9921
|
+
@property
|
|
9922
|
+
def metadata(self) -> global___SecretMetadata: ...
|
|
8643
9923
|
def __init__(
|
|
8644
9924
|
self,
|
|
8645
9925
|
*,
|
|
@@ -8648,8 +9928,10 @@ class SecretListItem(google.protobuf.message.Message):
|
|
|
8648
9928
|
last_used_at: builtins.float = ...,
|
|
8649
9929
|
environment_name: builtins.str = ...,
|
|
8650
9930
|
secret_id: builtins.str = ...,
|
|
9931
|
+
metadata: global___SecretMetadata | None = ...,
|
|
8651
9932
|
) -> None: ...
|
|
8652
|
-
def
|
|
9933
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
9934
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "environment_name", b"environment_name", "label", b"label", "last_used_at", b"last_used_at", "metadata", b"metadata", "secret_id", b"secret_id"]) -> None: ...
|
|
8653
9935
|
|
|
8654
9936
|
global___SecretListItem = SecretListItem
|
|
8655
9937
|
|
|
@@ -8657,14 +9939,18 @@ class SecretListRequest(google.protobuf.message.Message):
|
|
|
8657
9939
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8658
9940
|
|
|
8659
9941
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
9942
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
8660
9943
|
environment_name: builtins.str
|
|
8661
|
-
|
|
9944
|
+
@property
|
|
9945
|
+
def pagination(self) -> global___ListPagination: ...
|
|
8662
9946
|
def __init__(
|
|
8663
9947
|
self,
|
|
8664
9948
|
*,
|
|
8665
9949
|
environment_name: builtins.str = ...,
|
|
9950
|
+
pagination: global___ListPagination | None = ...,
|
|
8666
9951
|
) -> None: ...
|
|
8667
|
-
def
|
|
9952
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
9953
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
|
|
8668
9954
|
|
|
8669
9955
|
global___SecretListRequest = SecretListRequest
|
|
8670
9956
|
|
|
@@ -8676,7 +9962,6 @@ class SecretListResponse(google.protobuf.message.Message):
|
|
|
8676
9962
|
@property
|
|
8677
9963
|
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___SecretListItem]: ...
|
|
8678
9964
|
environment_name: builtins.str
|
|
8679
|
-
"""the environment that was listed (useful when relying on "default" logic)"""
|
|
8680
9965
|
def __init__(
|
|
8681
9966
|
self,
|
|
8682
9967
|
*,
|
|
@@ -8687,7 +9972,28 @@ class SecretListResponse(google.protobuf.message.Message):
|
|
|
8687
9972
|
|
|
8688
9973
|
global___SecretListResponse = SecretListResponse
|
|
8689
9974
|
|
|
9975
|
+
class SecretMetadata(google.protobuf.message.Message):
|
|
9976
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9977
|
+
|
|
9978
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
9979
|
+
CREATION_INFO_FIELD_NUMBER: builtins.int
|
|
9980
|
+
name: builtins.str
|
|
9981
|
+
@property
|
|
9982
|
+
def creation_info(self) -> global___CreationInfo: ...
|
|
9983
|
+
def __init__(
|
|
9984
|
+
self,
|
|
9985
|
+
*,
|
|
9986
|
+
name: builtins.str = ...,
|
|
9987
|
+
creation_info: global___CreationInfo | None = ...,
|
|
9988
|
+
) -> None: ...
|
|
9989
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
|
|
9990
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name"]) -> None: ...
|
|
9991
|
+
|
|
9992
|
+
global___SecretMetadata = SecretMetadata
|
|
9993
|
+
|
|
8690
9994
|
class SharedVolumeDeleteRequest(google.protobuf.message.Message):
|
|
9995
|
+
"""SharedVolume in the backend corresponds to NetworkFileSystem in the current API"""
|
|
9996
|
+
|
|
8691
9997
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8692
9998
|
|
|
8693
9999
|
SHARED_VOLUME_ID_FIELD_NUMBER: builtins.int
|
|
@@ -8741,12 +10047,10 @@ class SharedVolumeGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
8741
10047
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
8742
10048
|
|
|
8743
10049
|
DEPLOYMENT_NAME_FIELD_NUMBER: builtins.int
|
|
8744
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
8745
10050
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
8746
10051
|
OBJECT_CREATION_TYPE_FIELD_NUMBER: builtins.int
|
|
8747
10052
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
8748
10053
|
deployment_name: builtins.str
|
|
8749
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
8750
10054
|
environment_name: builtins.str
|
|
8751
10055
|
object_creation_type: global___ObjectCreationType.ValueType
|
|
8752
10056
|
app_id: builtins.str
|
|
@@ -8755,12 +10059,11 @@ class SharedVolumeGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
8755
10059
|
self,
|
|
8756
10060
|
*,
|
|
8757
10061
|
deployment_name: builtins.str = ...,
|
|
8758
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
8759
10062
|
environment_name: builtins.str = ...,
|
|
8760
10063
|
object_creation_type: global___ObjectCreationType.ValueType = ...,
|
|
8761
10064
|
app_id: builtins.str = ...,
|
|
8762
10065
|
) -> None: ...
|
|
8763
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "deployment_name", b"deployment_name", "environment_name", b"environment_name", "
|
|
10066
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "deployment_name", b"deployment_name", "environment_name", b"environment_name", "object_creation_type", b"object_creation_type"]) -> None: ...
|
|
8764
10067
|
|
|
8765
10068
|
global___SharedVolumeGetOrCreateRequest = SharedVolumeGetOrCreateRequest
|
|
8766
10069
|
|
|
@@ -8886,20 +10189,17 @@ class SharedVolumeMount(google.protobuf.message.Message):
|
|
|
8886
10189
|
MOUNT_PATH_FIELD_NUMBER: builtins.int
|
|
8887
10190
|
SHARED_VOLUME_ID_FIELD_NUMBER: builtins.int
|
|
8888
10191
|
CLOUD_PROVIDER_FIELD_NUMBER: builtins.int
|
|
8889
|
-
ALLOW_CROSS_REGION_FIELD_NUMBER: builtins.int
|
|
8890
10192
|
mount_path: builtins.str
|
|
8891
10193
|
shared_volume_id: builtins.str
|
|
8892
10194
|
cloud_provider: global___CloudProvider.ValueType
|
|
8893
|
-
allow_cross_region: builtins.bool
|
|
8894
10195
|
def __init__(
|
|
8895
10196
|
self,
|
|
8896
10197
|
*,
|
|
8897
10198
|
mount_path: builtins.str = ...,
|
|
8898
10199
|
shared_volume_id: builtins.str = ...,
|
|
8899
10200
|
cloud_provider: global___CloudProvider.ValueType = ...,
|
|
8900
|
-
allow_cross_region: builtins.bool = ...,
|
|
8901
10201
|
) -> None: ...
|
|
8902
|
-
def ClearField(self, field_name: typing_extensions.Literal["
|
|
10202
|
+
def ClearField(self, field_name: typing_extensions.Literal["cloud_provider", b"cloud_provider", "mount_path", b"mount_path", "shared_volume_id", b"shared_volume_id"]) -> None: ...
|
|
8903
10203
|
|
|
8904
10204
|
global___SharedVolumeMount = SharedVolumeMount
|
|
8905
10205
|
|
|
@@ -9009,19 +10309,23 @@ class TaskClusterHelloResponse(google.protobuf.message.Message):
|
|
|
9009
10309
|
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
9010
10310
|
CLUSTER_RANK_FIELD_NUMBER: builtins.int
|
|
9011
10311
|
CONTAINER_IPS_FIELD_NUMBER: builtins.int
|
|
10312
|
+
CONTAINER_IPV4_IPS_FIELD_NUMBER: builtins.int
|
|
9012
10313
|
cluster_id: builtins.str
|
|
9013
10314
|
cluster_rank: builtins.int
|
|
9014
10315
|
@property
|
|
9015
10316
|
def container_ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
9016
|
-
"""All
|
|
10317
|
+
"""All IPv6 addresses in cluster, ordered by cluster rank"""
|
|
10318
|
+
@property
|
|
10319
|
+
def container_ipv4_ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
9017
10320
|
def __init__(
|
|
9018
10321
|
self,
|
|
9019
10322
|
*,
|
|
9020
10323
|
cluster_id: builtins.str = ...,
|
|
9021
10324
|
cluster_rank: builtins.int = ...,
|
|
9022
10325
|
container_ips: collections.abc.Iterable[builtins.str] | None = ...,
|
|
10326
|
+
container_ipv4_ips: collections.abc.Iterable[builtins.str] | None = ...,
|
|
9023
10327
|
) -> None: ...
|
|
9024
|
-
def ClearField(self, field_name: typing_extensions.Literal["cluster_id", b"cluster_id", "cluster_rank", b"cluster_rank", "container_ips", b"container_ips"]) -> None: ...
|
|
10328
|
+
def ClearField(self, field_name: typing_extensions.Literal["cluster_id", b"cluster_id", "cluster_rank", b"cluster_rank", "container_ips", b"container_ips", "container_ipv4_ips", b"container_ipv4_ips"]) -> None: ...
|
|
9025
10329
|
|
|
9026
10330
|
global___TaskClusterHelloResponse = TaskClusterHelloResponse
|
|
9027
10331
|
|
|
@@ -9040,6 +10344,42 @@ class TaskCurrentInputsResponse(google.protobuf.message.Message):
|
|
|
9040
10344
|
|
|
9041
10345
|
global___TaskCurrentInputsResponse = TaskCurrentInputsResponse
|
|
9042
10346
|
|
|
10347
|
+
class TaskGetCommandRouterAccessRequest(google.protobuf.message.Message):
|
|
10348
|
+
"""Used to get a JWT and URL for direct access to a task command router
|
|
10349
|
+
running on the modal-worker, so the client can issue exec commands (and other
|
|
10350
|
+
operations as they become available) directly to the worker.
|
|
10351
|
+
"""
|
|
10352
|
+
|
|
10353
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
10354
|
+
|
|
10355
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
10356
|
+
task_id: builtins.str
|
|
10357
|
+
def __init__(
|
|
10358
|
+
self,
|
|
10359
|
+
*,
|
|
10360
|
+
task_id: builtins.str = ...,
|
|
10361
|
+
) -> None: ...
|
|
10362
|
+
def ClearField(self, field_name: typing_extensions.Literal["task_id", b"task_id"]) -> None: ...
|
|
10363
|
+
|
|
10364
|
+
global___TaskGetCommandRouterAccessRequest = TaskGetCommandRouterAccessRequest
|
|
10365
|
+
|
|
10366
|
+
class TaskGetCommandRouterAccessResponse(google.protobuf.message.Message):
|
|
10367
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
10368
|
+
|
|
10369
|
+
JWT_FIELD_NUMBER: builtins.int
|
|
10370
|
+
URL_FIELD_NUMBER: builtins.int
|
|
10371
|
+
jwt: builtins.str
|
|
10372
|
+
url: builtins.str
|
|
10373
|
+
def __init__(
|
|
10374
|
+
self,
|
|
10375
|
+
*,
|
|
10376
|
+
jwt: builtins.str = ...,
|
|
10377
|
+
url: builtins.str = ...,
|
|
10378
|
+
) -> None: ...
|
|
10379
|
+
def ClearField(self, field_name: typing_extensions.Literal["jwt", b"jwt", "url", b"url"]) -> None: ...
|
|
10380
|
+
|
|
10381
|
+
global___TaskGetCommandRouterAccessResponse = TaskGetCommandRouterAccessResponse
|
|
10382
|
+
|
|
9043
10383
|
class TaskInfo(google.protobuf.message.Message):
|
|
9044
10384
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9045
10385
|
|
|
@@ -9049,6 +10389,9 @@ class TaskInfo(google.protobuf.message.Message):
|
|
|
9049
10389
|
RESULT_FIELD_NUMBER: builtins.int
|
|
9050
10390
|
ENQUEUED_AT_FIELD_NUMBER: builtins.int
|
|
9051
10391
|
GPU_TYPE_FIELD_NUMBER: builtins.int
|
|
10392
|
+
SANDBOX_ID_FIELD_NUMBER: builtins.int
|
|
10393
|
+
SNAPSHOT_BEHAVIOR_FIELD_NUMBER: builtins.int
|
|
10394
|
+
GPU_CONFIG_FIELD_NUMBER: builtins.int
|
|
9052
10395
|
id: builtins.str
|
|
9053
10396
|
started_at: builtins.float
|
|
9054
10397
|
finished_at: builtins.float
|
|
@@ -9056,6 +10399,10 @@ class TaskInfo(google.protobuf.message.Message):
|
|
|
9056
10399
|
def result(self) -> global___GenericResult: ...
|
|
9057
10400
|
enqueued_at: builtins.float
|
|
9058
10401
|
gpu_type: builtins.str
|
|
10402
|
+
sandbox_id: builtins.str
|
|
10403
|
+
snapshot_behavior: global___TaskSnapshotBehavior.ValueType
|
|
10404
|
+
@property
|
|
10405
|
+
def gpu_config(self) -> global___GPUConfig: ...
|
|
9059
10406
|
def __init__(
|
|
9060
10407
|
self,
|
|
9061
10408
|
*,
|
|
@@ -9065,9 +10412,12 @@ class TaskInfo(google.protobuf.message.Message):
|
|
|
9065
10412
|
result: global___GenericResult | None = ...,
|
|
9066
10413
|
enqueued_at: builtins.float = ...,
|
|
9067
10414
|
gpu_type: builtins.str = ...,
|
|
10415
|
+
sandbox_id: builtins.str = ...,
|
|
10416
|
+
snapshot_behavior: global___TaskSnapshotBehavior.ValueType = ...,
|
|
10417
|
+
gpu_config: global___GPUConfig | None = ...,
|
|
9068
10418
|
) -> None: ...
|
|
9069
|
-
def HasField(self, field_name: typing_extensions.Literal["result", b"result"]) -> builtins.bool: ...
|
|
9070
|
-
def ClearField(self, field_name: typing_extensions.Literal["enqueued_at", b"enqueued_at", "finished_at", b"finished_at", "gpu_type", b"gpu_type", "id", b"id", "result", b"result", "started_at", b"started_at"]) -> None: ...
|
|
10419
|
+
def HasField(self, field_name: typing_extensions.Literal["gpu_config", b"gpu_config", "result", b"result"]) -> builtins.bool: ...
|
|
10420
|
+
def ClearField(self, field_name: typing_extensions.Literal["enqueued_at", b"enqueued_at", "finished_at", b"finished_at", "gpu_config", b"gpu_config", "gpu_type", b"gpu_type", "id", b"id", "result", b"result", "sandbox_id", b"sandbox_id", "snapshot_behavior", b"snapshot_behavior", "started_at", b"started_at"]) -> None: ...
|
|
9071
10421
|
|
|
9072
10422
|
global___TaskInfo = TaskInfo
|
|
9073
10423
|
|
|
@@ -9150,6 +10500,7 @@ class TaskLogsBatch(google.protobuf.message.Message):
|
|
|
9150
10500
|
EOF_FIELD_NUMBER: builtins.int
|
|
9151
10501
|
PTY_EXEC_ID_FIELD_NUMBER: builtins.int
|
|
9152
10502
|
ROOT_FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
10503
|
+
TTL_DAYS_FIELD_NUMBER: builtins.int
|
|
9153
10504
|
task_id: builtins.str
|
|
9154
10505
|
@property
|
|
9155
10506
|
def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TaskLogs]: ...
|
|
@@ -9163,6 +10514,7 @@ class TaskLogsBatch(google.protobuf.message.Message):
|
|
|
9163
10514
|
pty_exec_id: builtins.str
|
|
9164
10515
|
"""Used for interactive functions"""
|
|
9165
10516
|
root_function_id: builtins.str
|
|
10517
|
+
ttl_days: builtins.int
|
|
9166
10518
|
def __init__(
|
|
9167
10519
|
self,
|
|
9168
10520
|
*,
|
|
@@ -9176,8 +10528,9 @@ class TaskLogsBatch(google.protobuf.message.Message):
|
|
|
9176
10528
|
eof: builtins.bool = ...,
|
|
9177
10529
|
pty_exec_id: builtins.str = ...,
|
|
9178
10530
|
root_function_id: builtins.str = ...,
|
|
10531
|
+
ttl_days: builtins.int = ...,
|
|
9179
10532
|
) -> None: ...
|
|
9180
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_done", b"app_done", "entry_id", b"entry_id", "eof", b"eof", "function_id", b"function_id", "image_id", b"image_id", "input_id", b"input_id", "items", b"items", "pty_exec_id", b"pty_exec_id", "root_function_id", b"root_function_id", "task_id", b"task_id"]) -> None: ...
|
|
10533
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_done", b"app_done", "entry_id", b"entry_id", "eof", b"eof", "function_id", b"function_id", "image_id", b"image_id", "input_id", b"input_id", "items", b"items", "pty_exec_id", b"pty_exec_id", "root_function_id", b"root_function_id", "task_id", b"task_id", "ttl_days", b"ttl_days"]) -> None: ...
|
|
9181
10534
|
|
|
9182
10535
|
global___TaskLogsBatch = TaskLogsBatch
|
|
9183
10536
|
|
|
@@ -9470,6 +10823,40 @@ class TunnelStopResponse(google.protobuf.message.Message):
|
|
|
9470
10823
|
|
|
9471
10824
|
global___TunnelStopResponse = TunnelStopResponse
|
|
9472
10825
|
|
|
10826
|
+
class UploadUrlList(google.protobuf.message.Message):
|
|
10827
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
10828
|
+
|
|
10829
|
+
ITEMS_FIELD_NUMBER: builtins.int
|
|
10830
|
+
@property
|
|
10831
|
+
def items(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
10832
|
+
def __init__(
|
|
10833
|
+
self,
|
|
10834
|
+
*,
|
|
10835
|
+
items: collections.abc.Iterable[builtins.str] | None = ...,
|
|
10836
|
+
) -> None: ...
|
|
10837
|
+
def ClearField(self, field_name: typing_extensions.Literal["items", b"items"]) -> None: ...
|
|
10838
|
+
|
|
10839
|
+
global___UploadUrlList = UploadUrlList
|
|
10840
|
+
|
|
10841
|
+
class UserActionInfo(google.protobuf.message.Message):
|
|
10842
|
+
"""Used for capturing context about an action performed by a user"""
|
|
10843
|
+
|
|
10844
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
10845
|
+
|
|
10846
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
10847
|
+
TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
10848
|
+
user_id: builtins.str
|
|
10849
|
+
timestamp: builtins.float
|
|
10850
|
+
def __init__(
|
|
10851
|
+
self,
|
|
10852
|
+
*,
|
|
10853
|
+
user_id: builtins.str = ...,
|
|
10854
|
+
timestamp: builtins.float = ...,
|
|
10855
|
+
) -> None: ...
|
|
10856
|
+
def ClearField(self, field_name: typing_extensions.Literal["timestamp", b"timestamp", "user_id", b"user_id"]) -> None: ...
|
|
10857
|
+
|
|
10858
|
+
global___UserActionInfo = UserActionInfo
|
|
10859
|
+
|
|
9473
10860
|
class VolumeCommitRequest(google.protobuf.message.Message):
|
|
9474
10861
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9475
10862
|
|
|
@@ -9676,13 +11063,11 @@ class VolumeGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
9676
11063
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9677
11064
|
|
|
9678
11065
|
DEPLOYMENT_NAME_FIELD_NUMBER: builtins.int
|
|
9679
|
-
NAMESPACE_FIELD_NUMBER: builtins.int
|
|
9680
11066
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
9681
11067
|
OBJECT_CREATION_TYPE_FIELD_NUMBER: builtins.int
|
|
9682
11068
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
9683
11069
|
VERSION_FIELD_NUMBER: builtins.int
|
|
9684
11070
|
deployment_name: builtins.str
|
|
9685
|
-
namespace: global___DeploymentNamespace.ValueType
|
|
9686
11071
|
environment_name: builtins.str
|
|
9687
11072
|
object_creation_type: global___ObjectCreationType.ValueType
|
|
9688
11073
|
app_id: builtins.str
|
|
@@ -9692,13 +11077,12 @@ class VolumeGetOrCreateRequest(google.protobuf.message.Message):
|
|
|
9692
11077
|
self,
|
|
9693
11078
|
*,
|
|
9694
11079
|
deployment_name: builtins.str = ...,
|
|
9695
|
-
namespace: global___DeploymentNamespace.ValueType = ...,
|
|
9696
11080
|
environment_name: builtins.str = ...,
|
|
9697
11081
|
object_creation_type: global___ObjectCreationType.ValueType = ...,
|
|
9698
11082
|
app_id: builtins.str = ...,
|
|
9699
11083
|
version: global___VolumeFsVersion.ValueType = ...,
|
|
9700
11084
|
) -> None: ...
|
|
9701
|
-
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "deployment_name", b"deployment_name", "environment_name", b"environment_name", "
|
|
11085
|
+
def ClearField(self, field_name: typing_extensions.Literal["app_id", b"app_id", "deployment_name", b"deployment_name", "environment_name", b"environment_name", "object_creation_type", b"object_creation_type", "version", b"version"]) -> None: ...
|
|
9702
11086
|
|
|
9703
11087
|
global___VolumeGetOrCreateRequest = VolumeGetOrCreateRequest
|
|
9704
11088
|
|
|
@@ -9710,6 +11094,7 @@ class VolumeGetOrCreateResponse(google.protobuf.message.Message):
|
|
|
9710
11094
|
METADATA_FIELD_NUMBER: builtins.int
|
|
9711
11095
|
volume_id: builtins.str
|
|
9712
11096
|
version: global___VolumeFsVersion.ValueType
|
|
11097
|
+
"""Not used directly; version is part of the metadata"""
|
|
9713
11098
|
@property
|
|
9714
11099
|
def metadata(self) -> global___VolumeMetadata: ...
|
|
9715
11100
|
def __init__(
|
|
@@ -9824,18 +11209,24 @@ class VolumeListItem(google.protobuf.message.Message):
|
|
|
9824
11209
|
LABEL_FIELD_NUMBER: builtins.int
|
|
9825
11210
|
VOLUME_ID_FIELD_NUMBER: builtins.int
|
|
9826
11211
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
11212
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
9827
11213
|
label: builtins.str
|
|
9828
11214
|
"""app name of object entity app"""
|
|
9829
11215
|
volume_id: builtins.str
|
|
9830
11216
|
created_at: builtins.float
|
|
11217
|
+
"""Superseded by metadata, used by clients up to 1.1.2"""
|
|
11218
|
+
@property
|
|
11219
|
+
def metadata(self) -> global___VolumeMetadata: ...
|
|
9831
11220
|
def __init__(
|
|
9832
11221
|
self,
|
|
9833
11222
|
*,
|
|
9834
11223
|
label: builtins.str = ...,
|
|
9835
11224
|
volume_id: builtins.str = ...,
|
|
9836
11225
|
created_at: builtins.float = ...,
|
|
11226
|
+
metadata: global___VolumeMetadata | None = ...,
|
|
9837
11227
|
) -> None: ...
|
|
9838
|
-
def
|
|
11228
|
+
def HasField(self, field_name: typing_extensions.Literal["metadata", b"metadata"]) -> builtins.bool: ...
|
|
11229
|
+
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "label", b"label", "metadata", b"metadata", "volume_id", b"volume_id"]) -> None: ...
|
|
9839
11230
|
|
|
9840
11231
|
global___VolumeListItem = VolumeListItem
|
|
9841
11232
|
|
|
@@ -9843,13 +11234,18 @@ class VolumeListRequest(google.protobuf.message.Message):
|
|
|
9843
11234
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9844
11235
|
|
|
9845
11236
|
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
11237
|
+
PAGINATION_FIELD_NUMBER: builtins.int
|
|
9846
11238
|
environment_name: builtins.str
|
|
11239
|
+
@property
|
|
11240
|
+
def pagination(self) -> global___ListPagination: ...
|
|
9847
11241
|
def __init__(
|
|
9848
11242
|
self,
|
|
9849
11243
|
*,
|
|
9850
11244
|
environment_name: builtins.str = ...,
|
|
11245
|
+
pagination: global___ListPagination | None = ...,
|
|
9851
11246
|
) -> None: ...
|
|
9852
|
-
def
|
|
11247
|
+
def HasField(self, field_name: typing_extensions.Literal["pagination", b"pagination"]) -> builtins.bool: ...
|
|
11248
|
+
def ClearField(self, field_name: typing_extensions.Literal["environment_name", b"environment_name", "pagination", b"pagination"]) -> None: ...
|
|
9853
11249
|
|
|
9854
11250
|
global___VolumeListRequest = VolumeListRequest
|
|
9855
11251
|
|
|
@@ -9875,13 +11271,21 @@ class VolumeMetadata(google.protobuf.message.Message):
|
|
|
9875
11271
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
9876
11272
|
|
|
9877
11273
|
VERSION_FIELD_NUMBER: builtins.int
|
|
11274
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
11275
|
+
CREATION_INFO_FIELD_NUMBER: builtins.int
|
|
9878
11276
|
version: global___VolumeFsVersion.ValueType
|
|
11277
|
+
name: builtins.str
|
|
11278
|
+
@property
|
|
11279
|
+
def creation_info(self) -> global___CreationInfo: ...
|
|
9879
11280
|
def __init__(
|
|
9880
11281
|
self,
|
|
9881
11282
|
*,
|
|
9882
11283
|
version: global___VolumeFsVersion.ValueType = ...,
|
|
11284
|
+
name: builtins.str = ...,
|
|
11285
|
+
creation_info: global___CreationInfo | None = ...,
|
|
9883
11286
|
) -> None: ...
|
|
9884
|
-
def
|
|
11287
|
+
def HasField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info"]) -> builtins.bool: ...
|
|
11288
|
+
def ClearField(self, field_name: typing_extensions.Literal["creation_info", b"creation_info", "name", b"name", "version", b"version"]) -> None: ...
|
|
9885
11289
|
|
|
9886
11290
|
global___VolumeMetadata = VolumeMetadata
|
|
9887
11291
|
|
|
@@ -10205,9 +11609,11 @@ class WebhookConfig(google.protobuf.message.Message):
|
|
|
10205
11609
|
WEB_SERVER_STARTUP_TIMEOUT_FIELD_NUMBER: builtins.int
|
|
10206
11610
|
WEB_ENDPOINT_DOCS_FIELD_NUMBER: builtins.int
|
|
10207
11611
|
REQUIRES_PROXY_AUTH_FIELD_NUMBER: builtins.int
|
|
11612
|
+
EPHEMERAL_SUFFIX_FIELD_NUMBER: builtins.int
|
|
10208
11613
|
type: global___WebhookType.ValueType
|
|
10209
11614
|
method: builtins.str
|
|
10210
11615
|
requested_suffix: builtins.str
|
|
11616
|
+
"""User-supplied "label" component of URL"""
|
|
10211
11617
|
async_mode: global___WebhookAsyncMode.ValueType
|
|
10212
11618
|
@property
|
|
10213
11619
|
def custom_domains(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CustomDomainConfig]: ...
|
|
@@ -10215,6 +11621,8 @@ class WebhookConfig(google.protobuf.message.Message):
|
|
|
10215
11621
|
web_server_startup_timeout: builtins.float
|
|
10216
11622
|
web_endpoint_docs: builtins.bool
|
|
10217
11623
|
requires_proxy_auth: builtins.bool
|
|
11624
|
+
ephemeral_suffix: builtins.str
|
|
11625
|
+
"""Additional URL suffix added for ephemeral Apps"""
|
|
10218
11626
|
def __init__(
|
|
10219
11627
|
self,
|
|
10220
11628
|
*,
|
|
@@ -10227,11 +11635,88 @@ class WebhookConfig(google.protobuf.message.Message):
|
|
|
10227
11635
|
web_server_startup_timeout: builtins.float = ...,
|
|
10228
11636
|
web_endpoint_docs: builtins.bool = ...,
|
|
10229
11637
|
requires_proxy_auth: builtins.bool = ...,
|
|
11638
|
+
ephemeral_suffix: builtins.str = ...,
|
|
10230
11639
|
) -> None: ...
|
|
10231
|
-
def ClearField(self, field_name: typing_extensions.Literal["async_mode", b"async_mode", "custom_domains", b"custom_domains", "method", b"method", "requested_suffix", b"requested_suffix", "requires_proxy_auth", b"requires_proxy_auth", "type", b"type", "web_endpoint_docs", b"web_endpoint_docs", "web_server_port", b"web_server_port", "web_server_startup_timeout", b"web_server_startup_timeout"]) -> None: ...
|
|
11640
|
+
def ClearField(self, field_name: typing_extensions.Literal["async_mode", b"async_mode", "custom_domains", b"custom_domains", "ephemeral_suffix", b"ephemeral_suffix", "method", b"method", "requested_suffix", b"requested_suffix", "requires_proxy_auth", b"requires_proxy_auth", "type", b"type", "web_endpoint_docs", b"web_endpoint_docs", "web_server_port", b"web_server_port", "web_server_startup_timeout", b"web_server_startup_timeout"]) -> None: ...
|
|
10232
11641
|
|
|
10233
11642
|
global___WebhookConfig = WebhookConfig
|
|
10234
11643
|
|
|
11644
|
+
class WorkspaceBillingReportItem(google.protobuf.message.Message):
|
|
11645
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
11646
|
+
|
|
11647
|
+
class TagsEntry(google.protobuf.message.Message):
|
|
11648
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
11649
|
+
|
|
11650
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
11651
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
11652
|
+
key: builtins.str
|
|
11653
|
+
value: builtins.str
|
|
11654
|
+
def __init__(
|
|
11655
|
+
self,
|
|
11656
|
+
*,
|
|
11657
|
+
key: builtins.str = ...,
|
|
11658
|
+
value: builtins.str = ...,
|
|
11659
|
+
) -> None: ...
|
|
11660
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
11661
|
+
|
|
11662
|
+
OBJECT_ID_FIELD_NUMBER: builtins.int
|
|
11663
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
11664
|
+
ENVIRONMENT_NAME_FIELD_NUMBER: builtins.int
|
|
11665
|
+
INTERVAL_FIELD_NUMBER: builtins.int
|
|
11666
|
+
COST_FIELD_NUMBER: builtins.int
|
|
11667
|
+
TAGS_FIELD_NUMBER: builtins.int
|
|
11668
|
+
object_id: builtins.str
|
|
11669
|
+
description: builtins.str
|
|
11670
|
+
environment_name: builtins.str
|
|
11671
|
+
@property
|
|
11672
|
+
def interval(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
11673
|
+
cost: builtins.str
|
|
11674
|
+
@property
|
|
11675
|
+
def tags(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
11676
|
+
def __init__(
|
|
11677
|
+
self,
|
|
11678
|
+
*,
|
|
11679
|
+
object_id: builtins.str = ...,
|
|
11680
|
+
description: builtins.str = ...,
|
|
11681
|
+
environment_name: builtins.str = ...,
|
|
11682
|
+
interval: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
11683
|
+
cost: builtins.str = ...,
|
|
11684
|
+
tags: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
11685
|
+
) -> None: ...
|
|
11686
|
+
def HasField(self, field_name: typing_extensions.Literal["interval", b"interval"]) -> builtins.bool: ...
|
|
11687
|
+
def ClearField(self, field_name: typing_extensions.Literal["cost", b"cost", "description", b"description", "environment_name", b"environment_name", "interval", b"interval", "object_id", b"object_id", "tags", b"tags"]) -> None: ...
|
|
11688
|
+
|
|
11689
|
+
global___WorkspaceBillingReportItem = WorkspaceBillingReportItem
|
|
11690
|
+
|
|
11691
|
+
class WorkspaceBillingReportRequest(google.protobuf.message.Message):
|
|
11692
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
11693
|
+
|
|
11694
|
+
START_TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
11695
|
+
END_TIMESTAMP_FIELD_NUMBER: builtins.int
|
|
11696
|
+
RESOLUTION_FIELD_NUMBER: builtins.int
|
|
11697
|
+
TAG_NAMES_FIELD_NUMBER: builtins.int
|
|
11698
|
+
@property
|
|
11699
|
+
def start_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
11700
|
+
"""Workspace ID will be implicit in the request metadata"""
|
|
11701
|
+
@property
|
|
11702
|
+
def end_timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
11703
|
+
resolution: builtins.str
|
|
11704
|
+
"""e.g. 'd' or 'h'; server defines what we accept"""
|
|
11705
|
+
@property
|
|
11706
|
+
def tag_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
11707
|
+
def __init__(
|
|
11708
|
+
self,
|
|
11709
|
+
*,
|
|
11710
|
+
start_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
11711
|
+
end_timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
11712
|
+
resolution: builtins.str = ...,
|
|
11713
|
+
tag_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
11714
|
+
) -> None: ...
|
|
11715
|
+
def HasField(self, field_name: typing_extensions.Literal["end_timestamp", b"end_timestamp", "start_timestamp", b"start_timestamp"]) -> builtins.bool: ...
|
|
11716
|
+
def ClearField(self, field_name: typing_extensions.Literal["end_timestamp", b"end_timestamp", "resolution", b"resolution", "start_timestamp", b"start_timestamp", "tag_names", b"tag_names"]) -> None: ...
|
|
11717
|
+
|
|
11718
|
+
global___WorkspaceBillingReportRequest = WorkspaceBillingReportRequest
|
|
11719
|
+
|
|
10235
11720
|
class WorkspaceNameLookupResponse(google.protobuf.message.Message):
|
|
10236
11721
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
10237
11722
|
|