diff --git a/.coveragerc b/.coveragerc index b178b094..dd39c854 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,3 +1,19 @@ +# -*- 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 +# +# https://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. + # Generated by synthtool. DO NOT EDIT! [run] branch = True diff --git a/.flake8 b/.flake8 index 0268ecc9..20fe9bda 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,19 @@ +# -*- 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 +# +# https://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. + # Generated by synthtool. DO NOT EDIT! [flake8] ignore = E203, E266, E501, W503 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 4f0cddd1..1c54b41e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -11,8 +11,7 @@ Thanks for stopping by to let us know something could be better! Please run down the following list and make sure you've tried the usual "quick fixes": - Search the issues already opened: https://github.com/googleapis/python-dlp/issues - - Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-python - - Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+python + - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python If you are still having issues, please be sure to include as much information as possible: diff --git a/.kokoro/publish-docs.sh b/.kokoro/publish-docs.sh index 82afcdcb..b2155021 100755 --- a/.kokoro/publish-docs.sh +++ b/.kokoro/publish-docs.sh @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/bin/bash - set -eo pipefail # Disable buffering, so that the logs stream through. diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index d3992c05..d2f63272 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,7 +22,7 @@ In order to add a feature: documentation. - The feature must work fully on the following CPython versions: 2.7, - 3.5, 3.6, and 3.7 on both UNIX and Windows. + 3.5, 3.6, 3.7 and 3.8 on both UNIX and Windows. - The feature must not add unnecessary dependencies (where "unnecessary" is of course subjective, but new dependencies should @@ -214,26 +214,18 @@ We support: - `Python 3.5`_ - `Python 3.6`_ - `Python 3.7`_ +- `Python 3.8`_ .. _Python 3.5: https://docs.python.org/3.5/ .. _Python 3.6: https://docs.python.org/3.6/ .. _Python 3.7: https://docs.python.org/3.7/ +.. _Python 3.8: https://docs.python.org/3.8/ Supported versions can be found in our ``noxfile.py`` `config`_. .. _config: https://github.com/googleapis/python-dlp/blob/master/noxfile.py -We explicitly decided not to support `Python 2.5`_ due to `decreased usage`_ -and lack of continuous integration `support`_. - -.. _Python 2.5: https://docs.python.org/2.5/ -.. _decreased usage: https://caremad.io/2013/10/a-look-at-pypi-downloads/ -.. _support: https://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/ - -We have `dropped 2.6`_ as a supported version as well since Python 2.6 is no -longer supported by the core development team. - Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020. We also explicitly decided to support Python 3 beginning with version @@ -247,7 +239,6 @@ We also explicitly decided to support Python 3 beginning with version .. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django .. _projects: http://flask.pocoo.org/docs/0.10/python3/ .. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/ -.. _dropped 2.6: https://github.com/googleapis/google-cloud-python/issues/995 ********** Versioning diff --git a/MANIFEST.in b/MANIFEST.in index cd011be2..68855abc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,19 @@ +# -*- 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 +# +# https://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. + # Generated by synthtool. DO NOT EDIT! include README.rst LICENSE recursive-include google *.json *.proto diff --git a/docs/index.rst b/docs/index.rst index ac9eaec1..87dfbc58 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,5 +1,7 @@ .. include:: README.rst +.. include:: multiprocessing.rst + Api Reference ------------- .. toctree:: diff --git a/docs/multiprocessing.rst b/docs/multiprocessing.rst new file mode 100644 index 00000000..1cb29d4c --- /dev/null +++ b/docs/multiprocessing.rst @@ -0,0 +1,7 @@ +.. note:: + + Because this client uses :mod:`grpcio` library, it is safe to + share instances across threads. In multiprocessing scenarios, the best + practice is to create client instances *after* the invocation of + :func:`os.fork` by :class:`multiprocessing.Pool` or + :class:`multiprocessing.Process`. diff --git a/google/cloud/dlp_v2/gapic/dlp_service_client.py b/google/cloud/dlp_v2/gapic/dlp_service_client.py index 49e9be43..8ab996e7 100644 --- a/google/cloud/dlp_v2/gapic/dlp_service_client.py +++ b/google/cloud/dlp_v2/gapic/dlp_service_client.py @@ -84,6 +84,15 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod + def deidentify_template_path(cls, organization, deidentify_template): + """Return a fully-qualified deidentify_template string.""" + return google.api_core.path_template.expand( + "organizations/{organization}/deidentifyTemplates/{deidentify_template}", + organization=organization, + deidentify_template=deidentify_template, + ) + @classmethod def dlp_job_path(cls, project, dlp_job): """Return a fully-qualified dlp_job string.""" @@ -91,6 +100,33 @@ def dlp_job_path(cls, project, dlp_job): "projects/{project}/dlpJobs/{dlp_job}", project=project, dlp_job=dlp_job ) + @classmethod + def inspect_template_path(cls, organization, inspect_template): + """Return a fully-qualified inspect_template string.""" + return google.api_core.path_template.expand( + "organizations/{organization}/inspectTemplates/{inspect_template}", + organization=organization, + inspect_template=inspect_template, + ) + + @classmethod + def job_trigger_path(cls, project, job_trigger): + """Return a fully-qualified job_trigger string.""" + return google.api_core.path_template.expand( + "projects/{project}/jobTriggers/{job_trigger}", + project=project, + job_trigger=job_trigger, + ) + + @classmethod + def location_path(cls, project, location): + """Return a fully-qualified location string.""" + return google.api_core.path_template.expand( + "projects/{project}/locations/{location}", + project=project, + location=location, + ) + @classmethod def organization_path(cls, organization): """Return a fully-qualified organization string.""" @@ -116,6 +152,15 @@ def organization_inspect_template_path(cls, organization, inspect_template): inspect_template=inspect_template, ) + @classmethod + def organization_location_path(cls, organization, location): + """Return a fully-qualified organization_location string.""" + return google.api_core.path_template.expand( + "organizations/{organization}/locations/{location}", + organization=organization, + location=location, + ) + @classmethod def organization_stored_info_type_path(cls, organization, stored_info_type): """Return a fully-qualified organization_stored_info_type string.""" @@ -168,6 +213,15 @@ def project_stored_info_type_path(cls, project, stored_info_type): stored_info_type=stored_info_type, ) + @classmethod + def stored_info_type_path(cls, organization, stored_info_type): + """Return a fully-qualified stored_info_type string.""" + return google.api_core.path_template.expand( + "organizations/{organization}/storedInfoTypes/{stored_info_type}", + organization=organization, + stored_info_type=stored_info_type, + ) + def __init__( self, transport=None, @@ -283,7 +337,7 @@ def __init__( # Service calls def inspect_content( self, - parent, + parent=None, inspect_config=None, item=None, inspect_template_name=None, @@ -308,14 +362,13 @@ def inspect_content( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.project_path('[PROJECT]') - >>> - >>> response = client.inspect_content(parent) + >>> response = client.inspect_content() Args: - parent (str): The parent resource name, for example projects/my-project-id. - inspect_config (Union[dict, ~google.cloud.dlp_v2.types.InspectConfig]): Configuration for the inspector. What specified here will override the - template referenced by the inspect\_template\_name argument. + parent (str): The parent resource name, for example projects/my-project-id or + projects/my-project-id/locations/{location_id} + inspect_config (Union[dict, ~google.cloud.dlp_v2.types.InspectConfig]): Configuration for the inspector. What specified here will override + the template referenced by the inspect_template_name argument. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.InspectConfig` @@ -323,13 +376,12 @@ def inspect_content( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.ContentItem` - inspect_template_name (str): Template to use. Any configuration directly specified in inspect\_config - will override those set in the template. Singular fields that are set in - this request will replace their corresponding fields in the template. - Repeated fields are appended. Singular sub-messages and groups are - recursively merged. - location_id (str): The geographic location to process content inspection. Reserved for future - extensions. + inspect_template_name (str): Template to use. Any configuration directly specified in + inspect_config will override those set in the template. Singular fields + that are set in this request will replace their corresponding fields in + the template. Repeated fields are appended. Singular sub-messages and + groups are recursively merged. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -386,7 +438,7 @@ def inspect_content( def redact_image( self, - parent, + parent=None, location_id=None, inspect_config=None, image_redaction_configs=None, @@ -411,14 +463,12 @@ def redact_image( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.project_path('[PROJECT]') - >>> - >>> response = client.redact_image(parent) + >>> response = client.redact_image() Args: - parent (str): The parent resource name, for example projects/my-project-id. - location_id (str): The geographic location to process the request. Reserved for future - extensions. + parent (str): The parent resource name, for example projects/my-project-id or + projects/my-project-id/locations/{location_id}. + location_id (str): Deprecated. This field has no effect. inspect_config (Union[dict, ~google.cloud.dlp_v2.types.InspectConfig]): Configuration for the inspector. If a dict is provided, it must be of the same form as the protobuf @@ -490,7 +540,7 @@ def redact_image( def deidentify_content( self, - parent, + parent=None, deidentify_config=None, inspect_config=None, item=None, @@ -516,20 +566,19 @@ def deidentify_content( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.project_path('[PROJECT]') - >>> - >>> response = client.deidentify_content(parent) + >>> response = client.deidentify_content() Args: - parent (str): The parent resource name, for example projects/my-project-id. + parent (str): The parent resource name, for example projects/my-project-id or + projects/my-project-id/locations/{location_id}. deidentify_config (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyConfig]): Configuration for the de-identification of the content item. Items specified here will override the template referenced by the - deidentify\_template\_name argument. + deidentify_template_name argument. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.DeidentifyConfig` - inspect_config (Union[dict, ~google.cloud.dlp_v2.types.InspectConfig]): Configuration for the inspector. Items specified here will override the - template referenced by the inspect\_template\_name argument. + inspect_config (Union[dict, ~google.cloud.dlp_v2.types.InspectConfig]): Configuration for the inspector. Items specified here will override + the template referenced by the inspect_template_name argument. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.InspectConfig` @@ -537,18 +586,17 @@ def deidentify_content( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.ContentItem` - inspect_template_name (str): Template to use. Any configuration directly specified in inspect\_config - will override those set in the template. Singular fields that are set in - this request will replace their corresponding fields in the template. - Repeated fields are appended. Singular sub-messages and groups are - recursively merged. + inspect_template_name (str): Template to use. Any configuration directly specified in + inspect_config will override those set in the template. Singular fields + that are set in this request will replace their corresponding fields in + the template. Repeated fields are appended. Singular sub-messages and + groups are recursively merged. deidentify_template_name (str): Template to use. Any configuration directly specified in - deidentify\_config will override those set in the template. Singular + deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged. - location_id (str): The geographic location to process de-identification. Reserved for future - extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -620,7 +668,7 @@ def reidentify_content( ): """ Re-identifies content that has been de-identified. See - https://cloud.google.com/dlp/docs/pseudonymization#re-identification\_in\_free\_text\_code\_example + https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. Example: @@ -634,13 +682,13 @@ def reidentify_content( Args: parent (str): Required. The parent resource name. - reidentify_config (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyConfig]): Configuration for the re-identification of the content item. This field - shares the same proto message type that is used for de-identification, - however its usage here is for the reversal of the previous - de-identification. Re-identification is performed by examining the - transformations used to de-identify the items and executing the reverse. - This requires that only reversible transformations be provided here. The - reversible transformations are: + reidentify_config (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyConfig]): Configuration for the re-identification of the content item. This + field shares the same proto message type that is used for + de-identification, however its usage here is for the reversal of the + previous de-identification. Re-identification is performed by examining + the transformations used to de-identify the items and executing the + reverse. This requires that only reversible transformations be provided + here. The reversible transformations are: - ``CryptoDeterministicConfig`` - ``CryptoReplaceFfxFpeConfig`` @@ -660,14 +708,13 @@ def reidentify_content( fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged. - reidentify_template_name (str): Template to use. References an instance of ``DeidentifyTemplate``. Any - configuration directly specified in ``reidentify_config`` or + reidentify_template_name (str): Template to use. References an instance of ``DeidentifyTemplate``. + Any configuration directly specified in ``reidentify_config`` or ``inspect_config`` will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged. - location_id (str): The geographic location to process content reidentification. Reserved for - future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -726,6 +773,7 @@ def reidentify_content( def list_info_types( self, + parent=None, language_code=None, filter_=None, location_id=None, @@ -746,13 +794,13 @@ def list_info_types( >>> response = client.list_info_types() Args: + parent (str): The parent resource name, for example locations/{location_id} language_code (str): BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned. - filter_ (str): filter to only return infoTypes supported by certain parts of the API. - Defaults to supported\_by=INSPECT. - location_id (str): The geographic location to list info types. Reserved for future - extensions. + filter_ (str): filter to only return infoTypes supported by certain parts of the + API. Defaults to supported_by=INSPECT. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -784,13 +832,16 @@ def list_info_types( ) request = dlp_pb2.ListInfoTypesRequest( - language_code=language_code, filter=filter_, location_id=location_id + parent=parent, + language_code=language_code, + filter=filter_, + location_id=location_id, ) if metadata is None: metadata = [] metadata = list(metadata) try: - routing_header = [("location_id", location_id)] + routing_header = [("parent", parent)] except AttributeError: pass else: @@ -806,7 +857,7 @@ def list_info_types( def create_inspect_template( self, parent, - inspect_template=None, + inspect_template, template_id=None, location_id=None, retry=google.api_core.gapic_v1.method.DEFAULT, @@ -823,23 +874,25 @@ def create_inspect_template( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.organization_path('[ORGANIZATION]') + >>> parent = client.organization_location_path('[ORGANIZATION]', '[LOCATION]') + >>> + >>> # TODO: Initialize `inspect_template`: + >>> inspect_template = {} >>> - >>> response = client.create_inspect_template(parent) + >>> response = client.create_inspect_template(parent, inspect_template) Args: parent (str): Required. The parent resource name, for example projects/my-project-id or - organizations/my-org-id. + organizations/my-org-id or projects/my-project-id/locations/{location-id}. inspect_template (Union[dict, ~google.cloud.dlp_v2.types.InspectTemplate]): Required. The InspectTemplate to create. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.InspectTemplate` - template_id (str): The template id can contain uppercase and lowercase letters, numbers, - and hyphens; that is, it must match the regular expression: + template_id (str): The template id can contain uppercase and lowercase letters, + numbers, and hyphens; that is, it must match the regular expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. - location_id (str): The geographic location to store the inspection template. Reserved for - future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -980,7 +1033,7 @@ def update_inspect_template( def get_inspect_template( self, - name=None, + name, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None, @@ -994,12 +1047,15 @@ def get_inspect_template( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> response = client.get_inspect_template() + >>> name = client.organization_inspect_template_path('[ORGANIZATION]', '[INSPECT_TEMPLATE]') + >>> + >>> response = client.get_inspect_template(name) Args: - name (str): Required. Resource name of the organization and inspectTemplate to be - read, for example ``organizations/433245324/inspectTemplates/432452342`` - or projects/project-id/inspectTemplates/432452342. + name (str): Required. Resource name of the organization and inspectTemplate to + be read, for example + ``organizations/433245324/inspectTemplates/432452342`` or + projects/project-id/inspectTemplates/432452342. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1067,7 +1123,7 @@ def list_inspect_templates( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.organization_path('[ORGANIZATION]') + >>> parent = client.organization_location_path('[ORGANIZATION]', '[LOCATION]') >>> >>> # Iterate over all results >>> for element in client.list_inspect_templates(parent): @@ -1084,8 +1140,9 @@ def list_inspect_templates( ... pass Args: - parent (str): Required. The parent resource name, for example projects/my-project-id or - organizations/my-org-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or organizations/my-org-id or + projects/my-project-id/locations/{location_id}. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -1103,8 +1160,7 @@ def list_inspect_templates( - ``update_time``: corresponds to time the template was last updated. - ``name``: corresponds to template's name. - ``display_name``: corresponds to template's display name. - location_id (str): The geographic location where inspection templates will be retrieved - from. Use ``-`` for all locations. Reserved for future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1193,8 +1249,8 @@ def delete_inspect_template( >>> client.delete_inspect_template(name) Args: - name (str): Required. Resource name of the organization and inspectTemplate to be - deleted, for example + name (str): Required. Resource name of the organization and inspectTemplate to + be deleted, for example ``organizations/433245324/inspectTemplates/432452342`` or projects/project-id/inspectTemplates/432452342. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1245,7 +1301,7 @@ def delete_inspect_template( def create_deidentify_template( self, parent, - deidentify_template=None, + deidentify_template, template_id=None, location_id=None, retry=google.api_core.gapic_v1.method.DEFAULT, @@ -1263,23 +1319,26 @@ def create_deidentify_template( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.organization_path('[ORGANIZATION]') + >>> parent = client.organization_location_path('[ORGANIZATION]', '[LOCATION]') >>> - >>> response = client.create_deidentify_template(parent) + >>> # TODO: Initialize `deidentify_template`: + >>> deidentify_template = {} + >>> + >>> response = client.create_deidentify_template(parent, deidentify_template) Args: - parent (str): Required. The parent resource name, for example projects/my-project-id or - organizations/my-org-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or organizations/my-org-id or + projects/my-project-id/locations/{location_id}. deidentify_template (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyTemplate]): Required. The DeidentifyTemplate to create. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.DeidentifyTemplate` - template_id (str): The template id can contain uppercase and lowercase letters, numbers, - and hyphens; that is, it must match the regular expression: + template_id (str): The template id can contain uppercase and lowercase letters, + numbers, and hyphens; that is, it must match the regular expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. - location_id (str): The geographic location to store the deidentification template. Reserved - for future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1359,8 +1418,8 @@ def update_deidentify_template( >>> response = client.update_deidentify_template(name) Args: - name (str): Required. Resource name of organization and deidentify template to be - updated, for example + name (str): Required. Resource name of organization and deidentify template to + be updated, for example ``organizations/433245324/deidentifyTemplates/432452342`` or projects/project-id/deidentifyTemplates/432452342. deidentify_template (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyTemplate]): New DeidentifyTemplate value. @@ -1445,8 +1504,8 @@ def get_deidentify_template( >>> response = client.get_deidentify_template(name) Args: - name (str): Required. Resource name of the organization and deidentify template to - be read, for example + name (str): Required. Resource name of the organization and deidentify template + to be read, for example ``organizations/433245324/deidentifyTemplates/432452342`` or projects/project-id/deidentifyTemplates/432452342. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1517,7 +1576,7 @@ def list_deidentify_templates( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.organization_path('[ORGANIZATION]') + >>> parent = client.organization_location_path('[ORGANIZATION]', '[LOCATION]') >>> >>> # Iterate over all results >>> for element in client.list_deidentify_templates(parent): @@ -1534,8 +1593,9 @@ def list_deidentify_templates( ... pass Args: - parent (str): Required. The parent resource name, for example projects/my-project-id or - organizations/my-org-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or organizations/my-org-id or + projects/my-project-id/locations/{location_id}. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -1553,9 +1613,7 @@ def list_deidentify_templates( - ``update_time``: corresponds to time the template was last updated. - ``name``: corresponds to template's name. - ``display_name``: corresponds to template's display name. - location_id (str): The geographic location where deidentifications templates will be - retrieved from. Use ``-`` for all locations. Reserved for future - extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1645,8 +1703,8 @@ def delete_deidentify_template( >>> client.delete_deidentify_template(name) Args: - name (str): Required. Resource name of the organization and deidentify template to - be deleted, for example + name (str): Required. Resource name of the organization and deidentify template + to be deleted, for example ``organizations/433245324/deidentifyTemplates/432452342`` or projects/project-id/deidentifyTemplates/432452342. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1726,7 +1784,9 @@ def create_dlp_job( >>> response = client.create_dlp_job(parent) Args: - parent (str): Required. The parent resource name, for example projects/my-project-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or + projects/my-project-id/locations/{location_id}. inspect_job (Union[dict, ~google.cloud.dlp_v2.types.InspectJobConfig]): Set to control what and how to inspect. If a dict is provided, it must be of the same form as the protobuf @@ -1739,8 +1799,7 @@ def create_dlp_job( hyphens; that is, it must match the regular expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. - location_id (str): The geographic location to store and process the job. Reserved for - future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1840,7 +1899,9 @@ def list_dlp_jobs( ... pass Args: - parent (str): Required. The parent resource name, for example projects/my-project-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or + projects/my-project-id/locations/{location_id}. filter_ (str): Allows filtering. Supported syntax: @@ -1851,28 +1912,28 @@ def list_dlp_jobs( - A restriction has the form of ``{field} {operator} {value}``. - Supported fields/values for inspect jobs: - - ``state`` - PENDING\|RUNNING\|CANCELED\|FINISHED\|FAILED - - ``inspected_storage`` - DATASTORE\|CLOUD\_STORAGE\|BIGQUERY + - ``state`` - PENDING|RUNNING|CANCELED|FINISHED|FAILED + - ``inspected_storage`` - DATASTORE|CLOUD_STORAGE|BIGQUERY - ``trigger_name`` - The resource name of the trigger that created job. - - 'end\_time\` - Corresponds to time the job finished. - - 'start\_time\` - Corresponds to time the job finished. + - 'end_time\` - Corresponds to time the job finished. + - 'start_time\` - Corresponds to time the job finished. - Supported fields for risk analysis jobs: - - ``state`` - RUNNING\|CANCELED\|FINISHED\|FAILED - - 'end\_time\` - Corresponds to time the job finished. - - 'start\_time\` - Corresponds to time the job finished. + - ``state`` - RUNNING|CANCELED|FINISHED|FAILED + - 'end_time\` - Corresponds to time the job finished. + - 'start_time\` - Corresponds to time the job finished. - The operator must be ``=`` or ``!=``. Examples: - - inspected\_storage = cloud\_storage AND state = done - - inspected\_storage = cloud\_storage OR inspected\_storage = bigquery - - inspected\_storage = cloud\_storage AND (state = done OR state = + - inspected_storage = cloud_storage AND state = done + - inspected_storage = cloud_storage OR inspected_storage = bigquery + - inspected_storage = cloud_storage AND (state = done OR state = canceled) - - end\_time > "2017-12-12T00:00:00+00:00" + - end_time > "2017-12-12T00:00:00+00:00" The length of this field should be no more than 500 characters. page_size (int): The maximum number of resources contained in the @@ -1893,8 +1954,7 @@ def list_dlp_jobs( - ``end_time``: corresponds to time the job ended. - ``name``: corresponds to job's name. - ``state``: corresponds to ``state`` - location_id (str): The geographic location where jobs will be retrieved from. Use ``-`` for - all locations. Reserved for future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1981,7 +2041,8 @@ def get_dlp_job( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> name = client.dlp_job_path('[PROJECT]', '[DLP_JOB]') + >>> # TODO: Initialize `name`: + >>> name = '' >>> >>> response = client.get_dlp_job(name) @@ -2054,7 +2115,8 @@ def delete_dlp_job( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> name = client.dlp_job_path('[PROJECT]', '[DLP_JOB]') + >>> # TODO: Initialize `name`: + >>> name = '' >>> >>> client.delete_dlp_job(name) @@ -2124,7 +2186,8 @@ def cancel_dlp_job( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> name = client.dlp_job_path('[PROJECT]', '[DLP_JOB]') + >>> # TODO: Initialize `name`: + >>> name = '' >>> >>> client.cancel_dlp_job(name) @@ -2194,7 +2257,8 @@ def finish_dlp_job( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> name = client.dlp_job_path('[PROJECT]', '[DLP_JOB]') + >>> # TODO: Initialize `name`: + >>> name = '' >>> >>> client.finish_dlp_job(name) @@ -2272,8 +2336,8 @@ def hybrid_inspect_dlp_job( >>> response = client.hybrid_inspect_dlp_job(name) Args: - name (str): Required. Resource name of the job to execute a hybrid inspect on, for - example ``projects/dlp-test-project/dlpJob/53234423``. + name (str): Required. Resource name of the job to execute a hybrid inspect on, + for example ``projects/dlp-test-project/dlpJob/53234423``. hybrid_item (Union[dict, ~google.cloud.dlp_v2.types.HybridContentItem]): The item to inspect. If a dict is provided, it must be of the same form as the protobuf @@ -2364,7 +2428,8 @@ def list_job_triggers( Args: parent (str): Required. The parent resource name, for example - ``projects/my-project-id``. + ``projects/my-project-id`` or + projects/my-project-id/locations/{location_id}. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -2395,27 +2460,25 @@ def list_job_triggers( - A restriction has the form of ``{field} {operator} {value}``. - Supported fields/values for inspect jobs: - - ``status`` - HEALTHY\|PAUSED\|CANCELLED - - ``inspected_storage`` - DATASTORE\|CLOUD\_STORAGE\|BIGQUERY - - 'last\_run\_time\` - RFC 3339 formatted timestamp, surrounded by + - ``status`` - HEALTHY|PAUSED|CANCELLED + - ``inspected_storage`` - DATASTORE|CLOUD_STORAGE|BIGQUERY + - 'last_run_time\` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - - 'error\_count' - Number of errors that have occurred while - running. + - 'error_count' - Number of errors that have occurred while running. - The operator must be ``=`` or ``!=`` for status and - inspected\_storage. + inspected_storage. Examples: - - inspected\_storage = cloud\_storage AND status = HEALTHY - - inspected\_storage = cloud\_storage OR inspected\_storage = bigquery - - inspected\_storage = cloud\_storage AND (state = PAUSED OR state = + - inspected_storage = cloud_storage AND status = HEALTHY + - inspected_storage = cloud_storage OR inspected_storage = bigquery + - inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) - - last\_run\_time > "2017-12-12T00:00:00+00:00" + - last_run_time > "2017-12-12T00:00:00+00:00" The length of this field should be no more than 500 characters. - location_id (str): The geographic location where job triggers will be retrieved from. Use - ``-`` for all locations. Reserved for future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2505,8 +2568,8 @@ def get_job_trigger( >>> response = client.get_job_trigger(name) Args: - name (str): Required. Resource name of the project and the triggeredJob, for example - ``projects/dlp-test-project/jobTriggers/53234423``. + name (str): Required. Resource name of the project and the triggeredJob, for + example ``projects/dlp-test-project/jobTriggers/53234423``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2571,14 +2634,13 @@ def delete_job_trigger( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> # TODO: Initialize `name`: - >>> name = '' + >>> name = client.project_job_trigger_path('[PROJECT]', '[JOB_TRIGGER]') >>> >>> client.delete_job_trigger(name) Args: - name (str): Required. Resource name of the project and the triggeredJob, for example - ``projects/dlp-test-project/jobTriggers/53234423``. + name (str): Required. Resource name of the project and the triggeredJob, for + example ``projects/dlp-test-project/jobTriggers/53234423``. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2645,14 +2707,13 @@ def hybrid_inspect_job_trigger( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> # TODO: Initialize `name`: - >>> name = '' + >>> name = client.project_job_trigger_path('[PROJECT]', '[JOB_TRIGGER]') >>> >>> response = client.hybrid_inspect_job_trigger(name) Args: - name (str): Required. Resource name of the trigger to execute a hybrid inspect on, - for example ``projects/dlp-test-project/jobTriggers/53234423``. + name (str): Required. Resource name of the trigger to execute a hybrid inspect + on, for example ``projects/dlp-test-project/jobTriggers/53234423``. hybrid_item (Union[dict, ~google.cloud.dlp_v2.types.HybridContentItem]): The item to inspect. If a dict is provided, it must be of the same form as the protobuf @@ -2730,8 +2791,8 @@ def update_job_trigger( >>> response = client.update_job_trigger(name) Args: - name (str): Required. Resource name of the project and the triggeredJob, for example - ``projects/dlp-test-project/jobTriggers/53234423``. + name (str): Required. Resource name of the project and the triggeredJob, for + example ``projects/dlp-test-project/jobTriggers/53234423``. job_trigger (Union[dict, ~google.cloud.dlp_v2.types.JobTrigger]): New JobTrigger value. If a dict is provided, it must be of the same form as the protobuf @@ -2793,7 +2854,7 @@ def update_job_trigger( def create_job_trigger( self, parent, - job_trigger=None, + job_trigger, trigger_id=None, location_id=None, retry=google.api_core.gapic_v1.method.DEFAULT, @@ -2812,20 +2873,24 @@ def create_job_trigger( >>> >>> parent = client.project_path('[PROJECT]') >>> - >>> response = client.create_job_trigger(parent) + >>> # TODO: Initialize `job_trigger`: + >>> job_trigger = {} + >>> + >>> response = client.create_job_trigger(parent, job_trigger) Args: - parent (str): Required. The parent resource name, for example projects/my-project-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or + projects/my-project-id/locations/{location_id}. job_trigger (Union[dict, ~google.cloud.dlp_v2.types.JobTrigger]): Required. The JobTrigger to create. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.dlp_v2.types.JobTrigger` - trigger_id (str): The trigger id can contain uppercase and lowercase letters, numbers, and - hyphens; that is, it must match the regular expression: + trigger_id (str): The trigger id can contain uppercase and lowercase letters, numbers, + and hyphens; that is, it must match the regular expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. - location_id (str): The geographic location to store the job trigger. Reserved for - future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2882,7 +2947,7 @@ def create_job_trigger( def create_stored_info_type( self, parent, - config=None, + config, stored_info_type_id=None, location_id=None, retry=google.api_core.gapic_v1.method.DEFAULT, @@ -2899,13 +2964,17 @@ def create_stored_info_type( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.organization_path('[ORGANIZATION]') + >>> parent = client.organization_location_path('[ORGANIZATION]', '[LOCATION]') + >>> + >>> # TODO: Initialize `config`: + >>> config = {} >>> - >>> response = client.create_stored_info_type(parent) + >>> response = client.create_stored_info_type(parent, config) Args: - parent (str): Required. The parent resource name, for example projects/my-project-id or - organizations/my-org-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or organizations/my-org-id or + projects/my-project-id/locations/{location_id} config (Union[dict, ~google.cloud.dlp_v2.types.StoredInfoTypeConfig]): Required. Configuration of the storedInfoType to create. If a dict is provided, it must be of the same form as the protobuf @@ -2914,8 +2983,7 @@ def create_stored_info_type( numbers, and hyphens; that is, it must match the regular expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. - location_id (str): The geographic location to store the stored infoType. Reserved for - future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -3151,7 +3219,7 @@ def list_stored_info_types( >>> >>> client = dlp_v2.DlpServiceClient() >>> - >>> parent = client.organization_path('[ORGANIZATION]') + >>> parent = client.organization_location_path('[ORGANIZATION]', '[LOCATION]') >>> >>> # Iterate over all results >>> for element in client.list_stored_info_types(parent): @@ -3168,8 +3236,9 @@ def list_stored_info_types( ... pass Args: - parent (str): Required. The parent resource name, for example projects/my-project-id or - organizations/my-org-id. + parent (str): Required. The parent resource name, for example + projects/my-project-id or organizations/my-org-id or + projects/my-project-id/locations/{location_id}. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -3188,8 +3257,7 @@ def list_stored_info_types( - ``state``: corresponds to the state of the resource. - ``name``: corresponds to resource name. - ``display_name``: corresponds to info type's display name. - location_id (str): The geographic location where stored infoTypes will be retrieved from. - Use ``-`` for all locations. Reserved for future extensions. + location_id (str): Deprecated. This field has no effect. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. diff --git a/google/cloud/dlp_v2/gapic/enums.py b/google/cloud/dlp_v2/gapic/enums.py index 695d682a..5c055bb6 100644 --- a/google/cloud/dlp_v2/gapic/enums.py +++ b/google/cloud/dlp_v2/gapic/enums.py @@ -88,7 +88,12 @@ class FileType(enum.IntEnum): rb, rbw, rs, rc, scala, sh, sql, tex, txt, text, tsv, vcard, vcs, wml, xml, xsl, xsd, yml, yaml. IMAGE (int): Included file extensions: bmp, gif, jpg, jpeg, jpe, png. - bytes\_limit\_per\_file has no effect on image files. + bytes_limit_per_file has no effect on image files. Image inspection is + restricted to 'global', 'us', 'asia', and 'europe'. + WORD (int): Included file extensions: + docx, dotx, docm, dotm + PDF (int): Included file extensions: + pdf AVRO (int): Included file extensions: avro """ @@ -97,6 +102,8 @@ class FileType(enum.IntEnum): BINARY_FILE = 1 TEXT_FILE = 2 IMAGE = 3 + WORD = 5 + PDF = 6 AVRO = 7 @@ -168,6 +175,19 @@ class MatchingType(enum.IntEnum): MATCHING_TYPE_INVERSE_MATCH = 3 +class MetadataType(enum.IntEnum): + """ + Type of metadata containing the finding. + + Attributes: + METADATATYPE_UNSPECIFIED (int): Unused + STORAGE_METADATA (int): General file metadata provided by GCS. + """ + + METADATATYPE_UNSPECIFIED = 0 + STORAGE_METADATA = 2 + + class RelationalOperator(enum.IntEnum): """ Operators available for comparing the value of fields. @@ -201,8 +221,8 @@ class StoredInfoTypeState(enum.IntEnum): STORED_INFO_TYPE_STATE_UNSPECIFIED (int): Unused PENDING (int): StoredInfoType version is being created. READY (int): StoredInfoType version is ready for use. - FAILED (int): StoredInfoType creation failed. All relevant error messages are returned - in the ``StoredInfoTypeVersion`` message. + FAILED (int): StoredInfoType creation failed. All relevant error messages are + returned in the ``StoredInfoTypeVersion`` message. INVALID (int): StoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified. To fix an invalid StoredInfoType, use the ``UpdateStoredInfoType`` method to create a new version. @@ -219,8 +239,8 @@ class BigQueryOptions(object): class SampleMethod(enum.IntEnum): """ How to sample rows if not all rows are scanned. Meaningful only when - used in conjunction with either rows\_limit or rows\_limit\_percent. If - not specified, scanning would start from the top. + used in conjunction with either rows_limit or rows_limit_percent. If not + specified, scanning would start from the top. Attributes: SAMPLE_METHOD_UNSPECIFIED (int) @@ -236,7 +256,7 @@ class SampleMethod(enum.IntEnum): class ByteContentItem(object): class BytesType(enum.IntEnum): """ - The type of data being sent to in data. + The type of data being sent for inspection. Attributes: BYTES_TYPE_UNSPECIFIED (int): Unused @@ -246,6 +266,8 @@ class BytesType(enum.IntEnum): IMAGE_PNG (int): png IMAGE_SVG (int): svg TEXT_UTF8 (int): plain text + WORD_DOCUMENT (int): docx, docm, dotx, dotm + PDF (int): pdf AVRO (int): avro """ @@ -256,6 +278,8 @@ class BytesType(enum.IntEnum): IMAGE_PNG = 3 IMAGE_SVG = 4 TEXT_UTF8 = 5 + WORD_DOCUMENT = 7 + PDF = 8 AVRO = 11 @@ -269,7 +293,7 @@ class CommonCharsToIgnore(enum.IntEnum): NUMERIC (int): 0-9 ALPHA_UPPER_CASE (int): A-Z ALPHA_LOWER_CASE (int): a-z - PUNCTUATION (int): US Punctuation, one of !"#$%&'()\*+,-./:;<=>?@[]^\_\`{\|}~ + PUNCTUATION (int): US Punctuation, one of !"#$%&'()*+,-./:;<=>?@[]^_`{|}~ WHITESPACE (int): Whitespace character """ @@ -284,14 +308,14 @@ class CommonCharsToIgnore(enum.IntEnum): class CloudStorageOptions(object): class SampleMethod(enum.IntEnum): """ - How to sample bytes if not all bytes are scanned. Meaningful only when - used in conjunction with bytes\_limit\_per\_file. If not specified, + How to sample bytes if not all bytes are scanned. Meaningful only + when used in conjunction with bytes_limit_per_file. If not specified, scanning would start from the top. Attributes: SAMPLE_METHOD_UNSPECIFIED (int) TOP (int): Scan from the top (default). - RANDOM_START (int): For each file larger than bytes\_limit\_per\_file, randomly pick the + RANDOM_START (int): For each file larger than bytes_limit_per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous. """ @@ -392,8 +416,8 @@ class OutputSchema(enum.IntEnum): Attributes: OUTPUT_SCHEMA_UNSPECIFIED (int): Unused. - BASIC_COLUMNS (int): Basic schema including only ``info_type``, ``quote``, ``certainty``, and - ``timestamp``. + BASIC_COLUMNS (int): Basic schema including only ``info_type``, ``quote``, ``certainty``, + and ``timestamp``. GCS_COLUMNS (int): Schema tailored to findings from scanning Google Cloud Storage. DATASTORE_COLUMNS (int): Schema tailored to findings from scanning Google Datastore. BIG_QUERY_COLUMNS (int): Schema tailored to findings from scanning Google BigQuery. diff --git a/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py b/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py index 428423fb..47a04aa6 100644 --- a/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py +++ b/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py @@ -171,7 +171,7 @@ def reidentify_content(self): """Return the gRPC stub for :meth:`DlpServiceClient.reidentify_content`. Re-identifies content that has been de-identified. See - https://cloud.google.com/dlp/docs/pseudonymization#re-identification\_in\_free\_text\_code\_example + https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example to learn more. Returns: diff --git a/google/cloud/dlp_v2/proto/dlp.proto b/google/cloud/dlp_v2/proto/dlp.proto index 6dcf88ca..29291fa5 100644 --- a/google/cloud/dlp_v2/proto/dlp.proto +++ b/google/cloud/dlp_v2/proto/dlp.proto @@ -36,6 +36,11 @@ option java_multiple_files = true; option java_outer_classname = "DlpProto"; option java_package = "com.google.privacy.dlp.v2"; option php_namespace = "Google\\Cloud\\Dlp\\V2"; +option ruby_package = "Google::Cloud::Dlp::V2"; +option (google.api.resource_definition) = { + type: "dlp.googleapis.com/OrganizationLocation" + pattern: "organizations/{organization}/locations/{location}" +}; // The Cloud Data Loss Prevention (DLP) API is a service that allows clients // to detect the presence of Personally Identifiable Information (PII) and other @@ -48,8 +53,7 @@ option php_namespace = "Google\\Cloud\\Dlp\\V2"; // https://cloud.google.com/dlp/docs/. service DlpService { option (google.api.default_host) = "dlp.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. @@ -65,7 +69,7 @@ service DlpService { post: "/v2/{parent=projects/*}/content:inspect" body: "*" additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/content:inspect" + post: "/v2/{parent=projects/*/locations/*}/content:inspect" body: "*" } }; @@ -84,7 +88,7 @@ service DlpService { post: "/v2/{parent=projects/*}/image:redact" body: "*" additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/image:redact" + post: "/v2/{parent=projects/*/locations/*}/image:redact" body: "*" } }; @@ -98,13 +102,12 @@ service DlpService { // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. - rpc DeidentifyContent(DeidentifyContentRequest) - returns (DeidentifyContentResponse) { + rpc DeidentifyContent(DeidentifyContentRequest) returns (DeidentifyContentResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:deidentify" body: "*" additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/content:deidentify" + post: "/v2/{parent=projects/*/locations/*}/content:deidentify" body: "*" } }; @@ -114,13 +117,12 @@ service DlpService { // See // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example // to learn more. - rpc ReidentifyContent(ReidentifyContentRequest) - returns (ReidentifyContentResponse) { + rpc ReidentifyContent(ReidentifyContentRequest) returns (ReidentifyContentResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:reidentify" body: "*" additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/content:reidentify" + post: "/v2/{parent=projects/*/locations/*}/content:reidentify" body: "*" } }; @@ -132,21 +134,22 @@ service DlpService { rpc ListInfoTypes(ListInfoTypesRequest) returns (ListInfoTypesResponse) { option (google.api.http) = { get: "/v2/infoTypes" - additional_bindings { get: "/v2/locations/{location_id}/infoTypes" } + additional_bindings { + get: "/v2/{parent=locations/*}/infoTypes" + } }; - option (google.api.method_signature) = "location_id"; + option (google.api.method_signature) = "parent"; } // Creates an InspectTemplate for re-using frequently used configuration // for inspecting content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc CreateInspectTemplate(CreateInspectTemplateRequest) - returns (InspectTemplate) { + rpc CreateInspectTemplate(CreateInspectTemplateRequest) returns (InspectTemplate) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/inspectTemplates" body: "*" additional_bindings { - post: "/v2/{parent=organizations/*}/locations/{location_id}/inspectTemplates" + post: "/v2/{parent=organizations/*/locations/*}/inspectTemplates" body: "*" } additional_bindings { @@ -154,19 +157,16 @@ service DlpService { body: "*" } additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates" + post: "/v2/{parent=projects/*/locations/*}/inspectTemplates" body: "*" } }; option (google.api.method_signature) = "parent,inspect_template"; - option (google.api.method_signature) = - "parent,inspect_template,location_id"; } // Updates the InspectTemplate. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) - returns (InspectTemplate) { + rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) returns (InspectTemplate) { option (google.api.http) = { patch: "/v2/{name=organizations/*/inspectTemplates/*}" body: "*" @@ -194,7 +194,9 @@ service DlpService { additional_bindings { get: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" } - additional_bindings { get: "/v2/{name=projects/*/inspectTemplates/*}" } + additional_bindings { + get: "/v2/{name=projects/*/inspectTemplates/*}" + } additional_bindings { get: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" } @@ -204,16 +206,17 @@ service DlpService { // Lists InspectTemplates. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc ListInspectTemplates(ListInspectTemplatesRequest) - returns (ListInspectTemplatesResponse) { + rpc ListInspectTemplates(ListInspectTemplatesRequest) returns (ListInspectTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/inspectTemplates" additional_bindings { - get: "/v2/{parent=organizations/*}/locations/{location_id}/inspectTemplates" + get: "/v2/{parent=organizations/*/locations/*}/inspectTemplates" + } + additional_bindings { + get: "/v2/{parent=projects/*}/inspectTemplates" } - additional_bindings { get: "/v2/{parent=projects/*}/inspectTemplates" } additional_bindings { - get: "/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates" + get: "/v2/{parent=projects/*/locations/*}/inspectTemplates" } }; option (google.api.method_signature) = "parent"; @@ -221,14 +224,15 @@ service DlpService { // Deletes an InspectTemplate. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) - returns (google.protobuf.Empty) { + rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/inspectTemplates/*}" additional_bindings { delete: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" } - additional_bindings { delete: "/v2/{name=projects/*/inspectTemplates/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/inspectTemplates/*}" + } additional_bindings { delete: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" } @@ -240,13 +244,12 @@ service DlpService { // for de-identifying content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) - returns (DeidentifyTemplate) { + rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) returns (DeidentifyTemplate) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/deidentifyTemplates" body: "*" additional_bindings { - post: "/v2/{parent=organizations/*}/locations/{location_id}/deidentifyTemplates" + post: "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates" body: "*" } additional_bindings { @@ -254,20 +257,17 @@ service DlpService { body: "*" } additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates" + post: "/v2/{parent=projects/*/locations/*}/deidentifyTemplates" body: "*" } }; option (google.api.method_signature) = "parent,deidentify_template"; - option (google.api.method_signature) = - "parent,deidentify_template,location_id"; } // Updates the DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) - returns (DeidentifyTemplate) { + rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) returns (DeidentifyTemplate) { option (google.api.http) = { patch: "/v2/{name=organizations/*/deidentifyTemplates/*}" body: "*" @@ -284,21 +284,21 @@ service DlpService { body: "*" } }; - option (google.api.method_signature) = - "name,deidentify_template,update_mask"; + option (google.api.method_signature) = "name,deidentify_template,update_mask"; } // Gets a DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) - returns (DeidentifyTemplate) { + rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) returns (DeidentifyTemplate) { option (google.api.http) = { get: "/v2/{name=organizations/*/deidentifyTemplates/*}" additional_bindings { get: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" } - additional_bindings { get: "/v2/{name=projects/*/deidentifyTemplates/*}" } + additional_bindings { + get: "/v2/{name=projects/*/deidentifyTemplates/*}" + } additional_bindings { get: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" } @@ -309,16 +309,17 @@ service DlpService { // Lists DeidentifyTemplates. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) - returns (ListDeidentifyTemplatesResponse) { + rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) returns (ListDeidentifyTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/deidentifyTemplates" additional_bindings { - get: "/v2/{parent=organizations/*}/locations/{location_id}/deidentifyTemplates" + get: "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates" } - additional_bindings { get: "/v2/{parent=projects/*}/deidentifyTemplates" } additional_bindings { - get: "/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates" + get: "/v2/{parent=projects/*}/deidentifyTemplates" + } + additional_bindings { + get: "/v2/{parent=projects/*/locations/*}/deidentifyTemplates" } }; option (google.api.method_signature) = "parent"; @@ -327,8 +328,7 @@ service DlpService { // Deletes a DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) - returns (google.protobuf.Empty) { + rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/deidentifyTemplates/*}" additional_bindings { @@ -352,12 +352,11 @@ service DlpService { post: "/v2/{parent=projects/*}/jobTriggers" body: "*" additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/jobTriggers" + post: "/v2/{parent=projects/*/locations/*}/jobTriggers" body: "*" } }; option (google.api.method_signature) = "parent,job_trigger"; - option (google.api.method_signature) = "parent,job_trigger,location_id"; } // Updates a job trigger. @@ -380,8 +379,7 @@ service DlpService { // Early access feature is in a pre-release state and might change or have // limited support. For more information, see // https://cloud.google.com/products#product-launch-stages. - rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) - returns (HybridInspectResponse) { + rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:hybridInspect" body: "*" @@ -403,12 +401,11 @@ service DlpService { // Lists job triggers. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - rpc ListJobTriggers(ListJobTriggersRequest) - returns (ListJobTriggersResponse) { + rpc ListJobTriggers(ListJobTriggersRequest) returns (ListJobTriggersResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/jobTriggers" additional_bindings { - get: "/v2/{parent=projects/*}/locations/{location_id}/jobTriggers" + get: "/v2/{parent=projects/*/locations/*}/jobTriggers" } }; option (google.api.method_signature) = "parent"; @@ -416,8 +413,7 @@ service DlpService { // Deletes a job trigger. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - rpc DeleteJobTrigger(DeleteJobTriggerRequest) - returns (google.protobuf.Empty) { + rpc DeleteJobTrigger(DeleteJobTriggerRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/jobTriggers/*}" additional_bindings { @@ -452,14 +448,12 @@ service DlpService { post: "/v2/{parent=projects/*}/dlpJobs" body: "*" additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/dlpJobs" + post: "/v2/{parent=projects/*/locations/*}/dlpJobs" body: "*" } }; option (google.api.method_signature) = "parent,inspect_job"; - option (google.api.method_signature) = "parent,inspect_job,location_id"; option (google.api.method_signature) = "parent,risk_job"; - option (google.api.method_signature) = "parent,risk_job,location_id"; } // Lists DlpJobs that match the specified filter in the request. @@ -469,7 +463,7 @@ service DlpService { option (google.api.http) = { get: "/v2/{parent=projects/*}/dlpJobs" additional_bindings { - get: "/v2/{parent=projects/*}/locations/{location_id}/dlpJobs" + get: "/v2/{parent=projects/*/locations/*}/dlpJobs" } }; option (google.api.method_signature) = "parent"; @@ -481,7 +475,9 @@ service DlpService { rpc GetDlpJob(GetDlpJobRequest) returns (DlpJob) { option (google.api.http) = { get: "/v2/{name=projects/*/dlpJobs/*}" - additional_bindings { get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" } + additional_bindings { + get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" + } }; option (google.api.method_signature) = "name"; } @@ -520,13 +516,12 @@ service DlpService { // Creates a pre-built stored infoType to be used for inspection. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc CreateStoredInfoType(CreateStoredInfoTypeRequest) - returns (StoredInfoType) { + rpc CreateStoredInfoType(CreateStoredInfoTypeRequest) returns (StoredInfoType) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/storedInfoTypes" body: "*" additional_bindings { - post: "/v2/{parent=organizations/*}/locations/{location_id}/storedInfoTypes" + post: "/v2/{parent=organizations/*/locations/*}/storedInfoTypes" body: "*" } additional_bindings { @@ -534,20 +529,18 @@ service DlpService { body: "*" } additional_bindings { - post: "/v2/{parent=projects/*}/locations/{location_id}/storedInfoTypes" + post: "/v2/{parent=projects/*/locations/*}/storedInfoTypes" body: "*" } }; option (google.api.method_signature) = "parent,config"; - option (google.api.method_signature) = "parent,config,location_id"; } // Updates the stored infoType by creating a new version. The existing version // will continue to be used until the new version is ready. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest) - returns (StoredInfoType) { + rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest) returns (StoredInfoType) { option (google.api.http) = { patch: "/v2/{name=organizations/*/storedInfoTypes/*}" body: "*" @@ -576,7 +569,9 @@ service DlpService { additional_bindings { get: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" } - additional_bindings { get: "/v2/{name=projects/*/storedInfoTypes/*}" } + additional_bindings { + get: "/v2/{name=projects/*/storedInfoTypes/*}" + } additional_bindings { get: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" } @@ -587,16 +582,17 @@ service DlpService { // Lists stored infoTypes. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) - returns (ListStoredInfoTypesResponse) { + rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) returns (ListStoredInfoTypesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/storedInfoTypes" additional_bindings { - get: "/v2/{parent=organizations/*}/locations/{location_id}/storedInfoTypes" + get: "/v2/{parent=organizations/*/locations/*}/storedInfoTypes" + } + additional_bindings { + get: "/v2/{parent=projects/*}/storedInfoTypes" } - additional_bindings { get: "/v2/{parent=projects/*}/storedInfoTypes" } additional_bindings { - get: "/v2/{parent=projects/*}/locations/{location_id}/storedInfoTypes" + get: "/v2/{parent=projects/*/locations/*}/storedInfoTypes" } }; option (google.api.method_signature) = "parent"; @@ -605,14 +601,15 @@ service DlpService { // Deletes a stored infoType. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) - returns (google.protobuf.Empty) { + rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/storedInfoTypes/*}" additional_bindings { delete: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" } - additional_bindings { delete: "/v2/{name=projects/*/storedInfoTypes/*}" } + additional_bindings { + delete: "/v2/{name=projects/*/storedInfoTypes/*}" + } additional_bindings { delete: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" } @@ -626,8 +623,7 @@ service DlpService { // Early access feature is in a pre-release state and might change or have // limited support. For more information, see // https://cloud.google.com/products#product-launch-stages. - rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) - returns (HybridInspectResponse) { + rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect" body: "*" @@ -781,7 +777,7 @@ message InspectConfig { // Container for bytes to inspect or redact. message ByteContentItem { - // The type of data being sent to in data. + // The type of data being sent for inspection. enum BytesType { // Unused BYTES_TYPE_UNSPECIFIED = 0; @@ -804,6 +800,12 @@ message ByteContentItem { // plain text TEXT_UTF8 = 5; + // docx, docm, dotx, dotm + WORD_DOCUMENT = 7; + + // pdf + PDF = 8; + // avro AVRO = 11; } @@ -866,7 +868,7 @@ message InspectResult { // Represents a piece of potentially sensitive content. message Finding { option (google.api.resource) = { - type: "dlp.googleapis.com/InspectFinding" + type: "dlp.googleapis.com/Finding" pattern: "projects/{project}/locations/{location}/findings/{finding}" }; @@ -901,42 +903,37 @@ message Finding { QuoteInfo quote_info = 7; // The job that stored the finding. - string resource_name = 8 - [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; + string resource_name = 8 [(google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + }]; // Job trigger name, if applicable, for this finding. - // (-- api-linter: core::0122::name-suffix=disabled - // aip.dev/not-precedent: AIP-122 discourages _name suffixes for - // resource names, but this has existed as part of the bigquery schema - // before this rule existed. --) - string trigger_name = 9 [ - (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } - ]; + string trigger_name = 9 [(google.api.resource_reference) = { + type: "dlp.googleapis.com/JobTrigger" + }]; - // The labels associated with this `InspectFinding`. + // The labels associated with this `Finding`. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform - // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // - // Example: "environment" : "production" - // Example: "pipeline" : "etl" + // Examples: + // * `"environment" : "production"` + // * `"pipeline" : "etl"` map labels = 10; // Time the job started that produced this finding. google.protobuf.Timestamp job_create_time = 11; // The job that stored the finding. - // (-- api-linter: core::0122::name-suffix=disabled - // aip.dev/not-precedent: AIP-122 discourages _name suffixes for - // resource names, but this has existed as part of the bigquery schema - // before this rule existed. --) - string job_name = 13 - [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; + string job_name = 13 [(google.api.resource_reference) = { + type: "dlp.googleapis.com/DlpJob" + }]; } // Specifies the location of the finding. @@ -986,6 +983,9 @@ message ContentLocation { // Location data for document files. DocumentLocation document_location = 5; + + // Location within the metadata for inspected content. + MetadataLocation metadata_location = 8; } // Findings container modification timestamp, if applicable. @@ -999,6 +999,24 @@ message ContentLocation { string container_version = 7; } +// Metadata Location +message MetadataLocation { + // Type of metadata containing the finding. + MetadataType type = 1; + + // Label of the piece of metadata containing the finding, for example - + // latitude, author, caption. + oneof label { + // Storage metadata. + StorageMetadataLabel storage_label = 3; + } +} + +// Storage metadata label to indicate which metadata entry contains findings. +message StorageMetadataLabel { + string key = 1; +} + // Location of a finding within a document. message DocumentLocation { // Offset of the line, from the beginning of the file, where the finding @@ -1020,7 +1038,12 @@ message RecordLocation { // Location of a finding within a table. message TableLocation { - // The zero-based index of the row where the finding is located. + // The zero-based index of the row where the finding is located. Only + // populated for resources that have a natural ordering, not BigQuery. In + // BigQuery, to identify the row a finding came from, populate + // BigQueryOptions.identifying_fields with your primary key column names and + // when you store the findings the value of those columns will be stored + // inside of Finding. int64 row_index = 1; } @@ -1120,13 +1143,13 @@ message RedactImageRequest { Color redaction_color = 3; } - // The parent resource name, for example projects/my-project-id. + // The parent resource name, for example projects/my-project-id + // or projects/my-project-id/locations/{location_id}. string parent = 1 [(google.api.resource_reference) = { type: "cloudresourcemanager.googleapis.com/Project" }]; - // The geographic location to process the request. Reserved for future - // extensions. + // Deprecated. This field has no effect. string location_id = 8; // Configuration for the inspector. @@ -1171,7 +1194,8 @@ message RedactImageResponse { // Request to de-identify a list of items. message DeidentifyContentRequest { - // The parent resource name, for example projects/my-project-id. + // The parent resource name, for example projects/my-project-id + // or projects/my-project-id/locations/{location_id}. string parent = 1 [(google.api.resource_reference) = { type: "cloudresourcemanager.googleapis.com/Project" }]; @@ -1203,8 +1227,7 @@ message DeidentifyContentRequest { // are recursively merged. string deidentify_template_name = 6; - // The geographic location to process de-identification. Reserved for future - // extensions. + // Deprecated. This field has no effect. string location_id = 7; } @@ -1260,8 +1283,7 @@ message ReidentifyContentRequest { // are recursively merged. string reidentify_template_name = 6; - // The geographic location to process content reidentification. Reserved for - // future extensions. + // Deprecated. This field has no effect. string location_id = 7; } @@ -1276,7 +1298,8 @@ message ReidentifyContentResponse { // Request to search for potentially sensitive info in a ContentItem. message InspectContentRequest { - // The parent resource name, for example projects/my-project-id. + // The parent resource name, for example projects/my-project-id + // or projects/my-project-id/locations/{location_id} string parent = 1 [(google.api.resource_reference) = { type: "cloudresourcemanager.googleapis.com/Project" }]; @@ -1295,8 +1318,7 @@ message InspectContentRequest { // are recursively merged. string inspect_template_name = 4; - // The geographic location to process content inspection. Reserved for future - // extensions. + // Deprecated. This field has no effect. string location_id = 5; } @@ -1445,6 +1467,8 @@ message InfoTypeDescription { // Request for the list of infoTypes. message ListInfoTypesRequest { + // The parent resource name, for example locations/{location_id} + string parent = 4; // BCP-47 language code for localized infoType friendly // names. If omitted, or if localized strings are not available, // en-US strings will be returned. @@ -1454,8 +1478,7 @@ message ListInfoTypesRequest { // API. Defaults to supported_by=INSPECT. string filter = 2; - // The geographic location to list info types. Reserved for future - // extensions. + // Deprecated. This field has no effect. string location_id = 3; } @@ -1937,8 +1960,7 @@ message AnalyzeDataSourceRiskDetails { // {min_probability: 0.3, max_probability: 0.4, frequency: 99} // mean that there are no record with an estimated probability in [0.1, 0.2) // nor larger or equal to 0.4. - repeated DeltaPresenceEstimationHistogramBucket - delta_presence_estimation_histogram = 1; + repeated DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; } // Privacy metric to compute. @@ -2074,13 +2096,17 @@ message DeidentifyConfig { // `TransformationOverviews`. message TransformationErrorHandling { // Throw an error and fail the request when a transformation error occurs. - message ThrowError {} + message ThrowError { + + } // Skips the data without modifying it if the requested transformation would // cause an error. For example, if a `DateShift` transformation were applied // an an IP address, this mode would leave the IP address unchanged in the // response. - message LeaveUntransformed {} + message LeaveUntransformed { + + } // How transformation errors should be handled. oneof mode { @@ -2576,14 +2602,12 @@ message InfoTypeTransformations { repeated InfoType info_types = 1; // Required. Primitive transformation to apply to the infoType. - PrimitiveTransformation primitive_transformation = 2 - [(google.api.field_behavior) = REQUIRED]; + PrimitiveTransformation primitive_transformation = 2 [(google.api.field_behavior) = REQUIRED]; } // Required. Transformation for each infoType. Cannot specify more than one // for a given infoType. - repeated InfoTypeTransformation transformations = 1 - [(google.api.field_behavior) = REQUIRED]; + repeated InfoTypeTransformation transformations = 1 [(google.api.field_behavior) = REQUIRED]; } // The transformation to apply to the field. @@ -2777,7 +2801,9 @@ message Schedule { // Job trigger option for hybrid jobs. Jobs must be manually created // and finished. -message Manual {} +message Manual { + +} // The inspectTemplate contains a configuration (set of types of sensitive data // to be detected) to be used anywhere you otherwise would normally specify @@ -2806,12 +2832,10 @@ message InspectTemplate { string description = 3; // Output only. The creation timestamp of an inspectTemplate. - google.protobuf.Timestamp create_time = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of an inspectTemplate. - google.protobuf.Timestamp update_time = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // The core content of the template. Configuration of the scanning process. InspectConfig inspect_config = 6; @@ -2842,12 +2866,10 @@ message DeidentifyTemplate { string description = 3; // Output only. The creation timestamp of an inspectTemplate. - google.protobuf.Timestamp create_time = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of an inspectTemplate. - google.protobuf.Timestamp update_time = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // ///////////// // The core content of the template // /////////////// DeidentifyConfig deidentify_config = 6; @@ -2926,23 +2948,20 @@ message JobTrigger { // a single Schedule trigger and must have at least one object. repeated Trigger triggers = 5; - // Output only. A stream of errors encountered when the trigger was activated. - // Repeated errors may result in the JobTrigger automatically being paused. + // Output only. A stream of errors encountered when the trigger was activated. Repeated + // errors may result in the JobTrigger automatically being paused. // Will return the last 100 errors. Whenever the JobTrigger is modified // this list will be cleared. repeated Error errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation timestamp of a triggeredJob. - google.protobuf.Timestamp create_time = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of a triggeredJob. - google.protobuf.Timestamp update_time = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp of the last time this trigger executed. - google.protobuf.Timestamp last_run_time = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_run_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. A status for this trigger. Status status = 10 [(google.api.field_behavior) = REQUIRED]; @@ -2983,7 +3002,9 @@ message Action { // service-specific policy, see https://cloud.google.com/terms/service-terms // Only a single instance of this action can be specified. // Compatible with: Inspect - message PublishSummaryToCscc {} + message PublishSummaryToCscc { + + } // Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the // results of the DlpJob will be applied to the entry for the resource scanned @@ -2995,17 +3016,23 @@ message Action { // Only a single instance of this action can be specified and only allowed if // all resources being scanned are BigQuery tables. // Compatible with: Inspect - message PublishFindingsToCloudDataCatalog {} + message PublishFindingsToCloudDataCatalog { + + } // Enable email notification to project owners and editors on jobs's // completion/failure. - message JobNotificationEmails {} + message JobNotificationEmails { + + } // Enable Stackdriver metric dlp.googleapis.com/finding_count. This // will publish a metric to stack driver on each infotype requested and // how many findings were found for it. CustomDetectors will be bucketed // as 'Custom' under the Stackdriver label 'info_type'. - message PublishToStackdriver {} + message PublishToStackdriver { + + } oneof action { // Save resulting findings in a provided location. @@ -3018,8 +3045,7 @@ message Action { PublishSummaryToCscc publish_summary_to_cscc = 3; // Publish findings to Cloud Datahub. - PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = - 5; + PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; // Enable email notification for project owners and editors on job's // completion/failure. @@ -3033,7 +3059,7 @@ message Action { // Request message for CreateInspectTemplate. message CreateInspectTemplateRequest { // Required. The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. + // organizations/my-org-id or projects/my-project-id/locations/{location-id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3050,8 +3076,7 @@ message CreateInspectTemplateRequest { // characters. Can be empty to allow the system to generate one. string template_id = 3; - // The geographic location to store the inspection template. Reserved for - // future extensions. + // Deprecated. This field has no effect. string location_id = 4; } @@ -3090,7 +3115,7 @@ message GetInspectTemplateRequest { // Request message for ListInspectTemplates. message ListInspectTemplatesRequest { // Required. The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. + // organizations/my-org-id or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3121,8 +3146,7 @@ message ListInspectTemplatesRequest { // - `display_name`: corresponds to template's display name. string order_by = 4; - // The geographic location where inspection templates will be retrieved from. - // Use `-` for all locations. Reserved for future extensions. + // Deprecated. This field has no effect. string location_id = 5; } @@ -3151,7 +3175,8 @@ message DeleteInspectTemplateRequest { // Request message for CreateJobTrigger. message CreateJobTriggerRequest { - // Required. The parent resource name, for example projects/my-project-id. + // Required. The parent resource name, for example projects/my-project-id + // or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3168,8 +3193,7 @@ message CreateJobTriggerRequest { // characters. Can be empty to allow the system to generate one. string trigger_id = 3; - // The geographic location to store the job trigger. Reserved for - // future extensions. + // Deprecated. This field has no effect. string location_id = 4; } @@ -3213,7 +3237,8 @@ message GetJobTriggerRequest { // jobs such as calculating risk metrics or inspecting Google Cloud // Storage. message CreateDlpJobRequest { - // Required. The parent resource name, for example projects/my-project-id. + // Required. The parent resource name, for example projects/my-project-id + // or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3236,14 +3261,14 @@ message CreateDlpJobRequest { // characters. Can be empty to allow the system to generate one. string job_id = 4; - // The geographic location to store and process the job. Reserved for - // future extensions. + // Deprecated. This field has no effect. string location_id = 5; } // Request message for ListJobTriggers. message ListJobTriggersRequest { - // Required. The parent resource name, for example `projects/my-project-id`. + // Required. The parent resource name, for example `projects/my-project-id` + // or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3302,8 +3327,7 @@ message ListJobTriggersRequest { // The length of this field should be no more than 500 characters. string filter = 5; - // The geographic location where job triggers will be retrieved from. - // Use `-` for all locations. Reserved for future extensions. + // Deprecated. This field has no effect. string location_id = 7; } @@ -3425,7 +3449,8 @@ message GetDlpJobRequest { // The request message for listing DLP jobs. message ListDlpJobsRequest { - // Required. The parent resource name, for example projects/my-project-id. + // Required. The parent resource name, for example projects/my-project-id + // or projects/my-project-id/locations/{location_id}. string parent = 4 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3487,8 +3512,7 @@ message ListDlpJobsRequest { // - `state`: corresponds to `state` string order_by = 6; - // The geographic location where jobs will be retrieved from. - // Use `-` for all locations. Reserved for future extensions. + // Deprecated. This field has no effect. string location_id = 7; } @@ -3531,7 +3555,7 @@ message DeleteDlpJobRequest { // Request message for CreateDeidentifyTemplate. message CreateDeidentifyTemplateRequest { // Required. The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. + // organizations/my-org-id or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3549,8 +3573,7 @@ message CreateDeidentifyTemplateRequest { // characters. Can be empty to allow the system to generate one. string template_id = 3; - // The geographic location to store the deidentification template. Reserved - // for future extensions. + // Deprecated. This field has no effect. string location_id = 4; } @@ -3590,7 +3613,7 @@ message GetDeidentifyTemplateRequest { // Request message for ListDeidentifyTemplates. message ListDeidentifyTemplatesRequest { // Required. The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. + // organizations/my-org-id or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3621,8 +3644,7 @@ message ListDeidentifyTemplatesRequest { // - `display_name`: corresponds to template's display name. string order_by = 4; - // The geographic location where deidentifications templates will be retrieved - // from. Use `-` for all locations. Reserved for future extensions. + // Deprecated. This field has no effect. string location_id = 5; } @@ -3769,7 +3791,7 @@ message StoredInfoType { // Request message for CreateStoredInfoType. message CreateStoredInfoTypeRequest { // Required. The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. + // organizations/my-org-id or projects/my-project-id/locations/{location_id} string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3786,15 +3808,14 @@ message CreateStoredInfoTypeRequest { // characters. Can be empty to allow the system to generate one. string stored_info_type_id = 3; - // The geographic location to store the stored infoType. Reserved for - // future extensions. + // Deprecated. This field has no effect. string location_id = 4; } // Request message for UpdateStoredInfoType. message UpdateStoredInfoTypeRequest { - // Required. Resource name of organization and storedInfoType to be updated, - // for example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of organization and storedInfoType to be updated, for + // example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3828,7 +3849,7 @@ message GetStoredInfoTypeRequest { // Request message for ListStoredInfoTypes. message ListStoredInfoTypesRequest { // Required. The parent resource name, for example projects/my-project-id or - // organizations/my-org-id. + // organizations/my-org-id or projects/my-project-id/locations/{location_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3860,8 +3881,7 @@ message ListStoredInfoTypesRequest { // - `display_name`: corresponds to info type's display name. string order_by = 4; - // The geographic location where stored infoTypes will be retrieved from. - // Use `-` for all locations. Reserved for future extensions. + // Deprecated. This field has no effect. string location_id = 5; } @@ -3953,20 +3973,23 @@ message HybridFindingDetails { // inspection. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform - // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // - // Example: "environment" : "production" - // Example: "pipeline" : "etl" + // Examples: + // * `"environment" : "production"` + // * `"pipeline" : "etl"` map labels = 5; } // Quota exceeded errors will be thrown once quota has been met. -message HybridInspectResponse {} +message HybridInspectResponse { + +} // Operators available for comparing the value of fields. enum RelationalOperator { @@ -4036,6 +4059,15 @@ enum ContentOption { CONTENT_IMAGE = 2; } +// Type of metadata containing the finding. +enum MetadataType { + // Unused + METADATATYPE_UNSPECIFIED = 0; + + // General file metadata provided by GCS. + STORAGE_METADATA = 2; +} + // Parts of the APIs which use certain infoTypes. enum InfoTypeSupportedBy { // Unused. diff --git a/google/cloud/dlp_v2/proto/dlp_pb2.py b/google/cloud/dlp_v2/proto/dlp_pb2.py index 202410cc..ae125b5e 100644 --- a/google/cloud/dlp_v2/proto/dlp_pb2.py +++ b/google/cloud/dlp_v2/proto/dlp_pb2.py @@ -1,11 +1,8 @@ # -*- coding: utf-8 -*- # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/cloud/privacy/dlp_v2/proto/dlp.proto +# source: google/cloud/dlp_v2/proto/dlp.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -22,7 +19,7 @@ from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.cloud.dlp_v2.proto import ( - storage_pb2 as google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_storage__pb2, + storage_pb2 as google_dot_cloud_dot_dlp__v2_dot_proto_dot_storage__pb2, ) from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -35,21 +32,17 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name="google/cloud/privacy/dlp_v2/proto/dlp.proto", + name="google/cloud/dlp_v2/proto/dlp.proto", package="google.privacy.dlp.v2", syntax="proto3", - serialized_options=_b( - "\n\031com.google.privacy.dlp.v2B\010DlpProtoP\001Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2" - ), - serialized_pb=_b( - '\n+google/cloud/privacy/dlp_v2/proto/dlp.proto\x12\x15google.privacy.dlp.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a/google/cloud/privacy/dlp_v2/proto/storage.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto"G\n\x10\x45xcludeInfoTypes\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType"\xa0\x02\n\rExclusionRule\x12\x46\n\ndictionary\x18\x01 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\n\x05regex\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12\x45\n\x12\x65xclude_info_types\x18\x03 \x01(\x0b\x32\'.google.privacy.dlp.v2.ExcludeInfoTypesH\x00\x12:\n\rmatching_type\x18\x04 \x01(\x0e\x32#.google.privacy.dlp.v2.MatchingTypeB\x06\n\x04type"\xb1\x01\n\x0eInspectionRule\x12W\n\x0chotword_rule\x18\x01 \x01(\x0b\x32?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x12>\n\x0e\x65xclusion_rule\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.ExclusionRuleH\x00\x42\x06\n\x04type"~\n\x11InspectionRuleSet\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x34\n\x05rules\x18\x02 \x03(\x0b\x32%.google.privacy.dlp.v2.InspectionRule"\xc7\x05\n\rInspectConfig\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x39\n\x0emin_likelihood\x18\x02 \x01(\x0e\x32!.google.privacy.dlp.v2.Likelihood\x12\x42\n\x06limits\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.InspectConfig.FindingLimits\x12\x15\n\rinclude_quote\x18\x04 \x01(\x08\x12\x1a\n\x12\x65xclude_info_types\x18\x05 \x01(\x08\x12@\n\x11\x63ustom_info_types\x18\x06 \x03(\x0b\x32%.google.privacy.dlp.v2.CustomInfoType\x12=\n\x0f\x63ontent_options\x18\x08 \x03(\x0e\x32$.google.privacy.dlp.v2.ContentOption\x12:\n\x08rule_set\x18\n \x03(\x0b\x32(.google.privacy.dlp.v2.InspectionRuleSet\x1a\x91\x02\n\rFindingLimits\x12\x1d\n\x15max_findings_per_item\x18\x01 \x01(\x05\x12 \n\x18max_findings_per_request\x18\x02 \x01(\x05\x12\x64\n\x1amax_findings_per_info_type\x18\x03 \x03(\x0b\x32@.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit\x1aY\n\rInfoTypeLimit\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x14\n\x0cmax_findings\x18\x02 \x01(\x05"\xea\x01\n\x0f\x42yteContentItem\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.privacy.dlp.v2.ByteContentItem.BytesType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"\x88\x01\n\tBytesType\x12\x1a\n\x16\x42YTES_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05IMAGE\x10\x06\x12\x0e\n\nIMAGE_JPEG\x10\x01\x12\r\n\tIMAGE_BMP\x10\x02\x12\r\n\tIMAGE_PNG\x10\x03\x12\r\n\tIMAGE_SVG\x10\x04\x12\r\n\tTEXT_UTF8\x10\x05\x12\x08\n\x04\x41VRO\x10\x0b"\x97\x01\n\x0b\x43ontentItem\x12\x0f\n\x05value\x18\x03 \x01(\tH\x00\x12-\n\x05table\x18\x04 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.TableH\x00\x12;\n\tbyte_item\x18\x05 \x01(\x0b\x32&.google.privacy.dlp.v2.ByteContentItemH\x00\x42\x0b\n\tdata_item"\x9d\x01\n\x05Table\x12/\n\x07headers\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12.\n\x04rows\x18\x02 \x03(\x0b\x32 .google.privacy.dlp.v2.Table.Row\x1a\x33\n\x03Row\x12,\n\x06values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value"]\n\rInspectResult\x12\x30\n\x08\x66indings\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.Finding\x12\x1a\n\x12\x66indings_truncated\x18\x02 \x01(\x08"\xd2\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x0e \x01(\t\x12\r\n\x05quote\x18\x01 \x01(\t\x12\x32\n\tinfo_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x35\n\nlikelihood\x18\x03 \x01(\x0e\x32!.google.privacy.dlp.v2.Likelihood\x12\x31\n\x08location\x18\x04 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.Location\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nquote_info\x18\x07 \x01(\x0b\x32 .google.privacy.dlp.v2.QuoteInfo\x12\x35\n\rresource_name\x18\x08 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x12\x38\n\x0ctrigger_name\x18\t \x01(\tB"\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger\x12:\n\x06labels\x18\n \x03(\x0b\x32*.google.privacy.dlp.v2.Finding.LabelsEntry\x12\x33\n\x0fjob_create_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x08job_name\x18\r \x01(\tB\x1e\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:b\xea\x41_\n!dlp.googleapis.com/InspectFinding\x12:projects/{project}/locations/{location}/findings/{finding}"\xeb\x01\n\x08Location\x12\x30\n\nbyte_range\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Range\x12\x35\n\x0f\x63odepoint_range\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Range\x12\x41\n\x11\x63ontent_locations\x18\x07 \x03(\x0b\x32&.google.privacy.dlp.v2.ContentLocation\x12\x33\n\tcontainer\x18\x08 \x01(\x0b\x32 .google.privacy.dlp.v2.Container"\xd1\x02\n\x0f\x43ontentLocation\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12@\n\x0frecord_location\x18\x02 \x01(\x0b\x32%.google.privacy.dlp.v2.RecordLocationH\x00\x12>\n\x0eimage_location\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.ImageLocationH\x00\x12\x44\n\x11\x64ocument_location\x18\x05 \x01(\x0b\x32\'.google.privacy.dlp.v2.DocumentLocationH\x00\x12\x37\n\x13\x63ontainer_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11\x63ontainer_version\x18\x07 \x01(\tB\n\n\x08location"\'\n\x10\x44ocumentLocation\x12\x13\n\x0b\x66ile_offset\x18\x01 \x01(\x03"\xb6\x01\n\x0eRecordLocation\x12\x34\n\nrecord_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.RecordKey\x12\x30\n\x08\x66ield_id\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12<\n\x0etable_location\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.TableLocation""\n\rTableLocation\x12\x11\n\trow_index\x18\x01 \x01(\x03"\xac\x01\n\tContainer\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tfull_path\x18\x03 \x01(\t\x12\x11\n\troot_path\x18\x04 \x01(\t\x12\x15\n\rrelative_path\x18\x05 \x01(\t\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\x07 \x01(\t"#\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03"K\n\rImageLocation\x12:\n\x0e\x62ounding_boxes\x18\x01 \x03(\x0b\x32".google.privacy.dlp.v2.BoundingBox"G\n\x0b\x42oundingBox\x12\x0b\n\x03top\x18\x01 \x01(\x05\x12\x0c\n\x04left\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05"\x8a\x04\n\x12RedactImageRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x0blocation_id\x18\x08 \x01(\t\x12<\n\x0einspect_config\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12_\n\x17image_redaction_configs\x18\x05 \x03(\x0b\x32>.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig\x12\x18\n\x10include_findings\x18\x06 \x01(\x08\x12\x39\n\tbyte_item\x18\x07 \x01(\x0b\x32&.google.privacy.dlp.v2.ByteContentItem\x1a\xa8\x01\n\x14ImageRedactionConfig\x12\x34\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoTypeH\x00\x12\x19\n\x0fredact_all_text\x18\x02 \x01(\x08H\x00\x12\x35\n\x0fredaction_color\x18\x03 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.ColorB\x08\n\x06target"1\n\x05\x43olor\x12\x0b\n\x03red\x18\x01 \x01(\x02\x12\r\n\x05green\x18\x02 \x01(\x02\x12\x0c\n\x04\x62lue\x18\x03 \x01(\x02"\x83\x01\n\x13RedactImageResponse\x12\x16\n\x0eredacted_image\x18\x01 \x01(\x0c\x12\x16\n\x0e\x65xtracted_text\x18\x02 \x01(\t\x12<\n\x0einspect_result\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectResult"\xe6\x02\n\x18\x44\x65identifyContentRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x42\n\x11\x64\x65identify_config\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.DeidentifyConfig\x12<\n\x0einspect_config\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x30\n\x04item\x18\x04 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x1d\n\x15inspect_template_name\x18\x05 \x01(\t\x12 \n\x18\x64\x65identify_template_name\x18\x06 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"\x8e\x01\n\x19\x44\x65identifyContentResponse\x12\x30\n\x04item\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12?\n\x08overview\x18\x02 \x01(\x0b\x32-.google.privacy.dlp.v2.TransformationOverview"\xe9\x02\n\x18ReidentifyContentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x42\n\x11reidentify_config\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.DeidentifyConfig\x12<\n\x0einspect_config\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x30\n\x04item\x18\x04 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x1d\n\x15inspect_template_name\x18\x05 \x01(\t\x12 \n\x18reidentify_template_name\x18\x06 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"\x8e\x01\n\x19ReidentifyContentResponse\x12\x30\n\x04item\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12?\n\x08overview\x18\x02 \x01(\x0b\x32-.google.privacy.dlp.v2.TransformationOverview"\xfd\x01\n\x15InspectContentRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12<\n\x0einspect_config\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x30\n\x04item\x18\x03 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x1d\n\x15inspect_template_name\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"N\n\x16InspectContentResponse\x12\x34\n\x06result\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectResult"\xb7\x02\n\x13OutputStorageConfig\x12\x35\n\x05table\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTableH\x00\x12N\n\routput_schema\x18\x03 \x01(\x0e\x32\x37.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema"\x90\x01\n\x0cOutputSchema\x12\x1d\n\x19OUTPUT_SCHEMA_UNSPECIFIED\x10\x00\x12\x11\n\rBASIC_COLUMNS\x10\x01\x12\x0f\n\x0bGCS_COLUMNS\x10\x02\x12\x15\n\x11\x44\x41TASTORE_COLUMNS\x10\x03\x12\x15\n\x11\x42IG_QUERY_COLUMNS\x10\x04\x12\x0f\n\x0b\x41LL_COLUMNS\x10\x05\x42\x06\n\x04type"R\n\rInfoTypeStats\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\xa4\x04\n\x18InspectDataSourceDetails\x12[\n\x11requested_options\x18\x02 \x01(\x0b\x32@.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions\x12\x46\n\x06result\x18\x03 \x01(\x0b\x32\x36.google.privacy.dlp.v2.InspectDataSourceDetails.Result\x1a\x9a\x01\n\x10RequestedOptions\x12I\n\x19snapshot_inspect_template\x18\x01 \x01(\x0b\x32&.google.privacy.dlp.v2.InspectTemplate\x12;\n\njob_config\x18\x03 \x01(\x0b\x32\'.google.privacy.dlp.v2.InspectJobConfig\x1a\xc5\x01\n\x06Result\x12\x17\n\x0fprocessed_bytes\x18\x01 \x01(\x03\x12\x1d\n\x15total_estimated_bytes\x18\x02 \x01(\x03\x12=\n\x0finfo_type_stats\x18\x03 \x03(\x0b\x32$.google.privacy.dlp.v2.InfoTypeStats\x12\x44\n\x0chybrid_stats\x18\x07 \x01(\x0b\x32..google.privacy.dlp.v2.HybridInspectStatistics"`\n\x17HybridInspectStatistics\x12\x17\n\x0fprocessed_count\x18\x01 \x01(\x03\x12\x15\n\raborted_count\x18\x02 \x01(\x03\x12\x15\n\rpending_count\x18\x03 \x01(\x03"\x90\x01\n\x13InfoTypeDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12@\n\x0csupported_by\x18\x03 \x03(\x0e\x32*.google.privacy.dlp.v2.InfoTypeSupportedBy\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t"R\n\x14ListInfoTypesRequest\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x13\n\x0blocation_id\x18\x03 \x01(\t"W\n\x15ListInfoTypesResponse\x12>\n\ninfo_types\x18\x01 \x03(\x0b\x32*.google.privacy.dlp.v2.InfoTypeDescription"\xc1\x01\n\x15RiskAnalysisJobConfig\x12<\n\x0eprivacy_metric\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.PrivacyMetric\x12:\n\x0csource_table\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12.\n\x07\x61\x63tions\x18\x03 \x03(\x0b\x32\x1d.google.privacy.dlp.v2.Action"\xbc\x01\n\x07QuasiId\x12\x32\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12\x34\n\tinfo_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\n\ncustom_tag\x18\x03 \x01(\tH\x00\x12*\n\x08inferred\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x42\x05\n\x03tag"\xbe\x02\n\x10StatisticalTable\x12\x38\n\x05table\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTableB\x03\xe0\x41\x02\x12T\n\tquasi_ids\x18\x01 \x03(\x0b\x32<.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldB\x03\xe0\x41\x02\x12?\n\x12relative_frequency\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x1aY\n\x14QuasiIdentifierField\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x12\n\ncustom_tag\x18\x02 \x01(\t"\x93\x0f\n\rPrivacyMetric\x12[\n\x16numerical_stats_config\x18\x01 \x01(\x0b\x32\x39.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigH\x00\x12_\n\x18\x63\x61tegorical_stats_config\x18\x02 \x01(\x0b\x32;.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigH\x00\x12S\n\x12k_anonymity_config\x18\x03 \x01(\x0b\x32\x35.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigH\x00\x12S\n\x12l_diversity_config\x18\x04 \x01(\x0b\x32\x35.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigH\x00\x12\\\n\x17k_map_estimation_config\x18\x05 \x01(\x0b\x32\x39.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigH\x00\x12n\n delta_presence_estimation_config\x18\x06 \x01(\x0b\x32\x42.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigH\x00\x1a\x45\n\x14NumericalStatsConfig\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x1aG\n\x16\x43\x61tegoricalStatsConfig\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x1ay\n\x10KAnonymityConfig\x12\x31\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x32\n\tentity_id\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.EntityId\x1a\x82\x01\n\x10LDiversityConfig\x12\x31\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12;\n\x13sensitive_attribute\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x1a\x81\x06\n\x14KMapEstimationConfig\x12]\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x45.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldB\x03\xe0\x41\x02\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12\x62\n\x10\x61uxiliary_tables\x18\x03 \x03(\x0b\x32H.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable\x1a\xc0\x01\n\x0bTaggedField\x12\x32\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12\x34\n\tinfo_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\n\ncustom_tag\x18\x03 \x01(\tH\x00\x12*\n\x08inferred\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x42\x05\n\x03tag\x1a\xcd\x02\n\x0e\x41uxiliaryTable\x12\x38\n\x05table\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTableB\x03\xe0\x41\x02\x12m\n\tquasi_ids\x18\x01 \x03(\x0b\x32U.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldB\x03\xe0\x41\x02\x12?\n\x12relative_frequency\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x1aQ\n\x0cQuasiIdField\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x12\n\ncustom_tag\x18\x02 \x01(\t\x1a\xaf\x01\n\x1d\x44\x65ltaPresenceEstimationConfig\x12\x36\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.QuasiIdB\x03\xe0\x41\x02\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12\x41\n\x10\x61uxiliary_tables\x18\x03 \x03(\x0b\x32\'.google.privacy.dlp.v2.StatisticalTableB\x06\n\x04type"\xf2\x1d\n\x1c\x41nalyzeDataSourceRiskDetails\x12\x46\n\x18requested_privacy_metric\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.PrivacyMetric\x12\x44\n\x16requested_source_table\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12j\n\x16numerical_stats_result\x18\x03 \x01(\x0b\x32H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultH\x00\x12n\n\x18\x63\x61tegorical_stats_result\x18\x04 \x01(\x0b\x32J.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultH\x00\x12\x62\n\x12k_anonymity_result\x18\x05 \x01(\x0b\x32\x44.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultH\x00\x12\x62\n\x12l_diversity_result\x18\x06 \x01(\x0b\x32\x44.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultH\x00\x12k\n\x17k_map_estimation_result\x18\x07 \x01(\x0b\x32H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultH\x00\x12}\n delta_presence_estimation_result\x18\t \x01(\x0b\x32Q.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultH\x00\x1a\xaf\x01\n\x14NumericalStatsResult\x12/\n\tmin_value\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12/\n\tmax_value\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x35\n\x0fquantile_values\x18\x04 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x1a\x8d\x03\n\x16\x43\x61tegoricalStatsResult\x12\x95\x01\n!value_frequency_histogram_buckets\x18\x05 \x03(\x0b\x32j.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket\x1a\xda\x01\n\x1f\x43\x61tegoricalStatsHistogramBucket\x12#\n\x1bvalue_frequency_lower_bound\x18\x01 \x01(\x03\x12#\n\x1bvalue_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x03 \x01(\x03\x12<\n\rbucket_values\x18\x04 \x03(\x0b\x32%.google.privacy.dlp.v2.ValueFrequency\x12\x1a\n\x12\x62ucket_value_count\x18\x05 \x01(\x03\x1a\xb5\x04\n\x10KAnonymityResult\x12\x8b\x01\n#equivalence_class_histogram_buckets\x18\x05 \x03(\x0b\x32^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket\x1at\n\x1aKAnonymityEquivalenceClass\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1e\n\x16\x65quivalence_class_size\x18\x02 \x01(\x03\x1a\x9c\x02\n\x19KAnonymityHistogramBucket\x12*\n"equivalence_class_size_lower_bound\x18\x01 \x01(\x03\x12*\n"equivalence_class_size_upper_bound\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x03 \x01(\x03\x12v\n\rbucket_values\x18\x04 \x03(\x0b\x32_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass\x12\x1a\n\x12\x62ucket_value_count\x18\x05 \x01(\x03\x1a\xb0\x05\n\x10LDiversityResult\x12\x93\x01\n+sensitive_value_frequency_histogram_buckets\x18\x05 \x03(\x0b\x32^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket\x1a\xe0\x01\n\x1aLDiversityEquivalenceClass\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1e\n\x16\x65quivalence_class_size\x18\x02 \x01(\x03\x12%\n\x1dnum_distinct_sensitive_values\x18\x03 \x01(\x03\x12\x43\n\x14top_sensitive_values\x18\x04 \x03(\x0b\x32%.google.privacy.dlp.v2.ValueFrequency\x1a\xa2\x02\n\x19LDiversityHistogramBucket\x12-\n%sensitive_value_frequency_lower_bound\x18\x01 \x01(\x03\x12-\n%sensitive_value_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x03 \x01(\x03\x12v\n\rbucket_values\x18\x04 \x03(\x0b\x32_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass\x12\x1a\n\x12\x62ucket_value_count\x18\x05 \x01(\x03\x1a\x95\x04\n\x14KMapEstimationResult\x12\x8a\x01\n\x1ak_map_estimation_histogram\x18\x01 \x03(\x0b\x32\x66.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket\x1ar\n\x1bKMapEstimationQuasiIdValues\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1b\n\x13\x65stimated_anonymity\x18\x02 \x01(\x03\x1a\xfb\x01\n\x1dKMapEstimationHistogramBucket\x12\x15\n\rmin_anonymity\x18\x01 \x01(\x03\x12\x15\n\rmax_anonymity\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x05 \x01(\x03\x12{\n\rbucket_values\x18\x06 \x03(\x0b\x32\x64.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues\x12\x1a\n\x12\x62ucket_value_count\x18\x07 \x01(\x03\x1a\xe4\x04\n\x1d\x44\x65ltaPresenceEstimationResult\x12\xa5\x01\n#delta_presence_estimation_histogram\x18\x01 \x03(\x0b\x32x.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket\x1a}\n$DeltaPresenceEstimationQuasiIdValues\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1d\n\x15\x65stimated_probability\x18\x02 \x01(\x01\x1a\x9b\x02\n&DeltaPresenceEstimationHistogramBucket\x12\x17\n\x0fmin_probability\x18\x01 \x01(\x01\x12\x17\n\x0fmax_probability\x18\x02 \x01(\x01\x12\x13\n\x0b\x62ucket_size\x18\x05 \x01(\x03\x12\x8d\x01\n\rbucket_values\x18\x06 \x03(\x0b\x32v.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues\x12\x1a\n\x12\x62ucket_value_count\x18\x07 \x01(\x03\x42\x08\n\x06result"L\n\x0eValueFrequency\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\xb3\x02\n\x05Value\x12\x17\n\rinteger_value\x18\x01 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x17\n\rboolean_value\x18\x04 \x01(\x08H\x00\x12\x35\n\x0ftimestamp_value\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12,\n\ntime_value\x18\x06 \x01(\x0b\x32\x16.google.type.TimeOfDayH\x00\x12\'\n\ndate_value\x18\x07 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x33\n\x11\x64\x61y_of_week_value\x18\x08 \x01(\x0e\x32\x16.google.type.DayOfWeekH\x00\x42\x06\n\x04type"Q\n\tQuoteInfo\x12\x34\n\tdate_time\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.DateTimeH\x00\x42\x0e\n\x0cparsed_quote"\xdf\x01\n\x08\x44\x61teTime\x12\x1f\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x11.google.type.Date\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12$\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12;\n\ttime_zone\x18\x04 \x01(\x0b\x32(.google.privacy.dlp.v2.DateTime.TimeZone\x1a"\n\x08TimeZone\x12\x16\n\x0eoffset_minutes\x18\x01 \x01(\x05"\xa4\x02\n\x10\x44\x65identifyConfig\x12S\n\x19info_type_transformations\x18\x01 \x01(\x0b\x32..google.privacy.dlp.v2.InfoTypeTransformationsH\x00\x12N\n\x16record_transformations\x18\x02 \x01(\x0b\x32,.google.privacy.dlp.v2.RecordTransformationsH\x00\x12Y\n\x1dtransformation_error_handling\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.TransformationErrorHandlingB\x10\n\x0etransformation"\x85\x02\n\x1bTransformationErrorHandling\x12T\n\x0bthrow_error\x18\x01 \x01(\x0b\x32=.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorH\x00\x12\x64\n\x13leave_untransformed\x18\x02 \x01(\x0b\x32\x45.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedH\x00\x1a\x0c\n\nThrowError\x1a\x14\n\x12LeaveUntransformedB\x06\n\x04mode"\xf5\x06\n\x17PrimitiveTransformation\x12\x43\n\x0ereplace_config\x18\x01 \x01(\x0b\x32).google.privacy.dlp.v2.ReplaceValueConfigH\x00\x12<\n\rredact_config\x18\x02 \x01(\x0b\x32#.google.privacy.dlp.v2.RedactConfigH\x00\x12K\n\x15\x63haracter_mask_config\x18\x03 \x01(\x0b\x32*.google.privacy.dlp.v2.CharacterMaskConfigH\x00\x12Y\n\x1d\x63rypto_replace_ffx_fpe_config\x18\x04 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigH\x00\x12V\n\x1b\x66ixed_size_bucketing_config\x18\x05 \x01(\x0b\x32/.google.privacy.dlp.v2.FixedSizeBucketingConfigH\x00\x12\x42\n\x10\x62ucketing_config\x18\x06 \x01(\x0b\x32&.google.privacy.dlp.v2.BucketingConfigH\x00\x12Y\n\x1dreplace_with_info_type_config\x18\x07 \x01(\x0b\x32\x30.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigH\x00\x12\x41\n\x10time_part_config\x18\x08 \x01(\x0b\x32%.google.privacy.dlp.v2.TimePartConfigH\x00\x12\x45\n\x12\x63rypto_hash_config\x18\t \x01(\x0b\x32\'.google.privacy.dlp.v2.CryptoHashConfigH\x00\x12\x43\n\x11\x64\x61te_shift_config\x18\x0b \x01(\x0b\x32&.google.privacy.dlp.v2.DateShiftConfigH\x00\x12W\n\x1b\x63rypto_deterministic_config\x18\x0c \x01(\x0b\x32\x30.google.privacy.dlp.v2.CryptoDeterministicConfigH\x00\x42\x10\n\x0etransformation"\xdc\x01\n\x0eTimePartConfig\x12G\n\x0fpart_to_extract\x18\x01 \x01(\x0e\x32..google.privacy.dlp.v2.TimePartConfig.TimePart"\x80\x01\n\x08TimePart\x12\x19\n\x15TIME_PART_UNSPECIFIED\x10\x00\x12\x08\n\x04YEAR\x10\x01\x12\t\n\x05MONTH\x10\x02\x12\x10\n\x0c\x44\x41Y_OF_MONTH\x10\x03\x12\x0f\n\x0b\x44\x41Y_OF_WEEK\x10\x04\x12\x10\n\x0cWEEK_OF_YEAR\x10\x05\x12\x0f\n\x0bHOUR_OF_DAY\x10\x06"H\n\x10\x43ryptoHashConfig\x12\x34\n\ncrypto_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKey"\xc0\x01\n\x19\x43ryptoDeterministicConfig\x12\x34\n\ncrypto_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKey\x12<\n\x13surrogate_info_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12/\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"E\n\x12ReplaceValueConfig\x12/\n\tnew_value\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value"\x1b\n\x19ReplaceWithInfoTypeConfig"\x0e\n\x0cRedactConfig"\xb6\x02\n\rCharsToIgnore\x12\x1c\n\x12\x63haracters_to_skip\x18\x01 \x01(\tH\x00\x12_\n\x1b\x63ommon_characters_to_ignore\x18\x02 \x01(\x0e\x32\x38.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnoreH\x00"\x97\x01\n\x13\x43ommonCharsToIgnore\x12&\n"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\x10\x00\x12\x0b\n\x07NUMERIC\x10\x01\x12\x14\n\x10\x41LPHA_UPPER_CASE\x10\x02\x12\x14\n\x10\x41LPHA_LOWER_CASE\x10\x03\x12\x0f\n\x0bPUNCTUATION\x10\x04\x12\x0e\n\nWHITESPACE\x10\x05\x42\x0c\n\ncharacters"\xa3\x01\n\x13\x43haracterMaskConfig\x12\x19\n\x11masking_character\x18\x01 \x01(\t\x12\x16\n\x0enumber_to_mask\x18\x02 \x01(\x05\x12\x15\n\rreverse_order\x18\x03 \x01(\x08\x12\x42\n\x14\x63haracters_to_ignore\x18\x04 \x03(\x0b\x32$.google.privacy.dlp.v2.CharsToIgnore"\xa4\x01\n\x18\x46ixedSizeBucketingConfig\x12\x36\n\x0blower_bound\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.ValueB\x03\xe0\x41\x02\x12\x36\n\x0bupper_bound\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.ValueB\x03\xe0\x41\x02\x12\x18\n\x0b\x62ucket_size\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02"\xeb\x01\n\x0f\x42ucketingConfig\x12>\n\x07\x62uckets\x18\x01 \x03(\x0b\x32-.google.privacy.dlp.v2.BucketingConfig.Bucket\x1a\x97\x01\n\x06\x42ucket\x12)\n\x03min\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12)\n\x03max\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x37\n\x11replacement_value\x18\x03 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value"\xf9\x03\n\x19\x43ryptoReplaceFfxFpeConfig\x12\x39\n\ncrypto_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKeyB\x03\xe0\x41\x02\x12/\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x63\n\x0f\x63ommon_alphabet\x18\x04 \x01(\x0e\x32H.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabetH\x00\x12\x19\n\x0f\x63ustom_alphabet\x18\x05 \x01(\tH\x00\x12\x0f\n\x05radix\x18\x06 \x01(\x05H\x00\x12<\n\x13surrogate_info_type\x18\x08 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType"\x94\x01\n\x17\x46\x66xCommonNativeAlphabet\x12*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\x10\x00\x12\x0b\n\x07NUMERIC\x10\x01\x12\x0f\n\x0bHEXADECIMAL\x10\x02\x12\x1c\n\x18UPPER_CASE_ALPHA_NUMERIC\x10\x03\x12\x11\n\rALPHA_NUMERIC\x10\x04\x42\n\n\x08\x61lphabet"\xd8\x01\n\tCryptoKey\x12>\n\ttransient\x18\x01 \x01(\x0b\x32).google.privacy.dlp.v2.TransientCryptoKeyH\x00\x12>\n\tunwrapped\x18\x02 \x01(\x0b\x32).google.privacy.dlp.v2.UnwrappedCryptoKeyH\x00\x12\x41\n\x0bkms_wrapped\x18\x03 \x01(\x0b\x32*.google.privacy.dlp.v2.KmsWrappedCryptoKeyH\x00\x42\x08\n\x06source"\'\n\x12TransientCryptoKey\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02"&\n\x12UnwrappedCryptoKey\x12\x10\n\x03key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02"M\n\x13KmsWrappedCryptoKey\x12\x18\n\x0bwrapped_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x1c\n\x0f\x63rypto_key_name\x18\x02 \x01(\tB\x03\xe0\x41\x02"\xc2\x01\n\x0f\x44\x61teShiftConfig\x12\x1d\n\x10upper_bound_days\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1d\n\x10lower_bound_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12/\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x36\n\ncrypto_key\x18\x04 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKeyH\x00\x42\x08\n\x06method"\xa5\x02\n\x17InfoTypeTransformations\x12\x63\n\x0ftransformations\x18\x01 \x03(\x0b\x32\x45.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationB\x03\xe0\x41\x02\x1a\xa4\x01\n\x16InfoTypeTransformation\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12U\n\x18primitive_transformation\x18\x02 \x01(\x0b\x32..google.privacy.dlp.v2.PrimitiveTransformationB\x03\xe0\x41\x02"\xc0\x02\n\x13\x46ieldTransformation\x12\x33\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12\x39\n\tcondition\x18\x03 \x01(\x0b\x32&.google.privacy.dlp.v2.RecordCondition\x12R\n\x18primitive_transformation\x18\x04 \x01(\x0b\x32..google.privacy.dlp.v2.PrimitiveTransformationH\x00\x12S\n\x19info_type_transformations\x18\x05 \x01(\x0b\x32..google.privacy.dlp.v2.InfoTypeTransformationsH\x00\x42\x10\n\x0etransformation"\xa9\x01\n\x15RecordTransformations\x12I\n\x15\x66ield_transformations\x18\x01 \x03(\x0b\x32*.google.privacy.dlp.v2.FieldTransformation\x12\x45\n\x13record_suppressions\x18\x02 \x03(\x0b\x32(.google.privacy.dlp.v2.RecordSuppression"N\n\x11RecordSuppression\x12\x39\n\tcondition\x18\x01 \x01(\x0b\x32&.google.privacy.dlp.v2.RecordCondition"\xdc\x04\n\x0fRecordCondition\x12G\n\x0b\x65xpressions\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.RecordCondition.Expressions\x1a\xae\x01\n\tCondition\x12\x32\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12@\n\x08operator\x18\x03 \x01(\x0e\x32).google.privacy.dlp.v2.RelationalOperatorB\x03\xe0\x41\x02\x12+\n\x05value\x18\x04 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x1aR\n\nConditions\x12\x44\n\nconditions\x18\x01 \x03(\x0b\x32\x30.google.privacy.dlp.v2.RecordCondition.Condition\x1a\xfa\x01\n\x0b\x45xpressions\x12\\\n\x10logical_operator\x18\x01 \x01(\x0e\x32\x42.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator\x12G\n\nconditions\x18\x03 \x01(\x0b\x32\x31.google.privacy.dlp.v2.RecordCondition.ConditionsH\x00"<\n\x0fLogicalOperator\x12 \n\x1cLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41ND\x10\x01\x42\x06\n\x04type"\x83\x01\n\x16TransformationOverview\x12\x19\n\x11transformed_bytes\x18\x02 \x01(\x03\x12N\n\x18transformation_summaries\x18\x03 \x03(\x0b\x32,.google.privacy.dlp.v2.TransformationSummary"\x9f\x05\n\x15TransformationSummary\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12-\n\x05\x66ield\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x46\n\x0etransformation\x18\x03 \x01(\x0b\x32..google.privacy.dlp.v2.PrimitiveTransformation\x12I\n\x15\x66ield_transformations\x18\x05 \x03(\x0b\x32*.google.privacy.dlp.v2.FieldTransformation\x12\x41\n\x0frecord_suppress\x18\x06 \x01(\x0b\x32(.google.privacy.dlp.v2.RecordSuppression\x12K\n\x07results\x18\x04 \x03(\x0b\x32:.google.privacy.dlp.v2.TransformationSummary.SummaryResult\x12\x19\n\x11transformed_bytes\x18\x07 \x01(\x03\x1a\x84\x01\n\rSummaryResult\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12S\n\x04\x63ode\x18\x02 \x01(\x0e\x32\x45.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\t"^\n\x18TransformationResultCode\x12*\n&TRANSFORMATION_RESULT_CODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\t\n\x05\x45RROR\x10\x02"U\n\x08Schedule\x12?\n\x1arecurrence_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x08\n\x06option"\x08\n\x06Manual"\xc2\x04\n\x0fInspectTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x0einspect_config\x18\x06 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig:\xc6\x02\xea\x41\xc2\x02\n"dlp.googleapis.com/InspectTemplate\x12@organizations/{organization}/inspectTemplates/{inspect_template}\x12\x36projects/{project}/inspectTemplates/{inspect_template}\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}"\xe6\x04\n\x12\x44\x65identifyTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x11\x64\x65identify_config\x18\x06 \x01(\x0b\x32\'.google.privacy.dlp.v2.DeidentifyConfig:\xe1\x02\xea\x41\xdd\x02\n%dlp.googleapis.com/DeidentifyTemplate\x12\x46organizations/{organization}/deidentifyTemplates/{deidentify_template}\x12\n\x0binspect_job\x18\x04 \x01(\x0b\x32\'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12;\n\x08triggers\x18\x05 \x03(\x0b\x32).google.privacy.dlp.v2.JobTrigger.Trigger\x12\x31\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.ErrorB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rlast_run_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06status\x18\n \x01(\x0e\x32(.google.privacy.dlp.v2.JobTrigger.StatusB\x03\xe0\x41\x02\x1az\n\x07Trigger\x12\x33\n\x08schedule\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.ScheduleH\x00\x12/\n\x06manual\x18\x02 \x01(\x0b\x32\x1d.google.privacy.dlp.v2.ManualH\x00\x42\t\n\x07trigger"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\r\n\tCANCELLED\x10\x03:\x94\x01\xea\x41\x90\x01\n\x1d\x64lp.googleapis.com/JobTrigger\x12,projects/{project}/jobTriggers/{job_trigger}\x12\x41projects/{project}/locations/{location}/jobTriggers/{job_trigger}B\x05\n\x03job"\xf4\x05\n\x06\x41\x63tion\x12\x43\n\rsave_findings\x18\x01 \x01(\x0b\x32*.google.privacy.dlp.v2.Action.SaveFindingsH\x00\x12@\n\x07pub_sub\x18\x02 \x01(\x0b\x32-.google.privacy.dlp.v2.Action.PublishToPubSubH\x00\x12U\n\x17publish_summary_to_cscc\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.Action.PublishSummaryToCsccH\x00\x12q\n&publish_findings_to_cloud_data_catalog\x18\x05 \x01(\x0b\x32?.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogH\x00\x12V\n\x17job_notification_emails\x18\x08 \x01(\x0b\x32\x33.google.privacy.dlp.v2.Action.JobNotificationEmailsH\x00\x12T\n\x16publish_to_stackdriver\x18\t \x01(\x0b\x32\x32.google.privacy.dlp.v2.Action.PublishToStackdriverH\x00\x1aQ\n\x0cSaveFindings\x12\x41\n\routput_config\x18\x01 \x01(\x0b\x32*.google.privacy.dlp.v2.OutputStorageConfig\x1a \n\x0fPublishToPubSub\x12\r\n\x05topic\x18\x01 \x01(\t\x1a\x16\n\x14PublishSummaryToCscc\x1a#\n!PublishFindingsToCloudDataCatalog\x1a\x17\n\x15JobNotificationEmails\x1a\x16\n\x14PublishToStackdriverB\x08\n\x06\x61\x63tion"\xcb\x01\n\x1c\x43reateInspectTemplateRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12"dlp.googleapis.com/InspectTemplate\x12\x45\n\x10inspect_template\x18\x02 \x01(\x0b\x32&.google.privacy.dlp.v2.InspectTemplateB\x03\xe0\x41\x02\x12\x13\n\x0btemplate_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"\xcb\x01\n\x1cUpdateInspectTemplateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n"dlp.googleapis.com/InspectTemplate\x12@\n\x10inspect_template\x18\x02 \x01(\x0b\x32&.google.privacy.dlp.v2.InspectTemplate\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"U\n\x19GetInspectTemplateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n"dlp.googleapis.com/InspectTemplate"\xa7\x01\n\x1bListInspectTemplatesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12"dlp.googleapis.com/InspectTemplate\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"z\n\x1cListInspectTemplatesResponse\x12\x41\n\x11inspect_templates\x18\x01 \x03(\x0b\x32&.google.privacy.dlp.v2.InspectTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"X\n\x1c\x44\x65leteInspectTemplateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n"dlp.googleapis.com/InspectTemplate"\xc4\x01\n\x17\x43reateJobTriggerRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12;\n\x0bjob_trigger\x18\x02 \x01(\x0b\x32!.google.privacy.dlp.v2.JobTriggerB\x03\xe0\x41\x02\x12\x12\n\ntrigger_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"P\n\x19\x41\x63tivateJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger"\xb7\x01\n\x17UpdateJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger\x12\x36\n\x0bjob_trigger\x18\x02 \x01(\x0b\x32!.google.privacy.dlp.v2.JobTrigger\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"K\n\x14GetJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger"\x88\x02\n\x13\x43reateDlpJobRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12>\n\x0binspect_job\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12@\n\x08risk_job\x18\x03 \x01(\x0b\x32,.google.privacy.dlp.v2.RiskAnalysisJobConfigH\x00\x12\x0e\n\x06job_id\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\tB\x05\n\x03job"\xbb\x01\n\x16ListJobTriggersRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"k\n\x17ListJobTriggersResponse\x12\x37\n\x0cjob_triggers\x18\x01 \x03(\x0b\x32!.google.privacy.dlp.v2.JobTrigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"N\n\x17\x44\x65leteJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger"\xdd\x01\n\x10InspectJobConfig\x12<\n\x0estorage_config\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.StorageConfig\x12<\n\x0einspect_config\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x1d\n\x15inspect_template_name\x18\x03 \x01(\t\x12.\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32\x1d.google.privacy.dlp.v2.Action"\xeb\x05\n\x06\x44lpJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32!.google.privacy.dlp.v2.DlpJobType\x12\x35\n\x05state\x18\x03 \x01(\x0e\x32&.google.privacy.dlp.v2.DlpJob.JobState\x12K\n\x0crisk_details\x18\x04 \x01(\x0b\x32\x33.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsH\x00\x12J\n\x0finspect_details\x18\x05 \x01(\x0b\x32/.google.privacy.dlp.v2.InspectDataSourceDetailsH\x00\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10job_trigger_name\x18\n \x01(\t\x12,\n\x06\x65rrors\x18\x0b \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Error"o\n\x08JobState\x12\x19\n\x15JOB_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\x0c\n\x08\x43\x41NCELED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\n\n\x06\x41\x43TIVE\x10\x06:\x7f\xea\x41|\n\x19\x64lp.googleapis.com/DlpJob\x12$projects/{project}/dlpJobs/{dlp_job}\x12\x39projects/{project}/locations/{location}/dlpJobs/{dlp_job}B\t\n\x07\x64\x65tails"C\n\x10GetDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"\xe8\x01\n\x12ListDlpJobsRequest\x12\x43\n\x06parent\x18\x04 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12/\n\x04type\x18\x05 \x01(\x0e\x32!.google.privacy.dlp.v2.DlpJobType\x12\x10\n\x08order_by\x18\x06 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"[\n\x13ListDlpJobsResponse\x12+\n\x04jobs\x18\x01 \x03(\x0b\x32\x1d.google.privacy.dlp.v2.DlpJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"F\n\x13\x43\x61ncelDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"F\n\x13\x46inishDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"F\n\x13\x44\x65leteDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"\xd7\x01\n\x1f\x43reateDeidentifyTemplateRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dlp.googleapis.com/DeidentifyTemplate\x12K\n\x13\x64\x65identify_template\x18\x02 \x01(\x0b\x32).google.privacy.dlp.v2.DeidentifyTemplateB\x03\xe0\x41\x02\x12\x13\n\x0btemplate_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"\xd7\x01\n\x1fUpdateDeidentifyTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate\x12\x46\n\x13\x64\x65identify_template\x18\x02 \x01(\x0b\x32).google.privacy.dlp.v2.DeidentifyTemplate\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"[\n\x1cGetDeidentifyTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate"\xad\x01\n\x1eListDeidentifyTemplatesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dlp.googleapis.com/DeidentifyTemplate\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"\x83\x01\n\x1fListDeidentifyTemplatesResponse\x12G\n\x14\x64\x65identify_templates\x18\x01 \x03(\x0b\x32).google.privacy.dlp.v2.DeidentifyTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"^\n\x1f\x44\x65leteDeidentifyTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate"\xf4\x01\n\x1bLargeCustomDictionaryConfig\x12<\n\x0boutput_path\x18\x01 \x01(\x0b\x32\'.google.privacy.dlp.v2.CloudStoragePath\x12L\n\x16\x63loud_storage_file_set\x18\x02 \x01(\x0b\x32*.google.privacy.dlp.v2.CloudStorageFileSetH\x00\x12?\n\x0f\x62ig_query_field\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryFieldH\x00\x42\x08\n\x06source"8\n\x1aLargeCustomDictionaryStats\x12\x1a\n\x12\x61pprox_num_phrases\x18\x01 \x01(\x03"\xa6\x02\n\x14StoredInfoTypeConfig\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12U\n\x17large_custom_dictionary\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.LargeCustomDictionaryConfigH\x00\x12\x46\n\ndictionary\x18\x04 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\n\x05regex\x18\x05 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x42\x06\n\x04type"s\n\x13StoredInfoTypeStats\x12T\n\x17large_custom_dictionary\x18\x01 \x01(\x0b\x32\x31.google.privacy.dlp.v2.LargeCustomDictionaryStatsH\x00\x42\x06\n\x04type"\xa9\x02\n\x15StoredInfoTypeVersion\x12;\n\x06\x63onfig\x18\x01 \x01(\x0b\x32+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.google.privacy.dlp.v2.StoredInfoTypeState\x12,\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Error\x12\x39\n\x05stats\x18\x05 \x01(\x0b\x32*.google.privacy.dlp.v2.StoredInfoTypeStats"\xf1\x03\n\x0eStoredInfoType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x0f\x63urrent_version\x18\x02 \x01(\x0b\x32,.google.privacy.dlp.v2.StoredInfoTypeVersion\x12\x46\n\x10pending_versions\x18\x03 \x03(\x0b\x32,.google.privacy.dlp.v2.StoredInfoTypeVersion:\xc1\x02\xea\x41\xbd\x02\n!dlp.googleapis.com/StoredInfoType\x12?organizations/{organization}/storedInfoTypes/{stored_info_type}\x12\x35projects/{project}/storedInfoTypes/{stored_info_type}\x12Torganizations/{organization}/locations/{location}/storedInfoTypes/{stored_info_type}\x12Jprojects/{project}/locations/{location}/storedInfoTypes/{stored_info_type}"\xcc\x01\n\x1b\x43reateStoredInfoTypeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dlp.googleapis.com/StoredInfoType\x12@\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.StoredInfoTypeConfigB\x03\xe0\x41\x02\x12\x1b\n\x13stored_info_type_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"\xc4\x01\n\x1bUpdateStoredInfoTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dlp.googleapis.com/StoredInfoType\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"S\n\x18GetStoredInfoTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dlp.googleapis.com/StoredInfoType"\xa5\x01\n\x1aListStoredInfoTypesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dlp.googleapis.com/StoredInfoType\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"x\n\x1bListStoredInfoTypesResponse\x12@\n\x11stored_info_types\x18\x01 \x03(\x0b\x32%.google.privacy.dlp.v2.StoredInfoType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"V\n\x1b\x44\x65leteStoredInfoTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dlp.googleapis.com/StoredInfoType"\x94\x01\n\x1eHybridInspectJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger\x12=\n\x0bhybrid_item\x18\x03 \x01(\x0b\x32(.google.privacy.dlp.v2.HybridContentItem"\x8c\x01\n\x1aHybridInspectDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x12=\n\x0bhybrid_item\x18\x03 \x01(\x0b\x32(.google.privacy.dlp.v2.HybridContentItem"\x8b\x01\n\x11HybridContentItem\x12\x30\n\x04item\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x44\n\x0f\x66inding_details\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.HybridFindingDetails"\xb0\x02\n\x14HybridFindingDetails\x12;\n\x11\x63ontainer_details\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.Container\x12\x13\n\x0b\x66ile_offset\x18\x02 \x01(\x03\x12\x12\n\nrow_offset\x18\x03 \x01(\x03\x12:\n\rtable_options\x18\x04 \x01(\x0b\x32#.google.privacy.dlp.v2.TableOptions\x12G\n\x06labels\x18\x05 \x03(\x0b\x32\x37.google.privacy.dlp.v2.HybridFindingDetails.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x17\n\x15HybridInspectResponse*\xbb\x01\n\x12RelationalOperator\x12#\n\x1fRELATIONAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45QUAL_TO\x10\x01\x12\x10\n\x0cNOT_EQUAL_TO\x10\x02\x12\x10\n\x0cGREATER_THAN\x10\x03\x12\r\n\tLESS_THAN\x10\x04\x12\x1a\n\x16GREATER_THAN_OR_EQUALS\x10\x05\x12\x17\n\x13LESS_THAN_OR_EQUALS\x10\x06\x12\n\n\x06\x45XISTS\x10\x07*\x8d\x01\n\x0cMatchingType\x12\x1d\n\x19MATCHING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18MATCHING_TYPE_FULL_MATCH\x10\x01\x12\x1f\n\x1bMATCHING_TYPE_PARTIAL_MATCH\x10\x02\x12\x1f\n\x1bMATCHING_TYPE_INVERSE_MATCH\x10\x03*M\n\rContentOption\x12\x17\n\x13\x43ONTENT_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43ONTENT_TEXT\x10\x01\x12\x11\n\rCONTENT_IMAGE\x10\x02*P\n\x13InfoTypeSupportedBy\x12\x19\n\x15\x45NUM_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INSPECT\x10\x01\x12\x11\n\rRISK_ANALYSIS\x10\x02*R\n\nDlpJobType\x12\x1c\n\x18\x44LP_JOB_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINSPECT_JOB\x10\x01\x12\x15\n\x11RISK_ANALYSIS_JOB\x10\x02*n\n\x13StoredInfoTypeState\x12&\n"STORED_INFO_TYPE_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\t\n\x05READY\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0b\n\x07INVALID\x10\x04\x32\x87M\n\nDlpService\x12\xe7\x01\n\x0eInspectContent\x12,.google.privacy.dlp.v2.InspectContentRequest\x1a-.google.privacy.dlp.v2.InspectContentResponse"x\x82\xd3\xe4\x93\x02r"\'/v2/{parent=projects/*}/content:inspect:\x01*ZD"?/v2/{parent=projects/*}/locations/{location_id}/content:inspect:\x01*\x12\xd8\x01\n\x0bRedactImage\x12).google.privacy.dlp.v2.RedactImageRequest\x1a*.google.privacy.dlp.v2.RedactImageResponse"r\x82\xd3\xe4\x93\x02l"$/v2/{parent=projects/*}/image:redact:\x01*ZA"29/v2/{name=organizations/*/locations/*/inspectTemplates/*}:\x01*Z-2(/v2/{name=projects/*/inspectTemplates/*}:\x01*Z924/v2/{name=projects/*/locations/*/inspectTemplates/*}:\x01*\xda\x41!name,inspect_template,update_mask\x12\xcf\x02\n\x12GetInspectTemplate\x12\x30.google.privacy.dlp.v2.GetInspectTemplateRequest\x1a&.google.privacy.dlp.v2.InspectTemplate"\xde\x01\x82\xd3\xe4\x93\x02\xd0\x01\x12-/v2/{name=organizations/*/inspectTemplates/*}Z;\x12\x39/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z*\x12(/v2/{name=projects/*/inspectTemplates/*}Z6\x12\x34/v2/{name=projects/*/locations/*/inspectTemplates/*}\xda\x41\x04name\x12\xfa\x02\n\x14ListInspectTemplates\x12\x32.google.privacy.dlp.v2.ListInspectTemplatesRequest\x1a\x33.google.privacy.dlp.v2.ListInspectTemplatesResponse"\xf8\x01\x82\xd3\xe4\x93\x02\xe8\x01\x12-/v2/{parent=organizations/*}/inspectTemplatesZG\x12\x45/v2/{parent=organizations/*}/locations/{location_id}/inspectTemplatesZ*\x12(/v2/{parent=projects/*}/inspectTemplatesZB\x12@/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates\xda\x41\x06parent\x12\xc5\x02\n\x15\x44\x65leteInspectTemplate\x12\x33.google.privacy.dlp.v2.DeleteInspectTemplateRequest\x1a\x16.google.protobuf.Empty"\xde\x01\x82\xd3\xe4\x93\x02\xd0\x01*-/v2/{name=organizations/*/inspectTemplates/*}Z;*9/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z**(/v2/{name=projects/*/inspectTemplates/*}Z6*4/v2/{name=projects/*/locations/*/inspectTemplates/*}\xda\x41\x04name\x12\xcd\x03\n\x18\x43reateDeidentifyTemplate\x12\x36.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest\x1a).google.privacy.dlp.v2.DeidentifyTemplate"\xcd\x02\x82\xd3\xe4\x93\x02\x80\x02"0/v2/{parent=organizations/*}/deidentifyTemplates:\x01*ZM"H/v2/{parent=organizations/*}/locations/{location_id}/deidentifyTemplates:\x01*Z0"+/v2/{parent=projects/*}/deidentifyTemplates:\x01*ZH"C/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates:\x01*\xda\x41\x1aparent,deidentify_template\xda\x41&parent,deidentify_template,location_id\x12\x96\x03\n\x18UpdateDeidentifyTemplate\x12\x36.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest\x1a).google.privacy.dlp.v2.DeidentifyTemplate"\x96\x02\x82\xd3\xe4\x93\x02\xe8\x01\x32\x30/v2/{name=organizations/*/deidentifyTemplates/*}:\x01*ZA2\x12*"9/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect:\x01*\xda\x41\x04name\x12\x91\x01\n\x0c\x46inishDlpJob\x12*.google.privacy.dlp.v2.FinishDlpJobRequest\x1a\x16.google.protobuf.Empty"=\x82\xd3\xe4\x93\x02\x37"2/v2/{name=projects/*/locations/*/dlpJobs/*}:finish:\x01*\x1a\x46\xca\x41\x12\x64lp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8d\x01\n\x19\x63om.google.privacy.dlp.v2B\x08\x44lpProtoP\x01Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\xaa\x02\x13Google.Cloud.Dlp.V2\xca\x02\x13Google\\Cloud\\Dlp\\V2b\x06proto3' - ), + serialized_options=b"\n\031com.google.privacy.dlp.v2B\010DlpProtoP\001Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2\352A\\\n'dlp.googleapis.com/OrganizationLocation\0221organizations/{organization}/locations/{location}", + serialized_pb=b'\n#google/cloud/dlp_v2/proto/dlp.proto\x12\x15google.privacy.dlp.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/dlp_v2/proto/storage.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto"G\n\x10\x45xcludeInfoTypes\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType"\xa0\x02\n\rExclusionRule\x12\x46\n\ndictionary\x18\x01 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\n\x05regex\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12\x45\n\x12\x65xclude_info_types\x18\x03 \x01(\x0b\x32\'.google.privacy.dlp.v2.ExcludeInfoTypesH\x00\x12:\n\rmatching_type\x18\x04 \x01(\x0e\x32#.google.privacy.dlp.v2.MatchingTypeB\x06\n\x04type"\xb1\x01\n\x0eInspectionRule\x12W\n\x0chotword_rule\x18\x01 \x01(\x0b\x32?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x12>\n\x0e\x65xclusion_rule\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.ExclusionRuleH\x00\x42\x06\n\x04type"~\n\x11InspectionRuleSet\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x34\n\x05rules\x18\x02 \x03(\x0b\x32%.google.privacy.dlp.v2.InspectionRule"\xc7\x05\n\rInspectConfig\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x39\n\x0emin_likelihood\x18\x02 \x01(\x0e\x32!.google.privacy.dlp.v2.Likelihood\x12\x42\n\x06limits\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.InspectConfig.FindingLimits\x12\x15\n\rinclude_quote\x18\x04 \x01(\x08\x12\x1a\n\x12\x65xclude_info_types\x18\x05 \x01(\x08\x12@\n\x11\x63ustom_info_types\x18\x06 \x03(\x0b\x32%.google.privacy.dlp.v2.CustomInfoType\x12=\n\x0f\x63ontent_options\x18\x08 \x03(\x0e\x32$.google.privacy.dlp.v2.ContentOption\x12:\n\x08rule_set\x18\n \x03(\x0b\x32(.google.privacy.dlp.v2.InspectionRuleSet\x1a\x91\x02\n\rFindingLimits\x12\x1d\n\x15max_findings_per_item\x18\x01 \x01(\x05\x12 \n\x18max_findings_per_request\x18\x02 \x01(\x05\x12\x64\n\x1amax_findings_per_info_type\x18\x03 \x03(\x0b\x32@.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit\x1aY\n\rInfoTypeLimit\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x14\n\x0cmax_findings\x18\x02 \x01(\x05"\x86\x02\n\x0f\x42yteContentItem\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.privacy.dlp.v2.ByteContentItem.BytesType\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c"\xa4\x01\n\tBytesType\x12\x1a\n\x16\x42YTES_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05IMAGE\x10\x06\x12\x0e\n\nIMAGE_JPEG\x10\x01\x12\r\n\tIMAGE_BMP\x10\x02\x12\r\n\tIMAGE_PNG\x10\x03\x12\r\n\tIMAGE_SVG\x10\x04\x12\r\n\tTEXT_UTF8\x10\x05\x12\x11\n\rWORD_DOCUMENT\x10\x07\x12\x07\n\x03PDF\x10\x08\x12\x08\n\x04\x41VRO\x10\x0b"\x97\x01\n\x0b\x43ontentItem\x12\x0f\n\x05value\x18\x03 \x01(\tH\x00\x12-\n\x05table\x18\x04 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.TableH\x00\x12;\n\tbyte_item\x18\x05 \x01(\x0b\x32&.google.privacy.dlp.v2.ByteContentItemH\x00\x42\x0b\n\tdata_item"\x9d\x01\n\x05Table\x12/\n\x07headers\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12.\n\x04rows\x18\x02 \x03(\x0b\x32 .google.privacy.dlp.v2.Table.Row\x1a\x33\n\x03Row\x12,\n\x06values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value"]\n\rInspectResult\x12\x30\n\x08\x66indings\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.Finding\x12\x1a\n\x12\x66indings_truncated\x18\x02 \x01(\x08"\xcb\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x0e \x01(\t\x12\r\n\x05quote\x18\x01 \x01(\t\x12\x32\n\tinfo_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x35\n\nlikelihood\x18\x03 \x01(\x0e\x32!.google.privacy.dlp.v2.Likelihood\x12\x31\n\x08location\x18\x04 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.Location\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\nquote_info\x18\x07 \x01(\x0b\x32 .google.privacy.dlp.v2.QuoteInfo\x12\x35\n\rresource_name\x18\x08 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x12\x38\n\x0ctrigger_name\x18\t \x01(\tB"\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger\x12:\n\x06labels\x18\n \x03(\x0b\x32*.google.privacy.dlp.v2.Finding.LabelsEntry\x12\x33\n\x0fjob_create_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x08job_name\x18\r \x01(\tB\x1e\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:[\xea\x41X\n\x1a\x64lp.googleapis.com/Finding\x12:projects/{project}/locations/{location}/findings/{finding}"\xeb\x01\n\x08Location\x12\x30\n\nbyte_range\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Range\x12\x35\n\x0f\x63odepoint_range\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Range\x12\x41\n\x11\x63ontent_locations\x18\x07 \x03(\x0b\x32&.google.privacy.dlp.v2.ContentLocation\x12\x33\n\tcontainer\x18\x08 \x01(\x0b\x32 .google.privacy.dlp.v2.Container"\x97\x03\n\x0f\x43ontentLocation\x12\x16\n\x0e\x63ontainer_name\x18\x01 \x01(\t\x12@\n\x0frecord_location\x18\x02 \x01(\x0b\x32%.google.privacy.dlp.v2.RecordLocationH\x00\x12>\n\x0eimage_location\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.ImageLocationH\x00\x12\x44\n\x11\x64ocument_location\x18\x05 \x01(\x0b\x32\'.google.privacy.dlp.v2.DocumentLocationH\x00\x12\x44\n\x11metadata_location\x18\x08 \x01(\x0b\x32\'.google.privacy.dlp.v2.MetadataLocationH\x00\x12\x37\n\x13\x63ontainer_timestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x11\x63ontainer_version\x18\x07 \x01(\tB\n\n\x08location"\x94\x01\n\x10MetadataLocation\x12\x31\n\x04type\x18\x01 \x01(\x0e\x32#.google.privacy.dlp.v2.MetadataType\x12\x44\n\rstorage_label\x18\x03 \x01(\x0b\x32+.google.privacy.dlp.v2.StorageMetadataLabelH\x00\x42\x07\n\x05label"#\n\x14StorageMetadataLabel\x12\x0b\n\x03key\x18\x01 \x01(\t"\'\n\x10\x44ocumentLocation\x12\x13\n\x0b\x66ile_offset\x18\x01 \x01(\x03"\xb6\x01\n\x0eRecordLocation\x12\x34\n\nrecord_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.RecordKey\x12\x30\n\x08\x66ield_id\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12<\n\x0etable_location\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.TableLocation""\n\rTableLocation\x12\x11\n\trow_index\x18\x01 \x01(\x03"\xac\x01\n\tContainer\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x11\n\tfull_path\x18\x03 \x01(\t\x12\x11\n\troot_path\x18\x04 \x01(\t\x12\x15\n\rrelative_path\x18\x05 \x01(\t\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07version\x18\x07 \x01(\t"#\n\x05Range\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03"K\n\rImageLocation\x12:\n\x0e\x62ounding_boxes\x18\x01 \x03(\x0b\x32".google.privacy.dlp.v2.BoundingBox"G\n\x0b\x42oundingBox\x12\x0b\n\x03top\x18\x01 \x01(\x05\x12\x0c\n\x04left\x18\x02 \x01(\x05\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05"\x8a\x04\n\x12RedactImageRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x0blocation_id\x18\x08 \x01(\t\x12<\n\x0einspect_config\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12_\n\x17image_redaction_configs\x18\x05 \x03(\x0b\x32>.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig\x12\x18\n\x10include_findings\x18\x06 \x01(\x08\x12\x39\n\tbyte_item\x18\x07 \x01(\x0b\x32&.google.privacy.dlp.v2.ByteContentItem\x1a\xa8\x01\n\x14ImageRedactionConfig\x12\x34\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoTypeH\x00\x12\x19\n\x0fredact_all_text\x18\x02 \x01(\x08H\x00\x12\x35\n\x0fredaction_color\x18\x03 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.ColorB\x08\n\x06target"1\n\x05\x43olor\x12\x0b\n\x03red\x18\x01 \x01(\x02\x12\r\n\x05green\x18\x02 \x01(\x02\x12\x0c\n\x04\x62lue\x18\x03 \x01(\x02"\x83\x01\n\x13RedactImageResponse\x12\x16\n\x0eredacted_image\x18\x01 \x01(\x0c\x12\x16\n\x0e\x65xtracted_text\x18\x02 \x01(\t\x12<\n\x0einspect_result\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectResult"\xe6\x02\n\x18\x44\x65identifyContentRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x42\n\x11\x64\x65identify_config\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.DeidentifyConfig\x12<\n\x0einspect_config\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x30\n\x04item\x18\x04 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x1d\n\x15inspect_template_name\x18\x05 \x01(\t\x12 \n\x18\x64\x65identify_template_name\x18\x06 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"\x8e\x01\n\x19\x44\x65identifyContentResponse\x12\x30\n\x04item\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12?\n\x08overview\x18\x02 \x01(\x0b\x32-.google.privacy.dlp.v2.TransformationOverview"\xe9\x02\n\x18ReidentifyContentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x42\n\x11reidentify_config\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.DeidentifyConfig\x12<\n\x0einspect_config\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x30\n\x04item\x18\x04 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x1d\n\x15inspect_template_name\x18\x05 \x01(\t\x12 \n\x18reidentify_template_name\x18\x06 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"\x8e\x01\n\x19ReidentifyContentResponse\x12\x30\n\x04item\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12?\n\x08overview\x18\x02 \x01(\x0b\x32-.google.privacy.dlp.v2.TransformationOverview"\xfd\x01\n\x15InspectContentRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12<\n\x0einspect_config\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x30\n\x04item\x18\x03 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x1d\n\x15inspect_template_name\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"N\n\x16InspectContentResponse\x12\x34\n\x06result\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectResult"\xb7\x02\n\x13OutputStorageConfig\x12\x35\n\x05table\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTableH\x00\x12N\n\routput_schema\x18\x03 \x01(\x0e\x32\x37.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema"\x90\x01\n\x0cOutputSchema\x12\x1d\n\x19OUTPUT_SCHEMA_UNSPECIFIED\x10\x00\x12\x11\n\rBASIC_COLUMNS\x10\x01\x12\x0f\n\x0bGCS_COLUMNS\x10\x02\x12\x15\n\x11\x44\x41TASTORE_COLUMNS\x10\x03\x12\x15\n\x11\x42IG_QUERY_COLUMNS\x10\x04\x12\x0f\n\x0b\x41LL_COLUMNS\x10\x05\x42\x06\n\x04type"R\n\rInfoTypeStats\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\xa4\x04\n\x18InspectDataSourceDetails\x12[\n\x11requested_options\x18\x02 \x01(\x0b\x32@.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions\x12\x46\n\x06result\x18\x03 \x01(\x0b\x32\x36.google.privacy.dlp.v2.InspectDataSourceDetails.Result\x1a\x9a\x01\n\x10RequestedOptions\x12I\n\x19snapshot_inspect_template\x18\x01 \x01(\x0b\x32&.google.privacy.dlp.v2.InspectTemplate\x12;\n\njob_config\x18\x03 \x01(\x0b\x32\'.google.privacy.dlp.v2.InspectJobConfig\x1a\xc5\x01\n\x06Result\x12\x17\n\x0fprocessed_bytes\x18\x01 \x01(\x03\x12\x1d\n\x15total_estimated_bytes\x18\x02 \x01(\x03\x12=\n\x0finfo_type_stats\x18\x03 \x03(\x0b\x32$.google.privacy.dlp.v2.InfoTypeStats\x12\x44\n\x0chybrid_stats\x18\x07 \x01(\x0b\x32..google.privacy.dlp.v2.HybridInspectStatistics"`\n\x17HybridInspectStatistics\x12\x17\n\x0fprocessed_count\x18\x01 \x01(\x03\x12\x15\n\raborted_count\x18\x02 \x01(\x03\x12\x15\n\rpending_count\x18\x03 \x01(\x03"\x90\x01\n\x13InfoTypeDescription\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12@\n\x0csupported_by\x18\x03 \x03(\x0e\x32*.google.privacy.dlp.v2.InfoTypeSupportedBy\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t"b\n\x14ListInfoTypesRequest\x12\x0e\n\x06parent\x18\x04 \x01(\t\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x13\n\x0blocation_id\x18\x03 \x01(\t"W\n\x15ListInfoTypesResponse\x12>\n\ninfo_types\x18\x01 \x03(\x0b\x32*.google.privacy.dlp.v2.InfoTypeDescription"\xc1\x01\n\x15RiskAnalysisJobConfig\x12<\n\x0eprivacy_metric\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.PrivacyMetric\x12:\n\x0csource_table\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12.\n\x07\x61\x63tions\x18\x03 \x03(\x0b\x32\x1d.google.privacy.dlp.v2.Action"\xbc\x01\n\x07QuasiId\x12\x32\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12\x34\n\tinfo_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\n\ncustom_tag\x18\x03 \x01(\tH\x00\x12*\n\x08inferred\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x42\x05\n\x03tag"\xbe\x02\n\x10StatisticalTable\x12\x38\n\x05table\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTableB\x03\xe0\x41\x02\x12T\n\tquasi_ids\x18\x01 \x03(\x0b\x32<.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldB\x03\xe0\x41\x02\x12?\n\x12relative_frequency\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x1aY\n\x14QuasiIdentifierField\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x12\n\ncustom_tag\x18\x02 \x01(\t"\x93\x0f\n\rPrivacyMetric\x12[\n\x16numerical_stats_config\x18\x01 \x01(\x0b\x32\x39.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigH\x00\x12_\n\x18\x63\x61tegorical_stats_config\x18\x02 \x01(\x0b\x32;.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigH\x00\x12S\n\x12k_anonymity_config\x18\x03 \x01(\x0b\x32\x35.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigH\x00\x12S\n\x12l_diversity_config\x18\x04 \x01(\x0b\x32\x35.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigH\x00\x12\\\n\x17k_map_estimation_config\x18\x05 \x01(\x0b\x32\x39.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigH\x00\x12n\n delta_presence_estimation_config\x18\x06 \x01(\x0b\x32\x42.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigH\x00\x1a\x45\n\x14NumericalStatsConfig\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x1aG\n\x16\x43\x61tegoricalStatsConfig\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x1ay\n\x10KAnonymityConfig\x12\x31\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x32\n\tentity_id\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.EntityId\x1a\x82\x01\n\x10LDiversityConfig\x12\x31\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12;\n\x13sensitive_attribute\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x1a\x81\x06\n\x14KMapEstimationConfig\x12]\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x45.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldB\x03\xe0\x41\x02\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12\x62\n\x10\x61uxiliary_tables\x18\x03 \x03(\x0b\x32H.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable\x1a\xc0\x01\n\x0bTaggedField\x12\x32\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12\x34\n\tinfo_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\n\ncustom_tag\x18\x03 \x01(\tH\x00\x12*\n\x08inferred\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x42\x05\n\x03tag\x1a\xcd\x02\n\x0e\x41uxiliaryTable\x12\x38\n\x05table\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTableB\x03\xe0\x41\x02\x12m\n\tquasi_ids\x18\x01 \x03(\x0b\x32U.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldB\x03\xe0\x41\x02\x12?\n\x12relative_frequency\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x1aQ\n\x0cQuasiIdField\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x12\n\ncustom_tag\x18\x02 \x01(\t\x1a\xaf\x01\n\x1d\x44\x65ltaPresenceEstimationConfig\x12\x36\n\tquasi_ids\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.QuasiIdB\x03\xe0\x41\x02\x12\x13\n\x0bregion_code\x18\x02 \x01(\t\x12\x41\n\x10\x61uxiliary_tables\x18\x03 \x03(\x0b\x32\'.google.privacy.dlp.v2.StatisticalTableB\x06\n\x04type"\xf2\x1d\n\x1c\x41nalyzeDataSourceRiskDetails\x12\x46\n\x18requested_privacy_metric\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.PrivacyMetric\x12\x44\n\x16requested_source_table\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12j\n\x16numerical_stats_result\x18\x03 \x01(\x0b\x32H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultH\x00\x12n\n\x18\x63\x61tegorical_stats_result\x18\x04 \x01(\x0b\x32J.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultH\x00\x12\x62\n\x12k_anonymity_result\x18\x05 \x01(\x0b\x32\x44.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultH\x00\x12\x62\n\x12l_diversity_result\x18\x06 \x01(\x0b\x32\x44.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultH\x00\x12k\n\x17k_map_estimation_result\x18\x07 \x01(\x0b\x32H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultH\x00\x12}\n delta_presence_estimation_result\x18\t \x01(\x0b\x32Q.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultH\x00\x1a\xaf\x01\n\x14NumericalStatsResult\x12/\n\tmin_value\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12/\n\tmax_value\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x35\n\x0fquantile_values\x18\x04 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x1a\x8d\x03\n\x16\x43\x61tegoricalStatsResult\x12\x95\x01\n!value_frequency_histogram_buckets\x18\x05 \x03(\x0b\x32j.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket\x1a\xda\x01\n\x1f\x43\x61tegoricalStatsHistogramBucket\x12#\n\x1bvalue_frequency_lower_bound\x18\x01 \x01(\x03\x12#\n\x1bvalue_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x03 \x01(\x03\x12<\n\rbucket_values\x18\x04 \x03(\x0b\x32%.google.privacy.dlp.v2.ValueFrequency\x12\x1a\n\x12\x62ucket_value_count\x18\x05 \x01(\x03\x1a\xb5\x04\n\x10KAnonymityResult\x12\x8b\x01\n#equivalence_class_histogram_buckets\x18\x05 \x03(\x0b\x32^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket\x1at\n\x1aKAnonymityEquivalenceClass\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1e\n\x16\x65quivalence_class_size\x18\x02 \x01(\x03\x1a\x9c\x02\n\x19KAnonymityHistogramBucket\x12*\n"equivalence_class_size_lower_bound\x18\x01 \x01(\x03\x12*\n"equivalence_class_size_upper_bound\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x03 \x01(\x03\x12v\n\rbucket_values\x18\x04 \x03(\x0b\x32_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass\x12\x1a\n\x12\x62ucket_value_count\x18\x05 \x01(\x03\x1a\xb0\x05\n\x10LDiversityResult\x12\x93\x01\n+sensitive_value_frequency_histogram_buckets\x18\x05 \x03(\x0b\x32^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket\x1a\xe0\x01\n\x1aLDiversityEquivalenceClass\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1e\n\x16\x65quivalence_class_size\x18\x02 \x01(\x03\x12%\n\x1dnum_distinct_sensitive_values\x18\x03 \x01(\x03\x12\x43\n\x14top_sensitive_values\x18\x04 \x03(\x0b\x32%.google.privacy.dlp.v2.ValueFrequency\x1a\xa2\x02\n\x19LDiversityHistogramBucket\x12-\n%sensitive_value_frequency_lower_bound\x18\x01 \x01(\x03\x12-\n%sensitive_value_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x03 \x01(\x03\x12v\n\rbucket_values\x18\x04 \x03(\x0b\x32_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass\x12\x1a\n\x12\x62ucket_value_count\x18\x05 \x01(\x03\x1a\x95\x04\n\x14KMapEstimationResult\x12\x8a\x01\n\x1ak_map_estimation_histogram\x18\x01 \x03(\x0b\x32\x66.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket\x1ar\n\x1bKMapEstimationQuasiIdValues\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1b\n\x13\x65stimated_anonymity\x18\x02 \x01(\x03\x1a\xfb\x01\n\x1dKMapEstimationHistogramBucket\x12\x15\n\rmin_anonymity\x18\x01 \x01(\x03\x12\x15\n\rmax_anonymity\x18\x02 \x01(\x03\x12\x13\n\x0b\x62ucket_size\x18\x05 \x01(\x03\x12{\n\rbucket_values\x18\x06 \x03(\x0b\x32\x64.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues\x12\x1a\n\x12\x62ucket_value_count\x18\x07 \x01(\x03\x1a\xe4\x04\n\x1d\x44\x65ltaPresenceEstimationResult\x12\xa5\x01\n#delta_presence_estimation_histogram\x18\x01 \x03(\x0b\x32x.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket\x1a}\n$DeltaPresenceEstimationQuasiIdValues\x12\x36\n\x10quasi_ids_values\x18\x01 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x1d\n\x15\x65stimated_probability\x18\x02 \x01(\x01\x1a\x9b\x02\n&DeltaPresenceEstimationHistogramBucket\x12\x17\n\x0fmin_probability\x18\x01 \x01(\x01\x12\x17\n\x0fmax_probability\x18\x02 \x01(\x01\x12\x13\n\x0b\x62ucket_size\x18\x05 \x01(\x03\x12\x8d\x01\n\rbucket_values\x18\x06 \x03(\x0b\x32v.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues\x12\x1a\n\x12\x62ucket_value_count\x18\x07 \x01(\x03\x42\x08\n\x06result"L\n\x0eValueFrequency\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\r\n\x05\x63ount\x18\x02 \x01(\x03"\xb3\x02\n\x05Value\x12\x17\n\rinteger_value\x18\x01 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12\x17\n\rboolean_value\x18\x04 \x01(\x08H\x00\x12\x35\n\x0ftimestamp_value\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12,\n\ntime_value\x18\x06 \x01(\x0b\x32\x16.google.type.TimeOfDayH\x00\x12\'\n\ndate_value\x18\x07 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x33\n\x11\x64\x61y_of_week_value\x18\x08 \x01(\x0e\x32\x16.google.type.DayOfWeekH\x00\x42\x06\n\x04type"Q\n\tQuoteInfo\x12\x34\n\tdate_time\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.DateTimeH\x00\x42\x0e\n\x0cparsed_quote"\xdf\x01\n\x08\x44\x61teTime\x12\x1f\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x11.google.type.Date\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12$\n\x04time\x18\x03 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12;\n\ttime_zone\x18\x04 \x01(\x0b\x32(.google.privacy.dlp.v2.DateTime.TimeZone\x1a"\n\x08TimeZone\x12\x16\n\x0eoffset_minutes\x18\x01 \x01(\x05"\xa4\x02\n\x10\x44\x65identifyConfig\x12S\n\x19info_type_transformations\x18\x01 \x01(\x0b\x32..google.privacy.dlp.v2.InfoTypeTransformationsH\x00\x12N\n\x16record_transformations\x18\x02 \x01(\x0b\x32,.google.privacy.dlp.v2.RecordTransformationsH\x00\x12Y\n\x1dtransformation_error_handling\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.TransformationErrorHandlingB\x10\n\x0etransformation"\x85\x02\n\x1bTransformationErrorHandling\x12T\n\x0bthrow_error\x18\x01 \x01(\x0b\x32=.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorH\x00\x12\x64\n\x13leave_untransformed\x18\x02 \x01(\x0b\x32\x45.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedH\x00\x1a\x0c\n\nThrowError\x1a\x14\n\x12LeaveUntransformedB\x06\n\x04mode"\xf5\x06\n\x17PrimitiveTransformation\x12\x43\n\x0ereplace_config\x18\x01 \x01(\x0b\x32).google.privacy.dlp.v2.ReplaceValueConfigH\x00\x12<\n\rredact_config\x18\x02 \x01(\x0b\x32#.google.privacy.dlp.v2.RedactConfigH\x00\x12K\n\x15\x63haracter_mask_config\x18\x03 \x01(\x0b\x32*.google.privacy.dlp.v2.CharacterMaskConfigH\x00\x12Y\n\x1d\x63rypto_replace_ffx_fpe_config\x18\x04 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigH\x00\x12V\n\x1b\x66ixed_size_bucketing_config\x18\x05 \x01(\x0b\x32/.google.privacy.dlp.v2.FixedSizeBucketingConfigH\x00\x12\x42\n\x10\x62ucketing_config\x18\x06 \x01(\x0b\x32&.google.privacy.dlp.v2.BucketingConfigH\x00\x12Y\n\x1dreplace_with_info_type_config\x18\x07 \x01(\x0b\x32\x30.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigH\x00\x12\x41\n\x10time_part_config\x18\x08 \x01(\x0b\x32%.google.privacy.dlp.v2.TimePartConfigH\x00\x12\x45\n\x12\x63rypto_hash_config\x18\t \x01(\x0b\x32\'.google.privacy.dlp.v2.CryptoHashConfigH\x00\x12\x43\n\x11\x64\x61te_shift_config\x18\x0b \x01(\x0b\x32&.google.privacy.dlp.v2.DateShiftConfigH\x00\x12W\n\x1b\x63rypto_deterministic_config\x18\x0c \x01(\x0b\x32\x30.google.privacy.dlp.v2.CryptoDeterministicConfigH\x00\x42\x10\n\x0etransformation"\xdc\x01\n\x0eTimePartConfig\x12G\n\x0fpart_to_extract\x18\x01 \x01(\x0e\x32..google.privacy.dlp.v2.TimePartConfig.TimePart"\x80\x01\n\x08TimePart\x12\x19\n\x15TIME_PART_UNSPECIFIED\x10\x00\x12\x08\n\x04YEAR\x10\x01\x12\t\n\x05MONTH\x10\x02\x12\x10\n\x0c\x44\x41Y_OF_MONTH\x10\x03\x12\x0f\n\x0b\x44\x41Y_OF_WEEK\x10\x04\x12\x10\n\x0cWEEK_OF_YEAR\x10\x05\x12\x0f\n\x0bHOUR_OF_DAY\x10\x06"H\n\x10\x43ryptoHashConfig\x12\x34\n\ncrypto_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKey"\xc0\x01\n\x19\x43ryptoDeterministicConfig\x12\x34\n\ncrypto_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKey\x12<\n\x13surrogate_info_type\x18\x02 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12/\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"E\n\x12ReplaceValueConfig\x12/\n\tnew_value\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value"\x1b\n\x19ReplaceWithInfoTypeConfig"\x0e\n\x0cRedactConfig"\xb6\x02\n\rCharsToIgnore\x12\x1c\n\x12\x63haracters_to_skip\x18\x01 \x01(\tH\x00\x12_\n\x1b\x63ommon_characters_to_ignore\x18\x02 \x01(\x0e\x32\x38.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnoreH\x00"\x97\x01\n\x13\x43ommonCharsToIgnore\x12&\n"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\x10\x00\x12\x0b\n\x07NUMERIC\x10\x01\x12\x14\n\x10\x41LPHA_UPPER_CASE\x10\x02\x12\x14\n\x10\x41LPHA_LOWER_CASE\x10\x03\x12\x0f\n\x0bPUNCTUATION\x10\x04\x12\x0e\n\nWHITESPACE\x10\x05\x42\x0c\n\ncharacters"\xa3\x01\n\x13\x43haracterMaskConfig\x12\x19\n\x11masking_character\x18\x01 \x01(\t\x12\x16\n\x0enumber_to_mask\x18\x02 \x01(\x05\x12\x15\n\rreverse_order\x18\x03 \x01(\x08\x12\x42\n\x14\x63haracters_to_ignore\x18\x04 \x03(\x0b\x32$.google.privacy.dlp.v2.CharsToIgnore"\xa4\x01\n\x18\x46ixedSizeBucketingConfig\x12\x36\n\x0blower_bound\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.ValueB\x03\xe0\x41\x02\x12\x36\n\x0bupper_bound\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.ValueB\x03\xe0\x41\x02\x12\x18\n\x0b\x62ucket_size\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02"\xeb\x01\n\x0f\x42ucketingConfig\x12>\n\x07\x62uckets\x18\x01 \x03(\x0b\x32-.google.privacy.dlp.v2.BucketingConfig.Bucket\x1a\x97\x01\n\x06\x42ucket\x12)\n\x03min\x18\x01 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12)\n\x03max\x18\x02 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x12\x37\n\x11replacement_value\x18\x03 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value"\xf9\x03\n\x19\x43ryptoReplaceFfxFpeConfig\x12\x39\n\ncrypto_key\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKeyB\x03\xe0\x41\x02\x12/\n\x07\x63ontext\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x63\n\x0f\x63ommon_alphabet\x18\x04 \x01(\x0e\x32H.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabetH\x00\x12\x19\n\x0f\x63ustom_alphabet\x18\x05 \x01(\tH\x00\x12\x0f\n\x05radix\x18\x06 \x01(\x05H\x00\x12<\n\x13surrogate_info_type\x18\x08 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType"\x94\x01\n\x17\x46\x66xCommonNativeAlphabet\x12*\n&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\x10\x00\x12\x0b\n\x07NUMERIC\x10\x01\x12\x0f\n\x0bHEXADECIMAL\x10\x02\x12\x1c\n\x18UPPER_CASE_ALPHA_NUMERIC\x10\x03\x12\x11\n\rALPHA_NUMERIC\x10\x04\x42\n\n\x08\x61lphabet"\xd8\x01\n\tCryptoKey\x12>\n\ttransient\x18\x01 \x01(\x0b\x32).google.privacy.dlp.v2.TransientCryptoKeyH\x00\x12>\n\tunwrapped\x18\x02 \x01(\x0b\x32).google.privacy.dlp.v2.UnwrappedCryptoKeyH\x00\x12\x41\n\x0bkms_wrapped\x18\x03 \x01(\x0b\x32*.google.privacy.dlp.v2.KmsWrappedCryptoKeyH\x00\x42\x08\n\x06source"\'\n\x12TransientCryptoKey\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02"&\n\x12UnwrappedCryptoKey\x12\x10\n\x03key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02"M\n\x13KmsWrappedCryptoKey\x12\x18\n\x0bwrapped_key\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x02\x12\x1c\n\x0f\x63rypto_key_name\x18\x02 \x01(\tB\x03\xe0\x41\x02"\xc2\x01\n\x0f\x44\x61teShiftConfig\x12\x1d\n\x10upper_bound_days\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1d\n\x10lower_bound_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12/\n\x07\x63ontext\x18\x03 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x36\n\ncrypto_key\x18\x04 \x01(\x0b\x32 .google.privacy.dlp.v2.CryptoKeyH\x00\x42\x08\n\x06method"\xa5\x02\n\x17InfoTypeTransformations\x12\x63\n\x0ftransformations\x18\x01 \x03(\x0b\x32\x45.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationB\x03\xe0\x41\x02\x1a\xa4\x01\n\x16InfoTypeTransformation\x12\x33\n\ninfo_types\x18\x01 \x03(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12U\n\x18primitive_transformation\x18\x02 \x01(\x0b\x32..google.privacy.dlp.v2.PrimitiveTransformationB\x03\xe0\x41\x02"\xc0\x02\n\x13\x46ieldTransformation\x12\x33\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12\x39\n\tcondition\x18\x03 \x01(\x0b\x32&.google.privacy.dlp.v2.RecordCondition\x12R\n\x18primitive_transformation\x18\x04 \x01(\x0b\x32..google.privacy.dlp.v2.PrimitiveTransformationH\x00\x12S\n\x19info_type_transformations\x18\x05 \x01(\x0b\x32..google.privacy.dlp.v2.InfoTypeTransformationsH\x00\x42\x10\n\x0etransformation"\xa9\x01\n\x15RecordTransformations\x12I\n\x15\x66ield_transformations\x18\x01 \x03(\x0b\x32*.google.privacy.dlp.v2.FieldTransformation\x12\x45\n\x13record_suppressions\x18\x02 \x03(\x0b\x32(.google.privacy.dlp.v2.RecordSuppression"N\n\x11RecordSuppression\x12\x39\n\tcondition\x18\x01 \x01(\x0b\x32&.google.privacy.dlp.v2.RecordCondition"\xdc\x04\n\x0fRecordCondition\x12G\n\x0b\x65xpressions\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.RecordCondition.Expressions\x1a\xae\x01\n\tCondition\x12\x32\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldIdB\x03\xe0\x41\x02\x12@\n\x08operator\x18\x03 \x01(\x0e\x32).google.privacy.dlp.v2.RelationalOperatorB\x03\xe0\x41\x02\x12+\n\x05value\x18\x04 \x01(\x0b\x32\x1c.google.privacy.dlp.v2.Value\x1aR\n\nConditions\x12\x44\n\nconditions\x18\x01 \x03(\x0b\x32\x30.google.privacy.dlp.v2.RecordCondition.Condition\x1a\xfa\x01\n\x0b\x45xpressions\x12\\\n\x10logical_operator\x18\x01 \x01(\x0e\x32\x42.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator\x12G\n\nconditions\x18\x03 \x01(\x0b\x32\x31.google.privacy.dlp.v2.RecordCondition.ConditionsH\x00"<\n\x0fLogicalOperator\x12 \n\x1cLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41ND\x10\x01\x42\x06\n\x04type"\x83\x01\n\x16TransformationOverview\x12\x19\n\x11transformed_bytes\x18\x02 \x01(\x03\x12N\n\x18transformation_summaries\x18\x03 \x03(\x0b\x32,.google.privacy.dlp.v2.TransformationSummary"\x9f\x05\n\x15TransformationSummary\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12-\n\x05\x66ield\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x46\n\x0etransformation\x18\x03 \x01(\x0b\x32..google.privacy.dlp.v2.PrimitiveTransformation\x12I\n\x15\x66ield_transformations\x18\x05 \x03(\x0b\x32*.google.privacy.dlp.v2.FieldTransformation\x12\x41\n\x0frecord_suppress\x18\x06 \x01(\x0b\x32(.google.privacy.dlp.v2.RecordSuppression\x12K\n\x07results\x18\x04 \x03(\x0b\x32:.google.privacy.dlp.v2.TransformationSummary.SummaryResult\x12\x19\n\x11transformed_bytes\x18\x07 \x01(\x03\x1a\x84\x01\n\rSummaryResult\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12S\n\x04\x63ode\x18\x02 \x01(\x0e\x32\x45.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode\x12\x0f\n\x07\x64\x65tails\x18\x03 \x01(\t"^\n\x18TransformationResultCode\x12*\n&TRANSFORMATION_RESULT_CODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\t\n\x05\x45RROR\x10\x02"U\n\x08Schedule\x12?\n\x1arecurrence_period_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x08\n\x06option"\x08\n\x06Manual"\xc2\x04\n\x0fInspectTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x0einspect_config\x18\x06 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig:\xc6\x02\xea\x41\xc2\x02\n"dlp.googleapis.com/InspectTemplate\x12@organizations/{organization}/inspectTemplates/{inspect_template}\x12\x36projects/{project}/inspectTemplates/{inspect_template}\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}"\xe6\x04\n\x12\x44\x65identifyTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x11\x64\x65identify_config\x18\x06 \x01(\x0b\x32\'.google.privacy.dlp.v2.DeidentifyConfig:\xe1\x02\xea\x41\xdd\x02\n%dlp.googleapis.com/DeidentifyTemplate\x12\x46organizations/{organization}/deidentifyTemplates/{deidentify_template}\x12\n\x0binspect_job\x18\x04 \x01(\x0b\x32\'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12;\n\x08triggers\x18\x05 \x03(\x0b\x32).google.privacy.dlp.v2.JobTrigger.Trigger\x12\x31\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.ErrorB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x36\n\rlast_run_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06status\x18\n \x01(\x0e\x32(.google.privacy.dlp.v2.JobTrigger.StatusB\x03\xe0\x41\x02\x1az\n\x07Trigger\x12\x33\n\x08schedule\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.ScheduleH\x00\x12/\n\x06manual\x18\x02 \x01(\x0b\x32\x1d.google.privacy.dlp.v2.ManualH\x00\x42\t\n\x07trigger"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\r\n\tCANCELLED\x10\x03:\x94\x01\xea\x41\x90\x01\n\x1d\x64lp.googleapis.com/JobTrigger\x12,projects/{project}/jobTriggers/{job_trigger}\x12\x41projects/{project}/locations/{location}/jobTriggers/{job_trigger}B\x05\n\x03job"\xf4\x05\n\x06\x41\x63tion\x12\x43\n\rsave_findings\x18\x01 \x01(\x0b\x32*.google.privacy.dlp.v2.Action.SaveFindingsH\x00\x12@\n\x07pub_sub\x18\x02 \x01(\x0b\x32-.google.privacy.dlp.v2.Action.PublishToPubSubH\x00\x12U\n\x17publish_summary_to_cscc\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.Action.PublishSummaryToCsccH\x00\x12q\n&publish_findings_to_cloud_data_catalog\x18\x05 \x01(\x0b\x32?.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogH\x00\x12V\n\x17job_notification_emails\x18\x08 \x01(\x0b\x32\x33.google.privacy.dlp.v2.Action.JobNotificationEmailsH\x00\x12T\n\x16publish_to_stackdriver\x18\t \x01(\x0b\x32\x32.google.privacy.dlp.v2.Action.PublishToStackdriverH\x00\x1aQ\n\x0cSaveFindings\x12\x41\n\routput_config\x18\x01 \x01(\x0b\x32*.google.privacy.dlp.v2.OutputStorageConfig\x1a \n\x0fPublishToPubSub\x12\r\n\x05topic\x18\x01 \x01(\t\x1a\x16\n\x14PublishSummaryToCscc\x1a#\n!PublishFindingsToCloudDataCatalog\x1a\x17\n\x15JobNotificationEmails\x1a\x16\n\x14PublishToStackdriverB\x08\n\x06\x61\x63tion"\xcb\x01\n\x1c\x43reateInspectTemplateRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12"dlp.googleapis.com/InspectTemplate\x12\x45\n\x10inspect_template\x18\x02 \x01(\x0b\x32&.google.privacy.dlp.v2.InspectTemplateB\x03\xe0\x41\x02\x12\x13\n\x0btemplate_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"\xcb\x01\n\x1cUpdateInspectTemplateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n"dlp.googleapis.com/InspectTemplate\x12@\n\x10inspect_template\x18\x02 \x01(\x0b\x32&.google.privacy.dlp.v2.InspectTemplate\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"U\n\x19GetInspectTemplateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n"dlp.googleapis.com/InspectTemplate"\xa7\x01\n\x1bListInspectTemplatesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12"dlp.googleapis.com/InspectTemplate\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"z\n\x1cListInspectTemplatesResponse\x12\x41\n\x11inspect_templates\x18\x01 \x03(\x0b\x32&.google.privacy.dlp.v2.InspectTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"X\n\x1c\x44\x65leteInspectTemplateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n"dlp.googleapis.com/InspectTemplate"\xc4\x01\n\x17\x43reateJobTriggerRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12;\n\x0bjob_trigger\x18\x02 \x01(\x0b\x32!.google.privacy.dlp.v2.JobTriggerB\x03\xe0\x41\x02\x12\x12\n\ntrigger_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"P\n\x19\x41\x63tivateJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger"\xb7\x01\n\x17UpdateJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger\x12\x36\n\x0bjob_trigger\x18\x02 \x01(\x0b\x32!.google.privacy.dlp.v2.JobTrigger\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"K\n\x14GetJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger"\x88\x02\n\x13\x43reateDlpJobRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12>\n\x0binspect_job\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12@\n\x08risk_job\x18\x03 \x01(\x0b\x32,.google.privacy.dlp.v2.RiskAnalysisJobConfigH\x00\x12\x0e\n\x06job_id\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\tB\x05\n\x03job"\xbb\x01\n\x16ListJobTriggersRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"k\n\x17ListJobTriggersResponse\x12\x37\n\x0cjob_triggers\x18\x01 \x03(\x0b\x32!.google.privacy.dlp.v2.JobTrigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"N\n\x17\x44\x65leteJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger"\xdd\x01\n\x10InspectJobConfig\x12<\n\x0estorage_config\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.StorageConfig\x12<\n\x0einspect_config\x18\x02 \x01(\x0b\x32$.google.privacy.dlp.v2.InspectConfig\x12\x1d\n\x15inspect_template_name\x18\x03 \x01(\t\x12.\n\x07\x61\x63tions\x18\x04 \x03(\x0b\x32\x1d.google.privacy.dlp.v2.Action"\xeb\x05\n\x06\x44lpJob\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32!.google.privacy.dlp.v2.DlpJobType\x12\x35\n\x05state\x18\x03 \x01(\x0e\x32&.google.privacy.dlp.v2.DlpJob.JobState\x12K\n\x0crisk_details\x18\x04 \x01(\x0b\x32\x33.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsH\x00\x12J\n\x0finspect_details\x18\x05 \x01(\x0b\x32/.google.privacy.dlp.v2.InspectDataSourceDetailsH\x00\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10job_trigger_name\x18\n \x01(\t\x12,\n\x06\x65rrors\x18\x0b \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Error"o\n\x08JobState\x12\x19\n\x15JOB_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\x12\x0c\n\x08\x43\x41NCELED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\n\n\x06\x41\x43TIVE\x10\x06:\x7f\xea\x41|\n\x19\x64lp.googleapis.com/DlpJob\x12$projects/{project}/dlpJobs/{dlp_job}\x12\x39projects/{project}/locations/{location}/dlpJobs/{dlp_job}B\t\n\x07\x64\x65tails"C\n\x10GetDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"\xe8\x01\n\x12ListDlpJobsRequest\x12\x43\n\x06parent\x18\x04 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12/\n\x04type\x18\x05 \x01(\x0e\x32!.google.privacy.dlp.v2.DlpJobType\x12\x10\n\x08order_by\x18\x06 \x01(\t\x12\x13\n\x0blocation_id\x18\x07 \x01(\t"[\n\x13ListDlpJobsResponse\x12+\n\x04jobs\x18\x01 \x03(\x0b\x32\x1d.google.privacy.dlp.v2.DlpJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"F\n\x13\x43\x61ncelDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"F\n\x13\x46inishDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"F\n\x13\x44\x65leteDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob"\xd7\x01\n\x1f\x43reateDeidentifyTemplateRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dlp.googleapis.com/DeidentifyTemplate\x12K\n\x13\x64\x65identify_template\x18\x02 \x01(\x0b\x32).google.privacy.dlp.v2.DeidentifyTemplateB\x03\xe0\x41\x02\x12\x13\n\x0btemplate_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"\xd7\x01\n\x1fUpdateDeidentifyTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate\x12\x46\n\x13\x64\x65identify_template\x18\x02 \x01(\x0b\x32).google.privacy.dlp.v2.DeidentifyTemplate\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"[\n\x1cGetDeidentifyTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate"\xad\x01\n\x1eListDeidentifyTemplatesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%dlp.googleapis.com/DeidentifyTemplate\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"\x83\x01\n\x1fListDeidentifyTemplatesResponse\x12G\n\x14\x64\x65identify_templates\x18\x01 \x03(\x0b\x32).google.privacy.dlp.v2.DeidentifyTemplate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"^\n\x1f\x44\x65leteDeidentifyTemplateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate"\xf4\x01\n\x1bLargeCustomDictionaryConfig\x12<\n\x0boutput_path\x18\x01 \x01(\x0b\x32\'.google.privacy.dlp.v2.CloudStoragePath\x12L\n\x16\x63loud_storage_file_set\x18\x02 \x01(\x0b\x32*.google.privacy.dlp.v2.CloudStorageFileSetH\x00\x12?\n\x0f\x62ig_query_field\x18\x03 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryFieldH\x00\x42\x08\n\x06source"8\n\x1aLargeCustomDictionaryStats\x12\x1a\n\x12\x61pprox_num_phrases\x18\x01 \x01(\x03"\xa6\x02\n\x14StoredInfoTypeConfig\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12U\n\x17large_custom_dictionary\x18\x03 \x01(\x0b\x32\x32.google.privacy.dlp.v2.LargeCustomDictionaryConfigH\x00\x12\x46\n\ndictionary\x18\x04 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\n\x05regex\x18\x05 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x42\x06\n\x04type"s\n\x13StoredInfoTypeStats\x12T\n\x17large_custom_dictionary\x18\x01 \x01(\x0b\x32\x31.google.privacy.dlp.v2.LargeCustomDictionaryStatsH\x00\x42\x06\n\x04type"\xa9\x02\n\x15StoredInfoTypeVersion\x12;\n\x06\x63onfig\x18\x01 \x01(\x0b\x32+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.google.privacy.dlp.v2.StoredInfoTypeState\x12,\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x1c.google.privacy.dlp.v2.Error\x12\x39\n\x05stats\x18\x05 \x01(\x0b\x32*.google.privacy.dlp.v2.StoredInfoTypeStats"\xf1\x03\n\x0eStoredInfoType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x0f\x63urrent_version\x18\x02 \x01(\x0b\x32,.google.privacy.dlp.v2.StoredInfoTypeVersion\x12\x46\n\x10pending_versions\x18\x03 \x03(\x0b\x32,.google.privacy.dlp.v2.StoredInfoTypeVersion:\xc1\x02\xea\x41\xbd\x02\n!dlp.googleapis.com/StoredInfoType\x12?organizations/{organization}/storedInfoTypes/{stored_info_type}\x12\x35projects/{project}/storedInfoTypes/{stored_info_type}\x12Torganizations/{organization}/locations/{location}/storedInfoTypes/{stored_info_type}\x12Jprojects/{project}/locations/{location}/storedInfoTypes/{stored_info_type}"\xcc\x01\n\x1b\x43reateStoredInfoTypeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dlp.googleapis.com/StoredInfoType\x12@\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.StoredInfoTypeConfigB\x03\xe0\x41\x02\x12\x1b\n\x13stored_info_type_id\x18\x03 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t"\xc4\x01\n\x1bUpdateStoredInfoTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dlp.googleapis.com/StoredInfoType\x12;\n\x06\x63onfig\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"S\n\x18GetStoredInfoTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dlp.googleapis.com/StoredInfoType"\xa5\x01\n\x1aListStoredInfoTypesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dlp.googleapis.com/StoredInfoType\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x13\n\x0blocation_id\x18\x05 \x01(\t"x\n\x1bListStoredInfoTypesResponse\x12@\n\x11stored_info_types\x18\x01 \x03(\x0b\x32%.google.privacy.dlp.v2.StoredInfoType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"V\n\x1b\x44\x65leteStoredInfoTypeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dlp.googleapis.com/StoredInfoType"\x94\x01\n\x1eHybridInspectJobTriggerRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1d\x64lp.googleapis.com/JobTrigger\x12=\n\x0bhybrid_item\x18\x03 \x01(\x0b\x32(.google.privacy.dlp.v2.HybridContentItem"\x8c\x01\n\x1aHybridInspectDlpJobRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x64lp.googleapis.com/DlpJob\x12=\n\x0bhybrid_item\x18\x03 \x01(\x0b\x32(.google.privacy.dlp.v2.HybridContentItem"\x8b\x01\n\x11HybridContentItem\x12\x30\n\x04item\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.ContentItem\x12\x44\n\x0f\x66inding_details\x18\x02 \x01(\x0b\x32+.google.privacy.dlp.v2.HybridFindingDetails"\xb0\x02\n\x14HybridFindingDetails\x12;\n\x11\x63ontainer_details\x18\x01 \x01(\x0b\x32 .google.privacy.dlp.v2.Container\x12\x13\n\x0b\x66ile_offset\x18\x02 \x01(\x03\x12\x12\n\nrow_offset\x18\x03 \x01(\x03\x12:\n\rtable_options\x18\x04 \x01(\x0b\x32#.google.privacy.dlp.v2.TableOptions\x12G\n\x06labels\x18\x05 \x03(\x0b\x32\x37.google.privacy.dlp.v2.HybridFindingDetails.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\x17\n\x15HybridInspectResponse*\xbb\x01\n\x12RelationalOperator\x12#\n\x1fRELATIONAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45QUAL_TO\x10\x01\x12\x10\n\x0cNOT_EQUAL_TO\x10\x02\x12\x10\n\x0cGREATER_THAN\x10\x03\x12\r\n\tLESS_THAN\x10\x04\x12\x1a\n\x16GREATER_THAN_OR_EQUALS\x10\x05\x12\x17\n\x13LESS_THAN_OR_EQUALS\x10\x06\x12\n\n\x06\x45XISTS\x10\x07*\x8d\x01\n\x0cMatchingType\x12\x1d\n\x19MATCHING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18MATCHING_TYPE_FULL_MATCH\x10\x01\x12\x1f\n\x1bMATCHING_TYPE_PARTIAL_MATCH\x10\x02\x12\x1f\n\x1bMATCHING_TYPE_INVERSE_MATCH\x10\x03*M\n\rContentOption\x12\x17\n\x13\x43ONTENT_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x43ONTENT_TEXT\x10\x01\x12\x11\n\rCONTENT_IMAGE\x10\x02*B\n\x0cMetadataType\x12\x1c\n\x18METADATATYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10STORAGE_METADATA\x10\x02*P\n\x13InfoTypeSupportedBy\x12\x19\n\x15\x45NUM_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07INSPECT\x10\x01\x12\x11\n\rRISK_ANALYSIS\x10\x02*R\n\nDlpJobType\x12\x1c\n\x18\x44LP_JOB_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINSPECT_JOB\x10\x01\x12\x15\n\x11RISK_ANALYSIS_JOB\x10\x02*n\n\x13StoredInfoTypeState\x12&\n"STORED_INFO_TYPE_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\t\n\x05READY\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0b\n\x07INVALID\x10\x04\x32\xc3I\n\nDlpService\x12\xdb\x01\n\x0eInspectContent\x12,.google.privacy.dlp.v2.InspectContentRequest\x1a-.google.privacy.dlp.v2.InspectContentResponse"l\x82\xd3\xe4\x93\x02\x66"\'/v2/{parent=projects/*}/content:inspect:\x01*Z8"3/v2/{parent=projects/*/locations/*}/content:inspect:\x01*\x12\xcc\x01\n\x0bRedactImage\x12).google.privacy.dlp.v2.RedactImageRequest\x1a*.google.privacy.dlp.v2.RedactImageResponse"f\x82\xd3\xe4\x93\x02`"$/v2/{parent=projects/*}/image:redact:\x01*Z5"0/v2/{parent=projects/*/locations/*}/image:redact:\x01*\x12\xea\x01\n\x11\x44\x65identifyContent\x12/.google.privacy.dlp.v2.DeidentifyContentRequest\x1a\x30.google.privacy.dlp.v2.DeidentifyContentResponse"r\x82\xd3\xe4\x93\x02l"*/v2/{parent=projects/*}/content:deidentify:\x01*Z;"6/v2/{parent=projects/*/locations/*}/content:deidentify:\x01*\x12\xea\x01\n\x11ReidentifyContent\x12/.google.privacy.dlp.v2.ReidentifyContentRequest\x1a\x30.google.privacy.dlp.v2.ReidentifyContentResponse"r\x82\xd3\xe4\x93\x02l"*/v2/{parent=projects/*}/content:reidentify:\x01*Z;"6/v2/{parent=projects/*/locations/*}/content:reidentify:\x01*\x12\xb0\x01\n\rListInfoTypes\x12+.google.privacy.dlp.v2.ListInfoTypesRequest\x1a,.google.privacy.dlp.v2.ListInfoTypesResponse"D\x82\xd3\xe4\x93\x02\x35\x12\r/v2/infoTypesZ$\x12"/v2/{parent=locations/*}/infoTypes\xda\x41\x06parent\x12\xf4\x02\n\x15\x43reateInspectTemplate\x12\x33.google.privacy.dlp.v2.CreateInspectTemplateRequest\x1a&.google.privacy.dlp.v2.InspectTemplate"\xfd\x01\x82\xd3\xe4\x93\x02\xdc\x01"-/v2/{parent=organizations/*}/inspectTemplates:\x01*Z>"9/v2/{parent=organizations/*/locations/*}/inspectTemplates:\x01*Z-"(/v2/{parent=projects/*}/inspectTemplates:\x01*Z9"4/v2/{parent=projects/*/locations/*}/inspectTemplates:\x01*\xda\x41\x17parent,inspect_template\x12\xfe\x02\n\x15UpdateInspectTemplate\x12\x33.google.privacy.dlp.v2.UpdateInspectTemplateRequest\x1a&.google.privacy.dlp.v2.InspectTemplate"\x87\x02\x82\xd3\xe4\x93\x02\xdc\x01\x32-/v2/{name=organizations/*/inspectTemplates/*}:\x01*Z>29/v2/{name=organizations/*/locations/*/inspectTemplates/*}:\x01*Z-2(/v2/{name=projects/*/inspectTemplates/*}:\x01*Z924/v2/{name=projects/*/locations/*/inspectTemplates/*}:\x01*\xda\x41!name,inspect_template,update_mask\x12\xcf\x02\n\x12GetInspectTemplate\x12\x30.google.privacy.dlp.v2.GetInspectTemplateRequest\x1a&.google.privacy.dlp.v2.InspectTemplate"\xde\x01\x82\xd3\xe4\x93\x02\xd0\x01\x12-/v2/{name=organizations/*/inspectTemplates/*}Z;\x12\x39/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z*\x12(/v2/{name=projects/*/inspectTemplates/*}Z6\x12\x34/v2/{name=projects/*/locations/*/inspectTemplates/*}\xda\x41\x04name\x12\xe2\x02\n\x14ListInspectTemplates\x12\x32.google.privacy.dlp.v2.ListInspectTemplatesRequest\x1a\x33.google.privacy.dlp.v2.ListInspectTemplatesResponse"\xe0\x01\x82\xd3\xe4\x93\x02\xd0\x01\x12-/v2/{parent=organizations/*}/inspectTemplatesZ;\x12\x39/v2/{parent=organizations/*/locations/*}/inspectTemplatesZ*\x12(/v2/{parent=projects/*}/inspectTemplatesZ6\x12\x34/v2/{parent=projects/*/locations/*}/inspectTemplates\xda\x41\x06parent\x12\xc5\x02\n\x15\x44\x65leteInspectTemplate\x12\x33.google.privacy.dlp.v2.DeleteInspectTemplateRequest\x1a\x16.google.protobuf.Empty"\xde\x01\x82\xd3\xe4\x93\x02\xd0\x01*-/v2/{name=organizations/*/inspectTemplates/*}Z;*9/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z**(/v2/{name=projects/*/inspectTemplates/*}Z6*4/v2/{name=projects/*/locations/*/inspectTemplates/*}\xda\x41\x04name\x12\x8c\x03\n\x18\x43reateDeidentifyTemplate\x12\x36.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest\x1a).google.privacy.dlp.v2.DeidentifyTemplate"\x8c\x02\x82\xd3\xe4\x93\x02\xe8\x01"0/v2/{parent=organizations/*}/deidentifyTemplates:\x01*ZA"\x12\x12*"9/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect:\x01*\xda\x41\x04name\x12\x91\x01\n\x0c\x46inishDlpJob\x12*.google.privacy.dlp.v2.FinishDlpJobRequest\x1a\x16.google.protobuf.Empty"=\x82\xd3\xe4\x93\x02\x37"2/v2/{name=projects/*/locations/*/dlpJobs/*}:finish:\x01*\x1a\x46\xca\x41\x12\x64lp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x85\x02\n\x19\x63om.google.privacy.dlp.v2B\x08\x44lpProtoP\x01Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\xaa\x02\x13Google.Cloud.Dlp.V2\xca\x02\x13Google\\Cloud\\Dlp\\V2\xea\x02\x16Google::Cloud::Dlp::V2\xea\x41\\\n\'dlp.googleapis.com/OrganizationLocation\x12\x31organizations/{organization}/locations/{location}b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_client__pb2.DESCRIPTOR, google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, - google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_storage__pb2.DESCRIPTOR, + google_dot_cloud_dot_dlp__v2_dot_proto_dot_storage__pb2.DESCRIPTOR, google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, google_dot_protobuf_dot_empty__pb2.DESCRIPTOR, google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR, @@ -106,8 +99,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=32072, - serialized_end=32259, + serialized_start=32351, + serialized_end=32538, ) _sym_db.RegisterEnumDescriptor(_RELATIONALOPERATOR) @@ -149,8 +142,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=32262, - serialized_end=32403, + serialized_start=32541, + serialized_end=32682, ) _sym_db.RegisterEnumDescriptor(_MATCHINGTYPE) @@ -177,12 +170,41 @@ ], containing_type=None, serialized_options=None, - serialized_start=32405, - serialized_end=32482, + serialized_start=32684, + serialized_end=32761, ) _sym_db.RegisterEnumDescriptor(_CONTENTOPTION) ContentOption = enum_type_wrapper.EnumTypeWrapper(_CONTENTOPTION) +_METADATATYPE = _descriptor.EnumDescriptor( + name="MetadataType", + full_name="google.privacy.dlp.v2.MetadataType", + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name="METADATATYPE_UNSPECIFIED", + index=0, + number=0, + serialized_options=None, + type=None, + ), + _descriptor.EnumValueDescriptor( + name="STORAGE_METADATA", + index=1, + number=2, + serialized_options=None, + type=None, + ), + ], + containing_type=None, + serialized_options=None, + serialized_start=32763, + serialized_end=32829, +) +_sym_db.RegisterEnumDescriptor(_METADATATYPE) + +MetadataType = enum_type_wrapper.EnumTypeWrapper(_METADATATYPE) _INFOTYPESUPPORTEDBY = _descriptor.EnumDescriptor( name="InfoTypeSupportedBy", full_name="google.privacy.dlp.v2.InfoTypeSupportedBy", @@ -205,8 +227,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=32484, - serialized_end=32564, + serialized_start=32831, + serialized_end=32911, ) _sym_db.RegisterEnumDescriptor(_INFOTYPESUPPORTEDBY) @@ -237,8 +259,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=32566, - serialized_end=32648, + serialized_start=32913, + serialized_end=32995, ) _sym_db.RegisterEnumDescriptor(_DLPJOBTYPE) @@ -271,8 +293,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=32650, - serialized_end=32760, + serialized_start=32997, + serialized_end=33107, ) _sym_db.RegisterEnumDescriptor(_STOREDINFOTYPESTATE) @@ -292,6 +314,8 @@ CONTENT_UNSPECIFIED = 0 CONTENT_TEXT = 1 CONTENT_IMAGE = 2 +METADATATYPE_UNSPECIFIED = 0 +STORAGE_METADATA = 2 ENUM_TYPE_UNSPECIFIED = 0 INSPECT = 1 RISK_ANALYSIS = 2 @@ -337,13 +361,19 @@ name="TEXT_UTF8", index=6, number=5, serialized_options=None, type=None ), _descriptor.EnumValueDescriptor( - name="AVRO", index=7, number=11, serialized_options=None, type=None + name="WORD_DOCUMENT", index=7, number=7, serialized_options=None, type=None + ), + _descriptor.EnumValueDescriptor( + name="PDF", index=8, number=8, serialized_options=None, type=None + ), + _descriptor.EnumValueDescriptor( + name="AVRO", index=9, number=11, serialized_options=None, type=None ), ], containing_type=None, serialized_options=None, - serialized_start=1954, - serialized_end=2090, + serialized_start=1938, + serialized_end=2102, ) _sym_db.RegisterEnumDescriptor(_BYTECONTENTITEM_BYTESTYPE) @@ -386,8 +416,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=6649, - serialized_end=6793, + serialized_start=6912, + serialized_end=7056, ) _sym_db.RegisterEnumDescriptor(_OUTPUTSTORAGECONFIG_OUTPUTSCHEMA) @@ -425,8 +455,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=16572, - serialized_end=16700, + serialized_start=16851, + serialized_end=16979, ) _sym_db.RegisterEnumDescriptor(_TIMEPARTCONFIG_TIMEPART) @@ -469,8 +499,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=17233, - serialized_end=17384, + serialized_start=17512, + serialized_end=17663, ) _sym_db.RegisterEnumDescriptor(_CHARSTOIGNORE_COMMONCHARSTOIGNORE) @@ -506,8 +536,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=18317, - serialized_end=18465, + serialized_start=18596, + serialized_end=18744, ) _sym_db.RegisterEnumDescriptor(_CRYPTOREPLACEFFXFPECONFIG_FFXCOMMONNATIVEALPHABET) @@ -530,8 +560,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=20463, - serialized_end=20523, + serialized_start=20742, + serialized_end=20802, ) _sym_db.RegisterEnumDescriptor(_RECORDCONDITION_EXPRESSIONS_LOGICALOPERATOR) @@ -557,8 +587,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=21245, - serialized_end=21339, + serialized_start=21524, + serialized_end=21618, ) _sym_db.RegisterEnumDescriptor(_TRANSFORMATIONSUMMARY_TRANSFORMATIONRESULTCODE) @@ -587,8 +617,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=23329, - serialized_end=23401, + serialized_start=23608, + serialized_end=23680, ) _sym_db.RegisterEnumDescriptor(_JOBTRIGGER_STATUS) @@ -626,8 +656,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=27114, - serialized_end=27225, + serialized_start=27393, + serialized_end=27504, ) _sym_db.RegisterEnumDescriptor(_DLPJOB_JOBSTATE) @@ -666,8 +696,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=469, - serialized_end=540, + serialized_start=453, + serialized_end=524, ) @@ -767,8 +797,8 @@ fields=[], ) ], - serialized_start=543, - serialized_end=831, + serialized_start=527, + serialized_end=815, ) @@ -832,8 +862,8 @@ fields=[], ) ], - serialized_start=834, - serialized_end=1011, + serialized_start=818, + serialized_end=995, ) @@ -889,8 +919,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1013, - serialized_end=1139, + serialized_start=997, + serialized_end=1123, ) @@ -946,8 +976,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1764, - serialized_end=1853, + serialized_start=1748, + serialized_end=1837, ) _INSPECTCONFIG_FINDINGLIMITS = _descriptor.Descriptor( @@ -1020,8 +1050,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1580, - serialized_end=1853, + serialized_start=1564, + serialized_end=1837, ) _INSPECTCONFIG = _descriptor.Descriptor( @@ -1184,8 +1214,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1142, - serialized_end=1853, + serialized_start=1126, + serialized_end=1837, ) @@ -1223,7 +1253,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, @@ -1241,8 +1271,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1856, - serialized_end=2090, + serialized_start=1840, + serialized_end=2102, ) @@ -1262,7 +1292,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1324,8 +1354,8 @@ fields=[], ) ], - serialized_start=2093, - serialized_end=2244, + serialized_start=2105, + serialized_end=2256, ) @@ -1363,8 +1393,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2353, - serialized_end=2404, + serialized_start=2365, + serialized_end=2416, ) _TABLE = _descriptor.Descriptor( @@ -1419,8 +1449,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2247, - serialized_end=2404, + serialized_start=2259, + serialized_end=2416, ) @@ -1476,8 +1506,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2406, - serialized_end=2499, + serialized_start=2418, + serialized_end=2511, ) @@ -1497,7 +1527,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1515,7 +1545,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1528,13 +1558,13 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3079, - serialized_end=3124, + serialized_start=3091, + serialized_end=3136, ) _FINDING = _descriptor.Descriptor( @@ -1553,7 +1583,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1571,7 +1601,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1679,13 +1709,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\372A\033\n\031dlp.googleapis.com/DlpJob"), + serialized_options=b"\372A\033\n\031dlp.googleapis.com/DlpJob", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1697,13 +1727,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\372A\037\n\035dlp.googleapis.com/JobTrigger"), + serialized_options=b"\372A\037\n\035dlp.googleapis.com/JobTrigger", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1751,28 +1781,26 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\372A\033\n\031dlp.googleapis.com/DlpJob"), + serialized_options=b"\372A\033\n\031dlp.googleapis.com/DlpJob", file=DESCRIPTOR, ), ], extensions=[], nested_types=[_FINDING_LABELSENTRY], enum_types=[], - serialized_options=_b( - "\352A_\n!dlp.googleapis.com/InspectFinding\022:projects/{project}/locations/{location}/findings/{finding}" - ), + serialized_options=b"\352AX\n\032dlp.googleapis.com/Finding\022:projects/{project}/locations/{location}/findings/{finding}", is_extendable=False, syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2502, - serialized_end=3224, + serialized_start=2514, + serialized_end=3229, ) @@ -1864,8 +1892,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3227, - serialized_end=3462, + serialized_start=3232, + serialized_end=3467, ) @@ -1885,7 +1913,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1948,10 +1976,28 @@ serialized_options=None, file=DESCRIPTOR, ), + _descriptor.FieldDescriptor( + name="metadata_location", + full_name="google.privacy.dlp.v2.ContentLocation.metadata_location", + index=4, + number=8, + type=11, + cpp_type=10, + label=1, + has_default_value=False, + default_value=None, + message_type=None, + enum_type=None, + containing_type=None, + is_extension=False, + extension_scope=None, + serialized_options=None, + file=DESCRIPTOR, + ), _descriptor.FieldDescriptor( name="container_timestamp", full_name="google.privacy.dlp.v2.ContentLocation.container_timestamp", - index=4, + index=5, number=6, type=11, cpp_type=10, @@ -1969,13 +2015,13 @@ _descriptor.FieldDescriptor( name="container_version", full_name="google.privacy.dlp.v2.ContentLocation.container_version", - index=5, + index=6, number=7, type=9, cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2001,8 +2047,112 @@ fields=[], ) ], - serialized_start=3465, - serialized_end=3802, + serialized_start=3470, + serialized_end=3877, +) + + +_METADATALOCATION = _descriptor.Descriptor( + name="MetadataLocation", + full_name="google.privacy.dlp.v2.MetadataLocation", + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name="type", + full_name="google.privacy.dlp.v2.MetadataLocation.type", + index=0, + number=1, + type=14, + cpp_type=8, + label=1, + has_default_value=False, + default_value=0, + message_type=None, + enum_type=None, + containing_type=None, + is_extension=False, + extension_scope=None, + serialized_options=None, + file=DESCRIPTOR, + ), + _descriptor.FieldDescriptor( + name="storage_label", + full_name="google.privacy.dlp.v2.MetadataLocation.storage_label", + index=1, + number=3, + type=11, + cpp_type=10, + label=1, + has_default_value=False, + default_value=None, + message_type=None, + enum_type=None, + containing_type=None, + is_extension=False, + extension_scope=None, + serialized_options=None, + file=DESCRIPTOR, + ), + ], + extensions=[], + nested_types=[], + enum_types=[], + serialized_options=None, + is_extendable=False, + syntax="proto3", + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name="label", + full_name="google.privacy.dlp.v2.MetadataLocation.label", + index=0, + containing_type=None, + fields=[], + ) + ], + serialized_start=3880, + serialized_end=4028, +) + + +_STORAGEMETADATALABEL = _descriptor.Descriptor( + name="StorageMetadataLabel", + full_name="google.privacy.dlp.v2.StorageMetadataLabel", + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name="key", + full_name="google.privacy.dlp.v2.StorageMetadataLabel.key", + index=0, + number=1, + type=9, + cpp_type=9, + label=1, + has_default_value=False, + default_value=b"".decode("utf-8"), + message_type=None, + enum_type=None, + containing_type=None, + is_extension=False, + extension_scope=None, + serialized_options=None, + file=DESCRIPTOR, + ) + ], + extensions=[], + nested_types=[], + enum_types=[], + serialized_options=None, + is_extendable=False, + syntax="proto3", + extension_ranges=[], + oneofs=[], + serialized_start=4030, + serialized_end=4065, ) @@ -2040,8 +2190,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3804, - serialized_end=3843, + serialized_start=4067, + serialized_end=4106, ) @@ -2115,8 +2265,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3846, - serialized_end=4028, + serialized_start=4109, + serialized_end=4291, ) @@ -2154,8 +2304,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4030, - serialized_end=4064, + serialized_start=4293, + serialized_end=4327, ) @@ -2175,7 +2325,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2193,7 +2343,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2211,7 +2361,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2229,7 +2379,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2247,7 +2397,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2283,7 +2433,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2301,8 +2451,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4067, - serialized_end=4239, + serialized_start=4330, + serialized_end=4502, ) @@ -2358,8 +2508,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4241, - serialized_end=4276, + serialized_start=4504, + serialized_end=4539, ) @@ -2397,8 +2547,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4278, - serialized_end=4353, + serialized_start=4541, + serialized_end=4616, ) @@ -2490,8 +2640,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4355, - serialized_end=4426, + serialized_start=4618, + serialized_end=4689, ) @@ -2573,8 +2723,8 @@ fields=[], ) ], - serialized_start=4783, - serialized_end=4951, + serialized_start=5046, + serialized_end=5214, ) _REDACTIMAGEREQUEST = _descriptor.Descriptor( @@ -2593,15 +2743,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=b"\372A-\n+cloudresourcemanager.googleapis.com/Project", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2613,7 +2761,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2703,8 +2851,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4429, - serialized_end=4951, + serialized_start=4692, + serialized_end=5214, ) @@ -2778,8 +2926,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4953, - serialized_end=5002, + serialized_start=5216, + serialized_end=5265, ) @@ -2799,7 +2947,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, @@ -2817,7 +2965,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2853,8 +3001,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=5005, - serialized_end=5136, + serialized_start=5268, + serialized_end=5399, ) @@ -2874,15 +3022,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=b"\372A-\n+cloudresourcemanager.googleapis.com/Project", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2948,7 +3094,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2966,7 +3112,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2984,7 +3130,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3002,8 +3148,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=5139, - serialized_end=5497, + serialized_start=5402, + serialized_end=5760, ) @@ -3059,8 +3205,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=5500, - serialized_end=5642, + serialized_start=5763, + serialized_end=5905, ) @@ -3080,15 +3226,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=b"\340A\002\372A-\n+cloudresourcemanager.googleapis.com/Project", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -3154,7 +3298,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3172,7 +3316,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3190,7 +3334,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3208,8 +3352,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=5645, - serialized_end=6006, + serialized_start=5908, + serialized_end=6269, ) @@ -3265,8 +3409,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=6009, - serialized_end=6151, + serialized_start=6272, + serialized_end=6414, ) @@ -3286,15 +3430,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\372A-\n+cloudresourcemanager.googleapis.com/Project" - ), + serialized_options=b"\372A-\n+cloudresourcemanager.googleapis.com/Project", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -3342,7 +3484,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3360,7 +3502,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3378,8 +3520,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=6154, - serialized_end=6407, + serialized_start=6417, + serialized_end=6670, ) @@ -3417,8 +3559,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=6409, - serialized_end=6487, + serialized_start=6672, + serialized_end=6750, ) @@ -3482,8 +3624,8 @@ fields=[], ) ], - serialized_start=6490, - serialized_end=6801, + serialized_start=6753, + serialized_end=7064, ) @@ -3539,8 +3681,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=6803, - serialized_end=6885, + serialized_start=7066, + serialized_end=7148, ) @@ -3596,8 +3738,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7082, - serialized_end=7236, + serialized_start=7345, + serialized_end=7499, ) _INSPECTDATASOURCEDETAILS_RESULT = _descriptor.Descriptor( @@ -3688,8 +3830,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7239, - serialized_end=7436, + serialized_start=7502, + serialized_end=7699, ) _INSPECTDATASOURCEDETAILS = _descriptor.Descriptor( @@ -3747,8 +3889,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=6888, - serialized_end=7436, + serialized_start=7151, + serialized_end=7699, ) @@ -3822,8 +3964,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7438, - serialized_end=7534, + serialized_start=7701, + serialized_end=7797, ) @@ -3843,7 +3985,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3861,7 +4003,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3897,7 +4039,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3915,8 +4057,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7537, - serialized_end=7681, + serialized_start=7800, + serialized_end=7944, ) @@ -3927,16 +4069,34 @@ file=DESCRIPTOR, containing_type=None, fields=[ + _descriptor.FieldDescriptor( + name="parent", + full_name="google.privacy.dlp.v2.ListInfoTypesRequest.parent", + index=0, + number=4, + type=9, + cpp_type=9, + label=1, + has_default_value=False, + default_value=b"".decode("utf-8"), + message_type=None, + enum_type=None, + containing_type=None, + is_extension=False, + extension_scope=None, + serialized_options=None, + file=DESCRIPTOR, + ), _descriptor.FieldDescriptor( name="language_code", full_name="google.privacy.dlp.v2.ListInfoTypesRequest.language_code", - index=0, + index=1, number=1, type=9, cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3948,13 +4108,13 @@ _descriptor.FieldDescriptor( name="filter", full_name="google.privacy.dlp.v2.ListInfoTypesRequest.filter", - index=1, + index=2, number=2, type=9, cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3966,13 +4126,13 @@ _descriptor.FieldDescriptor( name="location_id", full_name="google.privacy.dlp.v2.ListInfoTypesRequest.location_id", - index=2, + index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -3990,8 +4150,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7683, - serialized_end=7765, + serialized_start=7946, + serialized_end=8044, ) @@ -4029,8 +4189,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7767, - serialized_end=7854, + serialized_start=8046, + serialized_end=8133, ) @@ -4104,8 +4264,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=7857, - serialized_end=8050, + serialized_start=8136, + serialized_end=8329, ) @@ -4131,7 +4291,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4161,7 +4321,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -4205,8 +4365,8 @@ fields=[], ) ], - serialized_start=8053, - serialized_end=8241, + serialized_start=8332, + serialized_end=8520, ) @@ -4244,7 +4404,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -4262,8 +4422,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=8473, - serialized_end=8562, + serialized_start=8752, + serialized_end=8841, ) _STATISTICALTABLE = _descriptor.Descriptor( @@ -4288,7 +4448,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4306,7 +4466,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4324,7 +4484,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -4336,8 +4496,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=8244, - serialized_end=8562, + serialized_start=8523, + serialized_end=8841, ) @@ -4375,8 +4535,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=9148, - serialized_end=9217, + serialized_start=9427, + serialized_end=9496, ) _PRIVACYMETRIC_CATEGORICALSTATSCONFIG = _descriptor.Descriptor( @@ -4413,8 +4573,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=9219, - serialized_end=9290, + serialized_start=9498, + serialized_end=9569, ) _PRIVACYMETRIC_KANONYMITYCONFIG = _descriptor.Descriptor( @@ -4469,8 +4629,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=9292, - serialized_end=9413, + serialized_start=9571, + serialized_end=9692, ) _PRIVACYMETRIC_LDIVERSITYCONFIG = _descriptor.Descriptor( @@ -4525,8 +4685,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=9416, - serialized_end=9546, + serialized_start=9695, + serialized_end=9825, ) _PRIVACYMETRIC_KMAPESTIMATIONCONFIG_TAGGEDFIELD = _descriptor.Descriptor( @@ -4551,7 +4711,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4581,7 +4741,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -4625,8 +4785,8 @@ fields=[], ) ], - serialized_start=9790, - serialized_end=9982, + serialized_start=10069, + serialized_end=10261, ) _PRIVACYMETRIC_KMAPESTIMATIONCONFIG_AUXILIARYTABLE_QUASIIDFIELD = _descriptor.Descriptor( @@ -4663,7 +4823,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -4681,8 +4841,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=10237, - serialized_end=10318, + serialized_start=10516, + serialized_end=10597, ) _PRIVACYMETRIC_KMAPESTIMATIONCONFIG_AUXILIARYTABLE = _descriptor.Descriptor( @@ -4707,7 +4867,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4725,7 +4885,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4743,7 +4903,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -4755,8 +4915,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=9985, - serialized_end=10318, + serialized_start=10264, + serialized_end=10597, ) _PRIVACYMETRIC_KMAPESTIMATIONCONFIG = _descriptor.Descriptor( @@ -4781,7 +4941,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4793,7 +4953,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -4832,8 +4992,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=9549, - serialized_end=10318, + serialized_start=9828, + serialized_end=10597, ) _PRIVACYMETRIC_DELTAPRESENCEESTIMATIONCONFIG = _descriptor.Descriptor( @@ -4858,7 +5018,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -4870,7 +5030,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -4906,8 +5066,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=10321, - serialized_end=10496, + serialized_start=10600, + serialized_end=10775, ) _PRIVACYMETRIC = _descriptor.Descriptor( @@ -5049,8 +5209,8 @@ fields=[], ) ], - serialized_start=8565, - serialized_end=10504, + serialized_start=8844, + serialized_end=10783, ) @@ -5124,8 +5284,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=11338, - serialized_end=11513, + serialized_start=11617, + serialized_end=11792, ) _ANALYZEDATASOURCERISKDETAILS_CATEGORICALSTATSRESULT_CATEGORICALSTATSHISTOGRAMBUCKET = _descriptor.Descriptor( @@ -5234,8 +5394,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=11695, - serialized_end=11913, + serialized_start=11974, + serialized_end=12192, ) _ANALYZEDATASOURCERISKDETAILS_CATEGORICALSTATSRESULT = _descriptor.Descriptor( @@ -5274,8 +5434,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=11516, - serialized_end=11913, + serialized_start=11795, + serialized_end=12192, ) _ANALYZEDATASOURCERISKDETAILS_KANONYMITYRESULT_KANONYMITYEQUIVALENCECLASS = _descriptor.Descriptor( @@ -5330,8 +5490,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=12078, - serialized_end=12194, + serialized_start=12357, + serialized_end=12473, ) _ANALYZEDATASOURCERISKDETAILS_KANONYMITYRESULT_KANONYMITYHISTOGRAMBUCKET = _descriptor.Descriptor( @@ -5440,8 +5600,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=12197, - serialized_end=12481, + serialized_start=12476, + serialized_end=12760, ) _ANALYZEDATASOURCERISKDETAILS_KANONYMITYRESULT = _descriptor.Descriptor( @@ -5481,8 +5641,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=11916, - serialized_end=12481, + serialized_start=12195, + serialized_end=12760, ) _ANALYZEDATASOURCERISKDETAILS_LDIVERSITYRESULT_LDIVERSITYEQUIVALENCECLASS = _descriptor.Descriptor( @@ -5573,8 +5733,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=12655, - serialized_end=12879, + serialized_start=12934, + serialized_end=13158, ) _ANALYZEDATASOURCERISKDETAILS_LDIVERSITYRESULT_LDIVERSITYHISTOGRAMBUCKET = _descriptor.Descriptor( @@ -5683,8 +5843,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=12882, - serialized_end=13172, + serialized_start=13161, + serialized_end=13451, ) _ANALYZEDATASOURCERISKDETAILS_LDIVERSITYRESULT = _descriptor.Descriptor( @@ -5724,8 +5884,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=12484, - serialized_end=13172, + serialized_start=12763, + serialized_end=13451, ) _ANALYZEDATASOURCERISKDETAILS_KMAPESTIMATIONRESULT_KMAPESTIMATIONQUASIIDVALUES = _descriptor.Descriptor( @@ -5780,8 +5940,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=13340, - serialized_end=13454, + serialized_start=13619, + serialized_end=13733, ) _ANALYZEDATASOURCERISKDETAILS_KMAPESTIMATIONRESULT_KMAPESTIMATIONHISTOGRAMBUCKET = _descriptor.Descriptor( @@ -5890,8 +6050,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=13457, - serialized_end=13708, + serialized_start=13736, + serialized_end=13987, ) _ANALYZEDATASOURCERISKDETAILS_KMAPESTIMATIONRESULT = _descriptor.Descriptor( @@ -5931,8 +6091,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=13175, - serialized_end=13708, + serialized_start=13454, + serialized_end=13987, ) _ANALYZEDATASOURCERISKDETAILS_DELTAPRESENCEESTIMATIONRESULT_DELTAPRESENCEESTIMATIONQUASIIDVALUES = _descriptor.Descriptor( @@ -5987,8 +6147,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=13912, - serialized_end=14037, + serialized_start=14191, + serialized_end=14316, ) _ANALYZEDATASOURCERISKDETAILS_DELTAPRESENCEESTIMATIONRESULT_DELTAPRESENCEESTIMATIONHISTOGRAMBUCKET = _descriptor.Descriptor( @@ -6097,8 +6257,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=14040, - serialized_end=14323, + serialized_start=14319, + serialized_end=14602, ) _ANALYZEDATASOURCERISKDETAILS_DELTAPRESENCEESTIMATIONRESULT = _descriptor.Descriptor( @@ -6138,8 +6298,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=13711, - serialized_end=14323, + serialized_start=13990, + serialized_end=14602, ) _ANALYZEDATASOURCERISKDETAILS = _descriptor.Descriptor( @@ -6317,8 +6477,8 @@ fields=[], ) ], - serialized_start=10507, - serialized_end=14333, + serialized_start=10786, + serialized_end=14612, ) @@ -6374,8 +6534,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=14335, - serialized_end=14411, + serialized_start=14614, + serialized_end=14690, ) @@ -6431,7 +6591,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -6547,8 +6707,8 @@ fields=[], ) ], - serialized_start=14414, - serialized_end=14721, + serialized_start=14693, + serialized_end=15000, ) @@ -6594,8 +6754,8 @@ fields=[], ) ], - serialized_start=14723, - serialized_end=14804, + serialized_start=15002, + serialized_end=15083, ) @@ -6633,8 +6793,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=14996, - serialized_end=15030, + serialized_start=15275, + serialized_end=15309, ) _DATETIME = _descriptor.Descriptor( @@ -6725,8 +6885,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=14807, - serialized_end=15030, + serialized_start=15086, + serialized_end=15309, ) @@ -6808,8 +6968,8 @@ fields=[], ) ], - serialized_start=15033, - serialized_end=15325, + serialized_start=15312, + serialized_end=15604, ) @@ -6828,8 +6988,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=15547, - serialized_end=15559, + serialized_start=15826, + serialized_end=15838, ) _TRANSFORMATIONERRORHANDLING_LEAVEUNTRANSFORMED = _descriptor.Descriptor( @@ -6847,8 +7007,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=15561, - serialized_end=15581, + serialized_start=15840, + serialized_end=15860, ) _TRANSFORMATIONERRORHANDLING = _descriptor.Descriptor( @@ -6914,8 +7074,8 @@ fields=[], ) ], - serialized_start=15328, - serialized_end=15589, + serialized_start=15607, + serialized_end=15868, ) @@ -7141,8 +7301,8 @@ fields=[], ) ], - serialized_start=15592, - serialized_end=16477, + serialized_start=15871, + serialized_end=16756, ) @@ -7180,8 +7340,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=16480, - serialized_end=16700, + serialized_start=16759, + serialized_end=16979, ) @@ -7219,8 +7379,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=16702, - serialized_end=16774, + serialized_start=16981, + serialized_end=17053, ) @@ -7294,8 +7454,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=16777, - serialized_end=16969, + serialized_start=17056, + serialized_end=17248, ) @@ -7333,8 +7493,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=16971, - serialized_end=17040, + serialized_start=17250, + serialized_end=17319, ) @@ -7353,8 +7513,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=17042, - serialized_end=17069, + serialized_start=17321, + serialized_end=17348, ) @@ -7373,8 +7533,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=17071, - serialized_end=17085, + serialized_start=17350, + serialized_end=17364, ) @@ -7394,7 +7554,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -7438,8 +7598,8 @@ fields=[], ) ], - serialized_start=17088, - serialized_end=17398, + serialized_start=17367, + serialized_end=17677, ) @@ -7459,7 +7619,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -7531,8 +7691,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=17401, - serialized_end=17564, + serialized_start=17680, + serialized_end=17843, ) @@ -7558,7 +7718,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -7576,7 +7736,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -7594,7 +7754,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -7606,8 +7766,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=17567, - serialized_end=17731, + serialized_start=17846, + serialized_end=18010, ) @@ -7681,8 +7841,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=17818, - serialized_end=17969, + serialized_start=18097, + serialized_end=18248, ) _BUCKETINGCONFIG = _descriptor.Descriptor( @@ -7719,8 +7879,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=17734, - serialized_end=17969, + serialized_start=18013, + serialized_end=18248, ) @@ -7746,7 +7906,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -7794,7 +7954,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -7856,8 +8016,8 @@ fields=[], ) ], - serialized_start=17972, - serialized_end=18477, + serialized_start=18251, + serialized_end=18756, ) @@ -7939,8 +8099,8 @@ fields=[], ) ], - serialized_start=18480, - serialized_end=18696, + serialized_start=18759, + serialized_end=18975, ) @@ -7960,13 +8120,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ) ], @@ -7978,8 +8138,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=18698, - serialized_end=18737, + serialized_start=18977, + serialized_end=19016, ) @@ -7999,13 +8159,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ) ], @@ -8017,8 +8177,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=18739, - serialized_end=18777, + serialized_start=19018, + serialized_end=19056, ) @@ -8038,13 +8198,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b(""), + default_value=b"", message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -8056,13 +8216,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -8074,8 +8234,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=18779, - serialized_end=18856, + serialized_start=19058, + serialized_end=19135, ) @@ -8101,7 +8261,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -8119,7 +8279,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -8175,8 +8335,8 @@ fields=[], ) ], - serialized_start=18859, - serialized_end=19053, + serialized_start=19138, + serialized_end=19332, ) @@ -8220,7 +8380,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -8232,8 +8392,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=19185, - serialized_end=19349, + serialized_start=19464, + serialized_end=19628, ) _INFOTYPETRANSFORMATIONS = _descriptor.Descriptor( @@ -8258,7 +8418,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ) ], @@ -8270,8 +8430,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=19056, - serialized_end=19349, + serialized_start=19335, + serialized_end=19628, ) @@ -8297,7 +8457,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -8371,8 +8531,8 @@ fields=[], ) ], - serialized_start=19352, - serialized_end=19672, + serialized_start=19631, + serialized_end=19951, ) @@ -8428,8 +8588,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=19675, - serialized_end=19844, + serialized_start=19954, + serialized_end=20123, ) @@ -8467,8 +8627,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=19846, - serialized_end=19924, + serialized_start=20125, + serialized_end=20203, ) @@ -8494,7 +8654,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -8512,7 +8672,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -8542,8 +8702,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=20020, - serialized_end=20194, + serialized_start=20299, + serialized_end=20473, ) _RECORDCONDITION_CONDITIONS = _descriptor.Descriptor( @@ -8580,8 +8740,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=20196, - serialized_end=20278, + serialized_start=20475, + serialized_end=20557, ) _RECORDCONDITION_EXPRESSIONS = _descriptor.Descriptor( @@ -8644,8 +8804,8 @@ fields=[], ) ], - serialized_start=20281, - serialized_end=20531, + serialized_start=20560, + serialized_end=20810, ) _RECORDCONDITION = _descriptor.Descriptor( @@ -8686,8 +8846,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=19927, - serialized_end=20531, + serialized_start=20206, + serialized_end=20810, ) @@ -8743,8 +8903,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=20534, - serialized_end=20665, + serialized_start=20813, + serialized_end=20944, ) @@ -8800,7 +8960,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -8818,8 +8978,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=21111, - serialized_end=21243, + serialized_start=21390, + serialized_end=21522, ) _TRANSFORMATIONSUMMARY = _descriptor.Descriptor( @@ -8964,8 +9124,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=20668, - serialized_end=21339, + serialized_start=20947, + serialized_end=21618, ) @@ -9011,8 +9171,8 @@ fields=[], ) ], - serialized_start=21341, - serialized_end=21426, + serialized_start=21620, + serialized_end=21705, ) @@ -9031,8 +9191,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=21428, - serialized_end=21436, + serialized_start=21707, + serialized_end=21715, ) @@ -9052,13 +9212,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -9070,7 +9230,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -9088,7 +9248,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -9112,7 +9272,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -9130,7 +9290,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -9155,15 +9315,13 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b( - '\352A\302\002\n"dlp.googleapis.com/InspectTemplate\022@organizations/{organization}/inspectTemplates/{inspect_template}\0226projects/{project}/inspectTemplates/{inspect_template}\022Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\022Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}' - ), + serialized_options=b'\352A\302\002\n"dlp.googleapis.com/InspectTemplate\022@organizations/{organization}/inspectTemplates/{inspect_template}\0226projects/{project}/inspectTemplates/{inspect_template}\022Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\022Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}', is_extendable=False, syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=21439, - serialized_end=22017, + serialized_start=21718, + serialized_end=22296, ) @@ -9183,13 +9341,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -9201,7 +9359,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -9219,7 +9377,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -9243,7 +9401,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -9261,7 +9419,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -9286,15 +9444,13 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b( - "\352A\335\002\n%dlp.googleapis.com/DeidentifyTemplate\022Forganizations/{organization}/deidentifyTemplates/{deidentify_template}\022 LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of type: number, long, string, @@ -17383,7 +17446,7 @@ Set of buckets. Ranges must be non-overlapping. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BucketingConfig) - ), + }, ) _sym_db.RegisterMessage(BucketingConfig) _sym_db.RegisterMessage(BucketingConfig.Bucket) @@ -17391,10 +17454,10 @@ CryptoReplaceFfxFpeConfig = _reflection.GeneratedProtocolMessageType( "CryptoReplaceFfxFpeConfig", (_message.Message,), - dict( - DESCRIPTOR=_CRYPTOREPLACEFFXFPECONFIG, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Replaces an identifier with a surrogate using Format + { + "DESCRIPTOR": _CRYPTOREPLACEFFXFPECONFIG, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the ``ReidentifyContent`` API method, it serves the opposite function by reversing the surrogate back into the original identifier. @@ -17413,8 +17476,8 @@ crypto_key: Required. The key used by the encryption algorithm. context: - The 'tweak', a context may be used for higher security since - the same identifier in two different contexts won't be given + The ‘tweak’, a context may be used for higher security since + the same identifier in two different contexts won’t be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but: 1. there is no record present when transforming a given value or 2. the field @@ -17448,12 +17511,12 @@ with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: - info\_type\_name(surrogate\_character\_count):surrogate For + info_type_name(surrogate_character_count):surrogate For example, if the name of custom infoType is - 'MY\_TOKEN\_INFO\_TYPE' and the surrogate is 'abc', the full - replacement value will be: 'MY\_TOKEN\_INFO\_TYPE(3):abc' - This annotation identifies the surrogate when inspecting - content using the custom infoType ```SurrogateType`` + ‘MY_TOKEN_INFO_TYPE’ and the surrogate is ‘abc’, the full + replacement value will be: ‘MY_TOKEN_INFO_TYPE(3):abc’ This + annotation identifies the surrogate when inspecting content + using the custom infoType ```SurrogateType`` `__. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name @@ -17466,20 +17529,20 @@ more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point - 29DD might be used like so: ⧝MY\_TOKEN\_TYPE + 29DD might be used like so: ⧝MY_TOKEN_TYPE """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig) - ), + }, ) _sym_db.RegisterMessage(CryptoReplaceFfxFpeConfig) CryptoKey = _reflection.GeneratedProtocolMessageType( "CryptoKey", (_message.Message,), - dict( - DESCRIPTOR=_CRYPTOKEY, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""This is a data encryption key (DEK) (as opposed to a key + { + "DESCRIPTOR": _CRYPTOKEY, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key. @@ -17496,17 +17559,17 @@ Kms wrapped key """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CryptoKey) - ), + }, ) _sym_db.RegisterMessage(CryptoKey) TransientCryptoKey = _reflection.GeneratedProtocolMessageType( "TransientCryptoKey", (_message.Message,), - dict( - DESCRIPTOR=_TRANSIENTCRYPTOKEY, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Use this to have a random data crypto key generated. It + { + "DESCRIPTOR": _TRANSIENTCRYPTOKEY, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Use this to have a random data crypto key generated. It will be discarded after the request finishes. @@ -17521,17 +17584,17 @@ generated). """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransientCryptoKey) - ), + }, ) _sym_db.RegisterMessage(TransientCryptoKey) UnwrappedCryptoKey = _reflection.GeneratedProtocolMessageType( "UnwrappedCryptoKey", (_message.Message,), - dict( - DESCRIPTOR=_UNWRAPPEDCRYPTOKEY, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Using raw keys is prone to security risks due to + { + "DESCRIPTOR": _UNWRAPPEDCRYPTOKEY, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible. @@ -17540,17 +17603,17 @@ Required. A 128/192/256 bit key. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UnwrappedCryptoKey) - ), + }, ) _sym_db.RegisterMessage(UnwrappedCryptoKey) KmsWrappedCryptoKey = _reflection.GeneratedProtocolMessageType( "KmsWrappedCryptoKey", (_message.Message,), - dict( - DESCRIPTOR=_KMSWRAPPEDCRYPTOKEY, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Include to use an existing data crypto key wrapped by KMS. + { + "DESCRIPTOR": _KMSWRAPPEDCRYPTOKEY, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128/192/256 bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a kms-wrapped crypto key: dlp.kms.encrypt @@ -17564,17 +17627,17 @@ unwrapping. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.KmsWrappedCryptoKey) - ), + }, ) _sym_db.RegisterMessage(KmsWrappedCryptoKey) DateShiftConfig = _reflection.GeneratedProtocolMessageType( "DateShiftConfig", (_message.Message,), - dict( - DESCRIPTOR=_DATESHIFTCONFIG, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Shifts dates by random number of days, with option to be + { + "DESCRIPTOR": _DATESHIFTCONFIG, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Shifts dates by random number of days, with option to be consistent for the same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting to learn more. @@ -17600,26 +17663,26 @@ crypto_key: Causes the shift to be computed based on this key and the context. This results in the same shift for the same context - and crypto\_key. If set, must also set context. Can only be + and crypto_key. If set, must also set context. Can only be applied to table items. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DateShiftConfig) - ), + }, ) _sym_db.RegisterMessage(DateShiftConfig) InfoTypeTransformations = _reflection.GeneratedProtocolMessageType( "InfoTypeTransformations", (_message.Message,), - dict( - InfoTypeTransformation=_reflection.GeneratedProtocolMessageType( + { + "InfoTypeTransformation": _reflection.GeneratedProtocolMessageType( "InfoTypeTransformation", (_message.Message,), - dict( - DESCRIPTOR=_INFOTYPETRANSFORMATIONS_INFOTYPETRANSFORMATION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A transformation to apply to text that is identified as a - specific info\_type. + { + "DESCRIPTOR": _INFOTYPETRANSFORMATIONS_INFOTYPETRANSFORMATION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """A transformation to apply to text that is identified as a + specific info_type. Attributes: @@ -17632,14 +17695,14 @@ Required. Primitive transformation to apply to the infoType. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation) - ), + }, ), - DESCRIPTOR=_INFOTYPETRANSFORMATIONS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A type of transformation that will scan unstructured text + "DESCRIPTOR": _INFOTYPETRANSFORMATIONS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """A type of transformation that will scan unstructured text and apply various ``PrimitiveTransformation``\ s to each finding, where the transformation is applied to only values that were identified as a - specific info\_type. + specific info_type. Attributes: @@ -17648,7 +17711,7 @@ more than one for a given infoType. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoTypeTransformations) - ), + }, ) _sym_db.RegisterMessage(InfoTypeTransformations) _sym_db.RegisterMessage(InfoTypeTransformations.InfoTypeTransformation) @@ -17656,10 +17719,10 @@ FieldTransformation = _reflection.GeneratedProtocolMessageType( "FieldTransformation", (_message.Message,), - dict( - DESCRIPTOR=_FIELDTRANSFORMATION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The transformation to apply to the field. + { + "DESCRIPTOR": _FIELDTRANSFORMATION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The transformation to apply to the field. Attributes: @@ -17682,17 +17745,17 @@ transform content that matches an ``InfoType``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FieldTransformation) - ), + }, ) _sym_db.RegisterMessage(FieldTransformation) RecordTransformations = _reflection.GeneratedProtocolMessageType( "RecordTransformations", (_message.Message,), - dict( - DESCRIPTOR=_RECORDTRANSFORMATIONS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A type of transformation that is applied over structured + { + "DESCRIPTOR": _RECORDTRANSFORMATIONS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """A type of transformation that is applied over structured data such as a table. @@ -17706,17 +17769,17 @@ output. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordTransformations) - ), + }, ) _sym_db.RegisterMessage(RecordTransformations) RecordSuppression = _reflection.GeneratedProtocolMessageType( "RecordSuppression", (_message.Message,), - dict( - DESCRIPTOR=_RECORDSUPPRESSION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Configuration to suppress records whose suppression + { + "DESCRIPTOR": _RECORDSUPPRESSION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Configuration to suppress records whose suppression conditions evaluate to true. @@ -17727,30 +17790,30 @@ content. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordSuppression) - ), + }, ) _sym_db.RegisterMessage(RecordSuppression) RecordCondition = _reflection.GeneratedProtocolMessageType( "RecordCondition", (_message.Message,), - dict( - Condition=_reflection.GeneratedProtocolMessageType( + { + "Condition": _reflection.GeneratedProtocolMessageType( "Condition", (_message.Message,), - dict( - DESCRIPTOR=_RECORDCONDITION_CONDITION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2" + { + "DESCRIPTOR": _RECORDCONDITION_CONDITION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2" # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Condition) - ), + }, ), - Conditions=_reflection.GeneratedProtocolMessageType( + "Conditions": _reflection.GeneratedProtocolMessageType( "Conditions", (_message.Message,), - dict( - DESCRIPTOR=_RECORDCONDITION_CONDITIONS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A collection of conditions. + { + "DESCRIPTOR": _RECORDCONDITION_CONDITIONS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """A collection of conditions. Attributes: @@ -17758,15 +17821,15 @@ A collection of conditions. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Conditions) - ), + }, ), - Expressions=_reflection.GeneratedProtocolMessageType( + "Expressions": _reflection.GeneratedProtocolMessageType( "Expressions", (_message.Message,), - dict( - DESCRIPTOR=_RECORDCONDITION_EXPRESSIONS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""An expression, consisting or an operator and conditions. + { + "DESCRIPTOR": _RECORDCONDITION_EXPRESSIONS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """An expression, consisting or an operator and conditions. Attributes: @@ -17779,13 +17842,13 @@ Conditions to apply to the expression. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition.Expressions) - ), + }, ), - DESCRIPTOR=_RECORDCONDITION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The field type of ``value`` and ``field`` do not need to + "DESCRIPTOR": _RECORDCONDITION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The field type of ``value`` and ``field`` do not need to match to be considered equal, but not all comparisons are possible. - EQUAL\_TO and NOT\_EQUAL\_TO attempt to compare even with incompatible + EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A ``value`` of type: @@ -17798,7 +17861,7 @@ - ``Timestamp`` can be compared against strings in RFC 3339 date string format. - ``TimeOfDay`` can be compared against timestamps and strings in the - format of 'HH:mm:ss'. + format of ‘HH:mm:ss’. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false. @@ -17818,7 +17881,7 @@ An expression. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordCondition) - ), + }, ) _sym_db.RegisterMessage(RecordCondition) _sym_db.RegisterMessage(RecordCondition.Condition) @@ -17828,10 +17891,10 @@ TransformationOverview = _reflection.GeneratedProtocolMessageType( "TransformationOverview", (_message.Message,), - dict( - DESCRIPTOR=_TRANSFORMATIONOVERVIEW, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Overview of the modifications that occurred. + { + "DESCRIPTOR": _TRANSFORMATIONOVERVIEW, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Overview of the modifications that occurred. Attributes: @@ -17841,21 +17904,21 @@ Transformations applied to the dataset. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationOverview) - ), + }, ) _sym_db.RegisterMessage(TransformationOverview) TransformationSummary = _reflection.GeneratedProtocolMessageType( "TransformationSummary", (_message.Message,), - dict( - SummaryResult=_reflection.GeneratedProtocolMessageType( + { + "SummaryResult": _reflection.GeneratedProtocolMessageType( "SummaryResult", (_message.Message,), - dict( - DESCRIPTOR=_TRANSFORMATIONSUMMARY_SUMMARYRESULT, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A collection that informs the user the number of times a + { + "DESCRIPTOR": _TRANSFORMATIONSUMMARY_SUMMARYRESULT, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """A collection that informs the user the number of times a particular ``TransformationResultCode`` and error details occurred. @@ -17866,15 +17929,15 @@ Outcome of the transformation. details: A place for warnings or errors to show up if a transformation - didn't work as expected. + didn’t work as expected. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationSummary.SummaryResult) - ), + }, ), - DESCRIPTOR=_TRANSFORMATIONSUMMARY, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Summary of a single transformation. Only one of - 'transformation', 'field\_transformation', or 'record\_suppress' will be + "DESCRIPTOR": _TRANSFORMATIONSUMMARY, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Summary of a single transformation. Only one of + ‘transformation’, ‘field_transformation’, or ‘record_suppress’ will be set. @@ -17898,7 +17961,7 @@ Total size in bytes that were transformed in some way. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TransformationSummary) - ), + }, ) _sym_db.RegisterMessage(TransformationSummary) _sym_db.RegisterMessage(TransformationSummary.SummaryResult) @@ -17906,10 +17969,10 @@ Schedule = _reflection.GeneratedProtocolMessageType( "Schedule", (_message.Message,), - dict( - DESCRIPTOR=_SCHEDULE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Schedule for triggeredJobs. + { + "DESCRIPTOR": _SCHEDULE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Schedule for triggeredJobs. Attributes: @@ -17922,32 +17985,32 @@ longer than 60 days. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Schedule) - ), + }, ) _sym_db.RegisterMessage(Schedule) Manual = _reflection.GeneratedProtocolMessageType( "Manual", (_message.Message,), - dict( - DESCRIPTOR=_MANUAL, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Job trigger option for hybrid jobs. Jobs must be manually + { + "DESCRIPTOR": _MANUAL, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Job trigger option for hybrid jobs. Jobs must be manually created and finished. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Manual) - ), + }, ) _sym_db.RegisterMessage(Manual) InspectTemplate = _reflection.GeneratedProtocolMessageType( "InspectTemplate", (_message.Message,), - dict( - DESCRIPTOR=_INSPECTTEMPLATE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The inspectTemplate contains a configuration (set of types + { + "DESCRIPTOR": _INSPECTTEMPLATE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to learn more. @@ -17972,17 +18035,17 @@ scanning process. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectTemplate) - ), + }, ) _sym_db.RegisterMessage(InspectTemplate) DeidentifyTemplate = _reflection.GeneratedProtocolMessageType( "DeidentifyTemplate", (_message.Message,), - dict( - DESCRIPTOR=_DEIDENTIFYTEMPLATE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""DeidentifyTemplates contains instructions on how to + { + "DESCRIPTOR": _DEIDENTIFYTEMPLATE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more. @@ -18005,17 +18068,17 @@ ///////////// // The core content of the template // /////////////// """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeidentifyTemplate) - ), + }, ) _sym_db.RegisterMessage(DeidentifyTemplate) Error = _reflection.GeneratedProtocolMessageType( "Error", (_message.Message,), - dict( - DESCRIPTOR=_ERROR, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Details information about an error encountered during job + { + "DESCRIPTOR": _ERROR, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger. @@ -18027,26 +18090,26 @@ The times the error occurred. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Error) - ), + }, ) _sym_db.RegisterMessage(Error) JobTrigger = _reflection.GeneratedProtocolMessageType( "JobTrigger", (_message.Message,), - dict( - Trigger=_reflection.GeneratedProtocolMessageType( + { + "Trigger": _reflection.GeneratedProtocolMessageType( "Trigger", (_message.Message,), - dict( - DESCRIPTOR=_JOBTRIGGER_TRIGGER, - __module__="google.cloud.dlp_v2.proto.dlp_pb2" + { + "DESCRIPTOR": _JOBTRIGGER_TRIGGER, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2" # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.JobTrigger.Trigger) - ), + }, ), - DESCRIPTOR=_JOBTRIGGER, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""What event needs to occur for a new job to be started. + "DESCRIPTOR": _JOBTRIGGER, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """What event needs to occur for a new job to be started. Attributes: @@ -18070,7 +18133,7 @@ inspect_job: For inspect jobs, a snapshot of the configuration. triggers: - A list of triggers which will be OR'ed together. Only one in + A list of triggers which will be OR’ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object. @@ -18090,7 +18153,7 @@ Required. A status for this trigger. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.JobTrigger) - ), + }, ) _sym_db.RegisterMessage(JobTrigger) _sym_db.RegisterMessage(JobTrigger.Trigger) @@ -18098,14 +18161,14 @@ Action = _reflection.GeneratedProtocolMessageType( "Action", (_message.Message,), - dict( - SaveFindings=_reflection.GeneratedProtocolMessageType( + { + "SaveFindings": _reflection.GeneratedProtocolMessageType( "SaveFindings", (_message.Message,), - dict( - DESCRIPTOR=_ACTION_SAVEFINDINGS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""If set, the detailed findings will be persisted to the + { + "DESCRIPTOR": _ACTION_SAVEFINDINGS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk @@ -18115,17 +18178,17 @@ Location to store findings outside of DLP. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.SaveFindings) - ), + }, ), - PublishToPubSub=_reflection.GeneratedProtocolMessageType( + "PublishToPubSub": _reflection.GeneratedProtocolMessageType( "PublishToPubSub", (_message.Message,), - dict( - DESCRIPTOR=_ACTION_PUBLISHTOPUBSUB, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Publish a message into given Pub/Sub topic when DlpJob has + { + "DESCRIPTOR": _ACTION_PUBLISHTOPUBSUB, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Publish a message into given Pub/Sub topic when DlpJob has completed. The message contains a single field, ``DlpJobName``, which is - equal to the finished job's + equal to the finished job’s ```DlpJob.name`` `__. Compatible with: Inspect, Risk @@ -18138,15 +18201,15 @@ notifications. Format is projects/{project}/topics/{topic}. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToPubSub) - ), + }, ), - PublishSummaryToCscc=_reflection.GeneratedProtocolMessageType( + "PublishSummaryToCscc": _reflection.GeneratedProtocolMessageType( "PublishSummaryToCscc", (_message.Message,), - dict( - DESCRIPTOR=_ACTION_PUBLISHSUMMARYTOCSCC, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Publish the result summary of a DlpJob to the Cloud + { + "DESCRIPTOR": _ACTION_PUBLISHSUMMARYTOCSCC, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). This action is only available for projects which are parts of an organization and whitelisted for the alpha Cloud Security Command Center. The action will publish count of @@ -18157,15 +18220,15 @@ """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishSummaryToCscc) - ), + }, ), - PublishFindingsToCloudDataCatalog=_reflection.GeneratedProtocolMessageType( + "PublishFindingsToCloudDataCatalog": _reflection.GeneratedProtocolMessageType( "PublishFindingsToCloudDataCatalog", (_message.Message,), - dict( - DESCRIPTOR=_ACTION_PUBLISHFINDINGSTOCLOUDDATACATALOG, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Publish findings of a DlpJob to Cloud Data Catalog. Labels + { + "DESCRIPTOR": _ACTION_PUBLISHFINDINGSTOCLOUDDATACATALOG, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the results of the DlpJob will be applied to the entry for the resource scanned in Cloud Data Catalog. Any labels previously written by another DlpJob will be deleted. InfoType naming patterns are @@ -18178,40 +18241,40 @@ """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) - ), + }, ), - JobNotificationEmails=_reflection.GeneratedProtocolMessageType( + "JobNotificationEmails": _reflection.GeneratedProtocolMessageType( "JobNotificationEmails", (_message.Message,), - dict( - DESCRIPTOR=_ACTION_JOBNOTIFICATIONEMAILS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Enable email notification to project owners and editors on - jobs's completion/failure. + { + "DESCRIPTOR": _ACTION_JOBNOTIFICATIONEMAILS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Enable email notification to project owners and editors on + jobs’s completion/failure. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.JobNotificationEmails) - ), + }, ), - PublishToStackdriver=_reflection.GeneratedProtocolMessageType( + "PublishToStackdriver": _reflection.GeneratedProtocolMessageType( "PublishToStackdriver", (_message.Message,), - dict( - DESCRIPTOR=_ACTION_PUBLISHTOSTACKDRIVER, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Enable Stackdriver metric - dlp.googleapis.com/finding\_count. This will publish a metric to stack + { + "DESCRIPTOR": _ACTION_PUBLISHTOSTACKDRIVER, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Enable Stackdriver metric + dlp.googleapis.com/finding_count. This will publish a metric to stack driver on each infotype requested and how many findings were found for - it. CustomDetectors will be bucketed as 'Custom' under the Stackdriver - label 'info\_type'. + it. CustomDetectors will be bucketed as ‘Custom’ under the Stackdriver + label ‘info_type’. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToStackdriver) - ), + }, ), - DESCRIPTOR=_ACTION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A task to execute on the completion of a job. See + "DESCRIPTOR": _ACTION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more. @@ -18226,12 +18289,12 @@ Publish findings to Cloud Datahub. job_notification_emails: Enable email notification for project owners and editors on - job's completion/failure. + job’s completion/failure. publish_to_stackdriver: - Enable Stackdriver metric dlp.googleapis.com/finding\_count. + Enable Stackdriver metric dlp.googleapis.com/finding_count. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action) - ), + }, ) _sym_db.RegisterMessage(Action) _sym_db.RegisterMessage(Action.SaveFindings) @@ -18244,16 +18307,17 @@ CreateInspectTemplateRequest = _reflection.GeneratedProtocolMessageType( "CreateInspectTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATEINSPECTTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for CreateInspectTemplate. + { + "DESCRIPTOR": _CREATEINSPECTTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for CreateInspectTemplate. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id or organizations/my-org-id. + project-id or organizations/my-org-id or projects/my-project- + id/locations/{location-id}. inspect_template: Required. The InspectTemplate to create. template_id: @@ -18262,21 +18326,20 @@ expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. location_id: - The geographic location to store the inspection template. - Reserved for future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateInspectTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(CreateInspectTemplateRequest) UpdateInspectTemplateRequest = _reflection.GeneratedProtocolMessageType( "UpdateInspectTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEINSPECTTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for UpdateInspectTemplate. + { + "DESCRIPTOR": _UPDATEINSPECTTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for UpdateInspectTemplate. Attributes: @@ -18291,17 +18354,17 @@ Mask to control which fields get updated. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateInspectTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateInspectTemplateRequest) GetInspectTemplateRequest = _reflection.GeneratedProtocolMessageType( "GetInspectTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETINSPECTTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for GetInspectTemplate. + { + "DESCRIPTOR": _GETINSPECTTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for GetInspectTemplate. Attributes: @@ -18312,23 +18375,24 @@ projects/project-id/inspectTemplates/432452342. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetInspectTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(GetInspectTemplateRequest) ListInspectTemplatesRequest = _reflection.GeneratedProtocolMessageType( "ListInspectTemplatesRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTINSPECTTEMPLATESREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for ListInspectTemplates. + { + "DESCRIPTOR": _LISTINSPECTTEMPLATESREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for ListInspectTemplates. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id or organizations/my-org-id. + project-id or organizations/my-org-id or projects/my-project- + id/locations/{location_id}. page_token: Page token to continue retrieval. Comes from previous call to ``ListInspectTemplates``. @@ -18343,47 +18407,45 @@ create_time desc`` Supported fields are: - ``create_time``: corresponds to time the template was created. - ``update_time``: corresponds to time the template was last - updated. - ``name``: corresponds to template's name. - - ``display_name``: corresponds to template's display name. + updated. - ``name``: corresponds to template’s name. - + ``display_name``: corresponds to template’s display name. location_id: - The geographic location where inspection templates will be - retrieved from. Use ``-`` for all locations. Reserved for - future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInspectTemplatesRequest) - ), + }, ) _sym_db.RegisterMessage(ListInspectTemplatesRequest) ListInspectTemplatesResponse = _reflection.GeneratedProtocolMessageType( "ListInspectTemplatesResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTINSPECTTEMPLATESRESPONSE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Response message for ListInspectTemplates. + { + "DESCRIPTOR": _LISTINSPECTTEMPLATESRESPONSE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Response message for ListInspectTemplates. Attributes: inspect_templates: - List of inspectTemplates, up to page\_size in + List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. next_page_token: If the next page is available then the next page token to be used in following ListInspectTemplates request. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListInspectTemplatesResponse) - ), + }, ) _sym_db.RegisterMessage(ListInspectTemplatesResponse) DeleteInspectTemplateRequest = _reflection.GeneratedProtocolMessageType( "DeleteInspectTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETEINSPECTTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for DeleteInspectTemplate. + { + "DESCRIPTOR": _DELETEINSPECTTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for DeleteInspectTemplate. Attributes: @@ -18394,23 +18456,23 @@ projects/project-id/inspectTemplates/432452342. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteInspectTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteInspectTemplateRequest) CreateJobTriggerRequest = _reflection.GeneratedProtocolMessageType( "CreateJobTriggerRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATEJOBTRIGGERREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for CreateJobTrigger. + { + "DESCRIPTOR": _CREATEJOBTRIGGERREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for CreateJobTrigger. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id. + project-id or projects/my-project-id/locations/{location_id}. job_trigger: Required. The JobTrigger to create. trigger_id: @@ -18419,21 +18481,20 @@ expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. location_id: - The geographic location to store the job trigger. Reserved for - future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateJobTriggerRequest) - ), + }, ) _sym_db.RegisterMessage(CreateJobTriggerRequest) ActivateJobTriggerRequest = _reflection.GeneratedProtocolMessageType( "ActivateJobTriggerRequest", (_message.Message,), - dict( - DESCRIPTOR=_ACTIVATEJOBTRIGGERREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for ActivateJobTrigger. + { + "DESCRIPTOR": _ACTIVATEJOBTRIGGERREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for ActivateJobTrigger. Attributes: @@ -18442,17 +18503,17 @@ example ``projects/dlp-test-project/jobTriggers/53234423``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ActivateJobTriggerRequest) - ), + }, ) _sym_db.RegisterMessage(ActivateJobTriggerRequest) UpdateJobTriggerRequest = _reflection.GeneratedProtocolMessageType( "UpdateJobTriggerRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEJOBTRIGGERREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for UpdateJobTrigger. + { + "DESCRIPTOR": _UPDATEJOBTRIGGERREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for UpdateJobTrigger. Attributes: @@ -18466,17 +18527,17 @@ Mask to control which fields get updated. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateJobTriggerRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateJobTriggerRequest) GetJobTriggerRequest = _reflection.GeneratedProtocolMessageType( "GetJobTriggerRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETJOBTRIGGERREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for GetJobTrigger. + { + "DESCRIPTOR": _GETJOBTRIGGERREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for GetJobTrigger. Attributes: @@ -18486,17 +18547,17 @@ project/jobTriggers/53234423``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetJobTriggerRequest) - ), + }, ) _sym_db.RegisterMessage(GetJobTriggerRequest) CreateDlpJobRequest = _reflection.GeneratedProtocolMessageType( "CreateDlpJobRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATEDLPJOBREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for CreateDlpJobRequest. Used to initiate + { + "DESCRIPTOR": _CREATEDLPJOBREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage. @@ -18504,7 +18565,7 @@ Attributes: parent: Required. The parent resource name, for example projects/my- - project-id. + project-id or projects/my-project-id/locations/{location_id}. job: The configuration details for the specific type of job to run. inspect_job: @@ -18517,27 +18578,27 @@ expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. location_id: - The geographic location to store and process the job. Reserved - for future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateDlpJobRequest) - ), + }, ) _sym_db.RegisterMessage(CreateDlpJobRequest) ListJobTriggersRequest = _reflection.GeneratedProtocolMessageType( "ListJobTriggersRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTJOBTRIGGERSREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for ListJobTriggers. + { + "DESCRIPTOR": _LISTJOBTRIGGERSREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for ListJobTriggers. Attributes: parent: Required. The parent resource name, for example ``projects/my- - project-id``. + project-id`` or projects/my-project- + id/locations/{location_id}. page_token: Page token to continue retrieval. Comes from previous call to ListJobTriggers. ``order_by`` field must not change for @@ -18554,9 +18615,9 @@ created. - ``update_time``: corresponds to time the JobTrigger was last updated. - ``last_run_time``: corresponds to the last time the JobTrigger ran. - ``name``: corresponds - to JobTrigger's name. - ``display_name``: corresponds to - JobTrigger's display name. - ``status``: corresponds to - JobTrigger's status. + to JobTrigger’s name. - ``display_name``: corresponds to + JobTrigger’s display name. - ``status``: corresponds to + JobTrigger’s status. filter: Allows filtering. Supported syntax: - Filter expressions are made up of one or more restrictions. - Restrictions can @@ -18564,58 +18625,55 @@ sequence of restrictions implicitly uses ``AND``. - A restriction has the form of ``{field} {operator} {value}``. - Supported fields/values for inspect jobs: - ``status`` - - HEALTHY\|PAUSED\|CANCELLED - ``inspected_storage`` - - DATASTORE\|CLOUD\_STORAGE\|BIGQUERY - 'last\_run\_time\` - - RFC 3339 formatted timestamp, surrounded by quotation - marks. Nanoseconds are ignored. - 'error\_count' - Number - of errors that have occurred while running. - The - operator must be ``=`` or ``!=`` for status and - inspected\_storage. Examples: - inspected\_storage = - cloud\_storage AND status = HEALTHY - inspected\_storage = - cloud\_storage OR inspected\_storage = bigquery - - inspected\_storage = cloud\_storage AND (state = PAUSED OR - state = HEALTHY) - last\_run\_time > - "2017-12-12T00:00:00+00:00" The length of this field should - be no more than 500 characters. + HEALTHY|PAUSED|CANCELLED - ``inspected_storage`` - + DATASTORE|CLOUD_STORAGE|BIGQUERY - ’last_run_time\` - RFC + 3339 formatted timestamp, surrounded by quotation marks. + Nanoseconds are ignored. - ‘error_count’ - Number of + errors that have occurred while running. - The operator must + be ``=`` or ``!=`` for status and inspected_storage. + Examples: - inspected_storage = cloud_storage AND status = + HEALTHY - inspected_storage = cloud_storage OR + inspected_storage = bigquery - inspected_storage = + cloud_storage AND (state = PAUSED OR state = HEALTHY) - + last_run_time > "2017-12-12T00:00:00+00:00" The length of + this field should be no more than 500 characters. location_id: - The geographic location where job triggers will be retrieved - from. Use ``-`` for all locations. Reserved for future - extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListJobTriggersRequest) - ), + }, ) _sym_db.RegisterMessage(ListJobTriggersRequest) ListJobTriggersResponse = _reflection.GeneratedProtocolMessageType( "ListJobTriggersResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTJOBTRIGGERSRESPONSE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Response message for ListJobTriggers. + { + "DESCRIPTOR": _LISTJOBTRIGGERSRESPONSE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Response message for ListJobTriggers. Attributes: job_triggers: - List of triggeredJobs, up to page\_size in + List of triggeredJobs, up to page_size in ListJobTriggersRequest. next_page_token: If the next page is available then the next page token to be used in following ListJobTriggers request. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListJobTriggersResponse) - ), + }, ) _sym_db.RegisterMessage(ListJobTriggersResponse) DeleteJobTriggerRequest = _reflection.GeneratedProtocolMessageType( "DeleteJobTriggerRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETEJOBTRIGGERREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for DeleteJobTrigger. + { + "DESCRIPTOR": _DELETEJOBTRIGGERREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for DeleteJobTrigger. Attributes: @@ -18625,17 +18683,17 @@ project/jobTriggers/53234423``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteJobTriggerRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteJobTriggerRequest) InspectJobConfig = _reflection.GeneratedProtocolMessageType( "InspectJobConfig", (_message.Message,), - dict( - DESCRIPTOR=_INSPECTJOBCONFIG, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Controls what and how to inspect for findings. + { + "DESCRIPTOR": _INSPECTJOBCONFIG, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Controls what and how to inspect for findings. Attributes: @@ -18651,17 +18709,17 @@ Actions to execute at the completion of the job. \ """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InspectJobConfig) - ), + }, ) _sym_db.RegisterMessage(InspectJobConfig) DlpJob = _reflection.GeneratedProtocolMessageType( "DlpJob", (_message.Message,), - dict( - DESCRIPTOR=_DLPJOB, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Combines all of the information about a DLP job. + { + "DESCRIPTOR": _DLPJOB, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Combines all of the information about a DLP job. Attributes: @@ -18688,17 +18746,17 @@ A stream of errors encountered running the job. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DlpJob) - ), + }, ) _sym_db.RegisterMessage(DlpJob) GetDlpJobRequest = _reflection.GeneratedProtocolMessageType( "GetDlpJobRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETDLPJOBREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The request message for [DlpJobs.GetDlpJob][]. + { + "DESCRIPTOR": _GETDLPJOBREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The request message for [DlpJobs.GetDlpJob][]. Attributes: @@ -18706,23 +18764,23 @@ Required. The name of the DlpJob resource. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetDlpJobRequest) - ), + }, ) _sym_db.RegisterMessage(GetDlpJobRequest) ListDlpJobsRequest = _reflection.GeneratedProtocolMessageType( "ListDlpJobsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTDLPJOBSREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The request message for listing DLP jobs. + { + "DESCRIPTOR": _LISTDLPJOBSREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The request message for listing DLP jobs. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id. + project-id or projects/my-project-id/locations/{location_id}. filter: Allows filtering. Supported syntax: - Filter expressions are made up of one or more restrictions. - Restrictions can @@ -18730,20 +18788,20 @@ sequence of restrictions implicitly uses ``AND``. - A restriction has the form of ``{field} {operator} {value}``. - Supported fields/values for inspect jobs: - ``state`` - - PENDING\|RUNNING\|CANCELED\|FINISHED\|FAILED - - ``inspected_storage`` - DATASTORE\|CLOUD\_STORAGE\|BIGQUERY - - ``trigger_name`` - The resource name of the trigger that - created job. - 'end\_time\` - Corresponds to time - the job finished. - 'start\_time\` - Corresponds to time - the job finished. - Supported fields for risk analysis jobs: - - ``state`` - RUNNING\|CANCELED\|FINISHED\|FAILED - - 'end\_time\` - Corresponds to time the job finished. - - 'start\_time\` - Corresponds to time the job finished. - The + PENDING|RUNNING|CANCELED|FINISHED|FAILED - + ``inspected_storage`` - DATASTORE|CLOUD_STORAGE|BIGQUERY - + ``trigger_name`` - The resource name of the trigger that + created job. - ’end_time\` - Corresponds to time the + job finished. - ’start_time\` - Corresponds to time the + job finished. - Supported fields for risk analysis jobs: + - ``state`` - RUNNING|CANCELED|FINISHED|FAILED - + ’end_time\` - Corresponds to time the job finished. - + ’start_time\` - Corresponds to time the job finished. - The operator must be ``=`` or ``!=``. Examples: - - inspected\_storage = cloud\_storage AND state = done - - inspected\_storage = cloud\_storage OR inspected\_storage = - bigquery - inspected\_storage = cloud\_storage AND (state = - done OR state = canceled) - end\_time > + inspected_storage = cloud_storage AND state = done - + inspected_storage = cloud_storage OR inspected_storage = + bigquery - inspected_storage = cloud_storage AND (state = + done OR state = canceled) - end_time > "2017-12-12T00:00:00+00:00" The length of this field should be no more than 500 characters. page_size: @@ -18760,23 +18818,22 @@ create_time desc`` Supported fields are: - ``create_time``: corresponds to time the job was created. - ``end_time``: corresponds to time the job ended. - ``name``: corresponds to - job's name. - ``state``: corresponds to ``state`` + job’s name. - ``state``: corresponds to ``state`` location_id: - The geographic location where jobs will be retrieved from. Use - ``-`` for all locations. Reserved for future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDlpJobsRequest) - ), + }, ) _sym_db.RegisterMessage(ListDlpJobsRequest) ListDlpJobsResponse = _reflection.GeneratedProtocolMessageType( "ListDlpJobsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTDLPJOBSRESPONSE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The response message for listing DLP jobs. + { + "DESCRIPTOR": _LISTDLPJOBSRESPONSE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The response message for listing DLP jobs. Attributes: @@ -18787,17 +18844,17 @@ The standard List next-page token. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDlpJobsResponse) - ), + }, ) _sym_db.RegisterMessage(ListDlpJobsResponse) CancelDlpJobRequest = _reflection.GeneratedProtocolMessageType( "CancelDlpJobRequest", (_message.Message,), - dict( - DESCRIPTOR=_CANCELDLPJOBREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The request message for canceling a DLP job. + { + "DESCRIPTOR": _CANCELDLPJOBREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The request message for canceling a DLP job. Attributes: @@ -18805,17 +18862,17 @@ Required. The name of the DlpJob resource to be cancelled. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CancelDlpJobRequest) - ), + }, ) _sym_db.RegisterMessage(CancelDlpJobRequest) FinishDlpJobRequest = _reflection.GeneratedProtocolMessageType( "FinishDlpJobRequest", (_message.Message,), - dict( - DESCRIPTOR=_FINISHDLPJOBREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The request message for finishing a DLP hybrid job. + { + "DESCRIPTOR": _FINISHDLPJOBREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The request message for finishing a DLP hybrid job. Attributes: @@ -18823,17 +18880,17 @@ Required. The name of the DlpJob resource to be cancelled. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FinishDlpJobRequest) - ), + }, ) _sym_db.RegisterMessage(FinishDlpJobRequest) DeleteDlpJobRequest = _reflection.GeneratedProtocolMessageType( "DeleteDlpJobRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETEDLPJOBREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The request message for deleting a DLP job. + { + "DESCRIPTOR": _DELETEDLPJOBREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """The request message for deleting a DLP job. Attributes: @@ -18841,23 +18898,24 @@ Required. The name of the DlpJob resource to be deleted. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteDlpJobRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteDlpJobRequest) CreateDeidentifyTemplateRequest = _reflection.GeneratedProtocolMessageType( "CreateDeidentifyTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATEDEIDENTIFYTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for CreateDeidentifyTemplate. + { + "DESCRIPTOR": _CREATEDEIDENTIFYTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for CreateDeidentifyTemplate. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id or organizations/my-org-id. + project-id or organizations/my-org-id or projects/my-project- + id/locations/{location_id}. deidentify_template: Required. The DeidentifyTemplate to create. template_id: @@ -18866,21 +18924,20 @@ expression: ``[a-zA-Z\\d-_]+``. The maximum length is 100 characters. Can be empty to allow the system to generate one. location_id: - The geographic location to store the deidentification - template. Reserved for future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateDeidentifyTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(CreateDeidentifyTemplateRequest) UpdateDeidentifyTemplateRequest = _reflection.GeneratedProtocolMessageType( "UpdateDeidentifyTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEDEIDENTIFYTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for UpdateDeidentifyTemplate. + { + "DESCRIPTOR": _UPDATEDEIDENTIFYTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for UpdateDeidentifyTemplate. Attributes: @@ -18895,17 +18952,17 @@ Mask to control which fields get updated. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateDeidentifyTemplateRequest) GetDeidentifyTemplateRequest = _reflection.GeneratedProtocolMessageType( "GetDeidentifyTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETDEIDENTIFYTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for GetDeidentifyTemplate. + { + "DESCRIPTOR": _GETDEIDENTIFYTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for GetDeidentifyTemplate. Attributes: @@ -18916,23 +18973,24 @@ projects/project-id/deidentifyTemplates/432452342. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetDeidentifyTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(GetDeidentifyTemplateRequest) ListDeidentifyTemplatesRequest = _reflection.GeneratedProtocolMessageType( "ListDeidentifyTemplatesRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTDEIDENTIFYTEMPLATESREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for ListDeidentifyTemplates. + { + "DESCRIPTOR": _LISTDEIDENTIFYTEMPLATESREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for ListDeidentifyTemplates. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id or organizations/my-org-id. + project-id or organizations/my-org-id or projects/my-project- + id/locations/{location_id}. page_token: Page token to continue retrieval. Comes from previous call to ``ListDeidentifyTemplates``. @@ -18947,47 +19005,45 @@ create_time desc`` Supported fields are: - ``create_time``: corresponds to time the template was created. - ``update_time``: corresponds to time the template was last - updated. - ``name``: corresponds to template's name. - - ``display_name``: corresponds to template's display name. + updated. - ``name``: corresponds to template’s name. - + ``display_name``: corresponds to template’s display name. location_id: - The geographic location where deidentifications templates will - be retrieved from. Use ``-`` for all locations. Reserved for - future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesRequest) - ), + }, ) _sym_db.RegisterMessage(ListDeidentifyTemplatesRequest) ListDeidentifyTemplatesResponse = _reflection.GeneratedProtocolMessageType( "ListDeidentifyTemplatesResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTDEIDENTIFYTEMPLATESRESPONSE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Response message for ListDeidentifyTemplates. + { + "DESCRIPTOR": _LISTDEIDENTIFYTEMPLATESRESPONSE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Response message for ListDeidentifyTemplates. Attributes: deidentify_templates: - List of deidentify templates, up to page\_size in + List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest. next_page_token: If the next page is available then the next page token to be used in following ListDeidentifyTemplates request. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListDeidentifyTemplatesResponse) - ), + }, ) _sym_db.RegisterMessage(ListDeidentifyTemplatesResponse) DeleteDeidentifyTemplateRequest = _reflection.GeneratedProtocolMessageType( "DeleteDeidentifyTemplateRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETEDEIDENTIFYTEMPLATEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for DeleteDeidentifyTemplate. + { + "DESCRIPTOR": _DELETEDEIDENTIFYTEMPLATEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for DeleteDeidentifyTemplate. Attributes: @@ -18998,17 +19054,17 @@ projects/project-id/deidentifyTemplates/432452342. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteDeidentifyTemplateRequest) LargeCustomDictionaryConfig = _reflection.GeneratedProtocolMessageType( "LargeCustomDictionaryConfig", (_message.Message,), - dict( - DESCRIPTOR=_LARGECUSTOMDICTIONARYCONFIG, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Configuration for a custom dictionary created from a data + { + "DESCRIPTOR": _LARGECUSTOMDICTIONARYCONFIG, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the `limits `__ page. The artifacts of dictionary creation are stored in the specified Google Cloud Storage @@ -19030,17 +19086,17 @@ dictionary phrase. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryConfig) - ), + }, ) _sym_db.RegisterMessage(LargeCustomDictionaryConfig) LargeCustomDictionaryStats = _reflection.GeneratedProtocolMessageType( "LargeCustomDictionaryStats", (_message.Message,), - dict( - DESCRIPTOR=_LARGECUSTOMDICTIONARYSTATS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Summary statistics of a custom dictionary. + { + "DESCRIPTOR": _LARGECUSTOMDICTIONARYSTATS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Summary statistics of a custom dictionary. Attributes: @@ -19048,17 +19104,17 @@ Approximate number of distinct phrases in the dictionary. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.LargeCustomDictionaryStats) - ), + }, ) _sym_db.RegisterMessage(LargeCustomDictionaryStats) StoredInfoTypeConfig = _reflection.GeneratedProtocolMessageType( "StoredInfoTypeConfig", (_message.Message,), - dict( - DESCRIPTOR=_STOREDINFOTYPECONFIG, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Configuration for stored infoTypes. All fields and + { + "DESCRIPTOR": _STOREDINFOTYPECONFIG, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https://cloud.google.com/dlp/docs/creating-custom-infotypes. @@ -19079,17 +19135,17 @@ Store regular expression-based StoredInfoType. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeConfig) - ), + }, ) _sym_db.RegisterMessage(StoredInfoTypeConfig) StoredInfoTypeStats = _reflection.GeneratedProtocolMessageType( "StoredInfoTypeStats", (_message.Message,), - dict( - DESCRIPTOR=_STOREDINFOTYPESTATS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Statistics for a StoredInfoType. + { + "DESCRIPTOR": _STOREDINFOTYPESTATS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Statistics for a StoredInfoType. Attributes: @@ -19100,17 +19156,17 @@ phrases. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeStats) - ), + }, ) _sym_db.RegisterMessage(StoredInfoTypeStats) StoredInfoTypeVersion = _reflection.GeneratedProtocolMessageType( "StoredInfoTypeVersion", (_message.Message,), - dict( - DESCRIPTOR=_STOREDINFOTYPEVERSION, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Version of a StoredInfoType, including the configuration + { + "DESCRIPTOR": _STOREDINFOTYPEVERSION, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state. @@ -19129,7 +19185,7 @@ render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is - put in the user's Google Cloud Storage bucket, and if this + put in the user’s Google Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the @@ -19140,17 +19196,17 @@ Statistics about this storedInfoType version. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoTypeVersion) - ), + }, ) _sym_db.RegisterMessage(StoredInfoTypeVersion) StoredInfoType = _reflection.GeneratedProtocolMessageType( "StoredInfoType", (_message.Message,), - dict( - DESCRIPTOR=_STOREDINFOTYPE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""StoredInfoType resource message that contains information + { + "DESCRIPTOR": _STOREDINFOTYPE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """StoredInfoType resource message that contains information about the current version and any pending updates. @@ -19164,23 +19220,24 @@ are pending. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredInfoType) - ), + }, ) _sym_db.RegisterMessage(StoredInfoType) CreateStoredInfoTypeRequest = _reflection.GeneratedProtocolMessageType( "CreateStoredInfoTypeRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATESTOREDINFOTYPEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for CreateStoredInfoType. + { + "DESCRIPTOR": _CREATESTOREDINFOTYPEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for CreateStoredInfoType. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id or organizations/my-org-id. + project-id or organizations/my-org-id or projects/my-project- + id/locations/{location_id} config: Required. Configuration of the storedInfoType to create. stored_info_type_id: @@ -19190,21 +19247,20 @@ 100 characters. Can be empty to allow the system to generate one. location_id: - The geographic location to store the stored infoType. Reserved - for future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CreateStoredInfoTypeRequest) - ), + }, ) _sym_db.RegisterMessage(CreateStoredInfoTypeRequest) UpdateStoredInfoTypeRequest = _reflection.GeneratedProtocolMessageType( "UpdateStoredInfoTypeRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESTOREDINFOTYPEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for UpdateStoredInfoType. + { + "DESCRIPTOR": _UPDATESTOREDINFOTYPEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for UpdateStoredInfoType. Attributes: @@ -19221,17 +19277,17 @@ Mask to control which fields get updated. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.UpdateStoredInfoTypeRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateStoredInfoTypeRequest) GetStoredInfoTypeRequest = _reflection.GeneratedProtocolMessageType( "GetStoredInfoTypeRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETSTOREDINFOTYPEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for GetStoredInfoType. + { + "DESCRIPTOR": _GETSTOREDINFOTYPEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for GetStoredInfoType. Attributes: @@ -19242,23 +19298,24 @@ projects/project-id/storedInfoTypes/432452342. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.GetStoredInfoTypeRequest) - ), + }, ) _sym_db.RegisterMessage(GetStoredInfoTypeRequest) ListStoredInfoTypesRequest = _reflection.GeneratedProtocolMessageType( "ListStoredInfoTypesRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTSTOREDINFOTYPESREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for ListStoredInfoTypes. + { + "DESCRIPTOR": _LISTSTOREDINFOTYPESREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for ListStoredInfoTypes. Attributes: parent: Required. The parent resource name, for example projects/my- - project-id or organizations/my-org-id. + project-id or organizations/my-org-id or projects/my-project- + id/locations/{location_id}. page_token: Page token to continue retrieval. Comes from previous call to ``ListStoredInfoTypes``. @@ -19274,46 +19331,44 @@ corresponds to time the most recent version of the resource was created. - ``state``: corresponds to the state of the resource. - ``name``: corresponds to resource name. - - ``display_name``: corresponds to info type's display name. + ``display_name``: corresponds to info type’s display name. location_id: - The geographic location where stored infoTypes will be - retrieved from. Use ``-`` for all locations. Reserved for - future extensions. + Deprecated. This field has no effect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListStoredInfoTypesRequest) - ), + }, ) _sym_db.RegisterMessage(ListStoredInfoTypesRequest) ListStoredInfoTypesResponse = _reflection.GeneratedProtocolMessageType( "ListStoredInfoTypesResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTSTOREDINFOTYPESRESPONSE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Response message for ListStoredInfoTypes. + { + "DESCRIPTOR": _LISTSTOREDINFOTYPESRESPONSE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Response message for ListStoredInfoTypes. Attributes: stored_info_types: - List of storedInfoTypes, up to page\_size in + List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest. next_page_token: If the next page is available then the next page token to be used in following ListStoredInfoTypes request. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ListStoredInfoTypesResponse) - ), + }, ) _sym_db.RegisterMessage(ListStoredInfoTypesResponse) DeleteStoredInfoTypeRequest = _reflection.GeneratedProtocolMessageType( "DeleteStoredInfoTypeRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETESTOREDINFOTYPEREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request message for DeleteStoredInfoType. + { + "DESCRIPTOR": _DELETESTOREDINFOTYPEREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request message for DeleteStoredInfoType. Attributes: @@ -19324,17 +19379,17 @@ projects/project-id/storedInfoTypes/432452342. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DeleteStoredInfoTypeRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteStoredInfoTypeRequest) HybridInspectJobTriggerRequest = _reflection.GeneratedProtocolMessageType( "HybridInspectJobTriggerRequest", (_message.Message,), - dict( - DESCRIPTOR=_HYBRIDINSPECTJOBTRIGGERREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request to search for potentially sensitive info in a + { + "DESCRIPTOR": _HYBRIDINSPECTJOBTRIGGERREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request to search for potentially sensitive info in a custom location. @@ -19347,17 +19402,17 @@ The item to inspect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectJobTriggerRequest) - ), + }, ) _sym_db.RegisterMessage(HybridInspectJobTriggerRequest) HybridInspectDlpJobRequest = _reflection.GeneratedProtocolMessageType( "HybridInspectDlpJobRequest", (_message.Message,), - dict( - DESCRIPTOR=_HYBRIDINSPECTDLPJOBREQUEST, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request to search for potentially sensitive info in a + { + "DESCRIPTOR": _HYBRIDINSPECTDLPJOBREQUEST, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Request to search for potentially sensitive info in a custom location. @@ -19369,17 +19424,17 @@ The item to inspect. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectDlpJobRequest) - ), + }, ) _sym_db.RegisterMessage(HybridInspectDlpJobRequest) HybridContentItem = _reflection.GeneratedProtocolMessageType( "HybridContentItem", (_message.Message,), - dict( - DESCRIPTOR=_HYBRIDCONTENTITEM, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""An individual hybrid item to inspect. Will be stored + { + "DESCRIPTOR": _HYBRIDCONTENTITEM, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """An individual hybrid item to inspect. Will be stored temporarily during processing. @@ -19390,26 +19445,26 @@ Supplementary information that will be added to each finding. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridContentItem) - ), + }, ) _sym_db.RegisterMessage(HybridContentItem) HybridFindingDetails = _reflection.GeneratedProtocolMessageType( "HybridFindingDetails", (_message.Message,), - dict( - LabelsEntry=_reflection.GeneratedProtocolMessageType( + { + "LabelsEntry": _reflection.GeneratedProtocolMessageType( "LabelsEntry", (_message.Message,), - dict( - DESCRIPTOR=_HYBRIDFINDINGDETAILS_LABELSENTRY, - __module__="google.cloud.dlp_v2.proto.dlp_pb2" + { + "DESCRIPTOR": _HYBRIDFINDINGDETAILS_LABELSENTRY, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2" # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridFindingDetails.LabelsEntry) - ), + }, ), - DESCRIPTOR=_HYBRIDFINDINGDETAILS, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Populate to associate additional data with each finding. + "DESCRIPTOR": _HYBRIDFINDINGDETAILS, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Populate to associate additional data with each finding. Attributes: @@ -19431,23 +19486,23 @@ findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that - identifying\_fields will only be stored to BigQuery, and only + identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included. labels: Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may - be required. The labels associated with ``Finding``'s produced - by hybrid inspection. Label keys must be between 1 and 63 - characters long and must conform to the following regular - expression: [a-z]([-a-z0-9]\*[a-z0-9])?. Label values must be - between 0 and 63 characters long and must conform to the - regular expression ([a-z]([-a-z0-9]\*[a-z0-9])?)?. No more - than 10 labels can be associated with a given finding. - Example: "environment" : "production" Example: "pipeline" : - "etl" + be required. The labels associated with ``Finding``\ ’s + produced by hybrid inspection. Label keys must be between 1 + and 63 characters long and must conform to the following + regular expression: ``[a-z]([-a-z0-9]*[a-z0-9])?``. Label + values must be between 0 and 63 characters long and must + conform to the regular expression + ``([a-z]([-a-z0-9]*[a-z0-9])?)?``. No more than 10 labels can + be associated with a given finding. Examples: \* + ``"environment" : "production"`` \* ``"pipeline" : "etl"`` """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridFindingDetails) - ), + }, ) _sym_db.RegisterMessage(HybridFindingDetails) _sym_db.RegisterMessage(HybridFindingDetails.LabelsEntry) @@ -19455,15 +19510,15 @@ HybridInspectResponse = _reflection.GeneratedProtocolMessageType( "HybridInspectResponse", (_message.Message,), - dict( - DESCRIPTOR=_HYBRIDINSPECTRESPONSE, - __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Quota exceeded errors will be thrown once quota has been + { + "DESCRIPTOR": _HYBRIDINSPECTRESPONSE, + "__module__": "google.cloud.dlp_v2.proto.dlp_pb2", + "__doc__": """Quota exceeded errors will be thrown once quota has been met. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridInspectResponse) - ), + }, ) _sym_db.RegisterMessage(HybridInspectResponse) @@ -19567,11 +19622,9 @@ full_name="google.privacy.dlp.v2.DlpService", file=DESCRIPTOR, index=0, - serialized_options=_b( - "\312A\022dlp.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" - ), - serialized_start=32763, - serialized_end=42626, + serialized_options=b"\312A\022dlp.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform", + serialized_start=33110, + serialized_end=42521, methods=[ _descriptor.MethodDescriptor( name="InspectContent", @@ -19580,9 +19633,7 @@ containing_service=None, input_type=_INSPECTCONTENTREQUEST, output_type=_INSPECTCONTENTRESPONSE, - serialized_options=_b( - '\202\323\344\223\002r"\'/v2/{parent=projects/*}/content:inspect:\001*ZD"?/v2/{parent=projects/*}/locations/{location_id}/content:inspect:\001*' - ), + serialized_options=b'\202\323\344\223\002f"\'/v2/{parent=projects/*}/content:inspect:\001*Z8"3/v2/{parent=projects/*/locations/*}/content:inspect:\001*', ), _descriptor.MethodDescriptor( name="RedactImage", @@ -19591,9 +19642,7 @@ containing_service=None, input_type=_REDACTIMAGEREQUEST, output_type=_REDACTIMAGERESPONSE, - serialized_options=_b( - '\202\323\344\223\002l"$/v2/{parent=projects/*}/image:redact:\001*ZA""9/v2/{parent=organizations/*/locations/*}/inspectTemplates:\001*Z-"(/v2/{parent=projects/*}/inspectTemplates:\001*Z9"4/v2/{parent=projects/*/locations/*}/inspectTemplates:\001*\332A\027parent,inspect_template', ), _descriptor.MethodDescriptor( name="UpdateInspectTemplate", @@ -19646,9 +19687,7 @@ containing_service=None, input_type=_UPDATEINSPECTTEMPLATEREQUEST, output_type=_INSPECTTEMPLATE, - serialized_options=_b( - "\202\323\344\223\002\334\0012-/v2/{name=organizations/*/inspectTemplates/*}:\001*Z>29/v2/{name=organizations/*/locations/*/inspectTemplates/*}:\001*Z-2(/v2/{name=projects/*/inspectTemplates/*}:\001*Z924/v2/{name=projects/*/locations/*/inspectTemplates/*}:\001*\332A!name,inspect_template,update_mask" - ), + serialized_options=b"\202\323\344\223\002\334\0012-/v2/{name=organizations/*/inspectTemplates/*}:\001*Z>29/v2/{name=organizations/*/locations/*/inspectTemplates/*}:\001*Z-2(/v2/{name=projects/*/inspectTemplates/*}:\001*Z924/v2/{name=projects/*/locations/*/inspectTemplates/*}:\001*\332A!name,inspect_template,update_mask", ), _descriptor.MethodDescriptor( name="GetInspectTemplate", @@ -19657,9 +19696,7 @@ containing_service=None, input_type=_GETINSPECTTEMPLATEREQUEST, output_type=_INSPECTTEMPLATE, - serialized_options=_b( - "\202\323\344\223\002\320\001\022-/v2/{name=organizations/*/inspectTemplates/*}Z;\0229/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z*\022(/v2/{name=projects/*/inspectTemplates/*}Z6\0224/v2/{name=projects/*/locations/*/inspectTemplates/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\002\320\001\022-/v2/{name=organizations/*/inspectTemplates/*}Z;\0229/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z*\022(/v2/{name=projects/*/inspectTemplates/*}Z6\0224/v2/{name=projects/*/locations/*/inspectTemplates/*}\332A\004name", ), _descriptor.MethodDescriptor( name="ListInspectTemplates", @@ -19668,9 +19705,7 @@ containing_service=None, input_type=_LISTINSPECTTEMPLATESREQUEST, output_type=_LISTINSPECTTEMPLATESRESPONSE, - serialized_options=_b( - "\202\323\344\223\002\350\001\022-/v2/{parent=organizations/*}/inspectTemplatesZG\022E/v2/{parent=organizations/*}/locations/{location_id}/inspectTemplatesZ*\022(/v2/{parent=projects/*}/inspectTemplatesZB\022@/v2/{parent=projects/*}/locations/{location_id}/inspectTemplates\332A\006parent" - ), + serialized_options=b"\202\323\344\223\002\320\001\022-/v2/{parent=organizations/*}/inspectTemplatesZ;\0229/v2/{parent=organizations/*/locations/*}/inspectTemplatesZ*\022(/v2/{parent=projects/*}/inspectTemplatesZ6\0224/v2/{parent=projects/*/locations/*}/inspectTemplates\332A\006parent", ), _descriptor.MethodDescriptor( name="DeleteInspectTemplate", @@ -19679,9 +19714,7 @@ containing_service=None, input_type=_DELETEINSPECTTEMPLATEREQUEST, output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, - serialized_options=_b( - "\202\323\344\223\002\320\001*-/v2/{name=organizations/*/inspectTemplates/*}Z;*9/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z**(/v2/{name=projects/*/inspectTemplates/*}Z6*4/v2/{name=projects/*/locations/*/inspectTemplates/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\002\320\001*-/v2/{name=organizations/*/inspectTemplates/*}Z;*9/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z**(/v2/{name=projects/*/inspectTemplates/*}Z6*4/v2/{name=projects/*/locations/*/inspectTemplates/*}\332A\004name", ), _descriptor.MethodDescriptor( name="CreateDeidentifyTemplate", @@ -19690,9 +19723,7 @@ containing_service=None, input_type=_CREATEDEIDENTIFYTEMPLATEREQUEST, output_type=_DEIDENTIFYTEMPLATE, - serialized_options=_b( - '\202\323\344\223\002\200\002"0/v2/{parent=organizations/*}/deidentifyTemplates:\001*ZM"H/v2/{parent=organizations/*}/locations/{location_id}/deidentifyTemplates:\001*Z0"+/v2/{parent=projects/*}/deidentifyTemplates:\001*ZH"C/v2/{parent=projects/*}/locations/{location_id}/deidentifyTemplates:\001*\332A\032parent,deidentify_template\332A&parent,deidentify_template,location_id' - ), + serialized_options=b'\202\323\344\223\002\350\001"0/v2/{parent=organizations/*}/deidentifyTemplates:\001*ZA"\022\022\022**"9/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect:\001*\332A\004name' - ), + serialized_options=b'\202\323\344\223\002>"9/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect:\001*\332A\004name', ), _descriptor.MethodDescriptor( name="FinishDlpJob", @@ -19943,9 +19930,7 @@ containing_service=None, input_type=_FINISHDLPJOBREQUEST, output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, - serialized_options=_b( - '\202\323\344\223\0027"2/v2/{name=projects/*/locations/*/dlpJobs/*}:finish:\001*' - ), + serialized_options=b'\202\323\344\223\0027"2/v2/{name=projects/*/locations/*/dlpJobs/*}:finish:\001*', ), ], ) diff --git a/google/cloud/dlp_v2/proto/dlp_pb2_grpc.py b/google/cloud/dlp_v2/proto/dlp_pb2_grpc.py index e3745a88..81a2aed5 100644 --- a/google/cloud/dlp_v2/proto/dlp_pb2_grpc.py +++ b/google/cloud/dlp_v2/proto/dlp_pb2_grpc.py @@ -2,7 +2,7 @@ import grpc from google.cloud.dlp_v2.proto import ( - dlp_pb2 as google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2, + dlp_pb2 as google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2, ) from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -27,172 +27,172 @@ def __init__(self, channel): """ self.InspectContent = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/InspectContent", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentResponse.FromString, ) self.RedactImage = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/RedactImage", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageResponse.FromString, ) self.DeidentifyContent = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/DeidentifyContent", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentResponse.FromString, ) self.ReidentifyContent = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ReidentifyContent", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentResponse.FromString, ) self.ListInfoTypes = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ListInfoTypes", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesResponse.FromString, ) self.CreateInspectTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/CreateInspectTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateInspectTemplateRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateInspectTemplateRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.FromString, ) self.UpdateInspectTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/UpdateInspectTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateInspectTemplateRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateInspectTemplateRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.FromString, ) self.GetInspectTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/GetInspectTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetInspectTemplateRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetInspectTemplateRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.FromString, ) self.ListInspectTemplates = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ListInspectTemplates", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesResponse.FromString, ) self.DeleteInspectTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/DeleteInspectTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteInspectTemplateRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteInspectTemplateRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.CreateDeidentifyTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/CreateDeidentifyTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDeidentifyTemplateRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDeidentifyTemplateRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.FromString, ) self.UpdateDeidentifyTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/UpdateDeidentifyTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateDeidentifyTemplateRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateDeidentifyTemplateRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.FromString, ) self.GetDeidentifyTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/GetDeidentifyTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDeidentifyTemplateRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDeidentifyTemplateRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.FromString, ) self.ListDeidentifyTemplates = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ListDeidentifyTemplates", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesResponse.FromString, ) self.DeleteDeidentifyTemplate = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/DeleteDeidentifyTemplate", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDeidentifyTemplateRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDeidentifyTemplateRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.CreateJobTrigger = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/CreateJobTrigger", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateJobTriggerRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateJobTriggerRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.FromString, ) self.UpdateJobTrigger = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/UpdateJobTrigger", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateJobTriggerRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateJobTriggerRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.FromString, ) self.HybridInspectJobTrigger = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/HybridInspectJobTrigger", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectJobTriggerRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectJobTriggerRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.FromString, ) self.GetJobTrigger = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/GetJobTrigger", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetJobTriggerRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetJobTriggerRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.FromString, ) self.ListJobTriggers = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ListJobTriggers", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersResponse.FromString, ) self.DeleteJobTrigger = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/DeleteJobTrigger", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteJobTriggerRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteJobTriggerRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.ActivateJobTrigger = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ActivateJobTrigger", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ActivateJobTriggerRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ActivateJobTriggerRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.FromString, ) self.CreateDlpJob = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/CreateDlpJob", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDlpJobRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDlpJobRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.FromString, ) self.ListDlpJobs = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ListDlpJobs", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsResponse.FromString, ) self.GetDlpJob = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/GetDlpJob", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDlpJobRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDlpJobRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.FromString, ) self.DeleteDlpJob = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/DeleteDlpJob", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDlpJobRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDlpJobRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.CancelDlpJob = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/CancelDlpJob", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CancelDlpJobRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CancelDlpJobRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.CreateStoredInfoType = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/CreateStoredInfoType", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateStoredInfoTypeRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateStoredInfoTypeRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.FromString, ) self.UpdateStoredInfoType = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/UpdateStoredInfoType", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateStoredInfoTypeRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateStoredInfoTypeRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.FromString, ) self.GetStoredInfoType = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/GetStoredInfoType", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetStoredInfoTypeRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetStoredInfoTypeRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.FromString, ) self.ListStoredInfoTypes = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/ListStoredInfoTypes", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesResponse.FromString, ) self.DeleteStoredInfoType = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/DeleteStoredInfoType", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteStoredInfoTypeRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteStoredInfoTypeRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.HybridInspectDlpJob = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/HybridInspectDlpJob", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectDlpJobRequest.SerializeToString, - response_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.FromString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectDlpJobRequest.SerializeToString, + response_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.FromString, ) self.FinishDlpJob = channel.unary_unary( "/google.privacy.dlp.v2.DlpService/FinishDlpJob", - request_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.FinishDlpJobRequest.SerializeToString, + request_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.FinishDlpJobRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) @@ -546,172 +546,172 @@ def add_DlpServiceServicer_to_server(servicer, server): rpc_method_handlers = { "InspectContent": grpc.unary_unary_rpc_method_handler( servicer.InspectContent, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectContentResponse.SerializeToString, ), "RedactImage": grpc.unary_unary_rpc_method_handler( servicer.RedactImage, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.RedactImageResponse.SerializeToString, ), "DeidentifyContent": grpc.unary_unary_rpc_method_handler( servicer.DeidentifyContent, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyContentResponse.SerializeToString, ), "ReidentifyContent": grpc.unary_unary_rpc_method_handler( servicer.ReidentifyContent, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ReidentifyContentResponse.SerializeToString, ), "ListInfoTypes": grpc.unary_unary_rpc_method_handler( servicer.ListInfoTypes, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInfoTypesResponse.SerializeToString, ), "CreateInspectTemplate": grpc.unary_unary_rpc_method_handler( servicer.CreateInspectTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateInspectTemplateRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateInspectTemplateRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.SerializeToString, ), "UpdateInspectTemplate": grpc.unary_unary_rpc_method_handler( servicer.UpdateInspectTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateInspectTemplateRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateInspectTemplateRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.SerializeToString, ), "GetInspectTemplate": grpc.unary_unary_rpc_method_handler( servicer.GetInspectTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetInspectTemplateRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetInspectTemplateRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.InspectTemplate.SerializeToString, ), "ListInspectTemplates": grpc.unary_unary_rpc_method_handler( servicer.ListInspectTemplates, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListInspectTemplatesResponse.SerializeToString, ), "DeleteInspectTemplate": grpc.unary_unary_rpc_method_handler( servicer.DeleteInspectTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteInspectTemplateRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteInspectTemplateRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), "CreateDeidentifyTemplate": grpc.unary_unary_rpc_method_handler( servicer.CreateDeidentifyTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDeidentifyTemplateRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDeidentifyTemplateRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.SerializeToString, ), "UpdateDeidentifyTemplate": grpc.unary_unary_rpc_method_handler( servicer.UpdateDeidentifyTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateDeidentifyTemplateRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateDeidentifyTemplateRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.SerializeToString, ), "GetDeidentifyTemplate": grpc.unary_unary_rpc_method_handler( servicer.GetDeidentifyTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDeidentifyTemplateRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDeidentifyTemplateRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeidentifyTemplate.SerializeToString, ), "ListDeidentifyTemplates": grpc.unary_unary_rpc_method_handler( servicer.ListDeidentifyTemplates, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDeidentifyTemplatesResponse.SerializeToString, ), "DeleteDeidentifyTemplate": grpc.unary_unary_rpc_method_handler( servicer.DeleteDeidentifyTemplate, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDeidentifyTemplateRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDeidentifyTemplateRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), "CreateJobTrigger": grpc.unary_unary_rpc_method_handler( servicer.CreateJobTrigger, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateJobTriggerRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateJobTriggerRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.SerializeToString, ), "UpdateJobTrigger": grpc.unary_unary_rpc_method_handler( servicer.UpdateJobTrigger, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateJobTriggerRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateJobTriggerRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.SerializeToString, ), "HybridInspectJobTrigger": grpc.unary_unary_rpc_method_handler( servicer.HybridInspectJobTrigger, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectJobTriggerRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectJobTriggerRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.SerializeToString, ), "GetJobTrigger": grpc.unary_unary_rpc_method_handler( servicer.GetJobTrigger, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetJobTriggerRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetJobTriggerRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.JobTrigger.SerializeToString, ), "ListJobTriggers": grpc.unary_unary_rpc_method_handler( servicer.ListJobTriggers, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListJobTriggersResponse.SerializeToString, ), "DeleteJobTrigger": grpc.unary_unary_rpc_method_handler( servicer.DeleteJobTrigger, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteJobTriggerRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteJobTriggerRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), "ActivateJobTrigger": grpc.unary_unary_rpc_method_handler( servicer.ActivateJobTrigger, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ActivateJobTriggerRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ActivateJobTriggerRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.SerializeToString, ), "CreateDlpJob": grpc.unary_unary_rpc_method_handler( servicer.CreateDlpJob, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDlpJobRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateDlpJobRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.SerializeToString, ), "ListDlpJobs": grpc.unary_unary_rpc_method_handler( servicer.ListDlpJobs, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListDlpJobsResponse.SerializeToString, ), "GetDlpJob": grpc.unary_unary_rpc_method_handler( servicer.GetDlpJob, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDlpJobRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetDlpJobRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DlpJob.SerializeToString, ), "DeleteDlpJob": grpc.unary_unary_rpc_method_handler( servicer.DeleteDlpJob, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDlpJobRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteDlpJobRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), "CancelDlpJob": grpc.unary_unary_rpc_method_handler( servicer.CancelDlpJob, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CancelDlpJobRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CancelDlpJobRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), "CreateStoredInfoType": grpc.unary_unary_rpc_method_handler( servicer.CreateStoredInfoType, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateStoredInfoTypeRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.CreateStoredInfoTypeRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.SerializeToString, ), "UpdateStoredInfoType": grpc.unary_unary_rpc_method_handler( servicer.UpdateStoredInfoType, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateStoredInfoTypeRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.UpdateStoredInfoTypeRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.SerializeToString, ), "GetStoredInfoType": grpc.unary_unary_rpc_method_handler( servicer.GetStoredInfoType, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetStoredInfoTypeRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.GetStoredInfoTypeRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.StoredInfoType.SerializeToString, ), "ListStoredInfoTypes": grpc.unary_unary_rpc_method_handler( servicer.ListStoredInfoTypes, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.ListStoredInfoTypesResponse.SerializeToString, ), "DeleteStoredInfoType": grpc.unary_unary_rpc_method_handler( servicer.DeleteStoredInfoType, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteStoredInfoTypeRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.DeleteStoredInfoTypeRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), "HybridInspectDlpJob": grpc.unary_unary_rpc_method_handler( servicer.HybridInspectDlpJob, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectDlpJobRequest.FromString, - response_serializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.SerializeToString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectDlpJobRequest.FromString, + response_serializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.HybridInspectResponse.SerializeToString, ), "FinishDlpJob": grpc.unary_unary_rpc_method_handler( servicer.FinishDlpJob, - request_deserializer=google_dot_cloud_dot_privacy_dot_dlp__v2_dot_proto_dot_dlp__pb2.FinishDlpJobRequest.FromString, + request_deserializer=google_dot_cloud_dot_dlp__v2_dot_proto_dot_dlp__pb2.FinishDlpJobRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), } diff --git a/google/cloud/dlp_v2/proto/storage.proto b/google/cloud/dlp_v2/proto/storage.proto index 585d777d..9408d6de 100644 --- a/google/cloud/dlp_v2/proto/storage.proto +++ b/google/cloud/dlp_v2/proto/storage.proto @@ -25,6 +25,7 @@ option java_multiple_files = true; option java_outer_classname = "DlpStorage"; option java_package = "com.google.privacy.dlp.v2"; option php_namespace = "Google\\Cloud\\Dlp\\V2"; +option ruby_package = "Google::Cloud::Dlp::V2"; // Type of information detected by the API. message InfoType { @@ -32,7 +33,7 @@ message InfoType { // creating a CustomInfoType, or one of the names listed // at https://cloud.google.com/dlp/docs/infotypes-reference when specifying // a built-in type. InfoType names should conform to the pattern - // [a-zA-Z0-9_]{1,64}. + // `[a-zA-Z0-9_]{1,64}`. string name = 1; } @@ -133,7 +134,9 @@ message CustomInfoType { // output. This should be used in conjunction with a field on the // transformation such as `surrogate_info_type`. This CustomInfoType does // not support the use of `detection_rules`. - message SurrogateType {} + message SurrogateType { + + } // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a // `CustomInfoType` to alter behavior under certain circumstances, depending @@ -390,6 +393,9 @@ message CloudStorageOptions { // If empty, all files are scanned and available data format processors // are applied. In addition, the binary content of the selected files // is always scanned as well. + // Images are scanned only as binary if the specified region + // does not support image inspection and no file_types were specified. + // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. repeated FileType file_types = 5; SampleMethod sample_method = 6; @@ -533,8 +539,17 @@ enum FileType { // Included file extensions: // bmp, gif, jpg, jpeg, jpe, png. // bytes_limit_per_file has no effect on image files. + // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. IMAGE = 3; + // Included file extensions: + // docx, dotx, docm, dotm + WORD = 5; + + // Included file extensions: + // pdf + PDF = 6; + // Included file extensions: // avro AVRO = 7; @@ -552,7 +567,7 @@ message HybridOptions { // these will be rejected. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // No more than 10 keys can be required. repeated string required_finding_label_keys = 2; @@ -560,15 +575,16 @@ message HybridOptions { // To organize findings, these labels will be added to each finding. // // Label keys must be between 1 and 63 characters long and must conform - // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + // to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`. // // Label values must be between 0 and 63 characters long and must conform - // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + // to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. // // No more than 10 labels can be associated with a given finding. // - // Example: "environment" : "production" - // Example: "pipeline" : "etl" + // Examples: + // * `"environment" : "production"` + // * `"pipeline" : "etl"` map labels = 3; // If the container is a table, additional information to make findings diff --git a/google/cloud/dlp_v2/proto/storage_pb2.py b/google/cloud/dlp_v2/proto/storage_pb2.py index d0cc5202..8cff0e79 100644 --- a/google/cloud/dlp_v2/proto/storage_pb2.py +++ b/google/cloud/dlp_v2/proto/storage_pb2.py @@ -1,10 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/cloud/privacy/dlp_v2/proto/storage.proto +# source: google/cloud/dlp_v2/proto/storage.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message @@ -21,15 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name="google/cloud/privacy/dlp_v2/proto/storage.proto", + name="google/cloud/dlp_v2/proto/storage.proto", package="google.privacy.dlp.v2", syntax="proto3", - serialized_options=_b( - "\n\031com.google.privacy.dlp.v2B\nDlpStorageP\001Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2" - ), - serialized_pb=_b( - '\n/google/cloud/privacy/dlp_v2/proto/storage.proto\x12\x15google.privacy.dlp.v2\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x18\n\x08InfoType\x12\x0c\n\x04name\x18\x01 \x01(\t"K\n\nStoredType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc8\x0b\n\x0e\x43ustomInfoType\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x35\n\nlikelihood\x18\x06 \x01(\x0e\x32!.google.privacy.dlp.v2.Likelihood\x12\x46\n\ndictionary\x18\x02 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\n\x05regex\x18\x03 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12M\n\x0esurrogate_type\x18\x04 \x01(\x0b\x32\x33.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeH\x00\x12\x38\n\x0bstored_type\x18\x05 \x01(\x0b\x32!.google.privacy.dlp.v2.StoredTypeH\x00\x12L\n\x0f\x64\x65tection_rules\x18\x07 \x03(\x0b\x32\x33.google.privacy.dlp.v2.CustomInfoType.DetectionRule\x12K\n\x0e\x65xclusion_type\x18\x08 \x01(\x0e\x32\x33.google.privacy.dlp.v2.CustomInfoType.ExclusionType\x1a\xc8\x01\n\nDictionary\x12N\n\tword_list\x18\x01 \x01(\x0b\x32\x39.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListH\x00\x12\x45\n\x12\x63loud_storage_path\x18\x03 \x01(\x0b\x32\'.google.privacy.dlp.v2.CloudStoragePathH\x00\x1a\x19\n\x08WordList\x12\r\n\x05words\x18\x01 \x03(\tB\x08\n\x06source\x1a/\n\x05Regex\x12\x0f\n\x07pattern\x18\x01 \x01(\t\x12\x15\n\rgroup_indexes\x18\x02 \x03(\x05\x1a\x0f\n\rSurrogateType\x1a\xbe\x04\n\rDetectionRule\x12W\n\x0chotword_rule\x18\x01 \x01(\x0b\x32?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x1a\x38\n\tProximity\x12\x15\n\rwindow_before\x18\x01 \x01(\x05\x12\x14\n\x0cwindow_after\x18\x02 \x01(\x05\x1a\x82\x01\n\x14LikelihoodAdjustment\x12=\n\x10\x66ixed_likelihood\x18\x01 \x01(\x0e\x32!.google.privacy.dlp.v2.LikelihoodH\x00\x12\x1d\n\x13relative_likelihood\x18\x02 \x01(\x05H\x00\x42\x0c\n\nadjustment\x1a\x8c\x02\n\x0bHotwordRule\x12\x42\n\rhotword_regex\x18\x01 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.Regex\x12P\n\tproximity\x18\x02 \x01(\x0b\x32=.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity\x12g\n\x15likelihood_adjustment\x18\x03 \x01(\x0b\x32H.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentB\x06\n\x04type"K\n\rExclusionType\x12\x1e\n\x1a\x45XCLUSION_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x45XCLUSION_TYPE_EXCLUDE\x10\x01\x42\x06\n\x04type"\x17\n\x07\x46ieldId\x12\x0c\n\x04name\x18\x01 \x01(\t"7\n\x0bPartitionId\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t"\x1e\n\x0eKindExpression\x12\x0c\n\x04name\x18\x01 \x01(\t"\x81\x01\n\x10\x44\x61tastoreOptions\x12\x38\n\x0cpartition_id\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.PartitionId\x12\x33\n\x04kind\x18\x02 \x01(\x0b\x32%.google.privacy.dlp.v2.KindExpression"]\n\x18\x43loudStorageRegexFileSet\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x15\n\rinclude_regex\x18\x02 \x03(\t\x12\x15\n\rexclude_regex\x18\x03 \x03(\t"\xec\x03\n\x13\x43loudStorageOptions\x12\x44\n\x08\x66ile_set\x18\x01 \x01(\x0b\x32\x32.google.privacy.dlp.v2.CloudStorageOptions.FileSet\x12\x1c\n\x14\x62ytes_limit_per_file\x18\x04 \x01(\x03\x12$\n\x1c\x62ytes_limit_per_file_percent\x18\x08 \x01(\x05\x12\x33\n\nfile_types\x18\x05 \x03(\x0e\x32\x1f.google.privacy.dlp.v2.FileType\x12N\n\rsample_method\x18\x06 \x01(\x0e\x32\x37.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod\x12\x1b\n\x13\x66iles_limit_percent\x18\x07 \x01(\x05\x1a_\n\x07\x46ileSet\x12\x0b\n\x03url\x18\x01 \x01(\t\x12G\n\x0eregex_file_set\x18\x02 \x01(\x0b\x32/.google.privacy.dlp.v2.CloudStorageRegexFileSet"H\n\x0cSampleMethod\x12\x1d\n\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03TOP\x10\x01\x12\x10\n\x0cRANDOM_START\x10\x02""\n\x13\x43loudStorageFileSet\x12\x0b\n\x03url\x18\x01 \x01(\t" \n\x10\x43loudStoragePath\x12\x0c\n\x04path\x18\x01 \x01(\t"\x8b\x03\n\x0f\x42igQueryOptions\x12=\n\x0ftable_reference\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12:\n\x12identifying_fields\x18\x02 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x12\n\nrows_limit\x18\x03 \x01(\x03\x12\x1a\n\x12rows_limit_percent\x18\x06 \x01(\x05\x12J\n\rsample_method\x18\x04 \x01(\x0e\x32\x33.google.privacy.dlp.v2.BigQueryOptions.SampleMethod\x12\x37\n\x0f\x65xcluded_fields\x18\x05 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"H\n\x0cSampleMethod\x12\x1d\n\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03TOP\x10\x01\x12\x10\n\x0cRANDOM_START\x10\x02"\xda\x04\n\rStorageConfig\x12\x44\n\x11\x64\x61tastore_options\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.DatastoreOptionsH\x00\x12K\n\x15\x63loud_storage_options\x18\x03 \x01(\x0b\x32*.google.privacy.dlp.v2.CloudStorageOptionsH\x00\x12\x43\n\x11\x62ig_query_options\x18\x04 \x01(\x0b\x32&.google.privacy.dlp.v2.BigQueryOptionsH\x00\x12>\n\x0ehybrid_options\x18\t \x01(\x0b\x32$.google.privacy.dlp.v2.HybridOptionsH\x00\x12L\n\x0ftimespan_config\x18\x06 \x01(\x0b\x32\x33.google.privacy.dlp.v2.StorageConfig.TimespanConfig\x1a\xda\x01\n\x0eTimespanConfig\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x0ftimestamp_field\x18\x03 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x31\n)enable_auto_population_of_timespan_config\x18\x04 \x01(\x08\x42\x06\n\x04type"\xf6\x01\n\rHybridOptions\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12#\n\x1brequired_finding_label_keys\x18\x02 \x03(\t\x12@\n\x06labels\x18\x03 \x03(\x0b\x32\x30.google.privacy.dlp.v2.HybridOptions.LabelsEntry\x12:\n\rtable_options\x18\x04 \x01(\x0b\x32#.google.privacy.dlp.v2.TableOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"`\n\x0b\x42igQueryKey\x12=\n\x0ftable_reference\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12\x12\n\nrow_number\x18\x02 \x01(\x03">\n\x0c\x44\x61tastoreKey\x12.\n\nentity_key\x18\x01 \x01(\x0b\x32\x1a.google.privacy.dlp.v2.Key"\xbb\x01\n\x03Key\x12\x38\n\x0cpartition_id\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.PartitionId\x12\x34\n\x04path\x18\x02 \x03(\x0b\x32&.google.privacy.dlp.v2.Key.PathElement\x1a\x44\n\x0bPathElement\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\x03H\x00\x12\x0e\n\x04name\x18\x03 \x01(\tH\x00\x42\t\n\x07id_type"\xa1\x01\n\tRecordKey\x12<\n\rdatastore_key\x18\x02 \x01(\x0b\x32#.google.privacy.dlp.v2.DatastoreKeyH\x00\x12;\n\rbig_query_key\x18\x03 \x01(\x0b\x32".google.privacy.dlp.v2.BigQueryKeyH\x00\x12\x11\n\tid_values\x18\x05 \x03(\tB\x06\n\x04type"I\n\rBigQueryTable\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x10\n\x08table_id\x18\x03 \x01(\t"s\n\rBigQueryField\x12\x33\n\x05table\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12-\n\x05\x66ield\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"9\n\x08\x45ntityId\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"J\n\x0cTableOptions\x12:\n\x12identifying_fields\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId*t\n\nLikelihood\x12\x1a\n\x16LIKELIHOOD_UNSPECIFIED\x10\x00\x12\x11\n\rVERY_UNLIKELY\x10\x01\x12\x0c\n\x08UNLIKELY\x10\x02\x12\x0c\n\x08POSSIBLE\x10\x03\x12\n\n\x06LIKELY\x10\x04\x12\x0f\n\x0bVERY_LIKELY\x10\x05*Z\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x42INARY_FILE\x10\x01\x12\r\n\tTEXT_FILE\x10\x02\x12\t\n\x05IMAGE\x10\x03\x12\x08\n\x04\x41VRO\x10\x07\x42\x8f\x01\n\x19\x63om.google.privacy.dlp.v2B\nDlpStorageP\x01Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\xaa\x02\x13Google.Cloud.Dlp.V2\xca\x02\x13Google\\Cloud\\Dlp\\V2b\x06proto3' - ), + serialized_options=b"\n\031com.google.privacy.dlp.v2B\nDlpStorageP\001Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\252\002\023Google.Cloud.Dlp.V2\312\002\023Google\\Cloud\\Dlp\\V2\352\002\026Google::Cloud::Dlp::V2", + serialized_pb=b'\n\'google/cloud/dlp_v2/proto/storage.proto\x12\x15google.privacy.dlp.v2\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x18\n\x08InfoType\x12\x0c\n\x04name\x18\x01 \x01(\t"K\n\nStoredType\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"\xc8\x0b\n\x0e\x43ustomInfoType\x12\x32\n\tinfo_type\x18\x01 \x01(\x0b\x32\x1f.google.privacy.dlp.v2.InfoType\x12\x35\n\nlikelihood\x18\x06 \x01(\x0e\x32!.google.privacy.dlp.v2.Likelihood\x12\x46\n\ndictionary\x18\x02 \x01(\x0b\x32\x30.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\n\x05regex\x18\x03 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12M\n\x0esurrogate_type\x18\x04 \x01(\x0b\x32\x33.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeH\x00\x12\x38\n\x0bstored_type\x18\x05 \x01(\x0b\x32!.google.privacy.dlp.v2.StoredTypeH\x00\x12L\n\x0f\x64\x65tection_rules\x18\x07 \x03(\x0b\x32\x33.google.privacy.dlp.v2.CustomInfoType.DetectionRule\x12K\n\x0e\x65xclusion_type\x18\x08 \x01(\x0e\x32\x33.google.privacy.dlp.v2.CustomInfoType.ExclusionType\x1a\xc8\x01\n\nDictionary\x12N\n\tword_list\x18\x01 \x01(\x0b\x32\x39.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListH\x00\x12\x45\n\x12\x63loud_storage_path\x18\x03 \x01(\x0b\x32\'.google.privacy.dlp.v2.CloudStoragePathH\x00\x1a\x19\n\x08WordList\x12\r\n\x05words\x18\x01 \x03(\tB\x08\n\x06source\x1a/\n\x05Regex\x12\x0f\n\x07pattern\x18\x01 \x01(\t\x12\x15\n\rgroup_indexes\x18\x02 \x03(\x05\x1a\x0f\n\rSurrogateType\x1a\xbe\x04\n\rDetectionRule\x12W\n\x0chotword_rule\x18\x01 \x01(\x0b\x32?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x1a\x38\n\tProximity\x12\x15\n\rwindow_before\x18\x01 \x01(\x05\x12\x14\n\x0cwindow_after\x18\x02 \x01(\x05\x1a\x82\x01\n\x14LikelihoodAdjustment\x12=\n\x10\x66ixed_likelihood\x18\x01 \x01(\x0e\x32!.google.privacy.dlp.v2.LikelihoodH\x00\x12\x1d\n\x13relative_likelihood\x18\x02 \x01(\x05H\x00\x42\x0c\n\nadjustment\x1a\x8c\x02\n\x0bHotwordRule\x12\x42\n\rhotword_regex\x18\x01 \x01(\x0b\x32+.google.privacy.dlp.v2.CustomInfoType.Regex\x12P\n\tproximity\x18\x02 \x01(\x0b\x32=.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity\x12g\n\x15likelihood_adjustment\x18\x03 \x01(\x0b\x32H.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentB\x06\n\x04type"K\n\rExclusionType\x12\x1e\n\x1a\x45XCLUSION_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x45XCLUSION_TYPE_EXCLUDE\x10\x01\x42\x06\n\x04type"\x17\n\x07\x46ieldId\x12\x0c\n\x04name\x18\x01 \x01(\t"7\n\x0bPartitionId\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x14\n\x0cnamespace_id\x18\x04 \x01(\t"\x1e\n\x0eKindExpression\x12\x0c\n\x04name\x18\x01 \x01(\t"\x81\x01\n\x10\x44\x61tastoreOptions\x12\x38\n\x0cpartition_id\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.PartitionId\x12\x33\n\x04kind\x18\x02 \x01(\x0b\x32%.google.privacy.dlp.v2.KindExpression"]\n\x18\x43loudStorageRegexFileSet\x12\x13\n\x0b\x62ucket_name\x18\x01 \x01(\t\x12\x15\n\rinclude_regex\x18\x02 \x03(\t\x12\x15\n\rexclude_regex\x18\x03 \x03(\t"\xec\x03\n\x13\x43loudStorageOptions\x12\x44\n\x08\x66ile_set\x18\x01 \x01(\x0b\x32\x32.google.privacy.dlp.v2.CloudStorageOptions.FileSet\x12\x1c\n\x14\x62ytes_limit_per_file\x18\x04 \x01(\x03\x12$\n\x1c\x62ytes_limit_per_file_percent\x18\x08 \x01(\x05\x12\x33\n\nfile_types\x18\x05 \x03(\x0e\x32\x1f.google.privacy.dlp.v2.FileType\x12N\n\rsample_method\x18\x06 \x01(\x0e\x32\x37.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod\x12\x1b\n\x13\x66iles_limit_percent\x18\x07 \x01(\x05\x1a_\n\x07\x46ileSet\x12\x0b\n\x03url\x18\x01 \x01(\t\x12G\n\x0eregex_file_set\x18\x02 \x01(\x0b\x32/.google.privacy.dlp.v2.CloudStorageRegexFileSet"H\n\x0cSampleMethod\x12\x1d\n\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03TOP\x10\x01\x12\x10\n\x0cRANDOM_START\x10\x02""\n\x13\x43loudStorageFileSet\x12\x0b\n\x03url\x18\x01 \x01(\t" \n\x10\x43loudStoragePath\x12\x0c\n\x04path\x18\x01 \x01(\t"\x8b\x03\n\x0f\x42igQueryOptions\x12=\n\x0ftable_reference\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12:\n\x12identifying_fields\x18\x02 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x12\n\nrows_limit\x18\x03 \x01(\x03\x12\x1a\n\x12rows_limit_percent\x18\x06 \x01(\x05\x12J\n\rsample_method\x18\x04 \x01(\x0e\x32\x33.google.privacy.dlp.v2.BigQueryOptions.SampleMethod\x12\x37\n\x0f\x65xcluded_fields\x18\x05 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"H\n\x0cSampleMethod\x12\x1d\n\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\n\x03TOP\x10\x01\x12\x10\n\x0cRANDOM_START\x10\x02"\xda\x04\n\rStorageConfig\x12\x44\n\x11\x64\x61tastore_options\x18\x02 \x01(\x0b\x32\'.google.privacy.dlp.v2.DatastoreOptionsH\x00\x12K\n\x15\x63loud_storage_options\x18\x03 \x01(\x0b\x32*.google.privacy.dlp.v2.CloudStorageOptionsH\x00\x12\x43\n\x11\x62ig_query_options\x18\x04 \x01(\x0b\x32&.google.privacy.dlp.v2.BigQueryOptionsH\x00\x12>\n\x0ehybrid_options\x18\t \x01(\x0b\x32$.google.privacy.dlp.v2.HybridOptionsH\x00\x12L\n\x0ftimespan_config\x18\x06 \x01(\x0b\x32\x33.google.privacy.dlp.v2.StorageConfig.TimespanConfig\x1a\xda\x01\n\x0eTimespanConfig\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x0ftimestamp_field\x18\x03 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId\x12\x31\n)enable_auto_population_of_timespan_config\x18\x04 \x01(\x08\x42\x06\n\x04type"\xf6\x01\n\rHybridOptions\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12#\n\x1brequired_finding_label_keys\x18\x02 \x03(\t\x12@\n\x06labels\x18\x03 \x03(\x0b\x32\x30.google.privacy.dlp.v2.HybridOptions.LabelsEntry\x12:\n\rtable_options\x18\x04 \x01(\x0b\x32#.google.privacy.dlp.v2.TableOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"`\n\x0b\x42igQueryKey\x12=\n\x0ftable_reference\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12\x12\n\nrow_number\x18\x02 \x01(\x03">\n\x0c\x44\x61tastoreKey\x12.\n\nentity_key\x18\x01 \x01(\x0b\x32\x1a.google.privacy.dlp.v2.Key"\xbb\x01\n\x03Key\x12\x38\n\x0cpartition_id\x18\x01 \x01(\x0b\x32".google.privacy.dlp.v2.PartitionId\x12\x34\n\x04path\x18\x02 \x03(\x0b\x32&.google.privacy.dlp.v2.Key.PathElement\x1a\x44\n\x0bPathElement\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x02id\x18\x02 \x01(\x03H\x00\x12\x0e\n\x04name\x18\x03 \x01(\tH\x00\x42\t\n\x07id_type"\xa1\x01\n\tRecordKey\x12<\n\rdatastore_key\x18\x02 \x01(\x0b\x32#.google.privacy.dlp.v2.DatastoreKeyH\x00\x12;\n\rbig_query_key\x18\x03 \x01(\x0b\x32".google.privacy.dlp.v2.BigQueryKeyH\x00\x12\x11\n\tid_values\x18\x05 \x03(\tB\x06\n\x04type"I\n\rBigQueryTable\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\ndataset_id\x18\x02 \x01(\t\x12\x10\n\x08table_id\x18\x03 \x01(\t"s\n\rBigQueryField\x12\x33\n\x05table\x18\x01 \x01(\x0b\x32$.google.privacy.dlp.v2.BigQueryTable\x12-\n\x05\x66ield\x18\x02 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"9\n\x08\x45ntityId\x12-\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId"J\n\x0cTableOptions\x12:\n\x12identifying_fields\x18\x01 \x03(\x0b\x32\x1e.google.privacy.dlp.v2.FieldId*t\n\nLikelihood\x12\x1a\n\x16LIKELIHOOD_UNSPECIFIED\x10\x00\x12\x11\n\rVERY_UNLIKELY\x10\x01\x12\x0c\n\x08UNLIKELY\x10\x02\x12\x0c\n\x08POSSIBLE\x10\x03\x12\n\n\x06LIKELY\x10\x04\x12\x0f\n\x0bVERY_LIKELY\x10\x05*m\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x42INARY_FILE\x10\x01\x12\r\n\tTEXT_FILE\x10\x02\x12\t\n\x05IMAGE\x10\x03\x12\x08\n\x04WORD\x10\x05\x12\x07\n\x03PDF\x10\x06\x12\x08\n\x04\x41VRO\x10\x07\x42\xa8\x01\n\x19\x63om.google.privacy.dlp.v2B\nDlpStorageP\x01Z8google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp\xaa\x02\x13Google.Cloud.Dlp.V2\xca\x02\x13Google\\Cloud\\Dlp\\V2\xea\x02\x16Google::Cloud::Dlp::V2b\x06proto3', dependencies=[ google_dot_api_dot_resource__pb2.DESCRIPTOR, google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, @@ -67,8 +60,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=4721, - serialized_end=4837, + serialized_start=4713, + serialized_end=4829, ) _sym_db.RegisterEnumDescriptor(_LIKELIHOOD) @@ -96,13 +89,19 @@ name="IMAGE", index=3, number=3, serialized_options=None, type=None ), _descriptor.EnumValueDescriptor( - name="AVRO", index=4, number=7, serialized_options=None, type=None + name="WORD", index=4, number=5, serialized_options=None, type=None + ), + _descriptor.EnumValueDescriptor( + name="PDF", index=5, number=6, serialized_options=None, type=None + ), + _descriptor.EnumValueDescriptor( + name="AVRO", index=6, number=7, serialized_options=None, type=None ), ], containing_type=None, serialized_options=None, - serialized_start=4839, - serialized_end=4929, + serialized_start=4831, + serialized_end=4940, ) _sym_db.RegisterEnumDescriptor(_FILETYPE) @@ -117,6 +116,8 @@ BINARY_FILE = 1 TEXT_FILE = 2 IMAGE = 3 +WORD = 5 +PDF = 6 AVRO = 7 @@ -143,8 +144,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=1635, - serialized_end=1710, + serialized_start=1627, + serialized_end=1702, ) _sym_db.RegisterEnumDescriptor(_CUSTOMINFOTYPE_EXCLUSIONTYPE) @@ -170,8 +171,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2482, - serialized_end=2554, + serialized_start=2474, + serialized_end=2546, ) _sym_db.RegisterEnumDescriptor(_CLOUDSTORAGEOPTIONS_SAMPLEMETHOD) @@ -197,8 +198,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2482, - serialized_end=2554, + serialized_start=2474, + serialized_end=2546, ) _sym_db.RegisterEnumDescriptor(_BIGQUERYOPTIONS_SAMPLEMETHOD) @@ -219,7 +220,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -237,8 +238,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=134, - serialized_end=158, + serialized_start=126, + serialized_end=150, ) @@ -258,7 +259,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -294,8 +295,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=160, - serialized_end=235, + serialized_start=152, + serialized_end=227, ) @@ -333,8 +334,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=955, - serialized_end=980, + serialized_start=947, + serialized_end=972, ) _CUSTOMINFOTYPE_DICTIONARY = _descriptor.Descriptor( @@ -397,8 +398,8 @@ fields=[], ) ], - serialized_start=790, - serialized_end=990, + serialized_start=782, + serialized_end=982, ) _CUSTOMINFOTYPE_REGEX = _descriptor.Descriptor( @@ -417,7 +418,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -453,8 +454,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=992, - serialized_end=1039, + serialized_start=984, + serialized_end=1031, ) _CUSTOMINFOTYPE_SURROGATETYPE = _descriptor.Descriptor( @@ -472,8 +473,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1041, - serialized_end=1056, + serialized_start=1033, + serialized_end=1048, ) _CUSTOMINFOTYPE_DETECTIONRULE_PROXIMITY = _descriptor.Descriptor( @@ -528,8 +529,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1165, - serialized_end=1221, + serialized_start=1157, + serialized_end=1213, ) _CUSTOMINFOTYPE_DETECTIONRULE_LIKELIHOODADJUSTMENT = _descriptor.Descriptor( @@ -592,8 +593,8 @@ fields=[], ) ], - serialized_start=1224, - serialized_end=1354, + serialized_start=1216, + serialized_end=1346, ) _CUSTOMINFOTYPE_DETECTIONRULE_HOTWORDRULE = _descriptor.Descriptor( @@ -666,8 +667,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1357, - serialized_end=1625, + serialized_start=1349, + serialized_end=1617, ) _CUSTOMINFOTYPE_DETECTIONRULE = _descriptor.Descriptor( @@ -716,8 +717,8 @@ fields=[], ) ], - serialized_start=1059, - serialized_end=1633, + serialized_start=1051, + serialized_end=1625, ) _CUSTOMINFOTYPE = _descriptor.Descriptor( @@ -893,8 +894,8 @@ fields=[], ) ], - serialized_start=238, - serialized_end=1718, + serialized_start=230, + serialized_end=1710, ) @@ -914,7 +915,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -932,8 +933,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1720, - serialized_end=1743, + serialized_start=1712, + serialized_end=1735, ) @@ -953,7 +954,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -971,7 +972,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -989,8 +990,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1745, - serialized_end=1800, + serialized_start=1737, + serialized_end=1792, ) @@ -1010,7 +1011,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1028,8 +1029,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1802, - serialized_end=1832, + serialized_start=1794, + serialized_end=1824, ) @@ -1085,8 +1086,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1835, - serialized_end=1964, + serialized_start=1827, + serialized_end=1956, ) @@ -1106,7 +1107,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1160,8 +1161,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=1966, - serialized_end=2059, + serialized_start=1958, + serialized_end=2051, ) @@ -1181,7 +1182,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1217,8 +1218,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2385, - serialized_end=2480, + serialized_start=2377, + serialized_end=2472, ) _CLOUDSTORAGEOPTIONS = _descriptor.Descriptor( @@ -1345,8 +1346,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2062, - serialized_end=2554, + serialized_start=2054, + serialized_end=2546, ) @@ -1366,7 +1367,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1384,8 +1385,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2556, - serialized_end=2590, + serialized_start=2548, + serialized_end=2582, ) @@ -1405,7 +1406,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1423,8 +1424,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2592, - serialized_end=2624, + serialized_start=2584, + serialized_end=2616, ) @@ -1552,8 +1553,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=2627, - serialized_end=3022, + serialized_start=2619, + serialized_end=3014, ) @@ -1645,8 +1646,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3401, - serialized_end=3619, + serialized_start=3393, + serialized_end=3611, ) _STORAGECONFIG = _descriptor.Descriptor( @@ -1763,8 +1764,8 @@ fields=[], ) ], - serialized_start=3025, - serialized_end=3627, + serialized_start=3017, + serialized_end=3619, ) @@ -1784,7 +1785,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1802,7 +1803,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1815,13 +1816,13 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3831, - serialized_end=3876, + serialized_start=3823, + serialized_end=3868, ) _HYBRIDOPTIONS = _descriptor.Descriptor( @@ -1840,7 +1841,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1912,8 +1913,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3630, - serialized_end=3876, + serialized_start=3622, + serialized_end=3868, ) @@ -1969,8 +1970,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3878, - serialized_end=3974, + serialized_start=3870, + serialized_end=3966, ) @@ -2008,8 +2009,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=3976, - serialized_end=4038, + serialized_start=3968, + serialized_end=4030, ) @@ -2029,7 +2030,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2065,7 +2066,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2091,8 +2092,8 @@ fields=[], ) ], - serialized_start=4160, - serialized_end=4228, + serialized_start=4152, + serialized_end=4220, ) _KEY = _descriptor.Descriptor( @@ -2147,8 +2148,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4041, - serialized_end=4228, + serialized_start=4033, + serialized_end=4220, ) @@ -2230,8 +2231,8 @@ fields=[], ) ], - serialized_start=4231, - serialized_end=4392, + serialized_start=4223, + serialized_end=4384, ) @@ -2251,7 +2252,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2269,7 +2270,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2287,7 +2288,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2305,8 +2306,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4394, - serialized_end=4467, + serialized_start=4386, + serialized_end=4459, ) @@ -2362,8 +2363,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4469, - serialized_end=4584, + serialized_start=4461, + serialized_end=4576, ) @@ -2401,8 +2402,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4586, - serialized_end=4643, + serialized_start=4578, + serialized_end=4635, ) @@ -2440,8 +2441,8 @@ syntax="proto3", extension_ranges=[], oneofs=[], - serialized_start=4645, - serialized_end=4719, + serialized_start=4637, + serialized_end=4711, ) _STOREDTYPE.fields_by_name[ @@ -2690,10 +2691,10 @@ InfoType = _reflection.GeneratedProtocolMessageType( "InfoType", (_message.Message,), - dict( - DESCRIPTOR=_INFOTYPE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Type of information detected by the API. + { + "DESCRIPTOR": _INFOTYPE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Type of information detected by the API. Attributes: @@ -2702,20 +2703,20 @@ when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. InfoType names should conform to - the pattern [a-zA-Z0-9\_]{1,64}. + the pattern ``[a-zA-Z0-9_]{1,64}``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.InfoType) - ), + }, ) _sym_db.RegisterMessage(InfoType) StoredType = _reflection.GeneratedProtocolMessageType( "StoredType", (_message.Message,), - dict( - DESCRIPTOR=_STOREDTYPE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""A reference to a StoredInfoType to use with scanning. + { + "DESCRIPTOR": _STOREDTYPE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """A reference to a StoredInfoType to use with scanning. Attributes: @@ -2729,25 +2730,25 @@ only field, populated by the system. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StoredType) - ), + }, ) _sym_db.RegisterMessage(StoredType) CustomInfoType = _reflection.GeneratedProtocolMessageType( "CustomInfoType", (_message.Message,), - dict( - Dictionary=_reflection.GeneratedProtocolMessageType( + { + "Dictionary": _reflection.GeneratedProtocolMessageType( "Dictionary", (_message.Message,), - dict( - WordList=_reflection.GeneratedProtocolMessageType( + { + "WordList": _reflection.GeneratedProtocolMessageType( "WordList", (_message.Message,), - dict( - DESCRIPTOR=_CUSTOMINFOTYPE_DICTIONARY_WORDLIST, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message defining a list of words or phrases to search for + { + "DESCRIPTOR": _CUSTOMINFOTYPE_DICTIONARY_WORDLIST, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message defining a list of words or phrases to search for in the data. @@ -2758,11 +2759,11 @@ least 2 characters that are letters or digits. [required] """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList) - ), + }, ), - DESCRIPTOR=_CUSTOMINFOTYPE_DICTIONARY, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Custom information type based on a dictionary of words or + "DESCRIPTOR": _CUSTOMINFOTYPE_DICTIONARY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles. @@ -2770,13 +2771,13 @@ letters and digits in the unicode `Basic Multilingual Plane `__ will be replaced with whitespace when scanning for matches, so the - dictionary phrase "Sam Johnson" will match all three phrases "sam - johnson", "Sam, Johnson", and "Sam (Johnson)". Additionally, the + dictionary phrase “Sam Johnson” will match all three phrases “sam + johnson”, “Sam, Johnson”, and “Sam (Johnson)”. Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary - word "jen" will match the first three letters of the text "jen123" but - will return no matches for "jennifer". + word “jen” will match the first three letters of the text “jen123” but + will return no matches for “jennifer”. Dictionary words containing a large number of characters that are not letters or digits may result in unexpected findings because such @@ -2795,15 +2796,15 @@ single file is accepted. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Dictionary) - ), + }, ), - Regex=_reflection.GeneratedProtocolMessageType( + "Regex": _reflection.GeneratedProtocolMessageType( "Regex", (_message.Message,), - dict( - DESCRIPTOR=_CUSTOMINFOTYPE_REGEX, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message defining a custom regular expression. + { + "DESCRIPTOR": _CUSTOMINFOTYPE_REGEX, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message defining a custom regular expression. Attributes: @@ -2817,38 +2818,38 @@ included. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.Regex) - ), + }, ), - SurrogateType=_reflection.GeneratedProtocolMessageType( + "SurrogateType": _reflection.GeneratedProtocolMessageType( "SurrogateType", (_message.Message,), - dict( - DESCRIPTOR=_CUSTOMINFOTYPE_SURROGATETYPE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message for detecting output from deidentification + { + "DESCRIPTOR": _CUSTOMINFOTYPE_SURROGATETYPE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message for detecting output from deidentification transformations such as ```CryptoReplaceFfxFpeConfig`` `__. These types of transformations are those that perform pseudonymization, - thereby producing a "surrogate" as output. This should be used in + thereby producing a “surrogate” as output. This should be used in conjunction with a field on the transformation such as ``surrogate_info_type``. This CustomInfoType does not support the use of ``detection_rules``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.SurrogateType) - ), + }, ), - DetectionRule=_reflection.GeneratedProtocolMessageType( + "DetectionRule": _reflection.GeneratedProtocolMessageType( "DetectionRule", (_message.Message,), - dict( - Proximity=_reflection.GeneratedProtocolMessageType( + { + "Proximity": _reflection.GeneratedProtocolMessageType( "Proximity", (_message.Message,), - dict( - DESCRIPTOR=_CUSTOMINFOTYPE_DETECTIONRULE_PROXIMITY, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message for specifying a window around a finding to apply + { + "DESCRIPTOR": _CUSTOMINFOTYPE_DETECTIONRULE_PROXIMITY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message for specifying a window around a finding to apply a detection rule. @@ -2859,15 +2860,15 @@ Number of characters after the finding to consider. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity) - ), + }, ), - LikelihoodAdjustment=_reflection.GeneratedProtocolMessageType( + "LikelihoodAdjustment": _reflection.GeneratedProtocolMessageType( "LikelihoodAdjustment", (_message.Message,), - dict( - DESCRIPTOR=_CUSTOMINFOTYPE_DETECTIONRULE_LIKELIHOODADJUSTMENT, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message for specifying an adjustment to the likelihood of + { + "DESCRIPTOR": _CUSTOMINFOTYPE_DETECTIONRULE_LIKELIHOODADJUSTMENT, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message for specifying an adjustment to the likelihood of a finding as part of a detection rule. @@ -2886,16 +2887,16 @@ likelihood of ``LIKELY``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustment) - ), + }, ), - HotwordRule=_reflection.GeneratedProtocolMessageType( + "HotwordRule": _reflection.GeneratedProtocolMessageType( "HotwordRule", (_message.Message,), - dict( - DESCRIPTOR=_CUSTOMINFOTYPE_DETECTIONRULE_HOTWORDRULE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""The rule that adjusts the likelihood of findings within a - certain proximity of hotwords. + { + "DESCRIPTOR": _CUSTOMINFOTYPE_DETECTIONRULE_HOTWORDRULE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """The rule that adjusts the likelihood of findings within a certain + proximity of hotwords. Attributes: @@ -2911,17 +2912,17 @@ number regex "(\d\{3\}) \d\{3\}-\d\{4\} "\ could be adjusted upwards if the area code is \ known to be the local area code of a company office using the - hotword regex "(xxx)", where "xxx" is the area code in + hotword regex “(xxx)”, where “xxx” is the area code in question. likelihood_adjustment: \ Likelihood adjustment to apply to all matching findings. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRule) - ), + }, ), - DESCRIPTOR=_CUSTOMINFOTYPE_DETECTIONRULE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Deprecated; use ``InspectionRuleSet`` instead. Rule for + "DESCRIPTOR": _CUSTOMINFOTYPE_DETECTIONRULE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Deprecated; use ``InspectionRuleSet`` instead. Rule for modifying a ``CustomInfoType`` to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the ``surrogate_type`` custom infoType. @@ -2932,11 +2933,11 @@ Hotword-based detection rule. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType.DetectionRule) - ), + }, ), - DESCRIPTOR=_CUSTOMINFOTYPE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Custom information type provided by the user. Used to find + "DESCRIPTOR": _CUSTOMINFOTYPE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question. @@ -2972,12 +2973,12 @@ specified. Not supported for the ``surrogate_type`` CustomInfoType. exclusion_type: - If set to EXCLUSION\_TYPE\_EXCLUDE this infoType will not - cause a finding to be returned. It still can be used for rules + If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause + a finding to be returned. It still can be used for rules matching. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CustomInfoType) - ), + }, ) _sym_db.RegisterMessage(CustomInfoType) _sym_db.RegisterMessage(CustomInfoType.Dictionary) @@ -2992,10 +2993,10 @@ FieldId = _reflection.GeneratedProtocolMessageType( "FieldId", (_message.Message,), - dict( - DESCRIPTOR=_FIELDID, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""General identifier of a data field in a storage service. + { + "DESCRIPTOR": _FIELDID, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """General identifier of a data field in a storage service. Attributes: @@ -3003,17 +3004,17 @@ Name describing the field. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.FieldId) - ), + }, ) _sym_db.RegisterMessage(FieldId) PartitionId = _reflection.GeneratedProtocolMessageType( "PartitionId", (_message.Message,), - dict( - DESCRIPTOR=_PARTITIONID, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Datastore partition ID. A partition ID identifies a + { + "DESCRIPTOR": _PARTITIONID, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. @@ -3028,17 +3029,17 @@ belong. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.PartitionId) - ), + }, ) _sym_db.RegisterMessage(PartitionId) KindExpression = _reflection.GeneratedProtocolMessageType( "KindExpression", (_message.Message,), - dict( - DESCRIPTOR=_KINDEXPRESSION, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""A representation of a Datastore kind. + { + "DESCRIPTOR": _KINDEXPRESSION, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """A representation of a Datastore kind. Attributes: @@ -3046,17 +3047,17 @@ The name of the kind. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.KindExpression) - ), + }, ) _sym_db.RegisterMessage(KindExpression) DatastoreOptions = _reflection.GeneratedProtocolMessageType( "DatastoreOptions", (_message.Message,), - dict( - DESCRIPTOR=_DATASTOREOPTIONS, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Options defining a data set within Google Cloud Datastore. + { + "DESCRIPTOR": _DATASTOREOPTIONS, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Options defining a data set within Google Cloud Datastore. Attributes: @@ -3068,17 +3069,17 @@ The kind to process. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DatastoreOptions) - ), + }, ) _sym_db.RegisterMessage(DatastoreOptions) CloudStorageRegexFileSet = _reflection.GeneratedProtocolMessageType( "CloudStorageRegexFileSet", (_message.Message,), - dict( - DESCRIPTOR=_CLOUDSTORAGEREGEXFILESET, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message representing a set of files in a Cloud Storage + { + "DESCRIPTOR": _CLOUDSTORAGEREGEXFILESET, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include. @@ -3095,7 +3096,7 @@ - ``gs://mybucket/directory1/directory2/myfile`` will be included (``.*`` matches across ``/``) - ``gs://mybucket/directory0/directory1/myfile`` will *not* be included - (the full path doesn't match any items in ``include_regex``) + (the full path doesn’t match any items in ``include_regex``) - ``gs://mybucket/directory1/excludedfile`` will *not* be included (the path matches an item in ``exclude_regex``) @@ -3133,21 +3134,21 @@ found under the google/re2 repository on GitHub. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageRegexFileSet) - ), + }, ) _sym_db.RegisterMessage(CloudStorageRegexFileSet) CloudStorageOptions = _reflection.GeneratedProtocolMessageType( "CloudStorageOptions", (_message.Message,), - dict( - FileSet=_reflection.GeneratedProtocolMessageType( + { + "FileSet": _reflection.GeneratedProtocolMessageType( "FileSet", (_message.Message,), - dict( - DESCRIPTOR=_CLOUDSTORAGEOPTIONS_FILESET, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Set of files to scan. + { + "DESCRIPTOR": _CLOUDSTORAGEOPTIONS_FILESET, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Set of files to scan. Attributes: @@ -3166,11 +3167,11 @@ ``url`` or ``regex_file_set`` must be set. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageOptions.FileSet) - ), + }, ), - DESCRIPTOR=_CLOUDSTORAGEOPTIONS, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Options defining a file or a set of files within a Google + "DESCRIPTOR": _CLOUDSTORAGEOPTIONS, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Options defining a file or a set of files within a Google Cloud Storage bucket. @@ -3178,21 +3179,24 @@ file_set: The set of one or more files to scan. bytes_limit_per_file: - Max number of bytes to scan from a file. If a scanned file's + Max number of bytes to scan from a file. If a scanned file’s size is bigger than this value then the rest of the bytes are - omitted. Only one of bytes\_limit\_per\_file and - bytes\_limit\_per\_file\_percent can be specified. + omitted. Only one of bytes_limit_per_file and + bytes_limit_per_file_percent can be specified. bytes_limit_per_file_percent: Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. - Defaults to 0. Only one of bytes\_limit\_per\_file and - bytes\_limit\_per\_file\_percent can be specified. + Defaults to 0. Only one of bytes_limit_per_file and + bytes_limit_per_file_percent can be specified. file_types: List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied. In addition, the binary content of the selected files - is always scanned as well. + is always scanned as well. Images are scanned only as binary + if the specified region does not support image inspection and + no file_types were specified. Image inspection is restricted + to ‘global’, ‘us’, ‘asia’, and ‘europe’. files_limit_percent: Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must @@ -3200,7 +3204,7 @@ limit. Defaults to 0. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageOptions) - ), + }, ) _sym_db.RegisterMessage(CloudStorageOptions) _sym_db.RegisterMessage(CloudStorageOptions.FileSet) @@ -3208,10 +3212,10 @@ CloudStorageFileSet = _reflection.GeneratedProtocolMessageType( "CloudStorageFileSet", (_message.Message,), - dict( - DESCRIPTOR=_CLOUDSTORAGEFILESET, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message representing a set of files in Cloud Storage. + { + "DESCRIPTOR": _CLOUDSTORAGEFILESET, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message representing a set of files in Cloud Storage. Attributes: @@ -3220,37 +3224,37 @@ wildcard in the path is allowed. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStorageFileSet) - ), + }, ) _sym_db.RegisterMessage(CloudStorageFileSet) CloudStoragePath = _reflection.GeneratedProtocolMessageType( "CloudStoragePath", (_message.Message,), - dict( - DESCRIPTOR=_CLOUDSTORAGEPATH, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message representing a single file or path in Cloud + { + "DESCRIPTOR": _CLOUDSTORAGEPATH, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message representing a single file or path in Cloud Storage. Attributes: path: A url representing a file or path (no wildcards) in Cloud - Storage. Example: gs://[BUCKET\_NAME]/dictionary.txt + Storage. Example: gs://[BUCKET_NAME]/dictionary.txt """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.CloudStoragePath) - ), + }, ) _sym_db.RegisterMessage(CloudStoragePath) BigQueryOptions = _reflection.GeneratedProtocolMessageType( "BigQueryOptions", (_message.Message,), - dict( - DESCRIPTOR=_BIGQUERYOPTIONS, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Options defining BigQuery table and row identifiers. + { + "DESCRIPTOR": _BIGQUERYOPTIONS, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Options defining BigQuery table and row identifiers. Attributes: @@ -3266,14 +3270,14 @@ rows_limit: Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or - if set to 0, all rows will be scanned. Only one of rows\_limit - and rows\_limit\_percent can be specified. Cannot be used in + if set to 0, all rows will be scanned. Only one of rows_limit + and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig. rows_limit_percent: Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to - 0. Only one of rows\_limit and rows\_limit\_percent can be + 0. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig. excluded_fields: References to fields excluded from scanning. This allows you @@ -3281,21 +3285,21 @@ findings. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryOptions) - ), + }, ) _sym_db.RegisterMessage(BigQueryOptions) StorageConfig = _reflection.GeneratedProtocolMessageType( "StorageConfig", (_message.Message,), - dict( - TimespanConfig=_reflection.GeneratedProtocolMessageType( + { + "TimespanConfig": _reflection.GeneratedProtocolMessageType( "TimespanConfig", (_message.Message,), - dict( - DESCRIPTOR=_STORAGECONFIG_TIMESPANCONFIG, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Configuration of the timespan of the items to include in + { + "DESCRIPTOR": _STORAGECONFIG_TIMESPANCONFIG, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Google Cloud Storage and BigQuery. @@ -3320,17 +3324,17 @@ invalid. enable_auto_population_of_timespan_config: When the job is started by a JobTrigger we will automatically - figure out a valid start\_time to avoid scanning files that + figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageConfig.TimespanConfig) - ), + }, ), - DESCRIPTOR=_STORAGECONFIG, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Shared message indicating Cloud storage type. + "DESCRIPTOR": _STORAGECONFIG, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Shared message indicating Cloud storage type. Attributes: @@ -3347,7 +3351,7 @@ https://cloud.google.com/products#product-launch-stages. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.StorageConfig) - ), + }, ) _sym_db.RegisterMessage(StorageConfig) _sym_db.RegisterMessage(StorageConfig.TimespanConfig) @@ -3355,19 +3359,19 @@ HybridOptions = _reflection.GeneratedProtocolMessageType( "HybridOptions", (_message.Message,), - dict( - LabelsEntry=_reflection.GeneratedProtocolMessageType( + { + "LabelsEntry": _reflection.GeneratedProtocolMessageType( "LabelsEntry", (_message.Message,), - dict( - DESCRIPTOR=_HYBRIDOPTIONS_LABELSENTRY, - __module__="google.cloud.dlp_v2.proto.storage_pb2" + { + "DESCRIPTOR": _HYBRIDOPTIONS_LABELSENTRY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2" # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridOptions.LabelsEntry) - ), + }, ), - DESCRIPTOR=_HYBRIDOPTIONS, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Configuration to control jobs where the content being + "DESCRIPTOR": _HYBRIDOPTIONS, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Configuration to control jobs where the content being inspected is outside of Google Cloud Platform. @@ -3377,27 +3381,27 @@ stored once in the job. 256 max length. required_finding_label_keys: These are labels that each inspection request must include - within their 'finding\_labels' map. Request may contain - others, but any missing one of these will be rejected. Label - keys must be between 1 and 63 characters long and must conform - to the following regular expression: - [a-z]([-a-z0-9]\*[a-z0-9])?. No more than 10 keys can be + within their ‘finding_labels’ map. Request may contain others, + but any missing one of these will be rejected. Label keys + must be between 1 and 63 characters long and must conform to + the following regular expression: + ``[a-z]([-a-z0-9]*[a-z0-9])?``. No more than 10 keys can be required. labels: To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: - [a-z]([-a-z0-9]\*[a-z0-9])?. Label values must be between 0 - and 63 characters long and must conform to the regular - expression ([a-z]([-a-z0-9]\*[a-z0-9])?)?. No more than 10 - labels can be associated with a given finding. Example: - "environment" : "production" Example: "pipeline" : "etl" + ``[a-z]([-a-z0-9]*[a-z0-9])?``. Label values must be between + 0 and 63 characters long and must conform to the regular + expression ``([a-z]([-a-z0-9]*[a-z0-9])?)?``. No more than 10 + labels can be associated with a given finding. Examples: \* + ``"environment" : "production"`` \* ``"pipeline" : "etl"`` table_options: If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.HybridOptions) - ), + }, ) _sym_db.RegisterMessage(HybridOptions) _sym_db.RegisterMessage(HybridOptions.LabelsEntry) @@ -3405,10 +3409,10 @@ BigQueryKey = _reflection.GeneratedProtocolMessageType( "BigQueryKey", (_message.Message,), - dict( - DESCRIPTOR=_BIGQUERYKEY, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Row key for identifying a record in BigQuery table. + { + "DESCRIPTOR": _BIGQUERYKEY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Row key for identifying a record in BigQuery table. Attributes: @@ -3422,17 +3426,17 @@ ying_fields`` in ``CreateDlpJobRequest``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryKey) - ), + }, ) _sym_db.RegisterMessage(BigQueryKey) DatastoreKey = _reflection.GeneratedProtocolMessageType( "DatastoreKey", (_message.Message,), - dict( - DESCRIPTOR=_DATASTOREKEY, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Record key for a finding in Cloud Datastore. + { + "DESCRIPTOR": _DATASTOREKEY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Record key for a finding in Cloud Datastore. Attributes: @@ -3440,21 +3444,21 @@ Datastore entity key. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.DatastoreKey) - ), + }, ) _sym_db.RegisterMessage(DatastoreKey) Key = _reflection.GeneratedProtocolMessageType( "Key", (_message.Message,), - dict( - PathElement=_reflection.GeneratedProtocolMessageType( + { + "PathElement": _reflection.GeneratedProtocolMessageType( "PathElement", (_message.Message,), - dict( - DESCRIPTOR=_KEY_PATHELEMENT, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""A (kind, ID/name) pair used to construct a key path. + { + "DESCRIPTOR": _KEY_PATHELEMENT, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete. @@ -3477,11 +3481,11 @@ when UTF-8 encoded. Cannot be ``""``. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Key.PathElement) - ), + }, ), - DESCRIPTOR=_KEY, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""A unique identifier for a Datastore entity. If a key's + "DESCRIPTOR": _KEY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """A unique identifier for a Datastore entity. If a key’s partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts. @@ -3500,11 +3504,11 @@ *child* of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the - element's *ancestors*. A path can never be empty, and a path + element’s *ancestors*. A path can never be empty, and a path can have at most 100 elements. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Key) - ), + }, ) _sym_db.RegisterMessage(Key) _sym_db.RegisterMessage(Key.PathElement) @@ -3512,10 +3516,10 @@ RecordKey = _reflection.GeneratedProtocolMessageType( "RecordKey", (_message.Message,), - dict( - DESCRIPTOR=_RECORDKEY, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message for a unique key indicating a record that contains + { + "DESCRIPTOR": _RECORDKEY, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message for a unique key indicating a record that contains a finding. @@ -3526,18 +3530,18 @@ in the scanning request. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RecordKey) - ), + }, ) _sym_db.RegisterMessage(RecordKey) BigQueryTable = _reflection.GeneratedProtocolMessageType( "BigQueryTable", (_message.Message,), - dict( - DESCRIPTOR=_BIGQUERYTABLE, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message defining the location of a BigQuery table. A table - is uniquely identified by its project\_id, dataset\_id, and table\_name. + { + "DESCRIPTOR": _BIGQUERYTABLE, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message defining the location of a BigQuery table. A table + is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: ``:.`` or ``..``. @@ -3554,17 +3558,17 @@ Name of the table. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryTable) - ), + }, ) _sym_db.RegisterMessage(BigQueryTable) BigQueryField = _reflection.GeneratedProtocolMessageType( "BigQueryField", (_message.Message,), - dict( - DESCRIPTOR=_BIGQUERYFIELD, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message defining a field of a BigQuery table. + { + "DESCRIPTOR": _BIGQUERYFIELD, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Message defining a field of a BigQuery table. Attributes: @@ -3574,17 +3578,17 @@ Designated field in the BigQuery table. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.BigQueryField) - ), + }, ) _sym_db.RegisterMessage(BigQueryField) EntityId = _reflection.GeneratedProtocolMessageType( "EntityId", (_message.Message,), - dict( - DESCRIPTOR=_ENTITYID, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""An entity in a dataset is a field or set of fields that + { + "DESCRIPTOR": _ENTITYID, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the ``EntityId`` might be a patient identifier, or for financial records it might be an account identifier. This message is used when @@ -3598,29 +3602,29 @@ identifier. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.EntityId) - ), + }, ) _sym_db.RegisterMessage(EntityId) TableOptions = _reflection.GeneratedProtocolMessageType( "TableOptions", (_message.Message,), - dict( - DESCRIPTOR=_TABLEOPTIONS, - __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Instructions regarding the table content being inspected. + { + "DESCRIPTOR": _TABLEOPTIONS, + "__module__": "google.cloud.dlp_v2.proto.storage_pb2", + "__doc__": """Instructions regarding the table content being inspected. Attributes: identifying_fields: The columns that are the primary keys for table objects - included in ContentItem. A copy of this cell's value will + included in ContentItem. A copy of this cell’s value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided. """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.TableOptions) - ), + }, ) _sym_db.RegisterMessage(TableOptions) diff --git a/noxfile.py b/noxfile.py index a9db79fe..cfaff4be 100644 --- a/noxfile.py +++ b/noxfile.py @@ -110,8 +110,7 @@ def system(session): # Install all test dependencies, then install this package into the # virtualenv's dist-packages. - session.install("mock", "pytest") - + session.install("mock", "pytest", "google-cloud-testutils") session.install("-e", "test_utils") session.install("-e", ".") diff --git a/setup.cfg b/setup.cfg index 3bd55550..c3a2b39f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,19 @@ +# -*- 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 +# +# https://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. + # Generated by synthtool. DO NOT EDIT! [bdist_wheel] universal = 1 diff --git a/synth.metadata b/synth.metadata index 5a3ec906..a0c37314 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,27 +1,25 @@ { - "updateTime": "2020-03-17T12:18:12.558533Z", "sources": [ { - "generator": { - "name": "artman", - "version": "1.1.1", - "dockerImage": "googleapis/artman@sha256:5ef340c8d9334719bc5c6981d95f4a5d2737b0a6a24f2b9a0d430e96fff85c5b" + "git": { + "name": ".", + "remote": "https://github.com/googleapis/python-dlp.git", + "sha": "41445d1746f2bb8911f7182433c044cce9f2864a" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "23d5f09e670ebb0c1b36214acf78704e2ecfc2ac", - "internalRef": "301337970", - "log": "23d5f09e670ebb0c1b36214acf78704e2ecfc2ac\nUpdate field_behavior annotations in V1 and V2.\n\nPiperOrigin-RevId: 301337970\n\nb2cf37e7fd62383a811aa4d54d013ecae638851d\nData Catalog V1 API\n\nPiperOrigin-RevId: 301282503\n\n1976b9981e2900c8172b7d34b4220bdb18c5db42\nCloud DLP api update. Adds missing fields to Finding and adds support for hybrid jobs.\n\nPiperOrigin-RevId: 301205325\n\nae78682c05e864d71223ce22532219813b0245ac\nfix: several sample code blocks in comments are now properly indented for markdown\n\nPiperOrigin-RevId: 301185150\n\ndcd171d04bda5b67db13049320f97eca3ace3731\nPublish Media Translation API V1Beta1\n\nPiperOrigin-RevId: 301180096\n\nff1713453b0fbc5a7544a1ef6828c26ad21a370e\nAdd protos and BUILD rules for v1 API.\n\nPiperOrigin-RevId: 301179394\n\n8386761d09819b665b6a6e1e6d6ff884bc8ff781\nfeat: chromeos/modlab publish protos and config for Chrome OS Moblab API.\n\nPiperOrigin-RevId: 300843960\n\nb2e2bc62fab90e6829e62d3d189906d9b79899e4\nUpdates to GCS gRPC API spec:\n\n1. Changed GetIamPolicy and TestBucketIamPermissions to use wrapper messages around google.iam.v1 IAM requests messages, and added CommonRequestParams. This lets us support RequesterPays buckets.\n2. Added a metadata field to GetObjectMediaResponse, to support resuming an object media read safely (by extracting the generation of the object being read, and using it in the resumed read request).\n\nPiperOrigin-RevId: 300817706\n\n7fd916ce12335cc9e784bb9452a8602d00b2516c\nAdd deprecated_collections field for backward-compatiblity in PHP and monolith-generated Python and Ruby clients.\n\nGenerate TopicName class in Java which covers the functionality of both ProjectTopicName and DeletedTopicName. Introduce breaking changes to be fixed by synth.py.\n\nDelete default retry parameters.\n\nRetry codes defs can be deleted once # https://github.com/googleapis/gapic-generator/issues/3137 is fixed.\n\nPiperOrigin-RevId: 300813135\n\n047d3a8ac7f75383855df0166144f891d7af08d9\nfix!: google/rpc refactor ErrorInfo.type to ErrorInfo.reason and comment updates.\n\nPiperOrigin-RevId: 300773211\n\nfae4bb6d5aac52aabe5f0bb4396466c2304ea6f6\nAdding RetryPolicy to pubsub.proto\n\nPiperOrigin-RevId: 300769420\n\n7d569be2928dbd72b4e261bf9e468f23afd2b950\nAdding additional protocol buffer annotations to v3.\n\nPiperOrigin-RevId: 300718800\n\n13942d1a85a337515040a03c5108993087dc0e4f\nAdd logging protos for Recommender v1.\n\nPiperOrigin-RevId: 300689896\n\na1a573c3eecfe2c404892bfa61a32dd0c9fb22b6\nfix: change go package to use cloud.google.com/go/maps\n\nPiperOrigin-RevId: 300661825\n\nc6fbac11afa0c7ab2972d9df181493875c566f77\nfeat: publish documentai/v1beta2 protos\n\nPiperOrigin-RevId: 300656808\n\n5202a9e0d9903f49e900f20fe5c7f4e42dd6588f\nProtos for v1beta1 release of Cloud Security Center Settings API\n\nPiperOrigin-RevId: 300580858\n\n83518e18655d9d4ac044acbda063cc6ecdb63ef8\nAdds gapic.yaml file and BUILD.bazel file.\n\nPiperOrigin-RevId: 300554200\n\n836c196dc8ef8354bbfb5f30696bd3477e8db5e2\nRegenerate recommender v1beta1 gRPC ServiceConfig file for Insights methods.\n\nPiperOrigin-RevId: 300549302\n\n34a5450c591b6be3d6566f25ac31caa5211b2f3f\nIncreases the default timeout from 20s to 30s for MetricService\n\nPiperOrigin-RevId: 300474272\n\n5d8bffe87cd01ba390c32f1714230e5a95d5991d\nfeat: use the latest gapic-generator in WORKSPACE for bazel build.\n\nPiperOrigin-RevId: 300461878\n\nd631c651e3bcfac5d371e8560c27648f7b3e2364\nUpdated the GAPIC configs to include parameters for Backups APIs.\n\nPiperOrigin-RevId: 300443402\n\n678afc7055c1adea9b7b54519f3bdb228013f918\nAdding Game Servers v1beta API.\n\nPiperOrigin-RevId: 300433218\n\n80d2bd2c652a5e213302041b0620aff423132589\nEnable proto annotation and gapic v2 for talent API.\n\nPiperOrigin-RevId: 300393997\n\n85e454be7a353f7fe1bf2b0affb753305785b872\ndocs(google/maps/roads): remove mention of nonexported api\n\nPiperOrigin-RevId: 300367734\n\nbf839ae632e0f263a729569e44be4b38b1c85f9c\nAdding protocol buffer annotations and updated config info for v1 and v2.\n\nPiperOrigin-RevId: 300276913\n\n309b899ca18a4c604bce63882a161d44854da549\nPublish `Backup` APIs and protos.\n\nPiperOrigin-RevId: 300246038\n\neced64c3f122421350b4aca68a28e89121d20db8\nadd PHP client libraries\n\nPiperOrigin-RevId: 300193634\n\n7727af0e39df1ae9ad715895c8576d7b65cf6c6d\nfeat: use the latest gapic-generator and protoc-java-resource-name-plugin in googleapis/WORKSPACE.\n\nPiperOrigin-RevId: 300188410\n\n2a25aa351dd5b5fe14895266aff5824d90ce757b\nBreaking change: remove the ProjectOrTenant resource and its references.\n\nPiperOrigin-RevId: 300182152\n\na499dbb28546379415f51803505cfb6123477e71\nUpdate web risk v1 gapic config and BUILD file.\n\nPiperOrigin-RevId: 300152177\n\n52701da10fec2a5f9796e8d12518c0fe574488fe\nFix: apply appropriate namespace/package options for C#, PHP and Ruby.\n\nPiperOrigin-RevId: 300123508\n\n365c029b8cdb63f7751b92ab490f1976e616105c\nAdd CC targets to the kms protos.\n\nThese are needed by go/tink.\n\nPiperOrigin-RevId: 300038469\n\n4ba9aa8a4a1413b88dca5a8fa931824ee9c284e6\nExpose logo recognition API proto for GA.\n\nPiperOrigin-RevId: 299971671\n\n1c9fc2c9e03dadf15f16b1c4f570955bdcebe00e\nAdding ruby_package option to accessapproval.proto for the Ruby client libraries generation.\n\nPiperOrigin-RevId: 299955924\n\n1cc6f0a7bfb147e6f2ede911d9b01e7a9923b719\nbuild(google/maps/routes): generate api clients\n\nPiperOrigin-RevId: 299955905\n\n29a47c965aac79e3fe8e3314482ca0b5967680f0\nIncrease timeout to 1hr for method `dropRange` in bigtable/admin/v2, which is\nsynced with the timeout setting in gapic_yaml.\n\nPiperOrigin-RevId: 299917154\n\n8f631c4c70a60a9c7da3749511ee4ad432b62898\nbuild(google/maps/roads/v1op): move go to monorepo pattern\n\nPiperOrigin-RevId: 299885195\n\nd66816518844ebbf63504c9e8dfc7133921dd2cd\nbuild(google/maps/roads/v1op): Add bazel build files to generate clients.\n\nPiperOrigin-RevId: 299851148\n\naf7dff701fabe029672168649c62356cf1bb43d0\nAdd LogPlayerReports and LogImpressions to Playable Locations service\n\nPiperOrigin-RevId: 299724050\n\nb6927fca808f38df32a642c560082f5bf6538ced\nUpdate BigQuery Connection API v1beta1 proto: added credential to CloudSqlProperties.\n\nPiperOrigin-RevId: 299503150\n\n91e1fb5ef9829c0c7a64bfa5bde330e6ed594378\nchore: update protobuf (protoc) version to 3.11.2\n\nPiperOrigin-RevId: 299404145\n\n30e36b4bee6749c4799f4fc1a51cc8f058ba167d\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 299399890\n\nffbb493674099f265693872ae250711b2238090c\nfeat: cloudbuild/v1 add new fields and annotate OUTPUT_OUT fields.\n\nPiperOrigin-RevId: 299397780\n\nbc973a15818e00c19e121959832676e9b7607456\nbazel: Fix broken common dependency\n\nPiperOrigin-RevId: 299397431\n\n71094a343e3b962e744aa49eb9338219537474e4\nchore: bigtable/admin/v2 publish retry config\n\nPiperOrigin-RevId: 299391875\n\n8f488efd7bda33885cb674ddd023b3678c40bd82\nfeat: Migrate logging to GAPIC v2; release new features.\n\nIMPORTANT: This is a breaking change for client libraries\nin all languages.\n\nCommitter: @lukesneeringer, @jskeet\nPiperOrigin-RevId: 299370279\n\n007605bf9ad3a1fd775014ebefbf7f1e6b31ee71\nUpdate API for bigqueryreservation v1beta1.\n- Adds flex capacity commitment plan to CapacityCommitment.\n- Adds methods for getting and updating BiReservations.\n- Adds methods for updating/splitting/merging CapacityCommitments.\n\nPiperOrigin-RevId: 299368059\n\nf0b581b5bdf803e45201ecdb3688b60e381628a8\nfix: recommendationengine/v1beta1 update some comments\n\nPiperOrigin-RevId: 299181282\n\n10e9a0a833dc85ff8f05b2c67ebe5ac785fe04ff\nbuild: add generated BUILD file for Routes Preferred API\n\nPiperOrigin-RevId: 299164808\n\n86738c956a8238d7c77f729be78b0ed887a6c913\npublish v1p1beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299152383\n\n73d9f2ad4591de45c2e1f352bc99d70cbd2a6d95\npublish v1: update with absolute address in comments\n\nPiperOrigin-RevId: 299147194\n\nd2158f24cb77b0b0ccfe68af784c6a628705e3c6\npublish v1beta2: update with absolute address in comments\n\nPiperOrigin-RevId: 299147086\n\n7fca61292c11b4cd5b352cee1a50bf88819dd63b\npublish v1p2beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146903\n\n583b7321624736e2c490e328f4b1957335779295\npublish v1p3beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146674\n\n638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\na3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\ne9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n0aba1900ffef672ec5f0da677cf590ee5686e13b\ncluster: use square brace for cross-reference\n\nPiperOrigin-RevId: 297204568\n\n5dac2da18f6325cbaed54603c43f0667ecd50247\nRestore retry params in gapic config because securitycenter has non-standard default retry params.\nRestore a few retry codes for some idempotent methods.\n\nPiperOrigin-RevId: 297196720\n\n1eb61455530252bba8b2c8d4bc9832960e5a56f6\npubsub: v1 replace IAM HTTP rules\n\nPiperOrigin-RevId: 297188590\n\n80b2d25f8d43d9d47024ff06ead7f7166548a7ba\nDialogflow weekly v2/v2beta1 library update:\n - updates to mega agent api\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297187629\n\n0b1876b35e98f560f9c9ca9797955f020238a092\nUse an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.\n\nprotoc-docs-plugin >=0.4.0 (see commit https://github.com/googleapis/protoc-docs-plugin/commit/979f03ede6678c487337f3d7e88bae58df5207af) is incompatible with protobuf 3.9.1.\n\nPiperOrigin-RevId: 296986742\n\n1e47e676cddbbd8d93f19ba0665af15b5532417e\nFix: Restore a method signature for UpdateCluster\n\nPiperOrigin-RevId: 296901854\n\n7f910bcc4fc4704947ccfd3ceed015d16b9e00c2\nUpdate Dataproc v1beta2 client.\n\nPiperOrigin-RevId: 296451205\n\nde287524405a3dce124d301634731584fc0432d7\nFix: Reinstate method signatures that had been missed off some RPCs\nFix: Correct resource types for two fields\n\nPiperOrigin-RevId: 296435091\n\ne5bc9566ae057fb4c92f8b7e047f1c8958235b53\nDeprecate the endpoint_uris field, as it is unused.\n\nPiperOrigin-RevId: 296357191\n\n8c12e2b4dca94e12bff9f538bdac29524ff7ef7a\nUpdate Dataproc v1 client.\n\nPiperOrigin-RevId: 296336662\n\n17567c4a1ef0a9b50faa87024d66f8acbb561089\nRemoving erroneous comment, a la https://github.com/googleapis/java-speech/pull/103\n\nPiperOrigin-RevId: 296332968\n\n" + "sha": "89e89786896d256c70f43e68a975470c4f4f220e", + "internalRef": "311239362" } }, { - "template": { - "name": "python_library", - "origin": "synthtool.gcp", - "version": "2020.2.4" + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "84c4156c49be9dcabacc8fd7b0585b6fd789ae47" } } ], @@ -32,8 +30,7 @@ "apiName": "dlp", "apiVersion": "v2", "language": "python", - "generator": "gapic", - "config": "google/privacy/dlp/artman_dlp_v2.yaml" + "generator": "bazel" } } ] diff --git a/tests/unit/gapic/v2/test_dlp_service_client_v2.py b/tests/unit/gapic/v2/test_dlp_service_client_v2.py index 2c10dbf0..6eb1c1c1 100644 --- a/tests/unit/gapic/v2/test_dlp_service_client_v2.py +++ b/tests/unit/gapic/v2/test_dlp_service_client_v2.py @@ -73,14 +73,11 @@ def test_inspect_content(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - # Setup Request - parent = client.project_path("[PROJECT]") - - response = client.inspect_content(parent) + response = client.inspect_content() assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.InspectContentRequest(parent=parent) + expected_request = dlp_pb2.InspectContentRequest() actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -92,11 +89,8 @@ def test_inspect_content_exception(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - # Setup request - parent = client.project_path("[PROJECT]") - with pytest.raises(CustomException): - client.inspect_content(parent) + client.inspect_content() def test_redact_image(self): # Setup Expected Response @@ -115,14 +109,11 @@ def test_redact_image(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - # Setup Request - parent = client.project_path("[PROJECT]") - - response = client.redact_image(parent) + response = client.redact_image() assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.RedactImageRequest(parent=parent) + expected_request = dlp_pb2.RedactImageRequest() actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -134,11 +125,8 @@ def test_redact_image_exception(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - # Setup request - parent = client.project_path("[PROJECT]") - with pytest.raises(CustomException): - client.redact_image(parent) + client.redact_image() def test_deidentify_content(self): # Setup Expected Response @@ -152,14 +140,11 @@ def test_deidentify_content(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - # Setup Request - parent = client.project_path("[PROJECT]") - - response = client.deidentify_content(parent) + response = client.deidentify_content() assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.DeidentifyContentRequest(parent=parent) + expected_request = dlp_pb2.DeidentifyContentRequest() actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -171,11 +156,8 @@ def test_deidentify_content_exception(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - # Setup request - parent = client.project_path("[PROJECT]") - with pytest.raises(CustomException): - client.deidentify_content(parent) + client.deidentify_content() def test_reidentify_content(self): # Setup Expected Response @@ -265,13 +247,16 @@ def test_create_inspect_template(self): client = dlp_v2.DlpServiceClient() # Setup Request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") + inspect_template = {} - response = client.create_inspect_template(parent) + response = client.create_inspect_template(parent, inspect_template) assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.CreateInspectTemplateRequest(parent=parent) + expected_request = dlp_pb2.CreateInspectTemplateRequest( + parent=parent, inspect_template=inspect_template + ) actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -284,10 +269,11 @@ def test_create_inspect_template_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") + inspect_template = {} with pytest.raises(CustomException): - client.create_inspect_template(parent) + client.create_inspect_template(parent, inspect_template) def test_update_inspect_template(self): # Setup Expected Response @@ -339,11 +325,11 @@ def test_update_inspect_template_exception(self): def test_get_inspect_template(self): # Setup Expected Response - name = "name3373707" + name_2 = "name2-1052831874" display_name = "displayName1615086568" description = "description-1724546052" expected_response = { - "name": name, + "name": name_2, "display_name": display_name, "description": description, } @@ -356,11 +342,16 @@ def test_get_inspect_template(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() - response = client.get_inspect_template() + # Setup Request + name = client.organization_inspect_template_path( + "[ORGANIZATION]", "[INSPECT_TEMPLATE]" + ) + + response = client.get_inspect_template(name) assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.GetInspectTemplateRequest() + expected_request = dlp_pb2.GetInspectTemplateRequest(name=name) actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -372,8 +363,13 @@ def test_get_inspect_template_exception(self): create_channel.return_value = channel client = dlp_v2.DlpServiceClient() + # Setup request + name = client.organization_inspect_template_path( + "[ORGANIZATION]", "[INSPECT_TEMPLATE]" + ) + with pytest.raises(CustomException): - client.get_inspect_template() + client.get_inspect_template(name) def test_list_inspect_templates(self): # Setup Expected Response @@ -394,7 +390,7 @@ def test_list_inspect_templates(self): client = dlp_v2.DlpServiceClient() # Setup Request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") paged_list_response = client.list_inspect_templates(parent) resources = list(paged_list_response) @@ -415,7 +411,7 @@ def test_list_inspect_templates_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") paged_list_response = client.list_inspect_templates(parent) with pytest.raises(CustomException): @@ -476,13 +472,16 @@ def test_create_deidentify_template(self): client = dlp_v2.DlpServiceClient() # Setup Request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") + deidentify_template = {} - response = client.create_deidentify_template(parent) + response = client.create_deidentify_template(parent, deidentify_template) assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.CreateDeidentifyTemplateRequest(parent=parent) + expected_request = dlp_pb2.CreateDeidentifyTemplateRequest( + parent=parent, deidentify_template=deidentify_template + ) actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -495,10 +494,11 @@ def test_create_deidentify_template_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") + deidentify_template = {} with pytest.raises(CustomException): - client.create_deidentify_template(parent) + client.create_deidentify_template(parent, deidentify_template) def test_update_deidentify_template(self): # Setup Expected Response @@ -615,7 +615,7 @@ def test_list_deidentify_templates(self): client = dlp_v2.DlpServiceClient() # Setup Request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") paged_list_response = client.list_deidentify_templates(parent) resources = list(paged_list_response) @@ -636,7 +636,7 @@ def test_list_deidentify_templates_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") paged_list_response = client.list_deidentify_templates(parent) with pytest.raises(CustomException): @@ -774,7 +774,7 @@ def test_get_dlp_job(self): client = dlp_v2.DlpServiceClient() # Setup Request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" response = client.get_dlp_job(name) assert expected_response == response @@ -793,7 +793,7 @@ def test_get_dlp_job_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" with pytest.raises(CustomException): client.get_dlp_job(name) @@ -806,7 +806,7 @@ def test_delete_dlp_job(self): client = dlp_v2.DlpServiceClient() # Setup Request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" client.delete_dlp_job(name) @@ -824,7 +824,7 @@ def test_delete_dlp_job_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" with pytest.raises(CustomException): client.delete_dlp_job(name) @@ -837,7 +837,7 @@ def test_cancel_dlp_job(self): client = dlp_v2.DlpServiceClient() # Setup Request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" client.cancel_dlp_job(name) @@ -855,7 +855,7 @@ def test_cancel_dlp_job_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" with pytest.raises(CustomException): client.cancel_dlp_job(name) @@ -868,7 +868,7 @@ def test_finish_dlp_job(self): client = dlp_v2.DlpServiceClient() # Setup Request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" client.finish_dlp_job(name) @@ -886,7 +886,7 @@ def test_finish_dlp_job_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - name = client.dlp_job_path("[PROJECT]", "[DLP_JOB]") + name = "name3373707" with pytest.raises(CustomException): client.finish_dlp_job(name) @@ -1026,7 +1026,7 @@ def test_delete_job_trigger(self): client = dlp_v2.DlpServiceClient() # Setup Request - name = "name3373707" + name = client.project_job_trigger_path("[PROJECT]", "[JOB_TRIGGER]") client.delete_job_trigger(name) @@ -1044,7 +1044,7 @@ def test_delete_job_trigger_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - name = "name3373707" + name = client.project_job_trigger_path("[PROJECT]", "[JOB_TRIGGER]") with pytest.raises(CustomException): client.delete_job_trigger(name) @@ -1062,7 +1062,7 @@ def test_hybrid_inspect_job_trigger(self): client = dlp_v2.DlpServiceClient() # Setup Request - name = "name3373707" + name = client.project_job_trigger_path("[PROJECT]", "[JOB_TRIGGER]") response = client.hybrid_inspect_job_trigger(name) assert expected_response == response @@ -1081,7 +1081,7 @@ def test_hybrid_inspect_job_trigger_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - name = "name3373707" + name = client.project_job_trigger_path("[PROJECT]", "[JOB_TRIGGER]") with pytest.raises(CustomException): client.hybrid_inspect_job_trigger(name) @@ -1151,12 +1151,15 @@ def test_create_job_trigger(self): # Setup Request parent = client.project_path("[PROJECT]") + job_trigger = {} - response = client.create_job_trigger(parent) + response = client.create_job_trigger(parent, job_trigger) assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.CreateJobTriggerRequest(parent=parent) + expected_request = dlp_pb2.CreateJobTriggerRequest( + parent=parent, job_trigger=job_trigger + ) actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -1170,9 +1173,10 @@ def test_create_job_trigger_exception(self): # Setup request parent = client.project_path("[PROJECT]") + job_trigger = {} with pytest.raises(CustomException): - client.create_job_trigger(parent) + client.create_job_trigger(parent, job_trigger) def test_create_stored_info_type(self): # Setup Expected Response @@ -1188,13 +1192,16 @@ def test_create_stored_info_type(self): client = dlp_v2.DlpServiceClient() # Setup Request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") + config = {} - response = client.create_stored_info_type(parent) + response = client.create_stored_info_type(parent, config) assert expected_response == response assert len(channel.requests) == 1 - expected_request = dlp_pb2.CreateStoredInfoTypeRequest(parent=parent) + expected_request = dlp_pb2.CreateStoredInfoTypeRequest( + parent=parent, config=config + ) actual_request = channel.requests[0][1] assert expected_request == actual_request @@ -1207,10 +1214,11 @@ def test_create_stored_info_type_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") + config = {} with pytest.raises(CustomException): - client.create_stored_info_type(parent) + client.create_stored_info_type(parent, config) def test_update_stored_info_type(self): # Setup Expected Response @@ -1315,7 +1323,7 @@ def test_list_stored_info_types(self): client = dlp_v2.DlpServiceClient() # Setup Request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") paged_list_response = client.list_stored_info_types(parent) resources = list(paged_list_response) @@ -1336,7 +1344,7 @@ def test_list_stored_info_types_exception(self): client = dlp_v2.DlpServiceClient() # Setup request - parent = client.organization_path("[ORGANIZATION]") + parent = client.organization_location_path("[ORGANIZATION]", "[LOCATION]") paged_list_response = client.list_stored_info_types(parent) with pytest.raises(CustomException):