Skip to content

Commit

Permalink
docs: fix minor docstring formatting (#114)
Browse files Browse the repository at this point in the history
* feat: DataScans service
feat: added StorageFormat.iceberg
chore: formatting changes

PiperOrigin-RevId: 496586743

Source-Link: googleapis/googleapis@58f5c43

Source-Link: googleapis/googleapis-gen@193c125
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkzYzEyNWQwNGYyNjQ5ZWRiODIxZDQ1YjhlNmJhNmE5MWM5YjA5MCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: fix minor docstring formatting

PiperOrigin-RevId: 499864985

Source-Link: googleapis/googleapis@8a767c9

Source-Link: googleapis/googleapis-gen@797db62
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzk3ZGI2MjZlM2U2ZTZmYTVlZjJmODNiYmEwMDU1ZjllMGRiNzdjZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 5, 2023
1 parent d986236 commit 898724e
Show file tree
Hide file tree
Showing 39 changed files with 14,331 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DataScanService
---------------------------------

.. automodule:: google.cloud.dataplex_v1.services.data_scan_service
:members:
:inherited-members:

.. automodule:: google.cloud.dataplex_v1.services.data_scan_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Services for Google Cloud Dataplex v1 API

content_service
dataplex_service
data_scan_service
metadata_service
68 changes: 67 additions & 1 deletion packages/google-cloud-dataplex/google/cloud/dataplex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
from google.cloud.dataplex_v1.services.content_service.client import (
ContentServiceClient,
)
from google.cloud.dataplex_v1.services.data_scan_service.async_client import (
DataScanServiceAsyncClient,
)
from google.cloud.dataplex_v1.services.data_scan_service.client import (
DataScanServiceClient,
)
from google.cloud.dataplex_v1.services.dataplex_service.async_client import (
DataplexServiceAsyncClient,
)
Expand All @@ -45,7 +51,39 @@
ListContentResponse,
UpdateContentRequest,
)
from google.cloud.dataplex_v1.types.logs import DiscoveryEvent, JobEvent, SessionEvent
from google.cloud.dataplex_v1.types.data_profile import (
DataProfileResult,
DataProfileSpec,
)
from google.cloud.dataplex_v1.types.data_quality import (
DataQualityDimensionResult,
DataQualityResult,
DataQualityRule,
DataQualityRuleResult,
DataQualitySpec,
)
from google.cloud.dataplex_v1.types.datascans import (
CreateDataScanRequest,
DataScan,
DataScanJob,
DataScanType,
DeleteDataScanRequest,
GetDataScanJobRequest,
GetDataScanRequest,
ListDataScanJobsRequest,
ListDataScanJobsResponse,
ListDataScansRequest,
ListDataScansResponse,
RunDataScanRequest,
RunDataScanResponse,
UpdateDataScanRequest,
)
from google.cloud.dataplex_v1.types.logs import (
DataScanEvent,
DiscoveryEvent,
JobEvent,
SessionEvent,
)
from google.cloud.dataplex_v1.types.metadata_ import (
CreateEntityRequest,
CreatePartitionRequest,
Expand All @@ -64,6 +102,7 @@
StorageSystem,
UpdateEntityRequest,
)
from google.cloud.dataplex_v1.types.processing import DataSource, ScannedData, Trigger
from google.cloud.dataplex_v1.types.resources import (
Action,
Asset,
Expand Down Expand Up @@ -122,6 +161,8 @@
"ContentServiceAsyncClient",
"DataplexServiceClient",
"DataplexServiceAsyncClient",
"DataScanServiceClient",
"DataScanServiceAsyncClient",
"MetadataServiceClient",
"MetadataServiceAsyncClient",
"Content",
Expand All @@ -133,6 +174,28 @@
"ListContentRequest",
"ListContentResponse",
"UpdateContentRequest",
"DataProfileResult",
"DataProfileSpec",
"DataQualityDimensionResult",
"DataQualityResult",
"DataQualityRule",
"DataQualityRuleResult",
"DataQualitySpec",
"CreateDataScanRequest",
"DataScan",
"DataScanJob",
"DeleteDataScanRequest",
"GetDataScanJobRequest",
"GetDataScanRequest",
"ListDataScanJobsRequest",
"ListDataScanJobsResponse",
"ListDataScansRequest",
"ListDataScansResponse",
"RunDataScanRequest",
"RunDataScanResponse",
"UpdateDataScanRequest",
"DataScanType",
"DataScanEvent",
"DiscoveryEvent",
"JobEvent",
"SessionEvent",
Expand All @@ -152,6 +215,9 @@
"StorageFormat",
"UpdateEntityRequest",
"StorageSystem",
"DataSource",
"ScannedData",
"Trigger",
"Action",
"Asset",
"AssetStatus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@


from .services.content_service import ContentServiceAsyncClient, ContentServiceClient
from .services.data_scan_service import (
DataScanServiceAsyncClient,
DataScanServiceClient,
)
from .services.dataplex_service import DataplexServiceAsyncClient, DataplexServiceClient
from .services.metadata_service import MetadataServiceAsyncClient, MetadataServiceClient
from .types.analyze import Content, Environment, Session
Expand All @@ -30,7 +34,31 @@
ListContentResponse,
UpdateContentRequest,
)
from .types.logs import DiscoveryEvent, JobEvent, SessionEvent
from .types.data_profile import DataProfileResult, DataProfileSpec
from .types.data_quality import (
DataQualityDimensionResult,
DataQualityResult,
DataQualityRule,
DataQualityRuleResult,
DataQualitySpec,
)
from .types.datascans import (
CreateDataScanRequest,
DataScan,
DataScanJob,
DataScanType,
DeleteDataScanRequest,
GetDataScanJobRequest,
GetDataScanRequest,
ListDataScanJobsRequest,
ListDataScanJobsResponse,
ListDataScansRequest,
ListDataScansResponse,
RunDataScanRequest,
RunDataScanResponse,
UpdateDataScanRequest,
)
from .types.logs import DataScanEvent, DiscoveryEvent, JobEvent, SessionEvent
from .types.metadata_ import (
CreateEntityRequest,
CreatePartitionRequest,
Expand All @@ -49,6 +77,7 @@
StorageSystem,
UpdateEntityRequest,
)
from .types.processing import DataSource, ScannedData, Trigger
from .types.resources import Action, Asset, AssetStatus, Lake, State, Zone
from .types.service import (
CancelJobRequest,
Expand Down Expand Up @@ -97,6 +126,7 @@

__all__ = (
"ContentServiceAsyncClient",
"DataScanServiceAsyncClient",
"DataplexServiceAsyncClient",
"MetadataServiceAsyncClient",
"Action",
Expand All @@ -107,15 +137,30 @@
"ContentServiceClient",
"CreateAssetRequest",
"CreateContentRequest",
"CreateDataScanRequest",
"CreateEntityRequest",
"CreateEnvironmentRequest",
"CreateLakeRequest",
"CreatePartitionRequest",
"CreateTaskRequest",
"CreateZoneRequest",
"DataProfileResult",
"DataProfileSpec",
"DataQualityDimensionResult",
"DataQualityResult",
"DataQualityRule",
"DataQualityRuleResult",
"DataQualitySpec",
"DataScan",
"DataScanEvent",
"DataScanJob",
"DataScanServiceClient",
"DataScanType",
"DataSource",
"DataplexServiceClient",
"DeleteAssetRequest",
"DeleteContentRequest",
"DeleteDataScanRequest",
"DeleteEntityRequest",
"DeleteEnvironmentRequest",
"DeleteLakeRequest",
Expand All @@ -127,6 +172,8 @@
"Environment",
"GetAssetRequest",
"GetContentRequest",
"GetDataScanJobRequest",
"GetDataScanRequest",
"GetEntityRequest",
"GetEnvironmentRequest",
"GetJobRequest",
Expand All @@ -143,6 +190,10 @@
"ListAssetsResponse",
"ListContentRequest",
"ListContentResponse",
"ListDataScanJobsRequest",
"ListDataScanJobsResponse",
"ListDataScansRequest",
"ListDataScansResponse",
"ListEntitiesRequest",
"ListEntitiesResponse",
"ListEnvironmentsRequest",
Expand All @@ -164,15 +215,20 @@
"MetadataServiceClient",
"OperationMetadata",
"Partition",
"RunDataScanRequest",
"RunDataScanResponse",
"ScannedData",
"Schema",
"Session",
"SessionEvent",
"State",
"StorageFormat",
"StorageSystem",
"Task",
"Trigger",
"UpdateAssetRequest",
"UpdateContentRequest",
"UpdateDataScanRequest",
"UpdateEntityRequest",
"UpdateEnvironmentRequest",
"UpdateLakeRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,100 @@
}
}
},
"DataScanService": {
"clients": {
"grpc": {
"libraryClient": "DataScanServiceClient",
"rpcs": {
"CreateDataScan": {
"methods": [
"create_data_scan"
]
},
"DeleteDataScan": {
"methods": [
"delete_data_scan"
]
},
"GetDataScan": {
"methods": [
"get_data_scan"
]
},
"GetDataScanJob": {
"methods": [
"get_data_scan_job"
]
},
"ListDataScanJobs": {
"methods": [
"list_data_scan_jobs"
]
},
"ListDataScans": {
"methods": [
"list_data_scans"
]
},
"RunDataScan": {
"methods": [
"run_data_scan"
]
},
"UpdateDataScan": {
"methods": [
"update_data_scan"
]
}
}
},
"grpc-async": {
"libraryClient": "DataScanServiceAsyncClient",
"rpcs": {
"CreateDataScan": {
"methods": [
"create_data_scan"
]
},
"DeleteDataScan": {
"methods": [
"delete_data_scan"
]
},
"GetDataScan": {
"methods": [
"get_data_scan"
]
},
"GetDataScanJob": {
"methods": [
"get_data_scan_job"
]
},
"ListDataScanJobs": {
"methods": [
"list_data_scan_jobs"
]
},
"ListDataScans": {
"methods": [
"list_data_scans"
]
},
"RunDataScan": {
"methods": [
"run_data_scan"
]
},
"UpdateDataScan": {
"methods": [
"update_data_scan"
]
}
}
}
}
},
"DataplexService": {
"clients": {
"grpc": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- 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.
#
from .async_client import DataScanServiceAsyncClient
from .client import DataScanServiceClient

__all__ = (
"DataScanServiceClient",
"DataScanServiceAsyncClient",
)
Loading

0 comments on commit 898724e

Please sign in to comment.