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
6 changes: 3 additions & 3 deletions redis/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In order to use this library, you first need to go through the following steps:

.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Google Cloud Memorystore for Redis API.: https://cloud.google.com/memorystore/
.. _Enable the Google Cloud Memorystore for Redis API.: https://console.cloud.google.com/apis/library/redis.googleapis.com
.. _Setup Authentication.: https://googlecloudplatform.github.io/google-cloud-python/latest/core/auth.html

Installation
Expand Down Expand Up @@ -72,5 +72,5 @@ Next Steps
- View this `repository’s main README`_ to see the full list of Cloud
APIs that we cover.

.. _Google Cloud Memorystore for Redis API Product documentation: https://cloud.google.com/redis
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
.. _Google Cloud Memorystore for Redis API Product documentation: https://cloud.google.com/memorystore/
.. _repository’s main README: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/README.rst
6 changes: 6 additions & 0 deletions redis/docs/gapic/v1/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Client for Google Cloud Memorystore for Redis API
=================================================

.. automodule:: google.cloud.redis_v1
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions redis/docs/gapic/v1/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Types for Google Cloud Memorystore for Redis API Client
=======================================================

.. automodule:: google.cloud.redis_v1.types
:members:
2 changes: 2 additions & 0 deletions redis/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ Api Reference
.. toctree::
:maxdepth: 2

gapic/v1/api
gapic/v1/types
gapic/v1beta1/api
gapic/v1beta1/types
2 changes: 2 additions & 0 deletions redis/google/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions redis/google/cloud/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
8 changes: 5 additions & 3 deletions redis/google/cloud/redis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,9 +16,9 @@

from __future__ import absolute_import

from google.cloud.redis_v1beta1 import CloudRedisClient
from google.cloud.redis_v1beta1 import enums
from google.cloud.redis_v1beta1 import types
from google.cloud.redis_v1 import CloudRedisClient
from google.cloud.redis_v1 import enums
from google.cloud.redis_v1 import types

__all__ = (
'enums',
Expand Down
33 changes: 33 additions & 0 deletions redis/google/cloud/redis_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import

from google.cloud.redis_v1 import types
from google.cloud.redis_v1.gapic import cloud_redis_client
from google.cloud.redis_v1.gapic import enums


class CloudRedisClient(cloud_redis_client.CloudRedisClient):
__doc__ = cloud_redis_client.CloudRedisClient.__doc__
enums = enums


__all__ = (
'enums',
'types',
'CloudRedisClient',
)
Empty file.
Loading