Skip to content
Permalink
Browse files
chore: use gapic-generator-python 0.51.2 (#89)
- [ ] Regenerate this pull request now.

fix: add 'dict' annotation type to 'request'

Committer: @busunkim96
PiperOrigin-RevId: 398509016

Source-Link: googleapis/googleapis@b224dfa

Source-Link: https://github.com/googleapis/googleapis-gen/commit/63a1db7a38d74b9639592f521ed1daaf7299ad9a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjNhMWRiN2EzOGQ3NGI5NjM5NTkyZjUyMWVkMWRhYWY3Mjk5YWQ5YSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 24, 2021
1 parent 18d2539 commit ee57f81534ac3cc21ced61659ee1796dbe5b4210
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib # type: ignore
@@ -382,7 +382,7 @@ def __init__(

def get_table(
self,
request: tables.GetTableRequest = None,
request: Union[tables.GetTableRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -392,7 +392,7 @@ def get_table(
r"""Gets a table. Returns NOT_FOUND if the table does not exist.
Args:
request (google.area120.tables_v1alpha1.types.GetTableRequest):
request (Union[google.area120.tables_v1alpha1.types.GetTableRequest, dict]):
The request object. Request message for
TablesService.GetTable.
name (str):
@@ -451,7 +451,7 @@ def get_table(

def list_tables(
self,
request: tables.ListTablesRequest = None,
request: Union[tables.ListTablesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -460,7 +460,7 @@ def list_tables(
r"""Lists tables for the user.
Args:
request (google.area120.tables_v1alpha1.types.ListTablesRequest):
request (Union[google.area120.tables_v1alpha1.types.ListTablesRequest, dict]):
The request object. Request message for
TablesService.ListTables.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -504,7 +504,7 @@ def list_tables(

def get_workspace(
self,
request: tables.GetWorkspaceRequest = None,
request: Union[tables.GetWorkspaceRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -515,7 +515,7 @@ def get_workspace(
exist.
Args:
request (google.area120.tables_v1alpha1.types.GetWorkspaceRequest):
request (Union[google.area120.tables_v1alpha1.types.GetWorkspaceRequest, dict]):
The request object. Request message for
TablesService.GetWorkspace.
name (str):
@@ -575,7 +575,7 @@ def get_workspace(

def list_workspaces(
self,
request: tables.ListWorkspacesRequest = None,
request: Union[tables.ListWorkspacesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -584,7 +584,7 @@ def list_workspaces(
r"""Lists workspaces for the user.
Args:
request (google.area120.tables_v1alpha1.types.ListWorkspacesRequest):
request (Union[google.area120.tables_v1alpha1.types.ListWorkspacesRequest, dict]):
The request object. Request message for
TablesService.ListWorkspaces.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -628,7 +628,7 @@ def list_workspaces(

def get_row(
self,
request: tables.GetRowRequest = None,
request: Union[tables.GetRowRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -639,7 +639,7 @@ def get_row(
table.
Args:
request (google.area120.tables_v1alpha1.types.GetRowRequest):
request (Union[google.area120.tables_v1alpha1.types.GetRowRequest, dict]):
The request object. Request message for
TablesService.GetRow.
name (str):
@@ -699,7 +699,7 @@ def get_row(

def list_rows(
self,
request: tables.ListRowsRequest = None,
request: Union[tables.ListRowsRequest, dict] = None,
*,
parent: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -710,7 +710,7 @@ def list_rows(
exist.
Args:
request (google.area120.tables_v1alpha1.types.ListRowsRequest):
request (Union[google.area120.tables_v1alpha1.types.ListRowsRequest, dict]):
The request object. Request message for
TablesService.ListRows.
parent (str):
@@ -780,7 +780,7 @@ def list_rows(

def create_row(
self,
request: tables.CreateRowRequest = None,
request: Union[tables.CreateRowRequest, dict] = None,
*,
parent: str = None,
row: tables.Row = None,
@@ -791,7 +791,7 @@ def create_row(
r"""Creates a row.
Args:
request (google.area120.tables_v1alpha1.types.CreateRowRequest):
request (Union[google.area120.tables_v1alpha1.types.CreateRowRequest, dict]):
The request object. Request message for
TablesService.CreateRow.
parent (str):
@@ -858,7 +858,7 @@ def create_row(

def batch_create_rows(
self,
request: tables.BatchCreateRowsRequest = None,
request: Union[tables.BatchCreateRowsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -867,7 +867,7 @@ def batch_create_rows(
r"""Creates multiple rows.
Args:
request (google.area120.tables_v1alpha1.types.BatchCreateRowsRequest):
request (Union[google.area120.tables_v1alpha1.types.BatchCreateRowsRequest, dict]):
The request object. Request message for
TablesService.BatchCreateRows.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -908,7 +908,7 @@ def batch_create_rows(

def update_row(
self,
request: tables.UpdateRowRequest = None,
request: Union[tables.UpdateRowRequest, dict] = None,
*,
row: tables.Row = None,
update_mask: field_mask_pb2.FieldMask = None,
@@ -919,7 +919,7 @@ def update_row(
r"""Updates a row.
Args:
request (google.area120.tables_v1alpha1.types.UpdateRowRequest):
request (Union[google.area120.tables_v1alpha1.types.UpdateRowRequest, dict]):
The request object. Request message for
TablesService.UpdateRow.
row (google.area120.tables_v1alpha1.types.Row):
@@ -983,7 +983,7 @@ def update_row(

def batch_update_rows(
self,
request: tables.BatchUpdateRowsRequest = None,
request: Union[tables.BatchUpdateRowsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -992,7 +992,7 @@ def batch_update_rows(
r"""Updates multiple rows.
Args:
request (google.area120.tables_v1alpha1.types.BatchUpdateRowsRequest):
request (Union[google.area120.tables_v1alpha1.types.BatchUpdateRowsRequest, dict]):
The request object. Request message for
TablesService.BatchUpdateRows.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -1033,7 +1033,7 @@ def batch_update_rows(

def delete_row(
self,
request: tables.DeleteRowRequest = None,
request: Union[tables.DeleteRowRequest, dict] = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
@@ -1043,7 +1043,7 @@ def delete_row(
r"""Deletes a row.
Args:
request (google.area120.tables_v1alpha1.types.DeleteRowRequest):
request (Union[google.area120.tables_v1alpha1.types.DeleteRowRequest, dict]):
The request object. Request message for
TablesService.DeleteRow
name (str):
@@ -1098,7 +1098,7 @@ def delete_row(

def batch_delete_rows(
self,
request: tables.BatchDeleteRowsRequest = None,
request: Union[tables.BatchDeleteRowsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -1107,7 +1107,7 @@ def batch_delete_rows(
r"""Deletes multiple rows.
Args:
request (google.area120.tables_v1alpha1.types.BatchDeleteRowsRequest):
request (Union[google.area120.tables_v1alpha1.types.BatchDeleteRowsRequest, dict]):
The request object. Request message for
TablesService.BatchDeleteRows
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -123,7 +123,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)

# If the credentials is service account credentials, then always try to use self signed JWT.
# If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
@@ -94,16 +94,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
``client_cert_source`` or applicatin default SSL credentials.
``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
for grpc channel. It is ignored if ``channel`` is provided.
for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
both in PEM format. It is used to configure mutual TLS channel. It is
both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
@@ -141,16 +141,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
``client_cert_source`` or applicatin default SSL credentials.
``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
for grpc channel. It is ignored if ``channel`` is provided.
for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
both in PEM format. It is used to configure mutual TLS channel. It is
both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.

0 comments on commit ee57f81

Please sign in to comment.