Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(v1alpha): Add BigQuery Metastore Partition Service API #817

Merged
merged 13 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MetastorePartitionService
-------------------------------------------

.. automodule:: google.cloud.bigquery_storage_v1alpha.services.metastore_partition_service
:members:
:inherited-members:
6 changes: 6 additions & 0 deletions docs/bigquery_storage_v1alpha/services_.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Cloud Bigquery Storage v1alpha API
======================================================
.. toctree::
:maxdepth: 2

metastore_partition_service
6 changes: 6 additions & 0 deletions docs/bigquery_storage_v1alpha/types_.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Cloud Bigquery Storage v1alpha API
===================================================

.. automodule:: google.cloud.bigquery_storage_v1alpha.types
:members:
:show-inheritance:
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ API Reference
bigquery_storage_v1beta2/library
bigquery_storage_v1beta2/services_
bigquery_storage_v1beta2/types_
bigquery_storage_v1alpha/services_
bigquery_storage_v1alpha/types_


Migration Guide
Expand Down
73 changes: 73 additions & 0 deletions google/cloud/bigquery_storage_v1alpha/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.bigquery_storage_v1alpha",
"protoPackage": "google.cloud.bigquery.storage.v1alpha",
"schema": "1.0",
"services": {
"MetastorePartitionService": {
"clients": {
"grpc": {
"libraryClient": "MetastorePartitionServiceClient",
"rpcs": {
"BatchCreateMetastorePartitions": {
"methods": [
"batch_create_metastore_partitions"
]
},
"BatchDeleteMetastorePartitions": {
"methods": [
"batch_delete_metastore_partitions"
]
},
"BatchUpdateMetastorePartitions": {
"methods": [
"batch_update_metastore_partitions"
]
},
"ListMetastorePartitions": {
"methods": [
"list_metastore_partitions"
]
},
"StreamMetastorePartitions": {
"methods": [
"stream_metastore_partitions"
]
}
}
},
"grpc-async": {
"libraryClient": "MetastorePartitionServiceAsyncClient",
"rpcs": {
"BatchCreateMetastorePartitions": {
"methods": [
"batch_create_metastore_partitions"
]
},
"BatchDeleteMetastorePartitions": {
"methods": [
"batch_delete_metastore_partitions"
]
},
"BatchUpdateMetastorePartitions": {
"methods": [
"batch_update_metastore_partitions"
]
},
"ListMetastorePartitions": {
"methods": [
"list_metastore_partitions"
]
},
"StreamMetastorePartitions": {
"methods": [
"stream_metastore_partitions"
]
}
}
}
}
}
}
}
16 changes: 16 additions & 0 deletions google/cloud/bigquery_storage_v1alpha/gapic_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2022 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.
#
__version__ = "2.25.0" # {x-release-please-version}
2 changes: 2 additions & 0 deletions google/cloud/bigquery_storage_v1alpha/py.typed
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-bigquery-storage package uses inline types.
15 changes: 15 additions & 0 deletions google/cloud/bigquery_storage_v1alpha/services/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2024 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,22 @@
# -*- coding: utf-8 -*-
# Copyright 2024 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 .async_client import MetastorePartitionServiceAsyncClient
from .client import MetastorePartitionServiceClient

__all__ = (
"MetastorePartitionServiceClient",
"MetastorePartitionServiceAsyncClient",
)
Loading