Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 2c025f8

Browse files
committed
feat: generate v1alpha
1 parent 78340db commit 2c025f8

21 files changed

Lines changed: 12318 additions & 2 deletions

File tree

docs/index.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@
22

33
.. include:: multiprocessing.rst
44

5-
API Reference
6-
-------------
5+
This package includes clients for multiple versions of the Dataproc Metastore
6+
API. By default, you will get ``v1beta``, the latest version.
7+
8+
v1beta API Reference
9+
--------------------
710
.. toctree::
811
:maxdepth: 2
912

1013
metastore_v1beta/services
1114
metastore_v1beta/types
1215

16+
v1alpha API Reference
17+
---------------------
18+
.. toctree::
19+
:maxdepth: 2
20+
21+
metastore_v1alpha/services
22+
metastore_v1alpha/types
23+
1324
Changelog
1425
---------
1526

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
DataprocMetastore
2+
-----------------------------------
3+
4+
.. automodule:: google.cloud.metastore_v1alpha.services.dataproc_metastore
5+
:members:
6+
:inherited-members:
7+
8+
9+
.. automodule:: google.cloud.metastore_v1alpha.services.dataproc_metastore.pagers
10+
:members:
11+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Services for Google Cloud Metastore v1alpha API
2+
===============================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
dataproc_metastore

docs/metastore_v1alpha/types.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Types for Google Cloud Metastore v1alpha API
2+
============================================
3+
4+
.. automodule:: google.cloud.metastore_v1alpha.types
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Copyright 2020 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+
# http://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+
18+
from .services.dataproc_metastore import DataprocMetastoreClient
19+
from .types.metastore import Backup
20+
from .types.metastore import CreateBackupRequest
21+
from .types.metastore import CreateMetadataImportRequest
22+
from .types.metastore import CreateServiceRequest
23+
from .types.metastore import DataCatalogConfig
24+
from .types.metastore import DatabaseDumpSpec
25+
from .types.metastore import DeleteBackupRequest
26+
from .types.metastore import DeleteServiceRequest
27+
from .types.metastore import ExportMetadataRequest
28+
from .types.metastore import GetBackupRequest
29+
from .types.metastore import GetMetadataImportRequest
30+
from .types.metastore import GetServiceRequest
31+
from .types.metastore import HiveMetastoreConfig
32+
from .types.metastore import KerberosConfig
33+
from .types.metastore import ListBackupsRequest
34+
from .types.metastore import ListBackupsResponse
35+
from .types.metastore import ListMetadataImportsRequest
36+
from .types.metastore import ListMetadataImportsResponse
37+
from .types.metastore import ListServicesRequest
38+
from .types.metastore import ListServicesResponse
39+
from .types.metastore import LocationMetadata
40+
from .types.metastore import MaintenanceWindow
41+
from .types.metastore import MetadataExport
42+
from .types.metastore import MetadataImport
43+
from .types.metastore import MetadataIntegration
44+
from .types.metastore import MetadataManagementActivity
45+
from .types.metastore import OperationMetadata
46+
from .types.metastore import Restore
47+
from .types.metastore import RestoreServiceRequest
48+
from .types.metastore import Secret
49+
from .types.metastore import Service
50+
from .types.metastore import UpdateMetadataImportRequest
51+
from .types.metastore import UpdateServiceRequest
52+
53+
54+
__all__ = (
55+
"Backup",
56+
"CreateBackupRequest",
57+
"CreateMetadataImportRequest",
58+
"CreateServiceRequest",
59+
"DataCatalogConfig",
60+
"DatabaseDumpSpec",
61+
"DeleteBackupRequest",
62+
"DeleteServiceRequest",
63+
"ExportMetadataRequest",
64+
"GetBackupRequest",
65+
"GetMetadataImportRequest",
66+
"GetServiceRequest",
67+
"HiveMetastoreConfig",
68+
"KerberosConfig",
69+
"ListBackupsRequest",
70+
"ListBackupsResponse",
71+
"ListMetadataImportsRequest",
72+
"ListMetadataImportsResponse",
73+
"ListServicesRequest",
74+
"ListServicesResponse",
75+
"LocationMetadata",
76+
"MaintenanceWindow",
77+
"MetadataExport",
78+
"MetadataImport",
79+
"MetadataIntegration",
80+
"MetadataManagementActivity",
81+
"OperationMetadata",
82+
"Restore",
83+
"RestoreServiceRequest",
84+
"Secret",
85+
"Service",
86+
"UpdateMetadataImportRequest",
87+
"UpdateServiceRequest",
88+
"DataprocMetastoreClient",
89+
)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-metastore package uses inline types.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Copyright 2020 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+
# http://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+
#
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# -*- coding: utf-8 -*-
2+
3+
# Copyright 2020 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+
# http://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+
18+
from .client import DataprocMetastoreClient
19+
from .async_client import DataprocMetastoreAsyncClient
20+
21+
__all__ = (
22+
"DataprocMetastoreClient",
23+
"DataprocMetastoreAsyncClient",
24+
)

0 commit comments

Comments
 (0)