Skip to content
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
4 changes: 2 additions & 2 deletions packages/google-cloud-dlp/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ In order to use this library, you first need to go through the following steps:
1. `Select or create a Cloud Platform project.`_
2. `Enable billing for your project.`_
3. `Enable the Cloud Data Loss Prevention.`_
4. `Setup Authentication.`_
4. `Set up Authentication.`_

.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Cloud Data Loss Prevention.: https://cloud.google.com/dlp/docs/
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html

Installation
~~~~~~~~~~~~
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-dlp/google/cloud/dlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@
DiscoveryStartingLocation,
DiscoveryTableModifiedCadence,
DiscoveryTarget,
DiscoveryVertexDatasetConditions,
DiscoveryVertexDatasetFilter,
DiscoveryVertexDatasetGenerationCadence,
DlpJob,
DlpJobType,
DocumentLocation,
Expand Down Expand Up @@ -221,6 +224,7 @@
OutputStorageConfig,
PrimitiveTransformation,
PrivacyMetric,
ProcessingLocation,
ProfileGeneration,
ProfileStatus,
ProjectDataProfile,
Expand All @@ -237,6 +241,7 @@
RedactImageResponse,
ReidentifyContentRequest,
ReidentifyContentResponse,
RelatedResource,
RelationalOperator,
ReplaceDictionaryConfig,
ReplaceValueConfig,
Expand Down Expand Up @@ -283,6 +288,11 @@
Value,
ValueFrequency,
VersionDescription,
VertexDatasetCollection,
VertexDatasetDiscoveryTarget,
VertexDatasetRegex,
VertexDatasetRegexes,
VertexDatasetResourceReference,
)
from google.cloud.dlp_v2.types.storage import (
BigQueryField,
Expand Down Expand Up @@ -411,6 +421,9 @@
"DiscoveryStartingLocation",
"DiscoveryTableModifiedCadence",
"DiscoveryTarget",
"DiscoveryVertexDatasetConditions",
"DiscoveryVertexDatasetFilter",
"DiscoveryVertexDatasetGenerationCadence",
"DlpJob",
"DocumentLocation",
"Error",
Expand Down Expand Up @@ -503,6 +516,7 @@
"OutputStorageConfig",
"PrimitiveTransformation",
"PrivacyMetric",
"ProcessingLocation",
"ProfileStatus",
"ProjectDataProfile",
"QuasiId",
Expand All @@ -518,6 +532,7 @@
"RedactImageResponse",
"ReidentifyContentRequest",
"ReidentifyContentResponse",
"RelatedResource",
"ReplaceDictionaryConfig",
"ReplaceValueConfig",
"ReplaceWithInfoTypeConfig",
Expand Down Expand Up @@ -557,6 +572,11 @@
"Value",
"ValueFrequency",
"VersionDescription",
"VertexDatasetCollection",
"VertexDatasetDiscoveryTarget",
"VertexDatasetRegex",
"VertexDatasetRegexes",
"VertexDatasetResourceReference",
"BigQuerySchemaModification",
"BigQueryTableModification",
"BigQueryTableType",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "3.27.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
20 changes: 20 additions & 0 deletions packages/google-cloud-dlp/google/cloud/dlp_v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@
DiscoveryStartingLocation,
DiscoveryTableModifiedCadence,
DiscoveryTarget,
DiscoveryVertexDatasetConditions,
DiscoveryVertexDatasetFilter,
DiscoveryVertexDatasetGenerationCadence,
DlpJob,
DlpJobType,
DocumentLocation,
Expand Down Expand Up @@ -220,6 +223,7 @@
OutputStorageConfig,
PrimitiveTransformation,
PrivacyMetric,
ProcessingLocation,
ProfileGeneration,
ProfileStatus,
ProjectDataProfile,
Expand All @@ -236,6 +240,7 @@
RedactImageResponse,
ReidentifyContentRequest,
ReidentifyContentResponse,
RelatedResource,
RelationalOperator,
ReplaceDictionaryConfig,
ReplaceValueConfig,
Expand Down Expand Up @@ -282,6 +287,11 @@
Value,
ValueFrequency,
VersionDescription,
VertexDatasetCollection,
VertexDatasetDiscoveryTarget,
VertexDatasetRegex,
VertexDatasetRegexes,
VertexDatasetResourceReference,
)
from .types.storage import (
BigQueryField,
Expand Down Expand Up @@ -427,6 +437,9 @@
"DiscoveryStartingLocation",
"DiscoveryTableModifiedCadence",
"DiscoveryTarget",
"DiscoveryVertexDatasetConditions",
"DiscoveryVertexDatasetFilter",
"DiscoveryVertexDatasetGenerationCadence",
"DlpJob",
"DlpJobType",
"DlpServiceClient",
Expand Down Expand Up @@ -535,6 +548,7 @@
"PartitionId",
"PrimitiveTransformation",
"PrivacyMetric",
"ProcessingLocation",
"ProfileGeneration",
"ProfileStatus",
"ProjectDataProfile",
Expand All @@ -552,6 +566,7 @@
"RedactImageResponse",
"ReidentifyContentRequest",
"ReidentifyContentResponse",
"RelatedResource",
"RelationalOperator",
"ReplaceDictionaryConfig",
"ReplaceValueConfig",
Expand Down Expand Up @@ -603,4 +618,9 @@
"Value",
"ValueFrequency",
"VersionDescription",
"VertexDatasetCollection",
"VertexDatasetDiscoveryTarget",
"VertexDatasetRegex",
"VertexDatasetRegexes",
"VertexDatasetResourceReference",
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "3.27.0" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ async def list_info_types(
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> dlp.ListInfoTypesResponse:
r"""Returns a list of the sensitive information types
that DLP API supports. See
that the DLP API supports. See
https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
to learn more.

Expand Down Expand Up @@ -3904,7 +3904,8 @@ async def sample_get_dlp_job():

Args:
request (Optional[Union[google.cloud.dlp_v2.types.GetDlpJobRequest, dict]]):
The request object. The request message for [DlpJobs.GetDlpJob][].
The request object. The request message for
[GetDlpJob][google.privacy.dlp.v2.DlpService.GetDlpJob].
name (:class:`str`):
Required. The name of the DlpJob
resource.
Expand Down Expand Up @@ -6187,9 +6188,9 @@ async def sample_create_connection():

Returns:
google.cloud.dlp_v2.types.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -6297,9 +6298,9 @@ async def sample_get_connection():

Returns:
google.cloud.dlp_v2.types.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -6759,9 +6760,9 @@ async def sample_update_connection():

Returns:
google.cloud.dlp_v2.types.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""
# Create or coerce a protobuf request object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ def list_info_types(
metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> dlp.ListInfoTypesResponse:
r"""Returns a list of the sensitive information types
that DLP API supports. See
that the DLP API supports. See
https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
to learn more.

Expand Down Expand Up @@ -4461,7 +4461,8 @@ def sample_get_dlp_job():

Args:
request (Union[google.cloud.dlp_v2.types.GetDlpJobRequest, dict]):
The request object. The request message for [DlpJobs.GetDlpJob][].
The request object. The request message for
[GetDlpJob][google.privacy.dlp.v2.DlpService.GetDlpJob].
name (str):
Required. The name of the DlpJob
resource.
Expand Down Expand Up @@ -6698,9 +6699,9 @@ def sample_create_connection():

Returns:
google.cloud.dlp_v2.types.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -6805,9 +6806,9 @@ def sample_get_connection():

Returns:
google.cloud.dlp_v2.types.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""
# Create or coerce a protobuf request object.
Expand Down Expand Up @@ -7255,9 +7256,9 @@ def sample_update_connection():

Returns:
google.cloud.dlp_v2.types.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""
# Create or coerce a protobuf request object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def list_info_types(
r"""Return a callable for the list info types method over gRPC.

Returns a list of the sensitive information types
that DLP API supports. See
that the DLP API supports. See
https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
to learn more.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def list_info_types(
r"""Return a callable for the list info types method over gRPC.

Returns a list of the sensitive information types
that DLP API supports. See
that the DLP API supports. See
https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
to learn more.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3090,9 +3090,9 @@ def __call__(

Returns:
~.dlp.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""

Expand Down Expand Up @@ -5603,9 +5603,9 @@ def __call__(

Returns:
~.dlp.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""

Expand Down Expand Up @@ -6047,7 +6047,8 @@ def __call__(

Args:
request (~.dlp.GetDlpJobRequest):
The request object. The request message for [DlpJobs.GetDlpJob][].
The request object. The request message for
[GetDlpJob][google.privacy.dlp.v2.DlpService.GetDlpJob].
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -9845,9 +9846,9 @@ def __call__(

Returns:
~.dlp.Connection:
A data connection to allow DLP to
profile data in locations that require
additional configuration.
A data connection to allow the DLP
API to profile data in locations that
require additional configuration.

"""

Expand Down
Loading