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 (#75)
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
  • Loading branch information
gcf-owl-bot[bot] committed May 14, 2021
1 parent d5aad2b commit 6f2d5fe
Show file tree
Hide file tree
Showing 38 changed files with 1,522 additions and 1,184 deletions.
1 change: 0 additions & 1 deletion docs/redis_v1/cloud_redis.rst
Expand Up @@ -5,7 +5,6 @@ CloudRedis
:members:
:inherited-members:


.. automodule:: google.cloud.redis_v1.services.cloud_redis.pagers
:members:
:inherited-members:
1 change: 0 additions & 1 deletion docs/redis_v1beta1/cloud_redis.rst
Expand Up @@ -5,7 +5,6 @@ CloudRedis
:members:
:inherited-members:


.. automodule:: google.cloud.redis_v1beta1.services.cloud_redis.pagers
:members:
:inherited-members:
6 changes: 3 additions & 3 deletions google/cloud/redis/__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,10 +14,11 @@
# limitations under the License.
#

from google.cloud.redis_v1.services.cloud_redis.client import CloudRedisClient
from google.cloud.redis_v1.services.cloud_redis.async_client import (
CloudRedisAsyncClient,
)
from google.cloud.redis_v1.services.cloud_redis.client import CloudRedisClient

from google.cloud.redis_v1.types.cloud_redis import CreateInstanceRequest
from google.cloud.redis_v1.types.cloud_redis import DeleteInstanceRequest
from google.cloud.redis_v1.types.cloud_redis import ExportInstanceRequest
Expand All @@ -39,8 +39,8 @@
from google.cloud.redis_v1.types.cloud_redis import ZoneMetadata

__all__ = (
"CloudRedisAsyncClient",
"CloudRedisClient",
"CloudRedisAsyncClient",
"CreateInstanceRequest",
"DeleteInstanceRequest",
"ExportInstanceRequest",
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/redis_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.cloud_redis import CloudRedisClient
from .services.cloud_redis import CloudRedisAsyncClient

from .types.cloud_redis import CreateInstanceRequest
from .types.cloud_redis import DeleteInstanceRequest
from .types.cloud_redis import ExportInstanceRequest
Expand All @@ -35,8 +36,9 @@
from .types.cloud_redis import UpgradeInstanceRequest
from .types.cloud_redis import ZoneMetadata


__all__ = (
"CloudRedisAsyncClient",
"CloudRedisClient",
"CreateInstanceRequest",
"DeleteInstanceRequest",
"ExportInstanceRequest",
Expand All @@ -55,5 +57,4 @@
"UpdateInstanceRequest",
"UpgradeInstanceRequest",
"ZoneMetadata",
"CloudRedisClient",
)
113 changes: 113 additions & 0 deletions google/cloud/redis_v1/gapic_metadata.json
@@ -0,0 +1,113 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.redis_v1",
"protoPackage": "google.cloud.redis.v1",
"schema": "1.0",
"services": {
"CloudRedis": {
"clients": {
"grpc": {
"libraryClient": "CloudRedisClient",
"rpcs": {
"CreateInstance": {
"methods": [
"create_instance"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
]
},
"ExportInstance": {
"methods": [
"export_instance"
]
},
"FailoverInstance": {
"methods": [
"failover_instance"
]
},
"GetInstance": {
"methods": [
"get_instance"
]
},
"ImportInstance": {
"methods": [
"import_instance"
]
},
"ListInstances": {
"methods": [
"list_instances"
]
},
"UpdateInstance": {
"methods": [
"update_instance"
]
},
"UpgradeInstance": {
"methods": [
"upgrade_instance"
]
}
}
},
"grpc-async": {
"libraryClient": "CloudRedisAsyncClient",
"rpcs": {
"CreateInstance": {
"methods": [
"create_instance"
]
},
"DeleteInstance": {
"methods": [
"delete_instance"
]
},
"ExportInstance": {
"methods": [
"export_instance"
]
},
"FailoverInstance": {
"methods": [
"failover_instance"
]
},
"GetInstance": {
"methods": [
"get_instance"
]
},
"ImportInstance": {
"methods": [
"import_instance"
]
},
"ListInstances": {
"methods": [
"list_instances"
]
},
"UpdateInstance": {
"methods": [
"update_instance"
]
},
"UpgradeInstance": {
"methods": [
"upgrade_instance"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/redis_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
2 changes: 0 additions & 2 deletions google/cloud/redis_v1/services/cloud_redis/__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 @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import CloudRedisClient
from .async_client import CloudRedisAsyncClient

Expand Down

0 comments on commit 6f2d5fe

Please sign in to comment.