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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#46)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

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
gcf-owl-bot[bot] committed May 14, 2021
1 parent 6222fff commit fe5836e
Show file tree
Hide file tree
Showing 20 changed files with 875 additions and 607 deletions.
1 change: 0 additions & 1 deletion docs/tables_v1alpha1/tables_service.rst
Expand Up @@ -5,7 +5,6 @@ TablesService
:members:
:inherited-members:


.. automodule:: google.area120.tables_v1alpha1.services.tables_service.pagers
:members:
:inherited-members:
16 changes: 8 additions & 8 deletions google/area120/tables/__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,12 +14,13 @@
# limitations under the License.
#

from google.area120.tables_v1alpha1.services.tables_service.async_client import (
TablesServiceAsyncClient,
)
from google.area120.tables_v1alpha1.services.tables_service.client import (
TablesServiceClient,
)
from google.area120.tables_v1alpha1.services.tables_service.async_client import (
TablesServiceAsyncClient,
)

from google.area120.tables_v1alpha1.types.tables import BatchCreateRowsRequest
from google.area120.tables_v1alpha1.types.tables import BatchCreateRowsResponse
from google.area120.tables_v1alpha1.types.tables import BatchDeleteRowsRequest
Expand All @@ -44,10 +44,12 @@
from google.area120.tables_v1alpha1.types.tables import Row
from google.area120.tables_v1alpha1.types.tables import Table
from google.area120.tables_v1alpha1.types.tables import UpdateRowRequest
from google.area120.tables_v1alpha1.types.tables import View
from google.area120.tables_v1alpha1.types.tables import Workspace
from google.area120.tables_v1alpha1.types.tables import View

__all__ = (
"TablesServiceClient",
"TablesServiceAsyncClient",
"BatchCreateRowsRequest",
"BatchCreateRowsResponse",
"BatchDeleteRowsRequest",
Expand All @@ -70,9 +72,7 @@
"RelationshipDetails",
"Row",
"Table",
"TablesServiceAsyncClient",
"TablesServiceClient",
"UpdateRowRequest",
"View",
"Workspace",
"View",
)
9 changes: 5 additions & 4 deletions google/area120/tables_v1alpha1/__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,6 +15,8 @@
#

from .services.tables_service import TablesServiceClient
from .services.tables_service import TablesServiceAsyncClient

from .types.tables import BatchCreateRowsRequest
from .types.tables import BatchCreateRowsResponse
from .types.tables import BatchDeleteRowsRequest
Expand All @@ -39,11 +40,11 @@
from .types.tables import Row
from .types.tables import Table
from .types.tables import UpdateRowRequest
from .types.tables import View
from .types.tables import Workspace

from .types.tables import View

__all__ = (
"TablesServiceAsyncClient",
"BatchCreateRowsRequest",
"BatchCreateRowsResponse",
"BatchDeleteRowsRequest",
Expand All @@ -66,8 +67,8 @@
"RelationshipDetails",
"Row",
"Table",
"TablesServiceClient",
"UpdateRowRequest",
"View",
"Workspace",
"TablesServiceClient",
)
143 changes: 143 additions & 0 deletions google/area120/tables_v1alpha1/gapic_metadata.json
@@ -0,0 +1,143 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.area120.tables_v1alpha1",
"protoPackage": "google.area120.tables.v1alpha1",
"schema": "1.0",
"services": {
"TablesService": {
"clients": {
"grpc": {
"libraryClient": "TablesServiceClient",
"rpcs": {
"BatchCreateRows": {
"methods": [
"batch_create_rows"
]
},
"BatchDeleteRows": {
"methods": [
"batch_delete_rows"
]
},
"BatchUpdateRows": {
"methods": [
"batch_update_rows"
]
},
"CreateRow": {
"methods": [
"create_row"
]
},
"DeleteRow": {
"methods": [
"delete_row"
]
},
"GetRow": {
"methods": [
"get_row"
]
},
"GetTable": {
"methods": [
"get_table"
]
},
"GetWorkspace": {
"methods": [
"get_workspace"
]
},
"ListRows": {
"methods": [
"list_rows"
]
},
"ListTables": {
"methods": [
"list_tables"
]
},
"ListWorkspaces": {
"methods": [
"list_workspaces"
]
},
"UpdateRow": {
"methods": [
"update_row"
]
}
}
},
"grpc-async": {
"libraryClient": "TablesServiceAsyncClient",
"rpcs": {
"BatchCreateRows": {
"methods": [
"batch_create_rows"
]
},
"BatchDeleteRows": {
"methods": [
"batch_delete_rows"
]
},
"BatchUpdateRows": {
"methods": [
"batch_update_rows"
]
},
"CreateRow": {
"methods": [
"create_row"
]
},
"DeleteRow": {
"methods": [
"delete_row"
]
},
"GetRow": {
"methods": [
"get_row"
]
},
"GetTable": {
"methods": [
"get_table"
]
},
"GetWorkspace": {
"methods": [
"get_workspace"
]
},
"ListRows": {
"methods": [
"list_rows"
]
},
"ListTables": {
"methods": [
"list_tables"
]
},
"ListWorkspaces": {
"methods": [
"list_workspaces"
]
},
"UpdateRow": {
"methods": [
"update_row"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/area120/tables_v1alpha1/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 TablesServiceClient
from .async_client import TablesServiceAsyncClient

Expand Down

0 comments on commit fe5836e

Please sign in to comment.