Skip to content

Commit

Permalink
feat: generate v1alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Mar 14, 2021
1 parent 98b73ee commit ddb9bf8
Show file tree
Hide file tree
Showing 21 changed files with 12,318 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/google-cloud-dataproc-metastore/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,25 @@

.. include:: multiprocessing.rst

API Reference
-------------
This package includes clients for multiple versions of the Dataproc Metastore
API. By default, you will get ``v1beta``, the latest version.

v1beta API Reference
--------------------
.. toctree::
:maxdepth: 2

metastore_v1beta/services
metastore_v1beta/types

v1alpha API Reference
---------------------
.. toctree::
:maxdepth: 2

metastore_v1alpha/services
metastore_v1alpha/types

Changelog
---------

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DataprocMetastore
-----------------------------------

.. automodule:: google.cloud.metastore_v1alpha.services.dataproc_metastore
:members:
:inherited-members:


.. automodule:: google.cloud.metastore_v1alpha.services.dataproc_metastore.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Cloud Metastore v1alpha API
===============================================
.. toctree::
:maxdepth: 2

dataproc_metastore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Types for Google Cloud Metastore v1alpha API
============================================

.. automodule:: google.cloud.metastore_v1alpha.types
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# -*- 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.dataproc_metastore import DataprocMetastoreClient
from .types.metastore import Backup
from .types.metastore import CreateBackupRequest
from .types.metastore import CreateMetadataImportRequest
from .types.metastore import CreateServiceRequest
from .types.metastore import DataCatalogConfig
from .types.metastore import DatabaseDumpSpec
from .types.metastore import DeleteBackupRequest
from .types.metastore import DeleteServiceRequest
from .types.metastore import ExportMetadataRequest
from .types.metastore import GetBackupRequest
from .types.metastore import GetMetadataImportRequest
from .types.metastore import GetServiceRequest
from .types.metastore import HiveMetastoreConfig
from .types.metastore import KerberosConfig
from .types.metastore import ListBackupsRequest
from .types.metastore import ListBackupsResponse
from .types.metastore import ListMetadataImportsRequest
from .types.metastore import ListMetadataImportsResponse
from .types.metastore import ListServicesRequest
from .types.metastore import ListServicesResponse
from .types.metastore import LocationMetadata
from .types.metastore import MaintenanceWindow
from .types.metastore import MetadataExport
from .types.metastore import MetadataImport
from .types.metastore import MetadataIntegration
from .types.metastore import MetadataManagementActivity
from .types.metastore import OperationMetadata
from .types.metastore import Restore
from .types.metastore import RestoreServiceRequest
from .types.metastore import Secret
from .types.metastore import Service
from .types.metastore import UpdateMetadataImportRequest
from .types.metastore import UpdateServiceRequest


__all__ = (
"Backup",
"CreateBackupRequest",
"CreateMetadataImportRequest",
"CreateServiceRequest",
"DataCatalogConfig",
"DatabaseDumpSpec",
"DeleteBackupRequest",
"DeleteServiceRequest",
"ExportMetadataRequest",
"GetBackupRequest",
"GetMetadataImportRequest",
"GetServiceRequest",
"HiveMetastoreConfig",
"KerberosConfig",
"ListBackupsRequest",
"ListBackupsResponse",
"ListMetadataImportsRequest",
"ListMetadataImportsResponse",
"ListServicesRequest",
"ListServicesResponse",
"LocationMetadata",
"MaintenanceWindow",
"MetadataExport",
"MetadataImport",
"MetadataIntegration",
"MetadataManagementActivity",
"OperationMetadata",
"Restore",
"RestoreServiceRequest",
"Secret",
"Service",
"UpdateMetadataImportRequest",
"UpdateServiceRequest",
"DataprocMetastoreClient",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-metastore package uses inline types.
Original file line number Diff line number Diff line change
@@ -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.
#
Original file line number Diff line number Diff line change
@@ -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 DataprocMetastoreClient
from .async_client import DataprocMetastoreAsyncClient

__all__ = (
"DataprocMetastoreClient",
"DataprocMetastoreAsyncClient",
)
Loading

0 comments on commit ddb9bf8

Please sign in to comment.