From ab572e2abb95ee9a24df5fb012bd6eb071f4337c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 30 Jan 2020 09:16:57 -0800 Subject: [PATCH] chore(dataproc): bump copyright year to 2020; change docstring line breaks (via synth) (#10262) --- dlp/google/__init__.py | 2 +- dlp/google/cloud/__init__.py | 2 +- dlp/google/cloud/dlp.py | 2 +- dlp/google/cloud/dlp_v2/__init__.py | 2 +- .../cloud/dlp_v2/gapic/dlp_service_client.py | 2 +- dlp/google/cloud/dlp_v2/gapic/enums.py | 2 +- .../transports/dlp_service_grpc_transport.py | 2 +- dlp/google/cloud/dlp_v2/proto/dlp_pb2.py | 398 ++++++++++-------- dlp/google/cloud/dlp_v2/proto/storage_pb2.py | 89 ++-- dlp/google/cloud/dlp_v2/types.py | 2 +- dlp/synth.metadata | 136 +++++- .../gapic/v2/test_dlp_service_client_v2.py | 2 +- 12 files changed, 398 insertions(+), 243 deletions(-) diff --git a/dlp/google/__init__.py b/dlp/google/__init__.py index 8fcc60e2b9c6..9a1b64a6d586 100644 --- a/dlp/google/__init__.py +++ b/dlp/google/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/__init__.py b/dlp/google/cloud/__init__.py index 8fcc60e2b9c6..9a1b64a6d586 100644 --- a/dlp/google/cloud/__init__.py +++ b/dlp/google/cloud/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/dlp.py b/dlp/google/cloud/dlp.py index 3fe2b696107c..8e70272c672e 100644 --- a/dlp/google/cloud/dlp.py +++ b/dlp/google/cloud/dlp.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/dlp_v2/__init__.py b/dlp/google/cloud/dlp_v2/__init__.py index 4168acd509a1..48ef10a6201d 100644 --- a/dlp/google/cloud/dlp_v2/__init__.py +++ b/dlp/google/cloud/dlp_v2/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/dlp_v2/gapic/dlp_service_client.py b/dlp/google/cloud/dlp_v2/gapic/dlp_service_client.py index 474de2ce8089..8e54b9e1ec26 100644 --- a/dlp/google/cloud/dlp_v2/gapic/dlp_service_client.py +++ b/dlp/google/cloud/dlp_v2/gapic/dlp_service_client.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/dlp_v2/gapic/enums.py b/dlp/google/cloud/dlp_v2/gapic/enums.py index 02173104d93a..78af7f466746 100644 --- a/dlp/google/cloud/dlp_v2/gapic/enums.py +++ b/dlp/google/cloud/dlp_v2/gapic/enums.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py b/dlp/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py index ad5e2e8d4957..c32a3f44b4be 100644 --- a/dlp/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py +++ b/dlp/google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/google/cloud/dlp_v2/proto/dlp_pb2.py b/dlp/google/cloud/dlp_v2/proto/dlp_pb2.py index 41a349be141d..0bdd6f8e96c4 100644 --- a/dlp/google/cloud/dlp_v2/proto/dlp_pb2.py +++ b/dlp/google/cloud/dlp_v2/proto/dlp_pb2.py @@ -13758,8 +13758,8 @@ dict( DESCRIPTOR=_EXCLUSIONRULE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The rule that specifies conditions when findings of infoTypes specified - in ``InspectionRuleSet`` are removed from results. + __doc__="""The rule that specifies conditions when findings of + infoTypes specified in ``InspectionRuleSet`` are removed from results. Attributes: @@ -13786,8 +13786,8 @@ dict( DESCRIPTOR=_INSPECTIONRULE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A single inspection rule to be applied to infoTypes, specified in - ``InspectionRuleSet``. + __doc__="""A single inspection rule to be applied to infoTypes, + specified in ``InspectionRuleSet``. Attributes: @@ -13809,9 +13809,9 @@ dict( DESCRIPTOR=_INSPECTIONRULESET, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Rule set for modifying a set of infoTypes to alter behavior under - certain circumstances, depending on the specific details of the rules - within the set. + __doc__="""Rule set for modifying a set of infoTypes to alter + behavior under certain circumstances, depending on the specific details + of the rules within the set. Attributes: @@ -13840,8 +13840,8 @@ dict( DESCRIPTOR=_INSPECTCONFIG_FINDINGLIMITS_INFOTYPELIMIT, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Max findings configuration per infoType, per content item or long - running DlpJob. + __doc__="""Max findings configuration per infoType, per content item + or long running DlpJob. Attributes: @@ -13881,8 +13881,9 @@ ), DESCRIPTOR=_INSPECTCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Configuration description of the scanning process. When used with - redactContent only info\_types and min\_likelihood are currently used. + __doc__="""Configuration description of the scanning process. When + used with redactContent only info\_types and min\_likelihood are + currently used. Attributes: @@ -14000,8 +14001,8 @@ ), DESCRIPTOR=_TABLE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Structured content to inspect. Up to 50,000 ``Value``\ s per request - allowed. See + __doc__="""Structured content to inspect. Up to 50,000 ``Value``\ s + per request allowed. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting\_a\_table to learn more. @@ -14283,7 +14284,8 @@ dict( DESCRIPTOR=_REDACTIMAGEREQUEST_IMAGEREDACTIONCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Configuration for determining how redaction of images should occur. + __doc__="""Configuration for determining how redaction of images + should occur. Attributes: @@ -14307,8 +14309,8 @@ ), DESCRIPTOR=_REDACTIMAGEREQUEST, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request to search for potentially sensitive info in an image and redact - it by covering it with a colored rectangle. + __doc__="""Request to search for potentially sensitive info in an + image and redact it by covering it with a colored rectangle. Attributes: @@ -14526,7 +14528,8 @@ dict( DESCRIPTOR=_INSPECTCONTENTREQUEST, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Request to search for potentially sensitive info in a ContentItem. + __doc__="""Request to search for potentially sensitive info in a + ContentItem. Attributes: @@ -14663,8 +14666,8 @@ dict( DESCRIPTOR=_INSPECTDATASOURCEDETAILS_RESULT, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""All result fields mentioned below are updated while the job is - processing. + __doc__="""All result fields mentioned below are updated while the + job is processing. Attributes: @@ -14837,8 +14840,9 @@ dict( DESCRIPTOR=_STATISTICALTABLE_QUASIIDENTIFIERFIELD, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A quasi-identifier column has a custom\_tag, used to know which column - in the data corresponds to which column in the statistical model. + __doc__="""A quasi-identifier column has a custom\_tag, used to know + which column in the data corresponds to which column in the statistical + model. Attributes: @@ -14855,11 +14859,11 @@ ), DESCRIPTOR=_STATISTICALTABLE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""An auxiliary table containing statistical information on the relative - frequency of different quasi-identifiers values. It has one or several - quasi-identifiers columns, and one column that indicates the relative - frequency of each quasi-identifier tuple. If a tuple is present in the - data but not in the auxiliary table, the corresponding relative + __doc__="""An auxiliary table containing statistical information on + the relative frequency of different quasi-identifiers values. It has one + or several quasi-identifiers columns, and one column that indicates the + relative frequency of each quasi-identifier tuple. If a tuple is present + in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable). @@ -14890,8 +14894,8 @@ dict( DESCRIPTOR=_PRIVACYMETRIC_NUMERICALSTATSCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Compute numerical stats over an individual column, including min, max, - and quantiles. + __doc__="""Compute numerical stats over an individual column, + including min, max, and quantiles. Attributes: @@ -14908,8 +14912,8 @@ dict( DESCRIPTOR=_PRIVACYMETRIC_CATEGORICALSTATSCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Compute numerical stats over an individual column, including number of - distinct values and value count distribution. + __doc__="""Compute numerical stats over an individual column, + including number of distinct values and value count distribution. Attributes: @@ -14928,7 +14932,8 @@ dict( DESCRIPTOR=_PRIVACYMETRIC_KANONYMITYCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""k-anonymity metric, used for analysis of reidentification risk. + __doc__="""k-anonymity metric, used for analysis of reidentification + risk. Attributes: @@ -14959,7 +14964,8 @@ dict( DESCRIPTOR=_PRIVACYMETRIC_LDIVERSITYCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""l-diversity metric, used for analysis of reidentification risk. + __doc__="""l-diversity metric, used for analysis of reidentification + risk. Attributes: @@ -15023,8 +15029,9 @@ dict( DESCRIPTOR=_PRIVACYMETRIC_KMAPESTIMATIONCONFIG_AUXILIARYTABLE_QUASIIDFIELD, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A quasi-identifier column has a custom\_tag, used to know which column - in the data corresponds to which column in the statistical model. + __doc__="""A quasi-identifier column has a custom\_tag, used to know + which column in the data corresponds to which column in the statistical + model. Attributes: @@ -15038,11 +15045,11 @@ ), DESCRIPTOR=_PRIVACYMETRIC_KMAPESTIMATIONCONFIG_AUXILIARYTABLE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""An auxiliary table contains statistical information on the relative - frequency of different quasi-identifiers values. It has one or several - quasi-identifiers columns, and one column that indicates the relative - frequency of each quasi-identifier tuple. If a tuple is present in the - data but not in the auxiliary table, the corresponding relative + __doc__="""An auxiliary table contains statistical information on the + relative frequency of different quasi-identifiers values. It has one or + several quasi-identifiers columns, and one column that indicates the + relative frequency of each quasi-identifier tuple. If a tuple is present + in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable). @@ -15062,13 +15069,13 @@ ), DESCRIPTOR=_PRIVACYMETRIC_KMAPESTIMATIONCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Reidentifiability metric. This corresponds to a risk model similar to - what is called "journalist risk" in the literature, except the attack - dataset is statistically modeled instead of being perfectly known. This - can be done using publicly available data (like the US Census), or using - a custom statistical model (indicated as one or several BigQuery - tables), or by extrapolating from the distribution of values in the - input dataset. + __doc__="""Reidentifiability metric. This corresponds to a risk model + similar to what is called "journalist risk" in the literature, except + the attack dataset is statistically modeled instead of being perfectly + known. This can be done using publicly available data (like the US + Census), or using a custom statistical model (indicated as one or + several BigQuery tables), or by extrapolating from the distribution of + values in the input dataset. Attributes: @@ -15093,11 +15100,11 @@ dict( DESCRIPTOR=_PRIVACYMETRIC_DELTAPRESENCEESTIMATIONCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""δ-presence metric, used to estimate how likely it is for an attacker to - figure out that one given individual appears in a de-identified dataset. - Similarly to the k-map metric, we cannot compute δ-presence exactly - without knowing the attack dataset, so we use a statistical model - instead. + __doc__="""δ-presence metric, used to estimate how likely it is for + an attacker to figure out that one given individual appears in a + de-identified dataset. Similarly to the k-map metric, we cannot compute + δ-presence exactly without knowing the attack dataset, so we use a + statistical model instead. Attributes: @@ -15118,7 +15125,8 @@ ), DESCRIPTOR=_PRIVACYMETRIC, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Privacy metric to compute for reidentification risk analysis. + __doc__="""Privacy metric to compute for reidentification risk + analysis. Attributes: @@ -15221,7 +15229,8 @@ dict( DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_KANONYMITYRESULT_KANONYMITYEQUIVALENCECLASS, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The set of columns' values that share the same ldiversity value + __doc__="""The set of columns' values that share the same ldiversity + value Attributes: @@ -15285,7 +15294,8 @@ dict( DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_LDIVERSITYRESULT_LDIVERSITYEQUIVALENCECLASS, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""The set of columns' values that share the same ldiversity value. + __doc__="""The set of columns' values that share the same ldiversity + value. Attributes: @@ -15308,7 +15318,8 @@ dict( DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_LDIVERSITYRESULT_LDIVERSITYHISTOGRAMBUCKET, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Histogram of l-diversity equivalence class sensitive value frequencies. + __doc__="""Histogram of l-diversity equivalence class sensitive value + frequencies. Attributes: @@ -15370,11 +15381,11 @@ dict( DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_KMAPESTIMATIONRESULT_KMAPESTIMATIONHISTOGRAMBUCKET, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A KMapEstimationHistogramBucket message with the following values: - min\_anonymity: 3 max\_anonymity: 5 frequency: 42 means that there are - 42 records whose quasi-identifier values correspond to 3, 4 or 5 people - in the overlying population. An important particular case is when - min\_anonymity = max\_anonymity = 1: the frequency field then + __doc__="""A KMapEstimationHistogramBucket message with the following + values: min\_anonymity: 3 max\_anonymity: 5 frequency: 42 means that + there are 42 records whose quasi-identifier values correspond to 3, 4 or + 5 people in the overlying population. An important particular case is + when min\_anonymity = max\_anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records. @@ -15397,8 +15408,8 @@ ), DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_KMAPESTIMATIONRESULT, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Result of the reidentifiability analysis. Note that these results are an - estimation, not exact values. + __doc__="""Result of the reidentifiability analysis. Note that these + results are an estimation, not exact values. Attributes: @@ -15451,12 +15462,12 @@ dict( DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_DELTAPRESENCEESTIMATIONRESULT_DELTAPRESENCEESTIMATIONHISTOGRAMBUCKET, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""A DeltaPresenceEstimationHistogramBucket message with the following - values: min\_probability: 0.1 max\_probability: 0.2 frequency: 42 means - that there are 42 records for which δ is in [0.1, 0.2). An important - particular case is when min\_probability = max\_probability = 1: then, - every individual who shares this quasi-identifier combination is in the - dataset. + __doc__="""A DeltaPresenceEstimationHistogramBucket message with the + following values: min\_probability: 0.1 max\_probability: 0.2 frequency: + 42 means that there are 42 records for which δ is in [0.1, 0.2). An + important particular case is when min\_probability = max\_probability = + 1: then, every individual who shares this quasi-identifier combination + is in the dataset. Attributes: @@ -15478,8 +15489,8 @@ ), DESCRIPTOR=_ANALYZEDATASOURCERISKDETAILS_DELTAPRESENCEESTIMATIONRESULT, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Result of the δ-presence computation. Note that these results are an - estimation, not exact values. + __doc__="""Result of the δ-presence computation. Note that these + results are an estimation, not exact values. Attributes: @@ -15585,12 +15596,12 @@ dict( DESCRIPTOR=_VALUE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Set of primitive values supported by the system. Note that for the - purposes of inspection or transformation, the number of bytes considered - to comprise a 'Value' is based on its representation as a UTF-8 encoded - string. For example, if 'integer\_value' is set to 123456789, the number - of bytes would be counted as 9, even though an int64 only holds up to 8 - bytes of data. + __doc__="""Set of primitive values supported by the system. Note that + for the purposes of inspection or transformation, the number of bytes + considered to comprise a 'Value' is based on its representation as a + UTF-8 encoded string. For example, if 'integer\_value' is set to + 123456789, the number of bytes would be counted as 9, even though an + int64 only holds up to 8 bytes of data. Attributes: @@ -15661,7 +15672,8 @@ ), DESCRIPTOR=_DATETIME, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Message for a date time object. e.g. 2018-01-01, 5th August. + __doc__="""Message for a date time object. e.g. 2018-01-01, 5th + August. Attributes: @@ -15748,8 +15760,8 @@ dict( DESCRIPTOR=_TIMEPARTCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""For use with ``Date``, ``Timestamp``, and ``TimeOfDay``, extract or - preserve a portion of the value. + __doc__="""For use with ``Date``, ``Timestamp``, and ``TimeOfDay``, + extract or preserve a portion of the value. Attributes: @@ -15767,11 +15779,11 @@ dict( DESCRIPTOR=_CRYPTOHASHCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Pseudonymization method that generates surrogates via cryptographic - hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. - Outputs a base64 encoded representation of the hashed output (for - example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only - string and integer values can be hashed. See + __doc__="""Pseudonymization method that generates surrogates via + cryptographic hashing. Uses SHA-256. The key size must be either 32 or + 64 bytes. Outputs a base64 encoded representation of the hashed output + (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, + only string and integer values can be hashed. See https://cloud.google.com/dlp/docs/pseudonymization to learn more. @@ -15790,9 +15802,9 @@ dict( DESCRIPTOR=_CRYPTODETERMINISTICCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Pseudonymization method that generates deterministic encryption for the - given input. Outputs a base64 encoded representation of the encrypted - output. Uses AES-SIV based on the RFC + __doc__="""Pseudonymization method that generates deterministic + encryption for the given input. Outputs a base64 encoded representation + of the encrypted output. Uses AES-SIV based on the RFC https://tools.ietf.org/html/rfc5297. @@ -15873,7 +15885,9 @@ dict( DESCRIPTOR=_REPLACEWITHINFOTYPECONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Replace each matching finding with the name of the info\_type. + __doc__="""Replace each matching finding with the name of the + info\_type. + """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.ReplaceWithInfoTypeConfig) ), @@ -15890,6 +15904,7 @@ ``InfoTypeTransformation`` transforming PHONE\_NUMBER, and input 'My phone number is 206-555-0123', the output would be 'My phone number is '. + """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.RedactConfig) ), @@ -15902,8 +15917,8 @@ dict( DESCRIPTOR=_CHARSTOIGNORE, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Characters to skip when doing deidentification of a value. These will be - left alone and skipped. + __doc__="""Characters to skip when doing deidentification of a value. + These will be left alone and skipped. Attributes: @@ -15924,12 +15939,12 @@ dict( DESCRIPTOR=_CHARACTERMASKCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Partially mask a string by replacing a given number of characters with a - fixed character. Masking can start from the beginning or end of the - string. This can be used on data of any type (numbers, longs, and so on) - and when de-identifying structured data we'll attempt to preserve the - original data's type. (This allows you to take a long like 123 and - modify it to a string like \*\*3. + __doc__="""Partially mask a string by replacing a given number of + characters with a fixed character. Masking can start from the beginning + or end of the string. This can be used on data of any type (numbers, + longs, and so on) and when de-identifying structured data we'll attempt + to preserve the original data's type. (This allows you to take a long + like 123 and modify it to a string like \*\*3. Attributes: @@ -15969,10 +15984,10 @@ dict( DESCRIPTOR=_FIXEDSIZEBUCKETINGCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Buckets values based on fixed size ranges. The Bucketing transformation - can provide all of this functionality, but requires more configuration. - This message is provided as a convenience to the user for simple - bucketing strategies. + __doc__="""Buckets values based on fixed size ranges. The Bucketing + transformation can provide all of this functionality, but requires more + configuration. This message is provided as a convenience to the user for + simple bucketing strategies. The transformed value will be a hyphenated string of {lower\_bound}-{upper\_bound}, i.e if lower\_bound = 10 and upper\_bound @@ -16021,7 +16036,8 @@ dict( DESCRIPTOR=_BUCKETINGCONFIG_BUCKET, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Bucket is represented as a range, along with replacement values. + __doc__="""Bucket is represented as a range, along with replacement + values. Attributes: @@ -16039,13 +16055,13 @@ ), DESCRIPTOR=_BUCKETINGCONFIG, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Generalization function that buckets values based on ranges. The ranges - and replacement values are dynamically provided by the user for custom - behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be - used on data of type: number, long, string, timestamp. If the bound - ``Value`` type differs from the type of data being transformed, we will - first attempt converting the type of the data to be transformed to match - the type of the bound before comparing. See + __doc__="""Generalization function that buckets values based on + ranges. The ranges and replacement values are dynamically provided by + the user for custom behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 + -> HIGH This can be used on data of type: number, long, string, + timestamp. If the bound ``Value`` type differs from the type of data + being transformed, we will first attempt converting the type of the data + to be transformed to match the type of the bound before comparing. See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. @@ -16065,12 +16081,12 @@ dict( 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. The - identifier must be encoded as ASCII. For a given crypto key and context, - the same identifier will be replaced with the same surrogate. + __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. + The identifier must be encoded as ASCII. For a given crypto key and + context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https://cloud.google.com/dlp/docs/pseudonymization to learn more. @@ -16150,10 +16166,10 @@ dict( 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. + __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. Attributes: @@ -16177,8 +16193,8 @@ dict( 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. + __doc__="""Use this to have a random data crypto key generated. It + will be discarded after the request finishes. Attributes: @@ -16202,8 +16218,8 @@ dict( 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. + __doc__="""Using raw keys is prone to security risks due to + accidentally leaking the key. Choose another type of key if possible. Attributes: @@ -16221,9 +16237,9 @@ dict( 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 + __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 @@ -16245,8 +16261,8 @@ dict( 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 + __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. @@ -16289,8 +16305,8 @@ 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. + __doc__="""A transformation to apply to text that is identified as a + specific info\_type. Attributes: @@ -16307,9 +16323,9 @@ ), 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 + __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. @@ -16363,8 +16379,8 @@ dict( 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. + __doc__="""A type of transformation that is applied over structured + data such as a table. Attributes: @@ -16387,8 +16403,8 @@ dict( DESCRIPTOR=_RECORDSUPPRESSION, __module__="google.cloud.dlp_v2.proto.dlp_pb2", - __doc__="""Configuration to suppress records whose suppression conditions evaluate - to true. + __doc__="""Configuration to suppress records whose suppression + conditions evaluate to true. Attributes: @@ -16454,11 +16470,11 @@ ), 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 types, but all - other comparisons are invalid with incompatible types. A ``value`` of - type: + __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 + types, but all other comparisons are invalid with incompatible types. A + ``value`` of type: - ``string`` can be compared against all other types - ``boolean`` can only be compared against other booleans @@ -16526,8 +16542,8 @@ dict( 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. + __doc__="""A collection that informs the user the number of times a + particular ``TransformationResultCode`` and error details occurred. Attributes: @@ -16544,8 +16560,9 @@ ), 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. + __doc__="""Summary of a single transformation. Only one of + 'transformation', 'field\_transformation', or 'record\_suppress' will be + set. Attributes: @@ -16602,9 +16619,9 @@ dict( 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 + __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. @@ -16637,8 +16654,9 @@ dict( 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. + __doc__="""DeidentifyTemplates contains instructions on how to + de-identify content. See + https://cloud.google.com/dlp/docs/concepts-templates to learn more. Attributes: @@ -16669,8 +16687,9 @@ dict( 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. + __doc__="""Details information about an error encountered during job + execution or the results of an unsuccessful activation of the + JobTrigger. Attributes: @@ -16753,9 +16772,9 @@ dict( 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 + __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 Attributes: @@ -16771,9 +16790,9 @@ dict( 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 + __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 ```DlpJob.name`` `__. Compatible with: Inspect, Risk @@ -16794,14 +16813,15 @@ dict( 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 finding - instances and their info types. The summary of findings will be + __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 + finding instances and their info types. The summary of findings will be persisted in CSCC and are governed by CSCC service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified. Compatible with: Inspect + """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishSummaryToCscc) ), @@ -16812,16 +16832,17 @@ dict( 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 strictly enforced - when using this feature. Note that the findings will be persisted in - Cloud Data Catalog storage and are governed by Data Catalog - service-specific policy, see + __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 + strictly enforced when using this feature. Note that the findings will + be persisted in Cloud Data Catalog storage and are governed by Data + Catalog service-specific policy, see https://cloud.google.com/terms/service-terms Only a single instance of this action can be specified and only allowed if all resources being scanned are BigQuery tables. Compatible with: Inspect + """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog) ), @@ -16832,8 +16853,9 @@ 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. + __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) ), @@ -16844,10 +16866,12 @@ 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 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'. + __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'. + """, # @@protoc_insertion_point(class_scope:google.privacy.dlp.v2.Action.PublishToStackdriver) ), @@ -17139,9 +17163,9 @@ dict( 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. + __doc__="""Request message for CreateDlpJobRequest. Used to initiate + long running jobs such as calculating risk metrics or inspecting Google + Cloud Storage. Attributes: @@ -17633,8 +17657,8 @@ dict( 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 + __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 location. Consider using ``CustomInfoType.Dictionary`` for smaller @@ -17683,8 +17707,8 @@ dict( 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 + __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. @@ -17731,8 +17755,8 @@ dict( 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. + __doc__="""Version of a StoredInfoType, including the configuration + used to build it, create timestamp, and current state. Attributes: @@ -17771,8 +17795,8 @@ dict( 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. + __doc__="""StoredInfoType resource message that contains information + about the current version and any pending updates. Attributes: diff --git a/dlp/google/cloud/dlp_v2/proto/storage_pb2.py b/dlp/google/cloud/dlp_v2/proto/storage_pb2.py index 7f49d1ea495a..d1b5b167699c 100644 --- a/dlp/google/cloud/dlp_v2/proto/storage_pb2.py +++ b/dlp/google/cloud/dlp_v2/proto/storage_pb2.py @@ -2528,7 +2528,8 @@ 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 in the data. + __doc__="""Message defining a list of words or phrases to search for + in the data. Attributes: @@ -2542,9 +2543,9 @@ ), 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. + __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. Dictionary words are case-insensitive and all characters other than letters and digits in the unicode `Basic Multilingual @@ -2605,14 +2606,15 @@ dict( DESCRIPTOR=_CUSTOMINFOTYPE_SURROGATETYPE, __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message for detecting output from deidentification transformations such - as + __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 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) ), @@ -2627,8 +2629,8 @@ dict( 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. + __doc__="""Message for specifying a window around a finding to apply + a detection rule. Attributes: @@ -2646,8 +2648,8 @@ dict( 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. + __doc__="""Message for specifying an adjustment to the likelihood of + a finding as part of a detection rule. Attributes: @@ -2673,8 +2675,8 @@ 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. + __doc__="""The rule that adjusts the likelihood of findings within a + certain proximity of hotwords. Attributes: @@ -2700,10 +2702,10 @@ ), 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. + __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. Attributes: @@ -2792,9 +2794,9 @@ dict( 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. + __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. A partition ID contains several dimensions: project ID and namespace ID. @@ -2857,9 +2859,9 @@ dict( 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. + __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. Included files are those that match at least one item in ``include_regex`` and do not match any items in ``exclude_regex``. Note @@ -2949,8 +2951,8 @@ ), 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. + __doc__="""Options defining a file or a set of files within a Google + Cloud Storage bucket. Attributes: @@ -3009,7 +3011,8 @@ dict( DESCRIPTOR=_CLOUDSTORAGEPATH, __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message representing a single file or path in Cloud Storage. + __doc__="""Message representing a single file or path in Cloud + Storage. Attributes: @@ -3070,9 +3073,9 @@ dict( 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. + __doc__="""Configuration of the timespan of the items to include in + scanning. Currently only supported when inspecting Google Cloud Storage + and BigQuery. Attributes: @@ -3198,10 +3201,10 @@ ), 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. + __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. Attributes: @@ -3232,7 +3235,8 @@ dict( DESCRIPTOR=_RECORDKEY, __module__="google.cloud.dlp_v2.proto.storage_pb2", - __doc__="""Message for a unique key indicating a record that contains a finding. + __doc__="""Message for a unique key indicating a record that contains + a finding. Attributes: @@ -3252,10 +3256,10 @@ 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. Within a - query a table is often referenced with a string in the format of: - ``:.`` or + __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 ``..``. @@ -3300,11 +3304,12 @@ 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 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 generalizations or analysis must - take into account that multiple rows correspond to the same entity. + __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 + generalizations or analysis must take into account that multiple rows + correspond to the same entity. Attributes: diff --git a/dlp/google/cloud/dlp_v2/types.py b/dlp/google/cloud/dlp_v2/types.py index 2ec96b82c091..222848dc3ad3 100644 --- a/dlp/google/cloud/dlp_v2/types.py +++ b/dlp/google/cloud/dlp_v2/types.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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. diff --git a/dlp/synth.metadata b/dlp/synth.metadata index 820868945f24..3935be954ecd 100644 --- a/dlp/synth.metadata +++ b/dlp/synth.metadata @@ -1,19 +1,20 @@ { - "updateTime": "2020-01-11T13:15:55.328519Z", + "updateTime": "2020-01-30T13:23:11.616418Z", "sources": [ { "generator": { "name": "artman", - "version": "0.43.0", - "dockerImage": "googleapis/artman@sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20" + "version": "0.44.4", + "dockerImage": "googleapis/artman@sha256:19e945954fc960a4bdfee6cb34695898ab21a8cf0bac063ee39b91f00a1faec8" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b08714b378e8e5b0c4ecdde73f92c36d6303b4b6", - "internalRef": "289189004" + "sha": "c1246a29e22b0f98e800a536b5b0da2d933a55f2", + "internalRef": "292310790", + "log": "c1246a29e22b0f98e800a536b5b0da2d933a55f2\nUpdating v1 protos with the latest inline documentation (in comments) and config options. Also adding a per-service .yaml file.\n\nPiperOrigin-RevId: 292310790\n\nb491d07cadaae7cde5608321f913e5ca1459b32d\nRevert accidental local_repository change\n\nPiperOrigin-RevId: 292245373\n\naf3400a8cb6110025198b59a0f7d018ae3cda700\nUpdate gapic-generator dependency (prebuilt PHP binary support).\n\nPiperOrigin-RevId: 292243997\n\n341fd5690fae36f36cf626ef048fbcf4bbe7cee6\ngrafeas: v1 add resource_definition for the grafeas.io/Project and change references for Project.\n\nPiperOrigin-RevId: 292221998\n\n42e915ec2ece1cd37a590fbcd10aa2c0fb0e5b06\nUpdate the gapic-generator, protoc-java-resource-name-plugin and protoc-docs-plugin to the latest commit.\n\nPiperOrigin-RevId: 292182368\n\nf035f47250675d31492a09f4a7586cfa395520a7\nFix grafeas build and update build.sh script to include gerafeas.\n\nPiperOrigin-RevId: 292168753\n\n26ccb214b7bc4a716032a6266bcb0a9ca55d6dbb\nasset: v1p1beta1 add client config annotations and retry config\n\nPiperOrigin-RevId: 292154210\n\n974ee5c0b5d03e81a50dafcedf41e0efebb5b749\nasset: v1beta1 add client config annotations\n\nPiperOrigin-RevId: 292152573\n\ncf3b61102ed5f36b827bc82ec39be09525f018c8\n Fix to protos for v1p1beta1 release of Cloud Security Command Center\n\nPiperOrigin-RevId: 292034635\n\n4e1cfaa7c0fede9e65d64213ca3da1b1255816c0\nUpdate the public proto to support UTF-8 encoded id for CatalogService API, increase the ListCatalogItems deadline to 300s and some minor documentation change\n\nPiperOrigin-RevId: 292030970\n\n9c483584f8fd5a1b862ae07973f4cc7bb3e46648\nasset: add annotations to v1p1beta1\n\nPiperOrigin-RevId: 292009868\n\ne19209fac29731d0baf6d9ac23da1164f7bdca24\nAdd the google.rpc.context.AttributeContext message to the open source\ndirectories.\n\nPiperOrigin-RevId: 291999930\n\nae5662960573f279502bf98a108a35ba1175e782\noslogin API: move file level option on top of the file to avoid protobuf.js bug.\n\nPiperOrigin-RevId: 291990506\n\neba3897fff7c49ed85d3c47fc96fe96e47f6f684\nAdd cc_proto_library and cc_grpc_library targets for Spanner and IAM protos.\n\nPiperOrigin-RevId: 291988651\n\n8e981acfd9b97ea2f312f11bbaa7b6c16e412dea\nBeta launch for PersonDetection and FaceDetection features.\n\nPiperOrigin-RevId: 291821782\n\n994e067fae3b21e195f7da932b08fff806d70b5d\nasset: add annotations to v1p2beta1\n\nPiperOrigin-RevId: 291815259\n\n244e1d2c89346ca2e0701b39e65552330d68545a\nAdd Playable Locations service\n\nPiperOrigin-RevId: 291806349\n\n909f8f67963daf45dd88d020877fb9029b76788d\nasset: add annotations to v1beta2\n\nPiperOrigin-RevId: 291805301\n\n3c39a1d6e23c1ef63c7fba4019c25e76c40dfe19\nKMS: add file-level message for CryptoKeyPath, it is defined in gapic yaml but not\nin proto files.\n\nPiperOrigin-RevId: 291420695\n\nc6f3f350b8387f8d1b85ed4506f30187ebaaddc3\ncontaineranalysis: update v1beta1 and bazel build with annotations\n\nPiperOrigin-RevId: 291401900\n\n92887d74b44e4e636252b7b8477d0d2570cd82db\nfix: fix the location of grpc config file.\n\nPiperOrigin-RevId: 291396015\n\ne26cab8afd19d396b929039dac5d874cf0b5336c\nexpr: add default_host and method_signature annotations to CelService\n\nPiperOrigin-RevId: 291240093\n\n06093ae3952441c34ec176d1f7431b8765cec0be\nirm: fix v1alpha2 bazel build by adding missing proto imports\n\nPiperOrigin-RevId: 291227940\n\na8a2514af326e4673063f9a3c9d0ef1091c87e6c\nAdd proto annotation for cloud/irm API\n\nPiperOrigin-RevId: 291217859\n\n8d16f76de065f530d395a4c7eabbf766d6a120fd\nGenerate Memcache v1beta2 API protos and gRPC ServiceConfig files\n\nPiperOrigin-RevId: 291008516\n\n3af1dabd93df9a9f17bf3624d3b875c11235360b\ngrafeas: Add containeranalysis default_host to Grafeas service\n\nPiperOrigin-RevId: 290965849\n\nbe2663fa95e31cba67d0cd62611a6674db9f74b7\nfix(google/maps/roads): add missing opening bracket\n\nPiperOrigin-RevId: 290964086\n\nfacc26550a0af0696e0534bc9cae9df14275aa7c\nUpdating v2 protos with the latest inline documentation (in comments) and adding a per-service .yaml file.\n\nPiperOrigin-RevId: 290952261\n\ncda99c1f7dc5e4ca9b1caeae1dc330838cbc1461\nChange api_name to 'asset' for v1p1beta1\n\nPiperOrigin-RevId: 290800639\n\n94e9e90c303a820ce40643d9129e7f0d2054e8a1\nAdds Google Maps Road service\n\nPiperOrigin-RevId: 290795667\n\na3b23dcb2eaecce98c600c7d009451bdec52dbda\nrpc: new message ErrorInfo, other comment updates\n\nPiperOrigin-RevId: 290781668\n\n26420ef4e46c37f193c0fbe53d6ebac481de460e\nAdd proto definition for Org Policy v1.\n\nPiperOrigin-RevId: 290771923\n\n7f0dab8177cf371ae019a082e2512de7ac102888\nPublish Routes Preferred API v1 service definitions.\n\nPiperOrigin-RevId: 290326986\n\nad6e508d0728e1d1bca6e3f328cd562718cb772d\nFix: Qualify resource type references with \"jobs.googleapis.com/\"\n\nPiperOrigin-RevId: 290285762\n\n58e770d568a2b78168ddc19a874178fee8265a9d\ncts client library\n\nPiperOrigin-RevId: 290146169\n\naf9daa4c3b4c4a8b7133b81588dd9ffd37270af2\nAdd more programming language options to public proto\n\nPiperOrigin-RevId: 290144091\n\nd9f2bbf2df301ef84641d4cec7c828736a0bd907\ntalent: add missing resource.proto dep to Bazel build target\n\nPiperOrigin-RevId: 290143164\n\n3b3968237451d027b42471cd28884a5a1faed6c7\nAnnotate Talent API.\nAdd gRPC service config for retry.\nUpdate bazel file with google.api.resource dependency.\n\nPiperOrigin-RevId: 290125172\n\n0735b4b096872960568d1f366bfa75b7b0e1f1a3\nWeekly library update.\n\nPiperOrigin-RevId: 289939042\n\n8760d3d9a4543d7f9c0d1c7870aca08b116e4095\nWeekly library update.\n\nPiperOrigin-RevId: 289939020\n\n8607df842f782a901805187e02fff598145b0b0e\nChange Talent API timeout to 30s.\n\nPiperOrigin-RevId: 289912621\n\n908155991fe32570653bcb72ecfdcfc896642f41\nAdd Recommendations AI V1Beta1\n\nPiperOrigin-RevId: 289901914\n\n5c9a8c2bebd8b71aa66d1cc473edfaac837a2c78\nAdding no-arg method signatures for ListBillingAccounts and ListServices\n\nPiperOrigin-RevId: 289891136\n\n50b0e8286ac988b0593bd890eb31fef6ea2f5767\nlongrunning: add grpc service config and default_host annotation to operations.proto\n\nPiperOrigin-RevId: 289876944\n\n6cac27dabe51c54807b0401698c32d34998948a9\n Updating default deadline for Cloud Security Command Center's v1 APIs.\n\nPiperOrigin-RevId: 289875412\n\nd99df0d67057a233c711187e0689baa4f8e6333d\nFix: Correct spelling in C# namespace option\n\nPiperOrigin-RevId: 289709813\n\n2fa8d48165cc48e35b0c62e6f7bdade12229326c\nfeat: Publish Recommender v1 to GitHub.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289619243\n\n9118db63d1ab493a2e44a3b4973fde810a835c49\nfirestore: don't retry reads that fail with Aborted\n\nFor transaction reads that fail with ABORTED, we need to rollback and start a new transaction. Our current configuration makes it so that GAPIC retries ABORTED reads multiple times without making any progress. Instead, we should retry at the transaction level.\n\nPiperOrigin-RevId: 289532382\n\n1dbfd3fe4330790b1e99c0bb20beb692f1e20b8a\nFix bazel build\nAdd other langauges (Java was already there) for bigquery/storage/v1alpha2 api.\n\nPiperOrigin-RevId: 289519766\n\nc06599cdd7d11f8d3fd25f8d3249e5bb1a3d5d73\nInitial commit of google.cloud.policytroubleshooter API, The API helps in troubleshooting GCP policies. Refer https://cloud.google.com/iam/docs/troubleshooting-access for more information\n\nPiperOrigin-RevId: 289491444\n\nfce7d80fa16ea241e87f7bc33d68595422e94ecd\nDo not pass samples option for Artman config of recommender v1 API.\n\nPiperOrigin-RevId: 289477403\n\nef179e8c61436297e6bb124352e47e45c8c80cb1\nfix: Address missing Bazel dependency.\n\nBazel builds stopped working in 06ec6d5 because\nthe google/longrunning/operations.proto file took\nan import from google/api/client.proto, but that\nimport was not added to BUILD.bazel.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289446074\n\n8841655b242c84fd691d77d7bcf21b61044f01ff\nMigrate Data Labeling v1beta1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289446026\n\n06ec6d5d053fff299eaa6eaa38afdd36c5e2fc68\nAdd annotations to google.longrunning.v1\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289413169\n\n0480cf40be1d3cc231f4268a2fdb36a8dd60e641\nMigrate IAM Admin v1 to GAPIC v2.\n\nCommitter: @lukesneeringer\nPiperOrigin-RevId: 289411084\n\n1017173e9adeb858587639af61889ad970c728b1\nSpecify a C# namespace for BigQuery Connection v1beta1\n\nPiperOrigin-RevId: 289396763\n\n" } }, { @@ -35,5 +36,130 @@ "config": "google/privacy/dlp/artman_dlp_v2.yaml" } } + ], + "newFiles": [ + { + "path": ".coveragerc" + }, + { + "path": ".flake8" + }, + { + "path": ".repo-metadata.json" + }, + { + "path": "CHANGELOG.md" + }, + { + "path": "LICENSE" + }, + { + "path": "MANIFEST.in" + }, + { + "path": "README.rst" + }, + { + "path": "docs/README.rst" + }, + { + "path": "docs/_static/custom.css" + }, + { + "path": "docs/_templates/layout.html" + }, + { + "path": "docs/changelog.md" + }, + { + "path": "docs/conf.py" + }, + { + "path": "docs/gapic/v2/api.rst" + }, + { + "path": "docs/gapic/v2/types.rst" + }, + { + "path": "docs/index.rst" + }, + { + "path": "google/__init__.py" + }, + { + "path": "google/cloud/__init__.py" + }, + { + "path": "google/cloud/dlp.py" + }, + { + "path": "google/cloud/dlp_v2/__init__.py" + }, + { + "path": "google/cloud/dlp_v2/gapic/__init__.py" + }, + { + "path": "google/cloud/dlp_v2/gapic/dlp_service_client.py" + }, + { + "path": "google/cloud/dlp_v2/gapic/dlp_service_client_config.py" + }, + { + "path": "google/cloud/dlp_v2/gapic/enums.py" + }, + { + "path": "google/cloud/dlp_v2/gapic/transports/__init__.py" + }, + { + "path": "google/cloud/dlp_v2/gapic/transports/dlp_service_grpc_transport.py" + }, + { + "path": "google/cloud/dlp_v2/proto/__init__.py" + }, + { + "path": "google/cloud/dlp_v2/proto/dlp.proto" + }, + { + "path": "google/cloud/dlp_v2/proto/dlp_pb2.py" + }, + { + "path": "google/cloud/dlp_v2/proto/dlp_pb2_grpc.py" + }, + { + "path": "google/cloud/dlp_v2/proto/storage.proto" + }, + { + "path": "google/cloud/dlp_v2/proto/storage_pb2.py" + }, + { + "path": "google/cloud/dlp_v2/proto/storage_pb2_grpc.py" + }, + { + "path": "google/cloud/dlp_v2/types.py" + }, + { + "path": "noxfile.py" + }, + { + "path": "setup.cfg" + }, + { + "path": "setup.py" + }, + { + "path": "synth.metadata" + }, + { + "path": "synth.py" + }, + { + "path": "tests/system/gapic/v2/test_system_dlp_service_v2.py" + }, + { + "path": "tests/system/gapic/v2/test_system_dlp_service_v2_vpcsc.py" + }, + { + "path": "tests/unit/gapic/v2/test_dlp_service_client_v2.py" + } ] } \ No newline at end of file diff --git a/dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py b/dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py index 4f7fd086f119..4c3d448e9686 100644 --- a/dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py +++ b/dlp/tests/unit/gapic/v2/test_dlp_service_client_v2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright 2019 Google LLC +# 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.