Skip to content

Commit

Permalink
feat: set the default import to datapolicies_v1 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Apr 15, 2023
1 parent 90a7ee3 commit c1a4443
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repo": "googleapis/python-bigquery-datapolicies",
"distribution_name": "google-cloud-bigquery-datapolicies",
"api_id": "bigquerydatapolicy.googleapis.com",
"default_version": "v1beta1",
"default_version": "v1",
"codeowner_team": "",
"api_shortname": "bigquerydatapolicy",
"api_description": "Allows users to manage BigQuery data policies."
Expand Down
10 changes: 5 additions & 5 deletions packages/google-cloud-bigquery-datapolicies/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
.. include:: multiprocessing.rst

This package includes clients for multiple versions of BigQuery Data Policy.
By default, you will get version ``datapolicies_v1beta1``.
By default, you will get version ``datapolicies_v1``.


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

datapolicies_v1beta1/services
datapolicies_v1beta1/types
datapolicies_v1/services
datapolicies_v1/types

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

datapolicies_v1/services
datapolicies_v1/types
datapolicies_v1beta1/services
datapolicies_v1beta1/types


Changelog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,21 @@
__version__ = package_version.__version__


from google.cloud.bigquery.datapolicies_v1beta1.services.data_policy_service.async_client import (
from google.cloud.bigquery.datapolicies_v1.services.data_policy_service.async_client import (
DataPolicyServiceAsyncClient,
)
from google.cloud.bigquery.datapolicies_v1beta1.services.data_policy_service.client import (
from google.cloud.bigquery.datapolicies_v1.services.data_policy_service.client import (
DataPolicyServiceClient,
)
from google.cloud.bigquery.datapolicies_v1beta1.types.datapolicy import (
from google.cloud.bigquery.datapolicies_v1.types.datapolicy import (
CreateDataPolicyRequest,
DataMaskingPolicy,
DataPolicy,
DeleteDataPolicyRequest,
GetDataPolicyRequest,
ListDataPoliciesRequest,
ListDataPoliciesResponse,
RenameDataPolicyRequest,
UpdateDataPolicyRequest,
)

Expand All @@ -45,5 +46,6 @@
"GetDataPolicyRequest",
"ListDataPoliciesRequest",
"ListDataPoliciesResponse",
"RenameDataPolicyRequest",
"UpdateDataPolicyRequest",
)

0 comments on commit c1a4443

Please sign in to comment.