Skip to content

Commit

Permalink
feat(asset): add v1p1beta1, promote library to beta (#10202)
Browse files Browse the repository at this point in the history
* feat: add v1p1beta1, promote library to  beta
  • Loading branch information
busunkim96 authored Jan 29, 2020
1 parent 01b7fb9 commit befa9fa
Show file tree
Hide file tree
Showing 22 changed files with 2,756 additions and 3,392 deletions.
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,17 @@ against beta libraries are addressed with a higher priority.

The following client libraries have **beta** support:

- `Google Cloud Asset`_ (`Asset README`_, `Asset Documentation`_)
- `Google Cloud Billing Budgets`_ (`Billing Budgets README`_, `Billing Budgets Documentation`_)
- `Google Cloud Data Catalog`_ (`Data Catalog README`_, `Data Catalog Documentation`_)
- `Google Cloud Firestore`_ (`Firestore README`_, `Firestore Documentation`_)
- `Google Cloud Video Intelligence`_ (`Video Intelligence README`_, `Video Intelligence Documentation`_)
- `Google Cloud Vision`_ (`Vision README`_, `Vision Documentation`_)

.. _Google Cloud Asset: https://pypi.org/project/google-cloud-asset/
.. _Asset README: https://github.com/googleapis/google-cloud-python/blob/master/asset
.. _Asset Documentation: https://googleapis.dev/python/cloudasset/latest

.. _Google Cloud Billing Budgets: https://pypi.org/project/google-cloud-billing-budgets/
.. _Billing Budgets README: https://github.com/googleapis/google-cloud-python/tree/master/billingbudgets
.. _Billing Budgets Documentation: https://googleapis.dev/python/billingbudgets/latest
Expand Down Expand Up @@ -139,7 +144,6 @@ updates. See `versioning`_ for more details.

The following client libraries have **alpha** support:

- `Google Cloud Asset`_ (`Asset README`_, `Asset Documentation`_)
- `Google Cloud AutoML`_ (`AutoML README`_, `AutoML Documentation`_)
- `Google BigQuery Data Transfer`_ (`BigQuery Data Transfer README`_, `BigQuery Documentation`_)
- `Google Cloud Bigtable - HappyBase`_ (`HappyBase README`_, `HappyBase Documentation`_)
Expand All @@ -161,10 +165,6 @@ The following client libraries have **alpha** support:
- `Stackdriver Error Reporting`_ (`Error Reporting README`_, `Error Reporting Documentation`_)
- `Stackdriver Monitoring`_ (`Monitoring README`_, `Monitoring Documentation`_)

.. _Google Cloud Asset: https://pypi.org/project/google-cloud-asset/
.. _Asset README: https://github.com/googleapis/google-cloud-python/blob/master/asset
.. _Asset Documentation: https://googleapis.dev/python/cloudasset/latest

.. _Google Cloud AutoML: https://pypi.org/project/google-cloud-automl/
.. _AutoML README: https://github.com/googleapis/google-cloud-python/blob/master/automl
.. _AutoML Documentation: https://googleapis.dev/python/automl/latest
Expand Down
2 changes: 1 addition & 1 deletion asset/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"product_documentation": "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview",
"client_documentation": "https://googleapis.dev/python/cloudasset/latest",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559757",
"release_level": "alpha",
"release_level": "beta",
"language": "python",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-cloud-asset",
Expand Down
6 changes: 3 additions & 3 deletions asset/README.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Python Client for Cloud Asset API
=================================

|alpha| |pypi| |versions|
|beta| |pypi| |versions|

`Cloud Asset API`_: The cloud asset API manages the history and inventory of cloud resources.

- `Client Library Documentation`_
- `Product Documentation`_

.. |alpha| image:: https://img.shields.io/badge/support-alpha-orange.svg
:target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#alpha-support
.. |beta| image:: https://img.shields.io/badge/support-beta-orange.svg
:target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#beta-support
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-asset.svg
:target: https://pypi.org/project/google-cloud-asset/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-asset.svg
Expand Down
6 changes: 6 additions & 0 deletions asset/docs/gapic/v1p1beta1/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_v1p1beta1
:members:
:inherited-members:
5 changes: 5 additions & 0 deletions asset/docs/gapic/v1p1beta1/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_v1p1beta1.types
:members:
23 changes: 19 additions & 4 deletions asset/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,43 @@ Api Reference
This package includes clients for multiple versions of the Cloud Asset API. By default, you will get ``v1``
the latest stable version.

v1
~~~~~~~~~
.. 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.
Beta releases with additional features over the current stable version, spelled ``v1p1beta1`` and ``v1p2beta1``,
are 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:

v1p1beta1
~~~~~~~~~
.. toctree::
:maxdepth: 2

gapic/v1p1beta1/api
gapic/v1p1beta1/types


v1p2beta1
~~~~~~~~~
.. toctree::
:maxdepth: 2

gapic/v1p2beta1/api
gapic/v1p2beta1/types

The previous beta release, spelled ``v1p2beta1`` is also provided to continue to support code
The previous beta release, spelled ``v1beta1`` 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``.

v1beta1
~~~~~~~~~
.. toctree::
:maxdepth: 2

Expand Down
28 changes: 28 additions & 0 deletions asset/google/cloud/asset_v1p1beta1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- 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_v1p1beta1 import types
from google.cloud.asset_v1p1beta1.gapic import asset_service_client


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


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

0 comments on commit befa9fa

Please sign in to comment.