google-cloud-batch 0.17.35__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.
- google/cloud/batch/__init__.py +93 -0
- google/cloud/batch/gapic_version.py +16 -0
- google/cloud/batch/py.typed +2 -0
- google/cloud/batch_v1/__init__.py +90 -0
- google/cloud/batch_v1/gapic_metadata.json +133 -0
- google/cloud/batch_v1/gapic_version.py +16 -0
- google/cloud/batch_v1/py.typed +2 -0
- google/cloud/batch_v1/services/__init__.py +15 -0
- google/cloud/batch_v1/services/batch_service/__init__.py +22 -0
- google/cloud/batch_v1/services/batch_service/async_client.py +1488 -0
- google/cloud/batch_v1/services/batch_service/client.py +1962 -0
- google/cloud/batch_v1/services/batch_service/pagers.py +353 -0
- google/cloud/batch_v1/services/batch_service/transports/__init__.py +36 -0
- google/cloud/batch_v1/services/batch_service/transports/base.py +366 -0
- google/cloud/batch_v1/services/batch_service/transports/grpc.py +633 -0
- google/cloud/batch_v1/services/batch_service/transports/grpc_asyncio.py +755 -0
- google/cloud/batch_v1/services/batch_service/transports/rest.py +2635 -0
- google/cloud/batch_v1/services/batch_service/transports/rest_base.py +571 -0
- google/cloud/batch_v1/types/__init__.py +82 -0
- google/cloud/batch_v1/types/batch.py +421 -0
- google/cloud/batch_v1/types/job.py +1171 -0
- google/cloud/batch_v1/types/task.py +810 -0
- google/cloud/batch_v1/types/volume.py +145 -0
- google/cloud/batch_v1alpha/__init__.py +127 -0
- google/cloud/batch_v1alpha/gapic_metadata.json +223 -0
- google/cloud/batch_v1alpha/gapic_version.py +16 -0
- google/cloud/batch_v1alpha/py.typed +2 -0
- google/cloud/batch_v1alpha/services/__init__.py +15 -0
- google/cloud/batch_v1alpha/services/batch_service/__init__.py +22 -0
- google/cloud/batch_v1alpha/services/batch_service/async_client.py +2287 -0
- google/cloud/batch_v1alpha/services/batch_service/client.py +2767 -0
- google/cloud/batch_v1alpha/services/batch_service/pagers.py +509 -0
- google/cloud/batch_v1alpha/services/batch_service/transports/__init__.py +36 -0
- google/cloud/batch_v1alpha/services/batch_service/transports/base.py +481 -0
- google/cloud/batch_v1alpha/services/batch_service/transports/grpc.py +801 -0
- google/cloud/batch_v1alpha/services/batch_service/transports/grpc_asyncio.py +977 -0
- google/cloud/batch_v1alpha/services/batch_service/transports/rest.py +3953 -0
- google/cloud/batch_v1alpha/services/batch_service/transports/rest_base.py +891 -0
- google/cloud/batch_v1alpha/types/__init__.py +119 -0
- google/cloud/batch_v1alpha/types/batch.py +743 -0
- google/cloud/batch_v1alpha/types/job.py +1352 -0
- google/cloud/batch_v1alpha/types/notification.py +49 -0
- google/cloud/batch_v1alpha/types/resource_allowance.py +363 -0
- google/cloud/batch_v1alpha/types/task.py +850 -0
- google/cloud/batch_v1alpha/types/volume.py +186 -0
- google_cloud_batch-0.17.35.dist-info/LICENSE +202 -0
- google_cloud_batch-0.17.35.dist-info/METADATA +228 -0
- google_cloud_batch-0.17.35.dist-info/RECORD +50 -0
- google_cloud_batch-0.17.35.dist-info/WHEEL +5 -0
- google_cloud_batch-0.17.35.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from google.cloud.batch import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from google.cloud.batch_v1.services.batch_service.async_client import (
|
|
22
|
+
BatchServiceAsyncClient,
|
|
23
|
+
)
|
|
24
|
+
from google.cloud.batch_v1.services.batch_service.client import BatchServiceClient
|
|
25
|
+
from google.cloud.batch_v1.types.batch import (
|
|
26
|
+
CancelJobRequest,
|
|
27
|
+
CancelJobResponse,
|
|
28
|
+
CreateJobRequest,
|
|
29
|
+
DeleteJobRequest,
|
|
30
|
+
GetJobRequest,
|
|
31
|
+
GetTaskRequest,
|
|
32
|
+
ListJobsRequest,
|
|
33
|
+
ListJobsResponse,
|
|
34
|
+
ListTasksRequest,
|
|
35
|
+
ListTasksResponse,
|
|
36
|
+
OperationMetadata,
|
|
37
|
+
)
|
|
38
|
+
from google.cloud.batch_v1.types.job import (
|
|
39
|
+
AllocationPolicy,
|
|
40
|
+
Job,
|
|
41
|
+
JobNotification,
|
|
42
|
+
JobStatus,
|
|
43
|
+
LogsPolicy,
|
|
44
|
+
ServiceAccount,
|
|
45
|
+
TaskGroup,
|
|
46
|
+
)
|
|
47
|
+
from google.cloud.batch_v1.types.task import (
|
|
48
|
+
ComputeResource,
|
|
49
|
+
Environment,
|
|
50
|
+
LifecyclePolicy,
|
|
51
|
+
Runnable,
|
|
52
|
+
StatusEvent,
|
|
53
|
+
Task,
|
|
54
|
+
TaskExecution,
|
|
55
|
+
TaskSpec,
|
|
56
|
+
TaskStatus,
|
|
57
|
+
)
|
|
58
|
+
from google.cloud.batch_v1.types.volume import GCS, NFS, Volume
|
|
59
|
+
|
|
60
|
+
__all__ = (
|
|
61
|
+
"BatchServiceClient",
|
|
62
|
+
"BatchServiceAsyncClient",
|
|
63
|
+
"CancelJobRequest",
|
|
64
|
+
"CancelJobResponse",
|
|
65
|
+
"CreateJobRequest",
|
|
66
|
+
"DeleteJobRequest",
|
|
67
|
+
"GetJobRequest",
|
|
68
|
+
"GetTaskRequest",
|
|
69
|
+
"ListJobsRequest",
|
|
70
|
+
"ListJobsResponse",
|
|
71
|
+
"ListTasksRequest",
|
|
72
|
+
"ListTasksResponse",
|
|
73
|
+
"OperationMetadata",
|
|
74
|
+
"AllocationPolicy",
|
|
75
|
+
"Job",
|
|
76
|
+
"JobNotification",
|
|
77
|
+
"JobStatus",
|
|
78
|
+
"LogsPolicy",
|
|
79
|
+
"ServiceAccount",
|
|
80
|
+
"TaskGroup",
|
|
81
|
+
"ComputeResource",
|
|
82
|
+
"Environment",
|
|
83
|
+
"LifecyclePolicy",
|
|
84
|
+
"Runnable",
|
|
85
|
+
"StatusEvent",
|
|
86
|
+
"Task",
|
|
87
|
+
"TaskExecution",
|
|
88
|
+
"TaskSpec",
|
|
89
|
+
"TaskStatus",
|
|
90
|
+
"GCS",
|
|
91
|
+
"NFS",
|
|
92
|
+
"Volume",
|
|
93
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
__version__ = "0.17.35" # {x-release-please-version}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from google.cloud.batch_v1 import gapic_version as package_version
|
|
17
|
+
|
|
18
|
+
__version__ = package_version.__version__
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from .services.batch_service import BatchServiceAsyncClient, BatchServiceClient
|
|
22
|
+
from .types.batch import (
|
|
23
|
+
CancelJobRequest,
|
|
24
|
+
CancelJobResponse,
|
|
25
|
+
CreateJobRequest,
|
|
26
|
+
DeleteJobRequest,
|
|
27
|
+
GetJobRequest,
|
|
28
|
+
GetTaskRequest,
|
|
29
|
+
ListJobsRequest,
|
|
30
|
+
ListJobsResponse,
|
|
31
|
+
ListTasksRequest,
|
|
32
|
+
ListTasksResponse,
|
|
33
|
+
OperationMetadata,
|
|
34
|
+
)
|
|
35
|
+
from .types.job import (
|
|
36
|
+
AllocationPolicy,
|
|
37
|
+
Job,
|
|
38
|
+
JobNotification,
|
|
39
|
+
JobStatus,
|
|
40
|
+
LogsPolicy,
|
|
41
|
+
ServiceAccount,
|
|
42
|
+
TaskGroup,
|
|
43
|
+
)
|
|
44
|
+
from .types.task import (
|
|
45
|
+
ComputeResource,
|
|
46
|
+
Environment,
|
|
47
|
+
LifecyclePolicy,
|
|
48
|
+
Runnable,
|
|
49
|
+
StatusEvent,
|
|
50
|
+
Task,
|
|
51
|
+
TaskExecution,
|
|
52
|
+
TaskSpec,
|
|
53
|
+
TaskStatus,
|
|
54
|
+
)
|
|
55
|
+
from .types.volume import GCS, NFS, Volume
|
|
56
|
+
|
|
57
|
+
__all__ = (
|
|
58
|
+
"BatchServiceAsyncClient",
|
|
59
|
+
"AllocationPolicy",
|
|
60
|
+
"BatchServiceClient",
|
|
61
|
+
"CancelJobRequest",
|
|
62
|
+
"CancelJobResponse",
|
|
63
|
+
"ComputeResource",
|
|
64
|
+
"CreateJobRequest",
|
|
65
|
+
"DeleteJobRequest",
|
|
66
|
+
"Environment",
|
|
67
|
+
"GCS",
|
|
68
|
+
"GetJobRequest",
|
|
69
|
+
"GetTaskRequest",
|
|
70
|
+
"Job",
|
|
71
|
+
"JobNotification",
|
|
72
|
+
"JobStatus",
|
|
73
|
+
"LifecyclePolicy",
|
|
74
|
+
"ListJobsRequest",
|
|
75
|
+
"ListJobsResponse",
|
|
76
|
+
"ListTasksRequest",
|
|
77
|
+
"ListTasksResponse",
|
|
78
|
+
"LogsPolicy",
|
|
79
|
+
"NFS",
|
|
80
|
+
"OperationMetadata",
|
|
81
|
+
"Runnable",
|
|
82
|
+
"ServiceAccount",
|
|
83
|
+
"StatusEvent",
|
|
84
|
+
"Task",
|
|
85
|
+
"TaskExecution",
|
|
86
|
+
"TaskGroup",
|
|
87
|
+
"TaskSpec",
|
|
88
|
+
"TaskStatus",
|
|
89
|
+
"Volume",
|
|
90
|
+
)
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
3
|
+
"language": "python",
|
|
4
|
+
"libraryPackage": "google.cloud.batch_v1",
|
|
5
|
+
"protoPackage": "google.cloud.batch.v1",
|
|
6
|
+
"schema": "1.0",
|
|
7
|
+
"services": {
|
|
8
|
+
"BatchService": {
|
|
9
|
+
"clients": {
|
|
10
|
+
"grpc": {
|
|
11
|
+
"libraryClient": "BatchServiceClient",
|
|
12
|
+
"rpcs": {
|
|
13
|
+
"CancelJob": {
|
|
14
|
+
"methods": [
|
|
15
|
+
"cancel_job"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"CreateJob": {
|
|
19
|
+
"methods": [
|
|
20
|
+
"create_job"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"DeleteJob": {
|
|
24
|
+
"methods": [
|
|
25
|
+
"delete_job"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"GetJob": {
|
|
29
|
+
"methods": [
|
|
30
|
+
"get_job"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"GetTask": {
|
|
34
|
+
"methods": [
|
|
35
|
+
"get_task"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"ListJobs": {
|
|
39
|
+
"methods": [
|
|
40
|
+
"list_jobs"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"ListTasks": {
|
|
44
|
+
"methods": [
|
|
45
|
+
"list_tasks"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"grpc-async": {
|
|
51
|
+
"libraryClient": "BatchServiceAsyncClient",
|
|
52
|
+
"rpcs": {
|
|
53
|
+
"CancelJob": {
|
|
54
|
+
"methods": [
|
|
55
|
+
"cancel_job"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"CreateJob": {
|
|
59
|
+
"methods": [
|
|
60
|
+
"create_job"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"DeleteJob": {
|
|
64
|
+
"methods": [
|
|
65
|
+
"delete_job"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"GetJob": {
|
|
69
|
+
"methods": [
|
|
70
|
+
"get_job"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"GetTask": {
|
|
74
|
+
"methods": [
|
|
75
|
+
"get_task"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"ListJobs": {
|
|
79
|
+
"methods": [
|
|
80
|
+
"list_jobs"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"ListTasks": {
|
|
84
|
+
"methods": [
|
|
85
|
+
"list_tasks"
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"rest": {
|
|
91
|
+
"libraryClient": "BatchServiceClient",
|
|
92
|
+
"rpcs": {
|
|
93
|
+
"CancelJob": {
|
|
94
|
+
"methods": [
|
|
95
|
+
"cancel_job"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"CreateJob": {
|
|
99
|
+
"methods": [
|
|
100
|
+
"create_job"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"DeleteJob": {
|
|
104
|
+
"methods": [
|
|
105
|
+
"delete_job"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"GetJob": {
|
|
109
|
+
"methods": [
|
|
110
|
+
"get_job"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"GetTask": {
|
|
114
|
+
"methods": [
|
|
115
|
+
"get_task"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"ListJobs": {
|
|
119
|
+
"methods": [
|
|
120
|
+
"list_jobs"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"ListTasks": {
|
|
124
|
+
"methods": [
|
|
125
|
+
"list_tasks"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
__version__ = "0.17.35" # {x-release-please-version}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Google LLC
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
#
|
|
16
|
+
from .async_client import BatchServiceAsyncClient
|
|
17
|
+
from .client import BatchServiceClient
|
|
18
|
+
|
|
19
|
+
__all__ = (
|
|
20
|
+
"BatchServiceClient",
|
|
21
|
+
"BatchServiceAsyncClient",
|
|
22
|
+
)
|