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

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Feb 10, 2021
1 parent 5c3486d commit e3b08be
Show file tree
Hide file tree
Showing 22 changed files with 6,761 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .github/header-checker-lint.yml
@@ -0,0 +1,15 @@
{"allowedCopyrightHolders": ["Google LLC"],
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt"],
"sourceFileExtensions": [
"ts",
"js",
"java",
"sh",
"Dockerfile",
"yaml",
"py",
"html",
"txt"
]
}
12 changes: 6 additions & 6 deletions docs/index.rst
Expand Up @@ -5,24 +5,24 @@
This package includes clients for multiple versions of the Memcache
API. By default, you will get ``v1``, the latest GA version.

v1 API Reference
memcache_v1 API Reference
-------------------------

.. toctree::
:maxdepth: 2

memcache_v1/services
memcache_v1/types
Client (v1) <memcache_v1/services>
Types (v1) <memcache_v1/types>


v1beta2 API Reference
memcache_v1beta2 API Reference
------------------------------

.. toctree::
:maxdepth: 2

memcache_v1beta2/services
memcache_v1beta2/types
Client (v1beta2) <memcache_v1beta2/services>
Types (v1beta2) <memcache_v1beta2/types>


Changelog
Expand Down
11 changes: 11 additions & 0 deletions docs/memcache_v1/cloud_memcache.rst
@@ -0,0 +1,11 @@
CloudMemcache
-------------------------------

.. automodule:: google.cloud.memcache_v1.services.cloud_memcache
:members:
:inherited-members:


.. automodule:: google.cloud.memcache_v1.services.cloud_memcache.pagers
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/memcache_v1/services.rst
@@ -0,0 +1,6 @@
Services for Google Cloud Memcache v1 API
=========================================
.. toctree::
:maxdepth: 2

cloud_memcache
7 changes: 7 additions & 0 deletions docs/memcache_v1/types.rst
@@ -0,0 +1,7 @@
Types for Google Cloud Memcache v1 API
======================================

.. automodule:: google.cloud.memcache_v1.types
:members:
:undoc-members:
:show-inheritance:
11 changes: 11 additions & 0 deletions docs/memcache_v1beta2/cloud_memcache.rst
@@ -0,0 +1,11 @@
CloudMemcache
-------------------------------

.. automodule:: google.cloud.memcache_v1beta2.services.cloud_memcache
:members:
:inherited-members:


.. automodule:: google.cloud.memcache_v1beta2.services.cloud_memcache.pagers
:members:
:inherited-members:
47 changes: 47 additions & 0 deletions google/cloud/memcache_v1/__init__.py
@@ -0,0 +1,47 @@
# -*- coding: utf-8 -*-

# Copyright 2020 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
#
# http://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 .services.cloud_memcache import CloudMemcacheClient
from .types.cloud_memcache import ApplyParametersRequest
from .types.cloud_memcache import CreateInstanceRequest
from .types.cloud_memcache import DeleteInstanceRequest
from .types.cloud_memcache import GetInstanceRequest
from .types.cloud_memcache import Instance
from .types.cloud_memcache import ListInstancesRequest
from .types.cloud_memcache import ListInstancesResponse
from .types.cloud_memcache import MemcacheParameters
from .types.cloud_memcache import MemcacheVersion
from .types.cloud_memcache import OperationMetadata
from .types.cloud_memcache import UpdateInstanceRequest
from .types.cloud_memcache import UpdateParametersRequest


__all__ = (
"ApplyParametersRequest",
"CreateInstanceRequest",
"DeleteInstanceRequest",
"GetInstanceRequest",
"Instance",
"ListInstancesRequest",
"ListInstancesResponse",
"MemcacheParameters",
"MemcacheVersion",
"OperationMetadata",
"UpdateInstanceRequest",
"UpdateParametersRequest",
"CloudMemcacheClient",
)
2 changes: 2 additions & 0 deletions google/cloud/memcache_v1/py.typed
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-memcache package uses inline types.
16 changes: 16 additions & 0 deletions google/cloud/memcache_v1/services/__init__.py
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-

# Copyright 2020 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
#
# http://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.
#
24 changes: 24 additions & 0 deletions google/cloud/memcache_v1/services/cloud_memcache/__init__.py
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-

# Copyright 2020 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
#
# http://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 .client import CloudMemcacheClient
from .async_client import CloudMemcacheAsyncClient

__all__ = (
"CloudMemcacheClient",
"CloudMemcacheAsyncClient",
)

0 comments on commit e3b08be

Please sign in to comment.