Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 1165c47

Browse files
authored
chore: update owlbot.py to properly copy folders from googleapis-gen (#60)
chore: upgrade gapic-generator-python to 0.46.3 fix: add async client to %name_%version/init.py chore: add autogenerated snippets chore: remove auth, policy, and options from the reserved names list feat: support self-signed JWT flow for service accounts chore: enable GAPIC metadata generation chore: sort subpackages in %namespace/%name/init.py
1 parent 478e4e5 commit 1165c47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2347
-1501
lines changed

.github/.OwlBot.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ deep-copy-regex:
2222
- source: /google/cloud/workflows/executions/(v.*)/.*-py/(.*)
2323
dest: /owl-bot-staging/executions/$1/$2
2424
- source: /google/cloud/workflows/(v.*)/.*-py/(.*)
25-
dest: /owl-bot-staging/$1/$2
25+
dest: /owl-bot-staging/workflows/$1/$2
2626

2727
begin-after-commit-hash: acb4b773a6df45f9303067ffcb21387a7b6ad40d
2828

docs/executions_v1/executions.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Executions
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.workflows.executions_v1.services.executions.pagers
109
:members:
1110
:inherited-members:

docs/executions_v1beta/executions.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Executions
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.workflows.executions_v1beta.services.executions.pagers
109
:members:
1110
:inherited-members:

docs/workflows_v1/workflows.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Workflows
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.workflows_v1.services.workflows.pagers
109
:members:
1110
:inherited-members:

docs/workflows_v1beta/workflows.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Workflows
55
:members:
66
:inherited-members:
77

8-
98
.. automodule:: google.cloud.workflows_v1beta.services.workflows.pagers
109
:members:
1110
:inherited-members:

google/cloud/workflows/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,10 +14,11 @@
1514
# limitations under the License.
1615
#
1716

17+
from google.cloud.workflows_v1.services.workflows.client import WorkflowsClient
1818
from google.cloud.workflows_v1.services.workflows.async_client import (
1919
WorkflowsAsyncClient,
2020
)
21-
from google.cloud.workflows_v1.services.workflows.client import WorkflowsClient
21+
2222
from google.cloud.workflows_v1.types.workflows import CreateWorkflowRequest
2323
from google.cloud.workflows_v1.types.workflows import DeleteWorkflowRequest
2424
from google.cloud.workflows_v1.types.workflows import GetWorkflowRequest
@@ -29,6 +29,8 @@
2929
from google.cloud.workflows_v1.types.workflows import Workflow
3030

3131
__all__ = (
32+
"WorkflowsClient",
33+
"WorkflowsAsyncClient",
3234
"CreateWorkflowRequest",
3335
"DeleteWorkflowRequest",
3436
"GetWorkflowRequest",
@@ -37,6 +39,4 @@
3739
"OperationMetadata",
3840
"UpdateWorkflowRequest",
3941
"Workflow",
40-
"WorkflowsAsyncClient",
41-
"WorkflowsClient",
4242
)
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,28 +14,29 @@
1514
# limitations under the License.
1615
#
1716

18-
from google.cloud.workflows.executions_v1.services.executions.async_client import (
19-
ExecutionsAsyncClient,
20-
)
2117
from google.cloud.workflows.executions_v1.services.executions.client import (
2218
ExecutionsClient,
2319
)
20+
from google.cloud.workflows.executions_v1.services.executions.async_client import (
21+
ExecutionsAsyncClient,
22+
)
23+
2424
from google.cloud.workflows.executions_v1.types.executions import CancelExecutionRequest
2525
from google.cloud.workflows.executions_v1.types.executions import CreateExecutionRequest
2626
from google.cloud.workflows.executions_v1.types.executions import Execution
27-
from google.cloud.workflows.executions_v1.types.executions import ExecutionView
2827
from google.cloud.workflows.executions_v1.types.executions import GetExecutionRequest
2928
from google.cloud.workflows.executions_v1.types.executions import ListExecutionsRequest
3029
from google.cloud.workflows.executions_v1.types.executions import ListExecutionsResponse
30+
from google.cloud.workflows.executions_v1.types.executions import ExecutionView
3131

3232
__all__ = (
33+
"ExecutionsClient",
34+
"ExecutionsAsyncClient",
3335
"CancelExecutionRequest",
3436
"CreateExecutionRequest",
3537
"Execution",
36-
"ExecutionView",
37-
"ExecutionsAsyncClient",
38-
"ExecutionsClient",
3938
"GetExecutionRequest",
4039
"ListExecutionsRequest",
4140
"ListExecutionsResponse",
41+
"ExecutionView",
4242
)

google/cloud/workflows/executions_v1/__init__.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,22 +15,24 @@
1615
#
1716

1817
from .services.executions import ExecutionsClient
18+
from .services.executions import ExecutionsAsyncClient
19+
1920
from .types.executions import CancelExecutionRequest
2021
from .types.executions import CreateExecutionRequest
2122
from .types.executions import Execution
22-
from .types.executions import ExecutionView
2323
from .types.executions import GetExecutionRequest
2424
from .types.executions import ListExecutionsRequest
2525
from .types.executions import ListExecutionsResponse
26-
26+
from .types.executions import ExecutionView
2727

2828
__all__ = (
29+
"ExecutionsAsyncClient",
2930
"CancelExecutionRequest",
3031
"CreateExecutionRequest",
3132
"Execution",
3233
"ExecutionView",
34+
"ExecutionsClient",
3335
"GetExecutionRequest",
3436
"ListExecutionsRequest",
3537
"ListExecutionsResponse",
36-
"ExecutionsClient",
3738
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.workflows.executions_v1",
5+
"protoPackage": "google.cloud.workflows.executions.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"Executions": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ExecutionsClient",
12+
"rpcs": {
13+
"CancelExecution": {
14+
"methods": [
15+
"cancel_execution"
16+
]
17+
},
18+
"CreateExecution": {
19+
"methods": [
20+
"create_execution"
21+
]
22+
},
23+
"GetExecution": {
24+
"methods": [
25+
"get_execution"
26+
]
27+
},
28+
"ListExecutions": {
29+
"methods": [
30+
"list_executions"
31+
]
32+
}
33+
}
34+
},
35+
"grpc-async": {
36+
"libraryClient": "ExecutionsAsyncClient",
37+
"rpcs": {
38+
"CancelExecution": {
39+
"methods": [
40+
"cancel_execution"
41+
]
42+
},
43+
"CreateExecution": {
44+
"methods": [
45+
"create_execution"
46+
]
47+
},
48+
"GetExecution": {
49+
"methods": [
50+
"get_execution"
51+
]
52+
},
53+
"ListExecutions": {
54+
"methods": [
55+
"list_executions"
56+
]
57+
}
58+
}
59+
}
60+
}
61+
}
62+
}
63+
}

google/cloud/workflows/executions_v1/services/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");

google/cloud/workflows/executions_v1/services/executions/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .client import ExecutionsClient
1917
from .async_client import ExecutionsAsyncClient
2018

0 commit comments

Comments
 (0)