Skip to content

Commit f6f3278

Browse files
authored
Generate v1. (googleapis#7513)
1 parent 2b2a255 commit f6f3278

27 files changed

+2556
-36
lines changed

asset/docs/gapic/v1/api.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Client for Cloud Asset API
2+
==========================
3+
4+
.. automodule:: google.cloud.asset_v1
5+
:members:
6+
:inherited-members:

asset/docs/gapic/v1/types.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Types for Cloud Asset API Client
2+
================================
3+
4+
.. automodule:: google.cloud.asset_v1.types
5+
:members:

asset/docs/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Api Reference
55
.. toctree::
66
:maxdepth: 2
77

8+
gapic/v1/api
9+
gapic/v1/types
810
gapic/v1beta1/api
911
gapic/v1beta1/types
1012

asset/google/cloud/asset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
from __future__ import absolute_import
1818

19-
from google.cloud.asset_v1beta1 import AssetServiceClient
20-
from google.cloud.asset_v1beta1 import enums
21-
from google.cloud.asset_v1beta1 import types
19+
from google.cloud.asset_v1 import AssetServiceClient
20+
from google.cloud.asset_v1 import enums
21+
from google.cloud.asset_v1 import types
2222

2323
__all__ = ("enums", "types", "AssetServiceClient")
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2019 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
from __future__ import absolute_import
18+
19+
from google.cloud.asset_v1 import types
20+
from google.cloud.asset_v1.gapic import asset_service_client
21+
from google.cloud.asset_v1.gapic import enums
22+
23+
24+
class AssetServiceClient(asset_service_client.AssetServiceClient):
25+
__doc__ = asset_service_client.AssetServiceClient.__doc__
26+
enums = enums
27+
28+
29+
__all__ = ("enums", "types", "AssetServiceClient")

asset/google/cloud/asset_v1/gapic/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)