Skip to content

Commit

Permalink
Generate asset v1p2beta1. (#8888)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 authored Aug 1, 2019
1 parent c7aacbc commit 0f77db7
Show file tree
Hide file tree
Showing 21 changed files with 4,665 additions and 12 deletions.
6 changes: 6 additions & 0 deletions asset/docs/gapic/v1p2beta1/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Client for Cloud Asset API
==========================

.. automodule:: google.cloud.asset_v1p2beta1
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions asset/docs/gapic/v1p2beta1/types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Types for Cloud Asset API Client
================================

.. automodule:: google.cloud.asset_v1p2beta1.types
:members:
25 changes: 25 additions & 0 deletions asset/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,39 @@

Api Reference
-------------

This package includes clients for multiple versions of the Cloud Asset API. By default, you will get ``v1``
the latest stable version.

.. toctree::
:maxdepth: 2

gapic/v1/api
gapic/v1/types

A new beta release with additional features over the current stable version, spelled ``v1p2beta1``, is provided
to allow you to use these new features. These are expected to move into the stable release soon; until
then, the usual beta admonishment (changes are possible, etc.) applies.

An API and type reference is provided for this beta:

.. toctree::
:maxdepth: 2

gapic/v1p2beta1/api
gapic/v1p2beta1/types

The previous beta release, spelled ``v1p2beta1`` is also provided to continue to support code
previously written against it. In order to use it, you will want to import from
``google.cloud.asset_v1beta1`` in lieu of ``google.cloud.asset_v1``.

.. toctree::
:maxdepth: 2

gapic/v1beta1/api
gapic/v1beta1/types


Changelog
---------

Expand Down
30 changes: 30 additions & 0 deletions asset/google/cloud/asset_v1p2beta1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 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.asset_v1p2beta1 import types
from google.cloud.asset_v1p2beta1.gapic import asset_service_client
from google.cloud.asset_v1p2beta1.gapic import enums


class AssetServiceClient(asset_service_client.AssetServiceClient):
__doc__ = asset_service_client.AssetServiceClient.__doc__
enums = enums


__all__ = ("enums", "types", "AssetServiceClient")
Empty file.
Loading

0 comments on commit 0f77db7

Please sign in to comment.