yandexcloud 0.364.0__py3-none-any.whl → 0.367.0__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 yandexcloud might be problematic. Click here for more details.

Files changed (152) hide show
  1. yandex/cloud/access/access_pb2.py +5 -3
  2. yandex/cloud/access/access_pb2.pyi +24 -0
  3. yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +34 -32
  4. yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +9 -1
  5. yandex/cloud/audittrails/v1/trail_pb2.py +9 -11
  6. yandex/cloud/audittrails/v1/trail_pb2.pyi +1 -5
  7. yandex/cloud/backup/v1/policy_pb2.py +9 -9
  8. yandex/cloud/backup/v1/policy_pb2.pyi +8 -0
  9. yandex/cloud/baremetal/v1alpha/standard_image_pb2.py +37 -0
  10. yandex/cloud/baremetal/v1alpha/standard_image_pb2.pyi +37 -0
  11. yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.py +24 -0
  12. yandex/cloud/baremetal/v1alpha/standard_image_pb2_grpc.pyi +17 -0
  13. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.py +56 -0
  14. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2.pyi +118 -0
  15. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.py +148 -0
  16. yandex/cloud/baremetal/v1alpha/standard_image_service_pb2_grpc.pyi +80 -0
  17. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.py +60 -0
  18. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2.pyi +353 -0
  19. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.py +24 -0
  20. yandex/cloud/cloudregistry/v1/lifecycle_policy_pb2_grpc.pyi +17 -0
  21. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.py +106 -0
  22. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2.pyi +238 -0
  23. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.py +324 -0
  24. yandex/cloud/cloudregistry/v1/lifecycle_policy_service_pb2_grpc.pyi +153 -0
  25. yandex/cloud/compute/v1/instance_service_pb2.pyi +8 -1
  26. yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
  27. yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
  28. yandex/cloud/connectionmanager/v1/storedoc_pb2.py +50 -0
  29. yandex/cloud/connectionmanager/v1/storedoc_pb2.pyi +172 -0
  30. yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.py +24 -0
  31. yandex/cloud/connectionmanager/v1/storedoc_pb2_grpc.pyi +17 -0
  32. yandex/cloud/dns/v1/dns_zone_service_pb2.py +37 -27
  33. yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +42 -0
  34. yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.py +44 -0
  35. yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.pyi +20 -0
  36. yandex/cloud/gitlab/v1/package_options_pb2.py +35 -0
  37. yandex/cloud/gitlab/v1/package_options_pb2.pyi +8 -0
  38. yandex/cloud/gitlab/v1/package_options_pb2_grpc.py +24 -0
  39. yandex/cloud/gitlab/v1/package_options_pb2_grpc.pyi +17 -0
  40. yandex/cloud/iam/v1/access_policy_template_service_pb2.py +50 -0
  41. yandex/cloud/iam/v1/access_policy_template_service_pb2.pyi +67 -0
  42. yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.py +98 -0
  43. yandex/cloud/iam/v1/access_policy_template_service_pb2_grpc.pyi +44 -0
  44. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +11 -11
  45. yandex/cloud/kms/v1/symmetric_key_pb2.py +3 -3
  46. yandex/cloud/kms/v1/symmetric_key_pb2.pyi +4 -0
  47. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +184 -177
  48. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +133 -0
  49. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +61 -0
  50. yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +16 -16
  51. yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +3 -15
  52. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +98 -91
  53. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +3 -15
  54. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +133 -0
  55. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +61 -0
  56. yandex/cloud/mdb/greenplum/v1/config_pb2.py +11 -29
  57. yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +0 -399
  58. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +28 -28
  59. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +5 -1
  60. yandex/cloud/mdb/kafka/v1/cluster_service_pb2.py +70 -63
  61. yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.py +133 -0
  62. yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.pyi +61 -0
  63. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +248 -241
  64. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +133 -0
  65. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +61 -0
  66. yandex/cloud/mdb/mongodb/v1/config/mongodb3_6_pb2.py +4 -4
  67. yandex/cloud/mdb/mongodb/v1/config/mongodb4_0_pb2.py +4 -4
  68. yandex/cloud/mdb/mongodb/v1/config/mongodb4_2_pb2.py +4 -4
  69. yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_enterprise_pb2.py +4 -4
  70. yandex/cloud/mdb/mongodb/v1/config/mongodb4_4_pb2.py +4 -4
  71. yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_enterprise_pb2.py +4 -4
  72. yandex/cloud/mdb/mongodb/v1/config/mongodb5_0_pb2.py +4 -4
  73. yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_enterprise_pb2.py +4 -4
  74. yandex/cloud/mdb/mongodb/v1/config/mongodb6_0_pb2.py +4 -4
  75. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +65 -99
  76. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +21 -426
  77. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +110 -103
  78. yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.py +133 -0
  79. yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.pyi +61 -0
  80. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +146 -139
  81. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +133 -0
  82. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +61 -0
  83. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +114 -107
  84. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.py +133 -0
  85. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.pyi +61 -0
  86. yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +132 -125
  87. yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.py +133 -0
  88. yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.pyi +61 -0
  89. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +136 -129
  90. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +133 -0
  91. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +61 -0
  92. yandex/cloud/organizationmanager/v1/idp/application/saml/__init__.py +0 -0
  93. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.py +100 -0
  94. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2.pyi +487 -0
  95. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.py +24 -0
  96. yandex/cloud/organizationmanager/v1/idp/application/saml/application_pb2_grpc.pyi +17 -0
  97. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.py +198 -0
  98. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2.pyi +733 -0
  99. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.py +678 -0
  100. yandex/cloud/organizationmanager/v1/idp/application/saml/application_service_pb2_grpc.pyi +322 -0
  101. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.py +40 -0
  102. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2.pyi +103 -0
  103. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.py +24 -0
  104. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_pb2_grpc.pyi +17 -0
  105. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.py +95 -0
  106. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2.pyi +220 -0
  107. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.py +281 -0
  108. yandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate_service_pb2_grpc.pyi +141 -0
  109. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.py +29 -3
  110. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2.pyi +132 -0
  111. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.py +90 -0
  112. yandex/cloud/organizationmanager/v1/saml/federation_service_pb2_grpc.pyi +52 -0
  113. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
  114. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +5 -1
  115. yandex/cloud/searchapi/v2/wordstat_service_pb2.py +96 -0
  116. yandex/cloud/searchapi/v2/wordstat_service_pb2.pyi +344 -0
  117. yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.py +189 -0
  118. yandex/cloud/searchapi/v2/wordstat_service_pb2_grpc.pyi +90 -0
  119. yandex/cloud/serverless/mcpgateway/__init__.py +0 -0
  120. yandex/cloud/serverless/mcpgateway/v1/__init__.py +0 -0
  121. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.py +152 -0
  122. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2.pyi +780 -0
  123. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.py +24 -0
  124. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_pb2_grpc.pyi +17 -0
  125. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.py +134 -0
  126. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2.pyi +390 -0
  127. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.py +456 -0
  128. yandex/cloud/serverless/mcpgateway/v1/mcp_gateway_service_pb2_grpc.pyi +213 -0
  129. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.py +35 -0
  130. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2.pyi +8 -0
  131. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.py +24 -0
  132. yandex/cloud/serverless/mcpgateway/v1/package_options_pb2_grpc.pyi +17 -0
  133. yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +3 -3
  134. yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +38 -31
  135. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +133 -0
  136. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +61 -0
  137. yandex/cloud/trino/v1/cluster_pb2.py +46 -45
  138. yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
  139. yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
  140. yandex/cloud/trino/v1/cluster_service_pb2.pyi +17 -4
  141. yandex/cloud/trino/v1/resource_management_pb2.py +66 -0
  142. yandex/cloud/trino/v1/resource_management_pb2.pyi +257 -0
  143. yandex/cloud/trino/v1/resource_management_pb2_grpc.py +24 -0
  144. yandex/cloud/trino/v1/resource_management_pb2_grpc.pyi +17 -0
  145. yandex/cloud/video/v1/style_preset_service_pb2.py +20 -20
  146. yandexcloud/__init__.py +1 -1
  147. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/METADATA +1 -1
  148. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/RECORD +152 -85
  149. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/AUTHORS +0 -0
  150. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/LICENSE +0 -0
  151. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/WHEEL +0 -0
  152. {yandexcloud-0.364.0.dist-info → yandexcloud-0.367.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,780 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import google.protobuf.timestamp_pb2
13
+ import sys
14
+ import typing
15
+ import yandex.cloud.logging.v1.log_entry_pb2
16
+
17
+ if sys.version_info >= (3, 10):
18
+ import typing as typing_extensions
19
+ else:
20
+ import typing_extensions
21
+
22
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
23
+
24
+ class _HttpMethod:
25
+ ValueType = typing.NewType("ValueType", builtins.int)
26
+ V: typing_extensions.TypeAlias = ValueType
27
+
28
+ class _HttpMethodEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_HttpMethod.ValueType], builtins.type):
29
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
30
+ HTTP_METHOD_UNSPECIFIED: _HttpMethod.ValueType # 0
31
+ OPTIONS: _HttpMethod.ValueType # 1
32
+ GET: _HttpMethod.ValueType # 2
33
+ HEAD: _HttpMethod.ValueType # 3
34
+ POST: _HttpMethod.ValueType # 4
35
+ PUT: _HttpMethod.ValueType # 5
36
+ PATCH: _HttpMethod.ValueType # 6
37
+ DELETE: _HttpMethod.ValueType # 7
38
+ TRACE: _HttpMethod.ValueType # 8
39
+ CONNECT: _HttpMethod.ValueType # 9
40
+
41
+ class HttpMethod(_HttpMethod, metaclass=_HttpMethodEnumTypeWrapper): ...
42
+
43
+ HTTP_METHOD_UNSPECIFIED: HttpMethod.ValueType # 0
44
+ OPTIONS: HttpMethod.ValueType # 1
45
+ GET: HttpMethod.ValueType # 2
46
+ HEAD: HttpMethod.ValueType # 3
47
+ POST: HttpMethod.ValueType # 4
48
+ PUT: HttpMethod.ValueType # 5
49
+ PATCH: HttpMethod.ValueType # 6
50
+ DELETE: HttpMethod.ValueType # 7
51
+ TRACE: HttpMethod.ValueType # 8
52
+ CONNECT: HttpMethod.ValueType # 9
53
+ global___HttpMethod = HttpMethod
54
+
55
+ @typing.final
56
+ class McpGateway(google.protobuf.message.Message):
57
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
58
+
59
+ class _Status:
60
+ ValueType = typing.NewType("ValueType", builtins.int)
61
+ V: typing_extensions.TypeAlias = ValueType
62
+
63
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[McpGateway._Status.ValueType], builtins.type):
64
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
65
+ STATUS_UNSPECIFIED: McpGateway._Status.ValueType # 0
66
+ CREATING: McpGateway._Status.ValueType # 1
67
+ """MCP Gateway is being created."""
68
+ ACTIVE: McpGateway._Status.ValueType # 2
69
+ """MCP Gateway is ready to use."""
70
+ UPDATING: McpGateway._Status.ValueType # 3
71
+ """MCP Gateway is being updated."""
72
+ DELETING: McpGateway._Status.ValueType # 4
73
+ """MCP Gateway is being deleted."""
74
+ ERROR: McpGateway._Status.ValueType # 5
75
+ """MCP Gateway is in an error state. The only allowed action is delete."""
76
+
77
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
78
+ STATUS_UNSPECIFIED: McpGateway.Status.ValueType # 0
79
+ CREATING: McpGateway.Status.ValueType # 1
80
+ """MCP Gateway is being created."""
81
+ ACTIVE: McpGateway.Status.ValueType # 2
82
+ """MCP Gateway is ready to use."""
83
+ UPDATING: McpGateway.Status.ValueType # 3
84
+ """MCP Gateway is being updated."""
85
+ DELETING: McpGateway.Status.ValueType # 4
86
+ """MCP Gateway is being deleted."""
87
+ ERROR: McpGateway.Status.ValueType # 5
88
+ """MCP Gateway is in an error state. The only allowed action is delete."""
89
+
90
+ @typing.final
91
+ class LabelsEntry(google.protobuf.message.Message):
92
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
93
+
94
+ KEY_FIELD_NUMBER: builtins.int
95
+ VALUE_FIELD_NUMBER: builtins.int
96
+ key: builtins.str
97
+ value: builtins.str
98
+ def __init__(
99
+ self,
100
+ *,
101
+ key: builtins.str = ...,
102
+ value: builtins.str = ...,
103
+ ) -> None: ...
104
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
105
+
106
+ ID_FIELD_NUMBER: builtins.int
107
+ FOLDER_ID_FIELD_NUMBER: builtins.int
108
+ TOOLS_FIELD_NUMBER: builtins.int
109
+ CREATED_AT_FIELD_NUMBER: builtins.int
110
+ NAME_FIELD_NUMBER: builtins.int
111
+ DESCRIPTION_FIELD_NUMBER: builtins.int
112
+ LABELS_FIELD_NUMBER: builtins.int
113
+ STATUS_FIELD_NUMBER: builtins.int
114
+ BASE_DOMAIN_FIELD_NUMBER: builtins.int
115
+ LOG_OPTIONS_FIELD_NUMBER: builtins.int
116
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
117
+ NETWORK_ID_FIELD_NUMBER: builtins.int
118
+ CLOUD_ID_FIELD_NUMBER: builtins.int
119
+ PUBLIC_FIELD_NUMBER: builtins.int
120
+ id: builtins.str
121
+ """ID of the MCP Gateway. Generated at creation time."""
122
+ folder_id: builtins.str
123
+ """ID of the folder that the MCP Gateway belongs to."""
124
+ name: builtins.str
125
+ """Name of the MCP Gateway."""
126
+ description: builtins.str
127
+ """Description of the MCP Gateway."""
128
+ status: global___McpGateway.Status.ValueType
129
+ """Status of the MCP Gateway."""
130
+ base_domain: builtins.str
131
+ """Base domain of the MCP Gateway."""
132
+ service_account_id: builtins.str
133
+ """ID of the Service Account which will be used for resource access in MCP Gateway call."""
134
+ network_id: builtins.str
135
+ """ID of the VPC network MCP Gateway will be executed in, in order to access private resources."""
136
+ cloud_id: builtins.str
137
+ """ID of the cloud that the MCP Gateway belongs to."""
138
+ public: builtins.bool
139
+ """Publicity of the MCP Gateway. Public MCP Gateway can be accessed by anybody."""
140
+ @property
141
+ def tools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___McpTool]:
142
+ """Tools of the MCP Gateway."""
143
+
144
+ @property
145
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
146
+ """Creation timestamp for the MCP Gateway."""
147
+
148
+ @property
149
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
150
+ """MCP Gateway labels as `key:value` pairs."""
151
+
152
+ @property
153
+ def log_options(self) -> global___LogOptions:
154
+ """Log options for the MCP Gateway."""
155
+
156
+ def __init__(
157
+ self,
158
+ *,
159
+ id: builtins.str = ...,
160
+ folder_id: builtins.str = ...,
161
+ tools: collections.abc.Iterable[global___McpTool] | None = ...,
162
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
163
+ name: builtins.str = ...,
164
+ description: builtins.str = ...,
165
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
166
+ status: global___McpGateway.Status.ValueType = ...,
167
+ base_domain: builtins.str = ...,
168
+ log_options: global___LogOptions | None = ...,
169
+ service_account_id: builtins.str = ...,
170
+ network_id: builtins.str = ...,
171
+ cloud_id: builtins.str = ...,
172
+ public: builtins.bool = ...,
173
+ ) -> None: ...
174
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "log_options", b"log_options"]) -> builtins.bool: ...
175
+ def ClearField(self, field_name: typing.Literal["base_domain", b"base_domain", "cloud_id", b"cloud_id", "created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "log_options", b"log_options", "name", b"name", "network_id", b"network_id", "public", b"public", "service_account_id", b"service_account_id", "status", b"status", "tools", b"tools"]) -> None: ...
176
+
177
+ global___McpGateway = McpGateway
178
+
179
+ @typing.final
180
+ class McpGatewayPreview(google.protobuf.message.Message):
181
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
182
+
183
+ @typing.final
184
+ class LabelsEntry(google.protobuf.message.Message):
185
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
186
+
187
+ KEY_FIELD_NUMBER: builtins.int
188
+ VALUE_FIELD_NUMBER: builtins.int
189
+ key: builtins.str
190
+ value: builtins.str
191
+ def __init__(
192
+ self,
193
+ *,
194
+ key: builtins.str = ...,
195
+ value: builtins.str = ...,
196
+ ) -> None: ...
197
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
198
+
199
+ ID_FIELD_NUMBER: builtins.int
200
+ FOLDER_ID_FIELD_NUMBER: builtins.int
201
+ CREATED_AT_FIELD_NUMBER: builtins.int
202
+ NAME_FIELD_NUMBER: builtins.int
203
+ DESCRIPTION_FIELD_NUMBER: builtins.int
204
+ LABELS_FIELD_NUMBER: builtins.int
205
+ STATUS_FIELD_NUMBER: builtins.int
206
+ BASE_DOMAIN_FIELD_NUMBER: builtins.int
207
+ LOG_OPTIONS_FIELD_NUMBER: builtins.int
208
+ NETWORK_ID_FIELD_NUMBER: builtins.int
209
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
210
+ PUBLIC_FIELD_NUMBER: builtins.int
211
+ id: builtins.str
212
+ """ID of the MCP Gateway. Generated at creation time."""
213
+ folder_id: builtins.str
214
+ """ID of the folder that the MCP Gateway belongs to."""
215
+ name: builtins.str
216
+ """Name of the MCP Gateway."""
217
+ description: builtins.str
218
+ """Description of the MCP Gateway."""
219
+ status: global___McpGateway.Status.ValueType
220
+ """Status of the MCP Gateway."""
221
+ base_domain: builtins.str
222
+ """Base domain of the MCP Gateway."""
223
+ network_id: builtins.str
224
+ """ID of the VPC network MCP Gateway will be executed in, in order to access private resources."""
225
+ service_account_id: builtins.str
226
+ """ID of the Service Account which will be used for resource access in MCP Gateway call."""
227
+ public: builtins.bool
228
+ """Publicity of the MCP Gateway. Public MCP Gateway can be accessed by anybody."""
229
+ @property
230
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
231
+ """Creation timestamp for the MCP Gateway."""
232
+
233
+ @property
234
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
235
+ """MCP Gateway labels as `key:value` pairs."""
236
+
237
+ @property
238
+ def log_options(self) -> global___LogOptions:
239
+ """Log options for the MCP Gateway."""
240
+
241
+ def __init__(
242
+ self,
243
+ *,
244
+ id: builtins.str = ...,
245
+ folder_id: builtins.str = ...,
246
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
247
+ name: builtins.str = ...,
248
+ description: builtins.str = ...,
249
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
250
+ status: global___McpGateway.Status.ValueType = ...,
251
+ base_domain: builtins.str = ...,
252
+ log_options: global___LogOptions | None = ...,
253
+ network_id: builtins.str = ...,
254
+ service_account_id: builtins.str = ...,
255
+ public: builtins.bool = ...,
256
+ ) -> None: ...
257
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "log_options", b"log_options"]) -> builtins.bool: ...
258
+ def ClearField(self, field_name: typing.Literal["base_domain", b"base_domain", "created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "log_options", b"log_options", "name", b"name", "network_id", b"network_id", "public", b"public", "service_account_id", b"service_account_id", "status", b"status"]) -> None: ...
259
+
260
+ global___McpGatewayPreview = McpGatewayPreview
261
+
262
+ @typing.final
263
+ class LogOptions(google.protobuf.message.Message):
264
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
265
+
266
+ DISABLED_FIELD_NUMBER: builtins.int
267
+ LOG_GROUP_ID_FIELD_NUMBER: builtins.int
268
+ FOLDER_ID_FIELD_NUMBER: builtins.int
269
+ MIN_LEVEL_FIELD_NUMBER: builtins.int
270
+ disabled: builtins.bool
271
+ """Is logging from MCP Gateway disabled."""
272
+ log_group_id: builtins.str
273
+ """ID of the logging group which should be used for MCP Gateway logs."""
274
+ folder_id: builtins.str
275
+ """ID of the folder which default logging group should be used for MCP Gateway logs."""
276
+ min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType
277
+ """Minimum logs level.
278
+
279
+ See [LogLevel.Level] for details.
280
+ """
281
+ def __init__(
282
+ self,
283
+ *,
284
+ disabled: builtins.bool = ...,
285
+ log_group_id: builtins.str = ...,
286
+ folder_id: builtins.str = ...,
287
+ min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType = ...,
288
+ ) -> None: ...
289
+ def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
290
+ def ClearField(self, field_name: typing.Literal["destination", b"destination", "disabled", b"disabled", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "min_level", b"min_level"]) -> None: ...
291
+ def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["log_group_id", "folder_id"] | None: ...
292
+
293
+ global___LogOptions = LogOptions
294
+
295
+ @typing.final
296
+ class McpTool(google.protobuf.message.Message):
297
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
298
+
299
+ NAME_FIELD_NUMBER: builtins.int
300
+ DESCRIPTION_FIELD_NUMBER: builtins.int
301
+ INPUT_JSON_SCHEMA_FIELD_NUMBER: builtins.int
302
+ ACTION_FIELD_NUMBER: builtins.int
303
+ name: builtins.str
304
+ """Name of the tool."""
305
+ description: builtins.str
306
+ """Description of the tool."""
307
+ input_json_schema: builtins.str
308
+ """JSON Schema describing tool input."""
309
+ @property
310
+ def action(self) -> global___McpToolAction:
311
+ """Action to perform when this tool is invoked."""
312
+
313
+ def __init__(
314
+ self,
315
+ *,
316
+ name: builtins.str = ...,
317
+ description: builtins.str = ...,
318
+ input_json_schema: builtins.str = ...,
319
+ action: global___McpToolAction | None = ...,
320
+ ) -> None: ...
321
+ def HasField(self, field_name: typing.Literal["action", b"action"]) -> builtins.bool: ...
322
+ def ClearField(self, field_name: typing.Literal["action", b"action", "description", b"description", "input_json_schema", b"input_json_schema", "name", b"name"]) -> None: ...
323
+
324
+ global___McpTool = McpTool
325
+
326
+ @typing.final
327
+ class McpToolAction(google.protobuf.message.Message):
328
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
329
+
330
+ FUNCTION_CALL_FIELD_NUMBER: builtins.int
331
+ CONTAINER_CALL_FIELD_NUMBER: builtins.int
332
+ HTTP_CALL_FIELD_NUMBER: builtins.int
333
+ MCP_CALL_FIELD_NUMBER: builtins.int
334
+ GRPC_CALL_FIELD_NUMBER: builtins.int
335
+ START_WORKFLOW_FIELD_NUMBER: builtins.int
336
+ @property
337
+ def function_call(self) -> global___FunctionCall:
338
+ """Call Serverless Function."""
339
+
340
+ @property
341
+ def container_call(self) -> global___ContainerCall:
342
+ """Call Serverless Container."""
343
+
344
+ @property
345
+ def http_call(self) -> global___HttpCall:
346
+ """Send HTTP request."""
347
+
348
+ @property
349
+ def mcp_call(self) -> global___McpCall:
350
+ """Call MCP Gateway."""
351
+
352
+ @property
353
+ def grpc_call(self) -> global___GrpcCall:
354
+ """Call gRPC endpoint. Server must support gRPC reflection."""
355
+
356
+ @property
357
+ def start_workflow(self) -> global___StartWorkflow:
358
+ """Start Workflow."""
359
+
360
+ def __init__(
361
+ self,
362
+ *,
363
+ function_call: global___FunctionCall | None = ...,
364
+ container_call: global___ContainerCall | None = ...,
365
+ http_call: global___HttpCall | None = ...,
366
+ mcp_call: global___McpCall | None = ...,
367
+ grpc_call: global___GrpcCall | None = ...,
368
+ start_workflow: global___StartWorkflow | None = ...,
369
+ ) -> None: ...
370
+ def HasField(self, field_name: typing.Literal["action", b"action", "container_call", b"container_call", "function_call", b"function_call", "grpc_call", b"grpc_call", "http_call", b"http_call", "mcp_call", b"mcp_call", "start_workflow", b"start_workflow"]) -> builtins.bool: ...
371
+ def ClearField(self, field_name: typing.Literal["action", b"action", "container_call", b"container_call", "function_call", b"function_call", "grpc_call", b"grpc_call", "http_call", b"http_call", "mcp_call", b"mcp_call", "start_workflow", b"start_workflow"]) -> None: ...
372
+ def WhichOneof(self, oneof_group: typing.Literal["action", b"action"]) -> typing.Literal["function_call", "container_call", "http_call", "mcp_call", "grpc_call", "start_workflow"] | None: ...
373
+
374
+ global___McpToolAction = McpToolAction
375
+
376
+ @typing.final
377
+ class FunctionCall(google.protobuf.message.Message):
378
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
379
+
380
+ FUNCTION_ID_FIELD_NUMBER: builtins.int
381
+ TAG_FIELD_NUMBER: builtins.int
382
+ function_id: builtins.str
383
+ """ID of serverless function to call."""
384
+ tag: builtins.str
385
+ """Tag of serverless function. If empty, $latest tag will be used."""
386
+ def __init__(
387
+ self,
388
+ *,
389
+ function_id: builtins.str = ...,
390
+ tag: builtins.str = ...,
391
+ ) -> None: ...
392
+ def ClearField(self, field_name: typing.Literal["function_id", b"function_id", "tag", b"tag"]) -> None: ...
393
+
394
+ global___FunctionCall = FunctionCall
395
+
396
+ @typing.final
397
+ class ContainerCall(google.protobuf.message.Message):
398
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
399
+
400
+ @typing.final
401
+ class HeadersEntry(google.protobuf.message.Message):
402
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
403
+
404
+ KEY_FIELD_NUMBER: builtins.int
405
+ VALUE_FIELD_NUMBER: builtins.int
406
+ key: builtins.str
407
+ value: builtins.str
408
+ def __init__(
409
+ self,
410
+ *,
411
+ key: builtins.str = ...,
412
+ value: builtins.str = ...,
413
+ ) -> None: ...
414
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
415
+
416
+ @typing.final
417
+ class QueryEntry(google.protobuf.message.Message):
418
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
419
+
420
+ KEY_FIELD_NUMBER: builtins.int
421
+ VALUE_FIELD_NUMBER: builtins.int
422
+ key: builtins.str
423
+ value: builtins.str
424
+ def __init__(
425
+ self,
426
+ *,
427
+ key: builtins.str = ...,
428
+ value: builtins.str = ...,
429
+ ) -> None: ...
430
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
431
+
432
+ CONTAINER_ID_FIELD_NUMBER: builtins.int
433
+ PATH_FIELD_NUMBER: builtins.int
434
+ METHOD_FIELD_NUMBER: builtins.int
435
+ BODY_FIELD_NUMBER: builtins.int
436
+ HEADERS_FIELD_NUMBER: builtins.int
437
+ QUERY_FIELD_NUMBER: builtins.int
438
+ container_id: builtins.str
439
+ """ID of serverless container to call."""
440
+ path: builtins.str
441
+ """Relative request path inside the container."""
442
+ method: global___HttpMethod.ValueType
443
+ """HTTP method to use for the request."""
444
+ body: builtins.str
445
+ """Request body to send to the container."""
446
+ @property
447
+ def headers(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
448
+ """HTTP headers to include in the request."""
449
+
450
+ @property
451
+ def query(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
452
+ """Query string parameters to include in the request."""
453
+
454
+ def __init__(
455
+ self,
456
+ *,
457
+ container_id: builtins.str = ...,
458
+ path: builtins.str = ...,
459
+ method: global___HttpMethod.ValueType = ...,
460
+ body: builtins.str = ...,
461
+ headers: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
462
+ query: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
463
+ ) -> None: ...
464
+ def ClearField(self, field_name: typing.Literal["body", b"body", "container_id", b"container_id", "headers", b"headers", "method", b"method", "path", b"path", "query", b"query"]) -> None: ...
465
+
466
+ global___ContainerCall = ContainerCall
467
+
468
+ @typing.final
469
+ class HttpCall(google.protobuf.message.Message):
470
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
471
+
472
+ @typing.final
473
+ class HeadersEntry(google.protobuf.message.Message):
474
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
475
+
476
+ KEY_FIELD_NUMBER: builtins.int
477
+ VALUE_FIELD_NUMBER: builtins.int
478
+ key: builtins.str
479
+ value: builtins.str
480
+ def __init__(
481
+ self,
482
+ *,
483
+ key: builtins.str = ...,
484
+ value: builtins.str = ...,
485
+ ) -> None: ...
486
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
487
+
488
+ @typing.final
489
+ class QueryEntry(google.protobuf.message.Message):
490
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
491
+
492
+ KEY_FIELD_NUMBER: builtins.int
493
+ VALUE_FIELD_NUMBER: builtins.int
494
+ key: builtins.str
495
+ value: builtins.str
496
+ def __init__(
497
+ self,
498
+ *,
499
+ key: builtins.str = ...,
500
+ value: builtins.str = ...,
501
+ ) -> None: ...
502
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
503
+
504
+ URL_FIELD_NUMBER: builtins.int
505
+ METHOD_FIELD_NUMBER: builtins.int
506
+ BODY_FIELD_NUMBER: builtins.int
507
+ HEADERS_FIELD_NUMBER: builtins.int
508
+ QUERY_FIELD_NUMBER: builtins.int
509
+ USE_SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int
510
+ url: builtins.str
511
+ """Absolute URL to send the request to. (required)"""
512
+ method: global___HttpMethod.ValueType
513
+ """HTTP method to use."""
514
+ body: builtins.str
515
+ """Request body payload."""
516
+ use_service_account: builtins.bool
517
+ """Use MCP Gateway service account credentials for the request."""
518
+ @property
519
+ def headers(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
520
+ """HTTP headers to include."""
521
+
522
+ @property
523
+ def query(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
524
+ """Query string parameters to include."""
525
+
526
+ def __init__(
527
+ self,
528
+ *,
529
+ url: builtins.str = ...,
530
+ method: global___HttpMethod.ValueType = ...,
531
+ body: builtins.str = ...,
532
+ headers: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
533
+ query: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
534
+ use_service_account: builtins.bool = ...,
535
+ ) -> None: ...
536
+ def ClearField(self, field_name: typing.Literal["body", b"body", "headers", b"headers", "method", b"method", "query", b"query", "url", b"url", "use_service_account", b"use_service_account"]) -> None: ...
537
+
538
+ global___HttpCall = HttpCall
539
+
540
+ @typing.final
541
+ class McpCall(google.protobuf.message.Message):
542
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
543
+
544
+ class _Transport:
545
+ ValueType = typing.NewType("ValueType", builtins.int)
546
+ V: typing_extensions.TypeAlias = ValueType
547
+
548
+ class _TransportEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[McpCall._Transport.ValueType], builtins.type):
549
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
550
+ TRANSPORT_UNSPECIFIED: McpCall._Transport.ValueType # 0
551
+ """Unspecified transport."""
552
+ SSE: McpCall._Transport.ValueType # 1
553
+ """Server-Sent Events (HTTP SSE)."""
554
+ STREAMABLE: McpCall._Transport.ValueType # 2
555
+ """Streamable HTTP transport."""
556
+
557
+ class Transport(_Transport, metaclass=_TransportEnumTypeWrapper): ...
558
+ TRANSPORT_UNSPECIFIED: McpCall.Transport.ValueType # 0
559
+ """Unspecified transport."""
560
+ SSE: McpCall.Transport.ValueType # 1
561
+ """Server-Sent Events (HTTP SSE)."""
562
+ STREAMABLE: McpCall.Transport.ValueType # 2
563
+ """Streamable HTTP transport."""
564
+
565
+ @typing.final
566
+ class ForwardHeadersEntry(google.protobuf.message.Message):
567
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
568
+
569
+ KEY_FIELD_NUMBER: builtins.int
570
+ VALUE_FIELD_NUMBER: builtins.int
571
+ key: builtins.str
572
+ value: builtins.str
573
+ def __init__(
574
+ self,
575
+ *,
576
+ key: builtins.str = ...,
577
+ value: builtins.str = ...,
578
+ ) -> None: ...
579
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
580
+
581
+ @typing.final
582
+ class NoAuthorization(google.protobuf.message.Message):
583
+ """No authorization will be sent."""
584
+
585
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
586
+
587
+ def __init__(
588
+ self,
589
+ ) -> None: ...
590
+
591
+ @typing.final
592
+ class SaAuthorization(google.protobuf.message.Message):
593
+ """Use MCP Gateway service account to authorize."""
594
+
595
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
596
+
597
+ def __init__(
598
+ self,
599
+ ) -> None: ...
600
+
601
+ @typing.final
602
+ class HeaderAuthorization(google.protobuf.message.Message):
603
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
604
+
605
+ HEADER_NAME_FIELD_NUMBER: builtins.int
606
+ HEADER_VALUE_FIELD_NUMBER: builtins.int
607
+ header_name: builtins.str
608
+ """Name of the authorization header to send."""
609
+ header_value: builtins.str
610
+ """Value of the authorization header to send."""
611
+ def __init__(
612
+ self,
613
+ *,
614
+ header_name: builtins.str = ...,
615
+ header_value: builtins.str = ...,
616
+ ) -> None: ...
617
+ def ClearField(self, field_name: typing.Literal["header_name", b"header_name", "header_value", b"header_value"]) -> None: ...
618
+
619
+ @typing.final
620
+ class ToolCall(google.protobuf.message.Message):
621
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
622
+
623
+ TOOL_NAME_FIELD_NUMBER: builtins.int
624
+ PARAMETERS_JSON_FIELD_NUMBER: builtins.int
625
+ tool_name: builtins.str
626
+ """Name of the tool to invoke on the MCP endpoint. (required)"""
627
+ parameters_json: builtins.str
628
+ """JSON-encoded parameters to pass to the tool."""
629
+ def __init__(
630
+ self,
631
+ *,
632
+ tool_name: builtins.str = ...,
633
+ parameters_json: builtins.str = ...,
634
+ ) -> None: ...
635
+ def ClearField(self, field_name: typing.Literal["parameters_json", b"parameters_json", "tool_name", b"tool_name"]) -> None: ...
636
+
637
+ URL_FIELD_NUMBER: builtins.int
638
+ TOOL_CALL_FIELD_NUMBER: builtins.int
639
+ TRANSPORT_FIELD_NUMBER: builtins.int
640
+ UNAUTHORIZED_FIELD_NUMBER: builtins.int
641
+ HEADER_FIELD_NUMBER: builtins.int
642
+ SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int
643
+ FORWARD_HEADERS_FIELD_NUMBER: builtins.int
644
+ url: builtins.str
645
+ """MCP endpoint base URL. (required)"""
646
+ transport: global___McpCall.Transport.ValueType
647
+ """Transport to use for MCP communication."""
648
+ @property
649
+ def tool_call(self) -> global___McpCall.ToolCall: ...
650
+ @property
651
+ def unauthorized(self) -> global___McpCall.NoAuthorization: ...
652
+ @property
653
+ def header(self) -> global___McpCall.HeaderAuthorization: ...
654
+ @property
655
+ def service_account(self) -> global___McpCall.SaAuthorization: ...
656
+ @property
657
+ def forward_headers(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
658
+ """Headers from the incoming request to forward downstream by name."""
659
+
660
+ def __init__(
661
+ self,
662
+ *,
663
+ url: builtins.str = ...,
664
+ tool_call: global___McpCall.ToolCall | None = ...,
665
+ transport: global___McpCall.Transport.ValueType = ...,
666
+ unauthorized: global___McpCall.NoAuthorization | None = ...,
667
+ header: global___McpCall.HeaderAuthorization | None = ...,
668
+ service_account: global___McpCall.SaAuthorization | None = ...,
669
+ forward_headers: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
670
+ ) -> None: ...
671
+ def HasField(self, field_name: typing.Literal["action", b"action", "authorization", b"authorization", "header", b"header", "service_account", b"service_account", "tool_call", b"tool_call", "unauthorized", b"unauthorized"]) -> builtins.bool: ...
672
+ def ClearField(self, field_name: typing.Literal["action", b"action", "authorization", b"authorization", "forward_headers", b"forward_headers", "header", b"header", "service_account", b"service_account", "tool_call", b"tool_call", "transport", b"transport", "unauthorized", b"unauthorized", "url", b"url"]) -> None: ...
673
+ @typing.overload
674
+ def WhichOneof(self, oneof_group: typing.Literal["action", b"action"]) -> typing.Literal["tool_call"] | None: ...
675
+ @typing.overload
676
+ def WhichOneof(self, oneof_group: typing.Literal["authorization", b"authorization"]) -> typing.Literal["unauthorized", "header", "service_account"] | None: ...
677
+
678
+ global___McpCall = McpCall
679
+
680
+ @typing.final
681
+ class GrpcCall(google.protobuf.message.Message):
682
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
683
+
684
+ @typing.final
685
+ class HeadersEntry(google.protobuf.message.Message):
686
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
687
+
688
+ KEY_FIELD_NUMBER: builtins.int
689
+ VALUE_FIELD_NUMBER: builtins.int
690
+ key: builtins.str
691
+ value: builtins.str
692
+ def __init__(
693
+ self,
694
+ *,
695
+ key: builtins.str = ...,
696
+ value: builtins.str = ...,
697
+ ) -> None: ...
698
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
699
+
700
+ ENDPOINT_FIELD_NUMBER: builtins.int
701
+ METHOD_FIELD_NUMBER: builtins.int
702
+ USE_SERVICE_ACCOUNT_FIELD_NUMBER: builtins.int
703
+ BODY_FIELD_NUMBER: builtins.int
704
+ HEADERS_FIELD_NUMBER: builtins.int
705
+ endpoint: builtins.str
706
+ """gRPC server endpoint, e.g., host:port. (required)"""
707
+ method: builtins.str
708
+ """Fully qualified gRPC method name, e.g., package.Service/Method. (required)"""
709
+ use_service_account: builtins.bool
710
+ """Use MCP Gateway service account for authentication."""
711
+ body: builtins.str
712
+ """Request body payload for the call."""
713
+ @property
714
+ def headers(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
715
+ """gRPC/HTTP headers to include with the call."""
716
+
717
+ def __init__(
718
+ self,
719
+ *,
720
+ endpoint: builtins.str = ...,
721
+ method: builtins.str = ...,
722
+ use_service_account: builtins.bool = ...,
723
+ body: builtins.str = ...,
724
+ headers: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
725
+ ) -> None: ...
726
+ def ClearField(self, field_name: typing.Literal["body", b"body", "endpoint", b"endpoint", "headers", b"headers", "method", b"method", "use_service_account", b"use_service_account"]) -> None: ...
727
+
728
+ global___GrpcCall = GrpcCall
729
+
730
+ @typing.final
731
+ class StartWorkflow(google.protobuf.message.Message):
732
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
733
+
734
+ class _Mode:
735
+ ValueType = typing.NewType("ValueType", builtins.int)
736
+ V: typing_extensions.TypeAlias = ValueType
737
+
738
+ class _ModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[StartWorkflow._Mode.ValueType], builtins.type):
739
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
740
+ MODE_UNSPECIFIED: StartWorkflow._Mode.ValueType # 0
741
+ """Unspecified mode. When not set, defaults to SYNC behavior."""
742
+ SYNC: StartWorkflow._Mode.ValueType # 1
743
+ """Synchronous mode. The call blocks until the workflow execution completes."""
744
+ ASYNC: StartWorkflow._Mode.ValueType # 2
745
+ """Asynchronous mode. The call returns immediately after starting the workflow.
746
+ Returns the execution ID for tracking the workflow progress separately.
747
+ """
748
+
749
+ class Mode(_Mode, metaclass=_ModeEnumTypeWrapper): ...
750
+ MODE_UNSPECIFIED: StartWorkflow.Mode.ValueType # 0
751
+ """Unspecified mode. When not set, defaults to SYNC behavior."""
752
+ SYNC: StartWorkflow.Mode.ValueType # 1
753
+ """Synchronous mode. The call blocks until the workflow execution completes."""
754
+ ASYNC: StartWorkflow.Mode.ValueType # 2
755
+ """Asynchronous mode. The call returns immediately after starting the workflow.
756
+ Returns the execution ID for tracking the workflow progress separately.
757
+ """
758
+
759
+ WORKFLOW_ID_FIELD_NUMBER: builtins.int
760
+ INPUT_JSON_FIELD_NUMBER: builtins.int
761
+ MODE_FIELD_NUMBER: builtins.int
762
+ workflow_id: builtins.str
763
+ """ID of the Workflow to start. (required)"""
764
+ input_json: builtins.str
765
+ """JSON-encoded workflow input payload."""
766
+ mode: global___StartWorkflow.Mode.ValueType
767
+ """Execution mode for the workflow.
768
+ Determines whether the call should wait for workflow completion (SYNC)
769
+ or return immediately after starting the workflow (ASYNC).
770
+ """
771
+ def __init__(
772
+ self,
773
+ *,
774
+ workflow_id: builtins.str = ...,
775
+ input_json: builtins.str = ...,
776
+ mode: global___StartWorkflow.Mode.ValueType = ...,
777
+ ) -> None: ...
778
+ def ClearField(self, field_name: typing.Literal["input_json", b"input_json", "mode", b"mode", "workflow_id", b"workflow_id"]) -> None: ...
779
+
780
+ global___StartWorkflow = StartWorkflow