Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.maps.routing_v2 import gapic_version as package_version

Expand Down Expand Up @@ -524,5 +525,8 @@ async def __aexit__(self, exc_type, exc, tb):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


__all__ = ("RoutesAsyncClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.maps.routing_v2 import gapic_version as package_version

Expand Down Expand Up @@ -934,5 +935,7 @@ def __exit__(self, type, value, traceback):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__

__all__ = ("RoutesClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.maps.routing_v2 import gapic_version as package_version
from google.maps.routing_v2.types import routes_service
Expand All @@ -31,6 +32,9 @@
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class RoutesTransport(abc.ABC):
"""Abstract transport class for Routes."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
import google.protobuf
from google.protobuf import json_format
from requests import __version__ as requests_version

Expand Down Expand Up @@ -52,6 +53,9 @@
rest_version=f"requests@{requests_version}",
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class RoutesRestInterceptor:
"""Interceptor for Routes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.maps.solar_v1 import gapic_version as package_version

Expand Down Expand Up @@ -588,5 +589,8 @@ async def __aexit__(self, exc_type, exc, tb):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


__all__ = ("SolarAsyncClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.maps.solar_v1 import gapic_version as package_version

Expand Down Expand Up @@ -999,5 +1000,7 @@ def __exit__(self, type, value, traceback):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__

__all__ = ("SolarClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.maps.solar_v1 import gapic_version as package_version
from google.maps.solar_v1.types import solar_service
Expand All @@ -32,6 +33,9 @@
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class SolarTransport(abc.ABC):
"""Abstract transport class for Solar."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
import google.protobuf
from google.protobuf import json_format
from requests import __version__ as requests_version

Expand Down Expand Up @@ -53,6 +54,9 @@
rest_version=f"requests@{requests_version}",
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class SolarRestInterceptor:
"""Interceptor for Solar.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -764,5 +765,8 @@ async def __aexit__(self, exc_type, exc, tb):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


__all__ = ("AccountLabelsServiceAsyncClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -1176,5 +1177,7 @@ def __exit__(self, type, value, traceback):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__

__all__ = ("AccountLabelsServiceClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf
from google.protobuf import empty_pb2 # type: ignore

from google.shopping.css_v1 import gapic_version as package_version
Expand All @@ -32,6 +33,9 @@
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class AccountLabelsServiceTransport(abc.ABC):
"""Abstract transport class for AccountLabelsService."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
import google.protobuf
from google.protobuf import empty_pb2 # type: ignore
from google.protobuf import json_format
from requests import __version__ as requests_version
Expand Down Expand Up @@ -53,6 +54,9 @@
rest_version=f"requests@{requests_version}",
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class AccountLabelsServiceRestInterceptor:
"""Interceptor for AccountLabelsService.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -645,5 +646,8 @@ async def __aexit__(self, exc_type, exc, tb):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


__all__ = ("AccountsServiceAsyncClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -1059,5 +1060,7 @@ def __exit__(self, type, value, traceback):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__

__all__ = ("AccountsServiceClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version
from google.shopping.css_v1.types import accounts
Expand All @@ -31,6 +32,9 @@
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class AccountsServiceTransport(abc.ABC):
"""Abstract transport class for AccountsService."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
import google.protobuf
from google.protobuf import json_format
from requests import __version__ as requests_version

Expand Down Expand Up @@ -52,6 +53,9 @@
rest_version=f"requests@{requests_version}",
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class AccountsServiceRestInterceptor:
"""Interceptor for AccountsService.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -683,5 +684,8 @@ async def __aexit__(self, exc_type, exc, tb):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


__all__ = ("CssProductInputsServiceAsyncClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -1098,5 +1099,7 @@ def __exit__(self, type, value, traceback):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__

__all__ = ("CssProductInputsServiceClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf
from google.protobuf import empty_pb2 # type: ignore

from google.shopping.css_v1 import gapic_version as package_version
Expand All @@ -32,6 +33,9 @@
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class CssProductInputsServiceTransport(abc.ABC):
"""Abstract transport class for CssProductInputsService."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from google.api_core import retry as retries
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
import google.protobuf
from google.protobuf import empty_pb2 # type: ignore
from google.protobuf import json_format
from requests import __version__ as requests_version
Expand Down Expand Up @@ -53,6 +54,9 @@
rest_version=f"requests@{requests_version}",
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class CssProductInputsServiceRestInterceptor:
"""Interceptor for CssProductInputsService.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from google.api_core.client_options import ClientOptions
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -552,5 +553,8 @@ async def __aexit__(self, exc_type, exc, tb):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


__all__ = ("CssProductsServiceAsyncClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version

Expand Down Expand Up @@ -972,5 +973,7 @@ def __exit__(self, type, value, traceback):
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__

__all__ = ("CssProductsServiceClient",)
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.oauth2 import service_account # type: ignore
import google.protobuf

from google.shopping.css_v1 import gapic_version as package_version
from google.shopping.css_v1.types import css_products
Expand All @@ -31,6 +32,9 @@
gapic_version=package_version.__version__
)

if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__


class CssProductsServiceTransport(abc.ABC):
"""Abstract transport class for CssProductsService."""
Expand Down
Loading
Loading