windmill-api 1.480.1__py3-none-any.whl → 1.482.1__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 windmill-api might be problematic. Click here for more details.
- windmill_api/api/agent_workers/__init__.py +0 -0
- windmill_api/api/agent_workers/create_agent_token.py +149 -0
- windmill_api/api/app/sign_s3_objects.py +175 -0
- windmill_api/api/capture/set_capture_config.py +70 -7
- windmill_api/api/concurrency_groups/list_extended_jobs.py +15 -0
- windmill_api/api/gcp_trigger/__init__.py +0 -0
- windmill_api/api/gcp_trigger/create_gcp_trigger.py +105 -0
- windmill_api/api/gcp_trigger/delete_gcp_subscription.py +113 -0
- windmill_api/api/gcp_trigger/delete_gcp_trigger.py +101 -0
- windmill_api/api/gcp_trigger/exists_gcp_trigger.py +160 -0
- windmill_api/api/gcp_trigger/get_gcp_trigger.py +166 -0
- windmill_api/api/gcp_trigger/list_all_t_google_topic_subscriptions.py +179 -0
- windmill_api/api/gcp_trigger/list_gcp_triggers.py +237 -0
- windmill_api/api/gcp_trigger/list_google_topics.py +161 -0
- windmill_api/api/gcp_trigger/set_gcp_trigger_enabled.py +113 -0
- windmill_api/api/gcp_trigger/test_gcp_connection.py +105 -0
- windmill_api/api/gcp_trigger/update_gcp_trigger.py +113 -0
- windmill_api/api/job/batch_re_run_jobs.py +105 -0
- windmill_api/api/job/list_completed_jobs.py +15 -0
- windmill_api/api/job/list_filtered_jobs_uuids.py +633 -0
- windmill_api/api/job/{list_filtered_uuids.py → list_filtered_queue_uuids.py} +19 -4
- windmill_api/api/job/list_jobs.py +15 -0
- windmill_api/api/job/list_queue.py +15 -0
- windmill_api/api/job/list_selected_job_groups.py +104 -0
- windmill_api/models/add_granular_acls_kind.py +1 -0
- windmill_api/models/ai_config_code_completion_model_provider.py +1 -0
- windmill_api/models/ai_config_default_model_provider.py +1 -0
- windmill_api/models/ai_provider.py +1 -0
- windmill_api/models/ai_provider_model_provider.py +1 -0
- windmill_api/models/batch_re_run_jobs_json_body.py +84 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path.py +66 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property.py +86 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms.py +123 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_0.py +78 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_0_type.py +8 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_1.py +75 -0
- windmill_api/models/batch_re_run_jobs_json_body_flow_options_by_path_additional_property_input_transforms_additional_property_type_1_type.py +8 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path.py +66 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property.py +86 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms.py +123 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_0.py +78 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_0_type.py +8 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_1.py +75 -0
- windmill_api/models/batch_re_run_jobs_json_body_script_options_by_path_additional_property_input_transforms_additional_property_type_1_type.py +8 -0
- windmill_api/models/capture_config_trigger_kind.py +1 -0
- windmill_api/models/capture_trigger_kind.py +1 -0
- windmill_api/models/create_agent_token_json_body.py +73 -0
- windmill_api/models/create_gcp_trigger_json_body.py +115 -0
- windmill_api/models/create_gcp_trigger_json_body_subscription_mode.py +69 -0
- windmill_api/models/create_gcp_trigger_json_body_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/delete_gcp_subscription.py +58 -0
- windmill_api/models/delete_gcp_subscription_json_body.py +58 -0
- windmill_api/models/delivery_type.py +9 -0
- windmill_api/models/edit_copilot_config_json_body_code_completion_model_provider.py +1 -0
- windmill_api/models/edit_copilot_config_json_body_default_model_provider.py +1 -0
- windmill_api/models/edit_gcp_trigger.py +114 -0
- windmill_api/models/edit_gcp_trigger_subscription_mode.py +66 -0
- windmill_api/models/edit_gcp_trigger_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/gcp_create_update_subscription.py +91 -0
- windmill_api/models/gcp_create_update_subscription_delivery_config.py +75 -0
- windmill_api/models/gcp_create_update_subscription_delivery_type.py +9 -0
- windmill_api/models/gcp_existing_subscription.py +65 -0
- windmill_api/models/gcp_subscription_mode_config.py +66 -0
- windmill_api/models/gcp_subscription_mode_config_subscription_mode.py +9 -0
- windmill_api/models/gcp_trigger.py +206 -0
- windmill_api/models/gcp_trigger_delivery_config.py +75 -0
- windmill_api/models/gcp_trigger_delivery_type.py +9 -0
- windmill_api/models/gcp_trigger_extra_perms.py +44 -0
- windmill_api/models/get_all_topic_subscription.py +58 -0
- windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +1 -0
- windmill_api/models/get_capture_response_200_trigger_kind.py +1 -0
- windmill_api/models/get_copilot_info_response_200_code_completion_model_provider.py +1 -0
- windmill_api/models/get_copilot_info_response_200_default_model_provider.py +1 -0
- windmill_api/models/get_gcp_trigger_response_200.py +206 -0
- windmill_api/models/get_gcp_trigger_response_200_delivery_config.py +75 -0
- windmill_api/models/get_gcp_trigger_response_200_delivery_type.py +9 -0
- windmill_api/models/get_gcp_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_granular_acls_kind.py +1 -0
- windmill_api/models/get_settings_response_200_ai_config_code_completion_model_provider.py +1 -0
- windmill_api/models/get_settings_response_200_ai_config_default_model_provider.py +1 -0
- windmill_api/models/get_triggers_count_of_flow_response_200.py +8 -0
- windmill_api/models/get_triggers_count_of_script_response_200.py +8 -0
- windmill_api/models/get_used_triggers_response_200.py +7 -0
- windmill_api/models/list_all_t_google_topic_subscriptions_json_body.py +58 -0
- windmill_api/models/list_captures_response_200_item_trigger_kind.py +1 -0
- windmill_api/models/list_captures_trigger_kind.py +1 -0
- windmill_api/models/list_gcp_triggers_response_200_item.py +210 -0
- windmill_api/models/list_gcp_triggers_response_200_item_delivery_config.py +75 -0
- windmill_api/models/list_gcp_triggers_response_200_item_delivery_type.py +9 -0
- windmill_api/models/list_gcp_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/new_gcp_trigger.py +114 -0
- windmill_api/models/new_gcp_trigger_subscription_mode.py +66 -0
- windmill_api/models/new_gcp_trigger_subscription_mode_subscription_mode.py +9 -0
- windmill_api/models/ping_capture_config_trigger_kind.py +1 -0
- windmill_api/models/preview.py +8 -0
- windmill_api/models/push_config.py +75 -0
- windmill_api/models/remove_granular_acls_kind.py +1 -0
- windmill_api/models/run_script_preview_json_body.py +8 -0
- windmill_api/models/s3_object.py +84 -0
- windmill_api/models/set_capture_config_json_body_trigger_kind.py +1 -0
- windmill_api/models/set_capture_config_response_200.py +44 -0
- windmill_api/models/set_gcp_trigger_enabled_json_body.py +58 -0
- windmill_api/models/sign_s3_objects_json_body.py +73 -0
- windmill_api/models/sign_s3_objects_json_body_s3_objects_item.py +84 -0
- windmill_api/models/sign_s3_objects_response_200_item.py +84 -0
- windmill_api/models/subscription_mode.py +9 -0
- windmill_api/models/test_gcp_connection_json_body.py +64 -0
- windmill_api/models/test_gcp_connection_json_body_connection.py +44 -0
- windmill_api/models/triggers_count.py +8 -0
- windmill_api/models/update_gcp_trigger_json_body.py +115 -0
- windmill_api/models/update_gcp_trigger_json_body_subscription_mode.py +69 -0
- windmill_api/models/update_gcp_trigger_json_body_subscription_mode_subscription_mode.py +9 -0
- {windmill_api-1.480.1.dist-info → windmill_api-1.482.1.dist-info}/METADATA +1 -1
- {windmill_api-1.480.1.dist-info → windmill_api-1.482.1.dist-info}/RECORD +116 -37
- {windmill_api-1.480.1.dist-info → windmill_api-1.482.1.dist-info}/LICENSE +0 -0
- {windmill_api-1.480.1.dist-info → windmill_api-1.482.1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="GetGcpTriggerResponse200DeliveryConfig")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class GetGcpTriggerResponse200DeliveryConfig:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
authenticate (bool):
|
|
16
|
+
base_endpoint (str):
|
|
17
|
+
audience (Union[Unset, str]):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
authenticate: bool
|
|
21
|
+
base_endpoint: str
|
|
22
|
+
audience: Union[Unset, str] = UNSET
|
|
23
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
|
+
|
|
25
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
26
|
+
authenticate = self.authenticate
|
|
27
|
+
base_endpoint = self.base_endpoint
|
|
28
|
+
audience = self.audience
|
|
29
|
+
|
|
30
|
+
field_dict: Dict[str, Any] = {}
|
|
31
|
+
field_dict.update(self.additional_properties)
|
|
32
|
+
field_dict.update(
|
|
33
|
+
{
|
|
34
|
+
"authenticate": authenticate,
|
|
35
|
+
"base_endpoint": base_endpoint,
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
if audience is not UNSET:
|
|
39
|
+
field_dict["audience"] = audience
|
|
40
|
+
|
|
41
|
+
return field_dict
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
45
|
+
d = src_dict.copy()
|
|
46
|
+
authenticate = d.pop("authenticate")
|
|
47
|
+
|
|
48
|
+
base_endpoint = d.pop("base_endpoint")
|
|
49
|
+
|
|
50
|
+
audience = d.pop("audience", UNSET)
|
|
51
|
+
|
|
52
|
+
get_gcp_trigger_response_200_delivery_config = cls(
|
|
53
|
+
authenticate=authenticate,
|
|
54
|
+
base_endpoint=base_endpoint,
|
|
55
|
+
audience=audience,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
get_gcp_trigger_response_200_delivery_config.additional_properties = d
|
|
59
|
+
return get_gcp_trigger_response_200_delivery_config
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def additional_keys(self) -> List[str]:
|
|
63
|
+
return list(self.additional_properties.keys())
|
|
64
|
+
|
|
65
|
+
def __getitem__(self, key: str) -> Any:
|
|
66
|
+
return self.additional_properties[key]
|
|
67
|
+
|
|
68
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
69
|
+
self.additional_properties[key] = value
|
|
70
|
+
|
|
71
|
+
def __delitem__(self, key: str) -> None:
|
|
72
|
+
del self.additional_properties[key]
|
|
73
|
+
|
|
74
|
+
def __contains__(self, key: str) -> bool:
|
|
75
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
T = TypeVar("T", bound="GetGcpTriggerResponse200ExtraPerms")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class GetGcpTriggerResponse200ExtraPerms:
|
|
11
|
+
""" """
|
|
12
|
+
|
|
13
|
+
additional_properties: Dict[str, bool] = _attrs_field(init=False, factory=dict)
|
|
14
|
+
|
|
15
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
16
|
+
field_dict: Dict[str, Any] = {}
|
|
17
|
+
field_dict.update(self.additional_properties)
|
|
18
|
+
field_dict.update({})
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
24
|
+
d = src_dict.copy()
|
|
25
|
+
get_gcp_trigger_response_200_extra_perms = cls()
|
|
26
|
+
|
|
27
|
+
get_gcp_trigger_response_200_extra_perms.additional_properties = d
|
|
28
|
+
return get_gcp_trigger_response_200_extra_perms
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> List[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> bool:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: bool) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -28,6 +28,7 @@ class GetTriggersCountOfFlowResponse200:
|
|
|
28
28
|
kafka_count (Union[Unset, float]):
|
|
29
29
|
nats_count (Union[Unset, float]):
|
|
30
30
|
mqtt_count (Union[Unset, float]):
|
|
31
|
+
gcp_count (Union[Unset, float]):
|
|
31
32
|
sqs_count (Union[Unset, float]):
|
|
32
33
|
"""
|
|
33
34
|
|
|
@@ -41,6 +42,7 @@ class GetTriggersCountOfFlowResponse200:
|
|
|
41
42
|
kafka_count: Union[Unset, float] = UNSET
|
|
42
43
|
nats_count: Union[Unset, float] = UNSET
|
|
43
44
|
mqtt_count: Union[Unset, float] = UNSET
|
|
45
|
+
gcp_count: Union[Unset, float] = UNSET
|
|
44
46
|
sqs_count: Union[Unset, float] = UNSET
|
|
45
47
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
46
48
|
|
|
@@ -58,6 +60,7 @@ class GetTriggersCountOfFlowResponse200:
|
|
|
58
60
|
kafka_count = self.kafka_count
|
|
59
61
|
nats_count = self.nats_count
|
|
60
62
|
mqtt_count = self.mqtt_count
|
|
63
|
+
gcp_count = self.gcp_count
|
|
61
64
|
sqs_count = self.sqs_count
|
|
62
65
|
|
|
63
66
|
field_dict: Dict[str, Any] = {}
|
|
@@ -83,6 +86,8 @@ class GetTriggersCountOfFlowResponse200:
|
|
|
83
86
|
field_dict["nats_count"] = nats_count
|
|
84
87
|
if mqtt_count is not UNSET:
|
|
85
88
|
field_dict["mqtt_count"] = mqtt_count
|
|
89
|
+
if gcp_count is not UNSET:
|
|
90
|
+
field_dict["gcp_count"] = gcp_count
|
|
86
91
|
if sqs_count is not UNSET:
|
|
87
92
|
field_dict["sqs_count"] = sqs_count
|
|
88
93
|
|
|
@@ -120,6 +125,8 @@ class GetTriggersCountOfFlowResponse200:
|
|
|
120
125
|
|
|
121
126
|
mqtt_count = d.pop("mqtt_count", UNSET)
|
|
122
127
|
|
|
128
|
+
gcp_count = d.pop("gcp_count", UNSET)
|
|
129
|
+
|
|
123
130
|
sqs_count = d.pop("sqs_count", UNSET)
|
|
124
131
|
|
|
125
132
|
get_triggers_count_of_flow_response_200 = cls(
|
|
@@ -133,6 +140,7 @@ class GetTriggersCountOfFlowResponse200:
|
|
|
133
140
|
kafka_count=kafka_count,
|
|
134
141
|
nats_count=nats_count,
|
|
135
142
|
mqtt_count=mqtt_count,
|
|
143
|
+
gcp_count=gcp_count,
|
|
136
144
|
sqs_count=sqs_count,
|
|
137
145
|
)
|
|
138
146
|
|
|
@@ -28,6 +28,7 @@ class GetTriggersCountOfScriptResponse200:
|
|
|
28
28
|
kafka_count (Union[Unset, float]):
|
|
29
29
|
nats_count (Union[Unset, float]):
|
|
30
30
|
mqtt_count (Union[Unset, float]):
|
|
31
|
+
gcp_count (Union[Unset, float]):
|
|
31
32
|
sqs_count (Union[Unset, float]):
|
|
32
33
|
"""
|
|
33
34
|
|
|
@@ -41,6 +42,7 @@ class GetTriggersCountOfScriptResponse200:
|
|
|
41
42
|
kafka_count: Union[Unset, float] = UNSET
|
|
42
43
|
nats_count: Union[Unset, float] = UNSET
|
|
43
44
|
mqtt_count: Union[Unset, float] = UNSET
|
|
45
|
+
gcp_count: Union[Unset, float] = UNSET
|
|
44
46
|
sqs_count: Union[Unset, float] = UNSET
|
|
45
47
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
46
48
|
|
|
@@ -58,6 +60,7 @@ class GetTriggersCountOfScriptResponse200:
|
|
|
58
60
|
kafka_count = self.kafka_count
|
|
59
61
|
nats_count = self.nats_count
|
|
60
62
|
mqtt_count = self.mqtt_count
|
|
63
|
+
gcp_count = self.gcp_count
|
|
61
64
|
sqs_count = self.sqs_count
|
|
62
65
|
|
|
63
66
|
field_dict: Dict[str, Any] = {}
|
|
@@ -83,6 +86,8 @@ class GetTriggersCountOfScriptResponse200:
|
|
|
83
86
|
field_dict["nats_count"] = nats_count
|
|
84
87
|
if mqtt_count is not UNSET:
|
|
85
88
|
field_dict["mqtt_count"] = mqtt_count
|
|
89
|
+
if gcp_count is not UNSET:
|
|
90
|
+
field_dict["gcp_count"] = gcp_count
|
|
86
91
|
if sqs_count is not UNSET:
|
|
87
92
|
field_dict["sqs_count"] = sqs_count
|
|
88
93
|
|
|
@@ -120,6 +125,8 @@ class GetTriggersCountOfScriptResponse200:
|
|
|
120
125
|
|
|
121
126
|
mqtt_count = d.pop("mqtt_count", UNSET)
|
|
122
127
|
|
|
128
|
+
gcp_count = d.pop("gcp_count", UNSET)
|
|
129
|
+
|
|
123
130
|
sqs_count = d.pop("sqs_count", UNSET)
|
|
124
131
|
|
|
125
132
|
get_triggers_count_of_script_response_200 = cls(
|
|
@@ -133,6 +140,7 @@ class GetTriggersCountOfScriptResponse200:
|
|
|
133
140
|
kafka_count=kafka_count,
|
|
134
141
|
nats_count=nats_count,
|
|
135
142
|
mqtt_count=mqtt_count,
|
|
143
|
+
gcp_count=gcp_count,
|
|
136
144
|
sqs_count=sqs_count,
|
|
137
145
|
)
|
|
138
146
|
|
|
@@ -16,6 +16,7 @@ class GetUsedTriggersResponse200:
|
|
|
16
16
|
nats_used (bool):
|
|
17
17
|
postgres_used (bool):
|
|
18
18
|
mqtt_used (bool):
|
|
19
|
+
gcp_used (bool):
|
|
19
20
|
sqs_used (bool):
|
|
20
21
|
"""
|
|
21
22
|
|
|
@@ -25,6 +26,7 @@ class GetUsedTriggersResponse200:
|
|
|
25
26
|
nats_used: bool
|
|
26
27
|
postgres_used: bool
|
|
27
28
|
mqtt_used: bool
|
|
29
|
+
gcp_used: bool
|
|
28
30
|
sqs_used: bool
|
|
29
31
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
30
32
|
|
|
@@ -35,6 +37,7 @@ class GetUsedTriggersResponse200:
|
|
|
35
37
|
nats_used = self.nats_used
|
|
36
38
|
postgres_used = self.postgres_used
|
|
37
39
|
mqtt_used = self.mqtt_used
|
|
40
|
+
gcp_used = self.gcp_used
|
|
38
41
|
sqs_used = self.sqs_used
|
|
39
42
|
|
|
40
43
|
field_dict: Dict[str, Any] = {}
|
|
@@ -47,6 +50,7 @@ class GetUsedTriggersResponse200:
|
|
|
47
50
|
"nats_used": nats_used,
|
|
48
51
|
"postgres_used": postgres_used,
|
|
49
52
|
"mqtt_used": mqtt_used,
|
|
53
|
+
"gcp_used": gcp_used,
|
|
50
54
|
"sqs_used": sqs_used,
|
|
51
55
|
}
|
|
52
56
|
)
|
|
@@ -68,6 +72,8 @@ class GetUsedTriggersResponse200:
|
|
|
68
72
|
|
|
69
73
|
mqtt_used = d.pop("mqtt_used")
|
|
70
74
|
|
|
75
|
+
gcp_used = d.pop("gcp_used")
|
|
76
|
+
|
|
71
77
|
sqs_used = d.pop("sqs_used")
|
|
72
78
|
|
|
73
79
|
get_used_triggers_response_200 = cls(
|
|
@@ -77,6 +83,7 @@ class GetUsedTriggersResponse200:
|
|
|
77
83
|
nats_used=nats_used,
|
|
78
84
|
postgres_used=postgres_used,
|
|
79
85
|
mqtt_used=mqtt_used,
|
|
86
|
+
gcp_used=gcp_used,
|
|
80
87
|
sqs_used=sqs_used,
|
|
81
88
|
)
|
|
82
89
|
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
T = TypeVar("T", bound="ListAllTGoogleTopicSubscriptionsJsonBody")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@_attrs_define
|
|
10
|
+
class ListAllTGoogleTopicSubscriptionsJsonBody:
|
|
11
|
+
"""
|
|
12
|
+
Attributes:
|
|
13
|
+
topic_id (str):
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
topic_id: str
|
|
17
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
18
|
+
|
|
19
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
20
|
+
topic_id = self.topic_id
|
|
21
|
+
|
|
22
|
+
field_dict: Dict[str, Any] = {}
|
|
23
|
+
field_dict.update(self.additional_properties)
|
|
24
|
+
field_dict.update(
|
|
25
|
+
{
|
|
26
|
+
"topic_id": topic_id,
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
return field_dict
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
34
|
+
d = src_dict.copy()
|
|
35
|
+
topic_id = d.pop("topic_id")
|
|
36
|
+
|
|
37
|
+
list_all_t_google_topic_subscriptions_json_body = cls(
|
|
38
|
+
topic_id=topic_id,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
list_all_t_google_topic_subscriptions_json_body.additional_properties = d
|
|
42
|
+
return list_all_t_google_topic_subscriptions_json_body
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def additional_keys(self) -> List[str]:
|
|
46
|
+
return list(self.additional_properties.keys())
|
|
47
|
+
|
|
48
|
+
def __getitem__(self, key: str) -> Any:
|
|
49
|
+
return self.additional_properties[key]
|
|
50
|
+
|
|
51
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
52
|
+
self.additional_properties[key] = value
|
|
53
|
+
|
|
54
|
+
def __delitem__(self, key: str) -> None:
|
|
55
|
+
del self.additional_properties[key]
|
|
56
|
+
|
|
57
|
+
def __contains__(self, key: str) -> bool:
|
|
58
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
from dateutil.parser import isoparse
|
|
7
|
+
|
|
8
|
+
from ..models.list_gcp_triggers_response_200_item_delivery_type import ListGcpTriggersResponse200ItemDeliveryType
|
|
9
|
+
from ..types import UNSET, Unset
|
|
10
|
+
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
from ..models.list_gcp_triggers_response_200_item_delivery_config import (
|
|
13
|
+
ListGcpTriggersResponse200ItemDeliveryConfig,
|
|
14
|
+
)
|
|
15
|
+
from ..models.list_gcp_triggers_response_200_item_extra_perms import ListGcpTriggersResponse200ItemExtraPerms
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
T = TypeVar("T", bound="ListGcpTriggersResponse200Item")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@_attrs_define
|
|
22
|
+
class ListGcpTriggersResponse200Item:
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
gcp_resource_path (str):
|
|
26
|
+
topic_id (str):
|
|
27
|
+
subscription_id (str):
|
|
28
|
+
delivery_type (ListGcpTriggersResponse200ItemDeliveryType):
|
|
29
|
+
enabled (bool):
|
|
30
|
+
path (str):
|
|
31
|
+
script_path (str):
|
|
32
|
+
email (str):
|
|
33
|
+
extra_perms (ListGcpTriggersResponse200ItemExtraPerms):
|
|
34
|
+
workspace_id (str):
|
|
35
|
+
edited_by (str):
|
|
36
|
+
edited_at (datetime.datetime):
|
|
37
|
+
is_flow (bool):
|
|
38
|
+
server_id (Union[Unset, str]):
|
|
39
|
+
delivery_config (Union[Unset, ListGcpTriggersResponse200ItemDeliveryConfig]):
|
|
40
|
+
last_server_ping (Union[Unset, datetime.datetime]):
|
|
41
|
+
error (Union[Unset, str]):
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
gcp_resource_path: str
|
|
45
|
+
topic_id: str
|
|
46
|
+
subscription_id: str
|
|
47
|
+
delivery_type: ListGcpTriggersResponse200ItemDeliveryType
|
|
48
|
+
enabled: bool
|
|
49
|
+
path: str
|
|
50
|
+
script_path: str
|
|
51
|
+
email: str
|
|
52
|
+
extra_perms: "ListGcpTriggersResponse200ItemExtraPerms"
|
|
53
|
+
workspace_id: str
|
|
54
|
+
edited_by: str
|
|
55
|
+
edited_at: datetime.datetime
|
|
56
|
+
is_flow: bool
|
|
57
|
+
server_id: Union[Unset, str] = UNSET
|
|
58
|
+
delivery_config: Union[Unset, "ListGcpTriggersResponse200ItemDeliveryConfig"] = UNSET
|
|
59
|
+
last_server_ping: Union[Unset, datetime.datetime] = UNSET
|
|
60
|
+
error: Union[Unset, str] = UNSET
|
|
61
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
62
|
+
|
|
63
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
64
|
+
gcp_resource_path = self.gcp_resource_path
|
|
65
|
+
topic_id = self.topic_id
|
|
66
|
+
subscription_id = self.subscription_id
|
|
67
|
+
delivery_type = self.delivery_type.value
|
|
68
|
+
|
|
69
|
+
enabled = self.enabled
|
|
70
|
+
path = self.path
|
|
71
|
+
script_path = self.script_path
|
|
72
|
+
email = self.email
|
|
73
|
+
extra_perms = self.extra_perms.to_dict()
|
|
74
|
+
|
|
75
|
+
workspace_id = self.workspace_id
|
|
76
|
+
edited_by = self.edited_by
|
|
77
|
+
edited_at = self.edited_at.isoformat()
|
|
78
|
+
|
|
79
|
+
is_flow = self.is_flow
|
|
80
|
+
server_id = self.server_id
|
|
81
|
+
delivery_config: Union[Unset, Dict[str, Any]] = UNSET
|
|
82
|
+
if not isinstance(self.delivery_config, Unset):
|
|
83
|
+
delivery_config = self.delivery_config.to_dict()
|
|
84
|
+
|
|
85
|
+
last_server_ping: Union[Unset, str] = UNSET
|
|
86
|
+
if not isinstance(self.last_server_ping, Unset):
|
|
87
|
+
last_server_ping = self.last_server_ping.isoformat()
|
|
88
|
+
|
|
89
|
+
error = self.error
|
|
90
|
+
|
|
91
|
+
field_dict: Dict[str, Any] = {}
|
|
92
|
+
field_dict.update(self.additional_properties)
|
|
93
|
+
field_dict.update(
|
|
94
|
+
{
|
|
95
|
+
"gcp_resource_path": gcp_resource_path,
|
|
96
|
+
"topic_id": topic_id,
|
|
97
|
+
"subscription_id": subscription_id,
|
|
98
|
+
"delivery_type": delivery_type,
|
|
99
|
+
"enabled": enabled,
|
|
100
|
+
"path": path,
|
|
101
|
+
"script_path": script_path,
|
|
102
|
+
"email": email,
|
|
103
|
+
"extra_perms": extra_perms,
|
|
104
|
+
"workspace_id": workspace_id,
|
|
105
|
+
"edited_by": edited_by,
|
|
106
|
+
"edited_at": edited_at,
|
|
107
|
+
"is_flow": is_flow,
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
if server_id is not UNSET:
|
|
111
|
+
field_dict["server_id"] = server_id
|
|
112
|
+
if delivery_config is not UNSET:
|
|
113
|
+
field_dict["delivery_config"] = delivery_config
|
|
114
|
+
if last_server_ping is not UNSET:
|
|
115
|
+
field_dict["last_server_ping"] = last_server_ping
|
|
116
|
+
if error is not UNSET:
|
|
117
|
+
field_dict["error"] = error
|
|
118
|
+
|
|
119
|
+
return field_dict
|
|
120
|
+
|
|
121
|
+
@classmethod
|
|
122
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
123
|
+
from ..models.list_gcp_triggers_response_200_item_delivery_config import (
|
|
124
|
+
ListGcpTriggersResponse200ItemDeliveryConfig,
|
|
125
|
+
)
|
|
126
|
+
from ..models.list_gcp_triggers_response_200_item_extra_perms import ListGcpTriggersResponse200ItemExtraPerms
|
|
127
|
+
|
|
128
|
+
d = src_dict.copy()
|
|
129
|
+
gcp_resource_path = d.pop("gcp_resource_path")
|
|
130
|
+
|
|
131
|
+
topic_id = d.pop("topic_id")
|
|
132
|
+
|
|
133
|
+
subscription_id = d.pop("subscription_id")
|
|
134
|
+
|
|
135
|
+
delivery_type = ListGcpTriggersResponse200ItemDeliveryType(d.pop("delivery_type"))
|
|
136
|
+
|
|
137
|
+
enabled = d.pop("enabled")
|
|
138
|
+
|
|
139
|
+
path = d.pop("path")
|
|
140
|
+
|
|
141
|
+
script_path = d.pop("script_path")
|
|
142
|
+
|
|
143
|
+
email = d.pop("email")
|
|
144
|
+
|
|
145
|
+
extra_perms = ListGcpTriggersResponse200ItemExtraPerms.from_dict(d.pop("extra_perms"))
|
|
146
|
+
|
|
147
|
+
workspace_id = d.pop("workspace_id")
|
|
148
|
+
|
|
149
|
+
edited_by = d.pop("edited_by")
|
|
150
|
+
|
|
151
|
+
edited_at = isoparse(d.pop("edited_at"))
|
|
152
|
+
|
|
153
|
+
is_flow = d.pop("is_flow")
|
|
154
|
+
|
|
155
|
+
server_id = d.pop("server_id", UNSET)
|
|
156
|
+
|
|
157
|
+
_delivery_config = d.pop("delivery_config", UNSET)
|
|
158
|
+
delivery_config: Union[Unset, ListGcpTriggersResponse200ItemDeliveryConfig]
|
|
159
|
+
if isinstance(_delivery_config, Unset):
|
|
160
|
+
delivery_config = UNSET
|
|
161
|
+
else:
|
|
162
|
+
delivery_config = ListGcpTriggersResponse200ItemDeliveryConfig.from_dict(_delivery_config)
|
|
163
|
+
|
|
164
|
+
_last_server_ping = d.pop("last_server_ping", UNSET)
|
|
165
|
+
last_server_ping: Union[Unset, datetime.datetime]
|
|
166
|
+
if isinstance(_last_server_ping, Unset):
|
|
167
|
+
last_server_ping = UNSET
|
|
168
|
+
else:
|
|
169
|
+
last_server_ping = isoparse(_last_server_ping)
|
|
170
|
+
|
|
171
|
+
error = d.pop("error", UNSET)
|
|
172
|
+
|
|
173
|
+
list_gcp_triggers_response_200_item = cls(
|
|
174
|
+
gcp_resource_path=gcp_resource_path,
|
|
175
|
+
topic_id=topic_id,
|
|
176
|
+
subscription_id=subscription_id,
|
|
177
|
+
delivery_type=delivery_type,
|
|
178
|
+
enabled=enabled,
|
|
179
|
+
path=path,
|
|
180
|
+
script_path=script_path,
|
|
181
|
+
email=email,
|
|
182
|
+
extra_perms=extra_perms,
|
|
183
|
+
workspace_id=workspace_id,
|
|
184
|
+
edited_by=edited_by,
|
|
185
|
+
edited_at=edited_at,
|
|
186
|
+
is_flow=is_flow,
|
|
187
|
+
server_id=server_id,
|
|
188
|
+
delivery_config=delivery_config,
|
|
189
|
+
last_server_ping=last_server_ping,
|
|
190
|
+
error=error,
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
list_gcp_triggers_response_200_item.additional_properties = d
|
|
194
|
+
return list_gcp_triggers_response_200_item
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
def additional_keys(self) -> List[str]:
|
|
198
|
+
return list(self.additional_properties.keys())
|
|
199
|
+
|
|
200
|
+
def __getitem__(self, key: str) -> Any:
|
|
201
|
+
return self.additional_properties[key]
|
|
202
|
+
|
|
203
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
204
|
+
self.additional_properties[key] = value
|
|
205
|
+
|
|
206
|
+
def __delitem__(self, key: str) -> None:
|
|
207
|
+
del self.additional_properties[key]
|
|
208
|
+
|
|
209
|
+
def __contains__(self, key: str) -> bool:
|
|
210
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="ListGcpTriggersResponse200ItemDeliveryConfig")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class ListGcpTriggersResponse200ItemDeliveryConfig:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
authenticate (bool):
|
|
16
|
+
base_endpoint (str):
|
|
17
|
+
audience (Union[Unset, str]):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
authenticate: bool
|
|
21
|
+
base_endpoint: str
|
|
22
|
+
audience: Union[Unset, str] = UNSET
|
|
23
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
|
+
|
|
25
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
26
|
+
authenticate = self.authenticate
|
|
27
|
+
base_endpoint = self.base_endpoint
|
|
28
|
+
audience = self.audience
|
|
29
|
+
|
|
30
|
+
field_dict: Dict[str, Any] = {}
|
|
31
|
+
field_dict.update(self.additional_properties)
|
|
32
|
+
field_dict.update(
|
|
33
|
+
{
|
|
34
|
+
"authenticate": authenticate,
|
|
35
|
+
"base_endpoint": base_endpoint,
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
if audience is not UNSET:
|
|
39
|
+
field_dict["audience"] = audience
|
|
40
|
+
|
|
41
|
+
return field_dict
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
45
|
+
d = src_dict.copy()
|
|
46
|
+
authenticate = d.pop("authenticate")
|
|
47
|
+
|
|
48
|
+
base_endpoint = d.pop("base_endpoint")
|
|
49
|
+
|
|
50
|
+
audience = d.pop("audience", UNSET)
|
|
51
|
+
|
|
52
|
+
list_gcp_triggers_response_200_item_delivery_config = cls(
|
|
53
|
+
authenticate=authenticate,
|
|
54
|
+
base_endpoint=base_endpoint,
|
|
55
|
+
audience=audience,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
list_gcp_triggers_response_200_item_delivery_config.additional_properties = d
|
|
59
|
+
return list_gcp_triggers_response_200_item_delivery_config
|
|
60
|
+
|
|
61
|
+
@property
|
|
62
|
+
def additional_keys(self) -> List[str]:
|
|
63
|
+
return list(self.additional_properties.keys())
|
|
64
|
+
|
|
65
|
+
def __getitem__(self, key: str) -> Any:
|
|
66
|
+
return self.additional_properties[key]
|
|
67
|
+
|
|
68
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
69
|
+
self.additional_properties[key] = value
|
|
70
|
+
|
|
71
|
+
def __delitem__(self, key: str) -> None:
|
|
72
|
+
del self.additional_properties[key]
|
|
73
|
+
|
|
74
|
+
def __contains__(self, key: str) -> bool:
|
|
75
|
+
return key in self.additional_properties
|