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

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: upgrade gapic-generator-python to 0.46.3 (#20)
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 7cb318b commit 94695fe
Show file tree
Hide file tree
Showing 22 changed files with 1,043 additions and 916 deletions.
1 change: 0 additions & 1 deletion docs/apigateway_v1/api_gateway_service.rst
Expand Up @@ -5,7 +5,6 @@ ApiGatewayService
:members:
:inherited-members:


.. automodule:: google.cloud.apigateway_v1.services.api_gateway_service.pagers
:members:
:inherited-members:
12 changes: 6 additions & 6 deletions google/cloud/apigateway/__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.cloud.apigateway_v1.services.api_gateway_service.async_client import (
ApiGatewayServiceAsyncClient,
)
from google.cloud.apigateway_v1.services.api_gateway_service.client import (
ApiGatewayServiceClient,
)
from google.cloud.apigateway_v1.services.api_gateway_service.async_client import (
ApiGatewayServiceAsyncClient,
)

from google.cloud.apigateway_v1.types.apigateway import Api
from google.cloud.apigateway_v1.types.apigateway import ApiConfig
from google.cloud.apigateway_v1.types.apigateway import CreateApiConfigRequest
Expand All @@ -45,10 +45,10 @@
from google.cloud.apigateway_v1.types.apigateway import UpdateGatewayRequest

__all__ = (
"ApiGatewayServiceClient",
"ApiGatewayServiceAsyncClient",
"Api",
"ApiConfig",
"ApiGatewayServiceAsyncClient",
"ApiGatewayServiceClient",
"CreateApiConfigRequest",
"CreateApiRequest",
"CreateGatewayRequest",
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/apigateway_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,6 +15,8 @@
#

from .services.api_gateway_service import ApiGatewayServiceClient
from .services.api_gateway_service import ApiGatewayServiceAsyncClient

from .types.apigateway import Api
from .types.apigateway import ApiConfig
from .types.apigateway import CreateApiConfigRequest
Expand All @@ -39,10 +40,11 @@
from .types.apigateway import UpdateApiRequest
from .types.apigateway import UpdateGatewayRequest


__all__ = (
"ApiGatewayServiceAsyncClient",
"Api",
"ApiConfig",
"ApiGatewayServiceClient",
"CreateApiConfigRequest",
"CreateApiRequest",
"CreateGatewayRequest",
Expand All @@ -63,5 +65,4 @@
"UpdateApiConfigRequest",
"UpdateApiRequest",
"UpdateGatewayRequest",
"ApiGatewayServiceClient",
)
173 changes: 173 additions & 0 deletions google/cloud/apigateway_v1/gapic_metadata.json
@@ -0,0 +1,173 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.apigateway_v1",
"protoPackage": "google.cloud.apigateway.v1",
"schema": "1.0",
"services": {
"ApiGatewayService": {
"clients": {
"grpc": {
"libraryClient": "ApiGatewayServiceClient",
"rpcs": {
"CreateApi": {
"methods": [
"create_api"
]
},
"CreateApiConfig": {
"methods": [
"create_api_config"
]
},
"CreateGateway": {
"methods": [
"create_gateway"
]
},
"DeleteApi": {
"methods": [
"delete_api"
]
},
"DeleteApiConfig": {
"methods": [
"delete_api_config"
]
},
"DeleteGateway": {
"methods": [
"delete_gateway"
]
},
"GetApi": {
"methods": [
"get_api"
]
},
"GetApiConfig": {
"methods": [
"get_api_config"
]
},
"GetGateway": {
"methods": [
"get_gateway"
]
},
"ListApiConfigs": {
"methods": [
"list_api_configs"
]
},
"ListApis": {
"methods": [
"list_apis"
]
},
"ListGateways": {
"methods": [
"list_gateways"
]
},
"UpdateApi": {
"methods": [
"update_api"
]
},
"UpdateApiConfig": {
"methods": [
"update_api_config"
]
},
"UpdateGateway": {
"methods": [
"update_gateway"
]
}
}
},
"grpc-async": {
"libraryClient": "ApiGatewayServiceAsyncClient",
"rpcs": {
"CreateApi": {
"methods": [
"create_api"
]
},
"CreateApiConfig": {
"methods": [
"create_api_config"
]
},
"CreateGateway": {
"methods": [
"create_gateway"
]
},
"DeleteApi": {
"methods": [
"delete_api"
]
},
"DeleteApiConfig": {
"methods": [
"delete_api_config"
]
},
"DeleteGateway": {
"methods": [
"delete_gateway"
]
},
"GetApi": {
"methods": [
"get_api"
]
},
"GetApiConfig": {
"methods": [
"get_api_config"
]
},
"GetGateway": {
"methods": [
"get_gateway"
]
},
"ListApiConfigs": {
"methods": [
"list_api_configs"
]
},
"ListApis": {
"methods": [
"list_apis"
]
},
"ListGateways": {
"methods": [
"list_gateways"
]
},
"UpdateApi": {
"methods": [
"update_api"
]
},
"UpdateApiConfig": {
"methods": [
"update_api_config"
]
},
"UpdateGateway": {
"methods": [
"update_gateway"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/apigateway_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 ApiGatewayServiceClient
from .async_client import ApiGatewayServiceAsyncClient

Expand Down

0 comments on commit 94695fe

Please sign in to comment.