Skip to content

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] authored May 14, 2021
1 parent f7ac9a1 commit 145ccb9
Show file tree
Hide file tree
Showing 20 changed files with 875 additions and 607 deletions.
Original file line number Diff line number Diff line change
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 packages/google-area120-tables/google/area120/tables/__init__.py
Original file line number Diff line number Diff line change
@@ -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",
)
Original file line number Diff line number Diff line change
@@ -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",
)
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 145ccb9

Please sign in to comment.