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

Commit

Permalink
chore: update owlbot.py to properly copy folders from googleapis-gen (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
parthea committed Jun 16, 2021
1 parent 478e4e5 commit 1165c47
Show file tree
Hide file tree
Showing 73 changed files with 2,347 additions and 1,501 deletions.
2 changes: 1 addition & 1 deletion .github/.OwlBot.yaml
Expand Up @@ -22,7 +22,7 @@ deep-copy-regex:
- source: /google/cloud/workflows/executions/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/executions/$1/$2
- source: /google/cloud/workflows/(v.*)/.*-py/(.*)
dest: /owl-bot-staging/$1/$2
dest: /owl-bot-staging/workflows/$1/$2

begin-after-commit-hash: acb4b773a6df45f9303067ffcb21387a7b6ad40d

1 change: 0 additions & 1 deletion docs/executions_v1/executions.rst
Expand Up @@ -5,7 +5,6 @@ Executions
:members:
:inherited-members:


.. automodule:: google.cloud.workflows.executions_v1.services.executions.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/executions_v1beta/executions.rst
Expand Up @@ -5,7 +5,6 @@ Executions
:members:
:inherited-members:


.. automodule:: google.cloud.workflows.executions_v1beta.services.executions.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/workflows_v1/workflows.rst
Expand Up @@ -5,7 +5,6 @@ Workflows
:members:
:inherited-members:


.. automodule:: google.cloud.workflows_v1.services.workflows.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/workflows_v1beta/workflows.rst
Expand Up @@ -5,7 +5,6 @@ Workflows
:members:
:inherited-members:


.. automodule:: google.cloud.workflows_v1beta.services.workflows.pagers
:members:
:inherited-members:
8 changes: 4 additions & 4 deletions google/cloud/workflows/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,10 +14,11 @@
# limitations under the License.
#

from google.cloud.workflows_v1.services.workflows.client import WorkflowsClient
from google.cloud.workflows_v1.services.workflows.async_client import (
WorkflowsAsyncClient,
)
from google.cloud.workflows_v1.services.workflows.client import WorkflowsClient

from google.cloud.workflows_v1.types.workflows import CreateWorkflowRequest
from google.cloud.workflows_v1.types.workflows import DeleteWorkflowRequest
from google.cloud.workflows_v1.types.workflows import GetWorkflowRequest
Expand All @@ -29,6 +29,8 @@
from google.cloud.workflows_v1.types.workflows import Workflow

__all__ = (
"WorkflowsClient",
"WorkflowsAsyncClient",
"CreateWorkflowRequest",
"DeleteWorkflowRequest",
"GetWorkflowRequest",
Expand All @@ -37,6 +39,4 @@
"OperationMetadata",
"UpdateWorkflowRequest",
"Workflow",
"WorkflowsAsyncClient",
"WorkflowsClient",
)
16 changes: 8 additions & 8 deletions google/cloud/workflows/executions/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,28 +14,29 @@
# limitations under the License.
#

from google.cloud.workflows.executions_v1.services.executions.async_client import (
ExecutionsAsyncClient,
)
from google.cloud.workflows.executions_v1.services.executions.client import (
ExecutionsClient,
)
from google.cloud.workflows.executions_v1.services.executions.async_client import (
ExecutionsAsyncClient,
)

from google.cloud.workflows.executions_v1.types.executions import CancelExecutionRequest
from google.cloud.workflows.executions_v1.types.executions import CreateExecutionRequest
from google.cloud.workflows.executions_v1.types.executions import Execution
from google.cloud.workflows.executions_v1.types.executions import ExecutionView
from google.cloud.workflows.executions_v1.types.executions import GetExecutionRequest
from google.cloud.workflows.executions_v1.types.executions import ListExecutionsRequest
from google.cloud.workflows.executions_v1.types.executions import ListExecutionsResponse
from google.cloud.workflows.executions_v1.types.executions import ExecutionView

__all__ = (
"ExecutionsClient",
"ExecutionsAsyncClient",
"CancelExecutionRequest",
"CreateExecutionRequest",
"Execution",
"ExecutionView",
"ExecutionsAsyncClient",
"ExecutionsClient",
"GetExecutionRequest",
"ListExecutionsRequest",
"ListExecutionsResponse",
"ExecutionView",
)
9 changes: 5 additions & 4 deletions google/cloud/workflows/executions_v1/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,22 +15,24 @@
#

from .services.executions import ExecutionsClient
from .services.executions import ExecutionsAsyncClient

from .types.executions import CancelExecutionRequest
from .types.executions import CreateExecutionRequest
from .types.executions import Execution
from .types.executions import ExecutionView
from .types.executions import GetExecutionRequest
from .types.executions import ListExecutionsRequest
from .types.executions import ListExecutionsResponse

from .types.executions import ExecutionView

__all__ = (
"ExecutionsAsyncClient",
"CancelExecutionRequest",
"CreateExecutionRequest",
"Execution",
"ExecutionView",
"ExecutionsClient",
"GetExecutionRequest",
"ListExecutionsRequest",
"ListExecutionsResponse",
"ExecutionsClient",
)
63 changes: 63 additions & 0 deletions google/cloud/workflows/executions_v1/gapic_metadata.json
@@ -0,0 +1,63 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.workflows.executions_v1",
"protoPackage": "google.cloud.workflows.executions.v1",
"schema": "1.0",
"services": {
"Executions": {
"clients": {
"grpc": {
"libraryClient": "ExecutionsClient",
"rpcs": {
"CancelExecution": {
"methods": [
"cancel_execution"
]
},
"CreateExecution": {
"methods": [
"create_execution"
]
},
"GetExecution": {
"methods": [
"get_execution"
]
},
"ListExecutions": {
"methods": [
"list_executions"
]
}
}
},
"grpc-async": {
"libraryClient": "ExecutionsAsyncClient",
"rpcs": {
"CancelExecution": {
"methods": [
"cancel_execution"
]
},
"CreateExecution": {
"methods": [
"create_execution"
]
},
"GetExecution": {
"methods": [
"get_execution"
]
},
"ListExecutions": {
"methods": [
"list_executions"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/workflows/executions_v1/services/__init__.py
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import ExecutionsClient
from .async_client import ExecutionsAsyncClient

Expand Down

0 comments on commit 1165c47

Please sign in to comment.