@@ -323,11 +323,11 @@ def inspect_content(
323
323
324
324
If a dict is provided, it must be of the same form as the protobuf
325
325
message :class:`~google.cloud.dlp_v2.types.ContentItem`
326
- inspect_template_name (str): Optional template to use. Any configuration directly specified in
327
- inspect\_config will override those set in the template. Singular fields
328
- that are set in this request will replace their corresponding fields in
329
- the template. Repeated fields are appended. Singular sub-messages and
330
- groups are recursively merged.
326
+ inspect_template_name (str): Template to use. Any configuration directly specified in inspect\_config
327
+ will override those set in the template. Singular fields that are set in
328
+ this request will replace their corresponding fields in the template.
329
+ Repeated fields are appended. Singular sub-messages and groups are
330
+ recursively merged.
331
331
location_id (str): The geographic location to process content inspection. Reserved for future
332
332
extensions.
333
333
retry (Optional[google.api_core.retry.Retry]): A retry object used
@@ -537,12 +537,12 @@ def deidentify_content(
537
537
538
538
If a dict is provided, it must be of the same form as the protobuf
539
539
message :class:`~google.cloud.dlp_v2.types.ContentItem`
540
- inspect_template_name (str): Optional template to use. Any configuration directly specified in
541
- inspect\_config will override those set in the template. Singular fields
542
- that are set in this request will replace their corresponding fields in
543
- the template. Repeated fields are appended. Singular sub-messages and
544
- groups are recursively merged.
545
- deidentify_template_name (str): Optional template to use. Any configuration directly specified in
540
+ inspect_template_name (str): Template to use. Any configuration directly specified in inspect\_config
541
+ will override those set in the template. Singular fields that are set in
542
+ this request will replace their corresponding fields in the template.
543
+ Repeated fields are appended. Singular sub-messages and groups are
544
+ recursively merged.
545
+ deidentify_template_name (str): Template to use. Any configuration directly specified in
546
546
deidentify\_config will override those set in the template. Singular
547
547
fields that are set in this request will replace their corresponding
548
548
fields in the template. Repeated fields are appended. Singular
@@ -655,17 +655,17 @@ def reidentify_content(
655
655
656
656
If a dict is provided, it must be of the same form as the protobuf
657
657
message :class:`~google.cloud.dlp_v2.types.ContentItem`
658
- inspect_template_name (str): Optional template to use. Any configuration directly specified in
658
+ inspect_template_name (str): Template to use. Any configuration directly specified in
659
+ ``inspect_config`` will override those set in the template. Singular
660
+ fields that are set in this request will replace their corresponding
661
+ fields in the template. Repeated fields are appended. Singular
662
+ sub-messages and groups are recursively merged.
663
+ reidentify_template_name (str): Template to use. References an instance of ``DeidentifyTemplate``. Any
664
+ configuration directly specified in ``reidentify_config`` or
659
665
``inspect_config`` will override those set in the template. Singular
660
666
fields that are set in this request will replace their corresponding
661
667
fields in the template. Repeated fields are appended. Singular
662
668
sub-messages and groups are recursively merged.
663
- reidentify_template_name (str): Optional template to use. References an instance of
664
- ``DeidentifyTemplate``. Any configuration directly specified in
665
- ``reidentify_config`` or ``inspect_config`` will override those set in
666
- the template. Singular fields that are set in this request will replace
667
- their corresponding fields in the template. Repeated fields are
668
- appended. Singular sub-messages and groups are recursively merged.
669
669
location_id (str): The geographic location to process content reidentification. Reserved for
670
670
future extensions.
671
671
retry (Optional[google.api_core.retry.Retry]): A retry object used
@@ -746,11 +746,11 @@ def list_info_types(
746
746
>>> response = client.list_info_types()
747
747
748
748
Args:
749
- language_code (str): Optional BCP-47 language code for localized infoType friendly
749
+ language_code (str): BCP-47 language code for localized infoType friendly
750
750
names. If omitted, or if localized strings are not available,
751
751
en-US strings will be returned.
752
- filter_ (str): Optional filter to only return infoTypes supported by certain parts of
753
- the API. Defaults to supported\_by=INSPECT.
752
+ filter_ (str): filter to only return infoTypes supported by certain parts of the API.
753
+ Defaults to supported\_by=INSPECT.
754
754
location_id (str): The geographic location to list info types. Reserved for future
755
755
extensions.
756
756
retry (Optional[google.api_core.retry.Retry]): A retry object used
@@ -830,7 +830,7 @@ def create_inspect_template(
830
830
Args:
831
831
parent (str): Required. The parent resource name, for example projects/my-project-id or
832
832
organizations/my-org-id.
833
- inspect_template (Union[dict, ~google.cloud.dlp_v2.types.InspectTemplate]): The InspectTemplate to create.
833
+ inspect_template (Union[dict, ~google.cloud.dlp_v2.types.InspectTemplate]): Required. The InspectTemplate to create.
834
834
835
835
If a dict is provided, it must be of the same form as the protobuf
836
836
message :class:`~google.cloud.dlp_v2.types.InspectTemplate`
@@ -1091,9 +1091,9 @@ def list_inspect_templates(
1091
1091
resource, this parameter does not affect the return value. If page
1092
1092
streaming is performed per-page, this determines the maximum number
1093
1093
of resources in a page.
1094
- order_by (str): Optional comma separated list of fields to order by, followed by ``asc``
1095
- or ``desc`` postfix. This list is case-insensitive, default sorting
1096
- order is ascending, redundant space characters are insignificant.
1094
+ order_by (str): Comma separated list of fields to order by, followed by ``asc`` or
1095
+ ``desc`` postfix. This list is case-insensitive, default sorting order
1096
+ is ascending, redundant space characters are insignificant.
1097
1097
1098
1098
Example: ``name asc,update_time, create_time desc``
1099
1099
@@ -1270,7 +1270,7 @@ def create_deidentify_template(
1270
1270
Args:
1271
1271
parent (str): Required. The parent resource name, for example projects/my-project-id or
1272
1272
organizations/my-org-id.
1273
- deidentify_template (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyTemplate]): The DeidentifyTemplate to create.
1273
+ deidentify_template (Union[dict, ~google.cloud.dlp_v2.types.DeidentifyTemplate]): Required. The DeidentifyTemplate to create.
1274
1274
1275
1275
If a dict is provided, it must be of the same form as the protobuf
1276
1276
message :class:`~google.cloud.dlp_v2.types.DeidentifyTemplate`
@@ -1541,9 +1541,9 @@ def list_deidentify_templates(
1541
1541
resource, this parameter does not affect the return value. If page
1542
1542
streaming is performed per-page, this determines the maximum number
1543
1543
of resources in a page.
1544
- order_by (str): Optional comma separated list of fields to order by, followed by ``asc``
1545
- or ``desc`` postfix. This list is case-insensitive, default sorting
1546
- order is ascending, redundant space characters are insignificant.
1544
+ order_by (str): Comma separated list of fields to order by, followed by ``asc`` or
1545
+ ``desc`` postfix. This list is case-insensitive, default sorting order
1546
+ is ascending, redundant space characters are insignificant.
1547
1547
1548
1548
Example: ``name asc,update_time, create_time desc``
1549
1549
@@ -1727,10 +1727,12 @@ def create_dlp_job(
1727
1727
1728
1728
Args:
1729
1729
parent (str): Required. The parent resource name, for example projects/my-project-id.
1730
- inspect_job (Union[dict, ~google.cloud.dlp_v2.types.InspectJobConfig]):
1730
+ inspect_job (Union[dict, ~google.cloud.dlp_v2.types.InspectJobConfig]): Set to control what and how to inspect.
1731
+
1731
1732
If a dict is provided, it must be of the same form as the protobuf
1732
1733
message :class:`~google.cloud.dlp_v2.types.InspectJobConfig`
1733
- risk_job (Union[dict, ~google.cloud.dlp_v2.types.RiskAnalysisJobConfig]):
1734
+ risk_job (Union[dict, ~google.cloud.dlp_v2.types.RiskAnalysisJobConfig]): Set to choose what metric to calculate.
1735
+
1734
1736
If a dict is provided, it must be of the same form as the protobuf
1735
1737
message :class:`~google.cloud.dlp_v2.types.RiskAnalysisJobConfig`
1736
1738
job_id (str): The job id can contain uppercase and lowercase letters, numbers, and
@@ -1839,14 +1841,14 @@ def list_dlp_jobs(
1839
1841
1840
1842
Args:
1841
1843
parent (str): Required. The parent resource name, for example projects/my-project-id.
1842
- filter_ (str): Optional. Allows filtering.
1844
+ filter_ (str): Allows filtering.
1843
1845
1844
1846
Supported syntax:
1845
1847
1846
1848
- Filter expressions are made up of one or more restrictions.
1847
1849
- Restrictions can be combined by ``AND`` or ``OR`` logical operators.
1848
1850
A sequence of restrictions implicitly uses ``AND``.
1849
- - A restriction has the form of ``< field> < operator> < value> ``.
1851
+ - A restriction has the form of ``{ field} { operator} { value} ``.
1850
1852
- Supported fields/values for inspect jobs:
1851
1853
1852
1854
- ``state`` - PENDING\|RUNNING\|CANCELED\|FINISHED\|FAILED
@@ -1879,9 +1881,9 @@ def list_dlp_jobs(
1879
1881
streaming is performed per-page, this determines the maximum number
1880
1882
of resources in a page.
1881
1883
type_ (~google.cloud.dlp_v2.types.DlpJobType): The type of job. Defaults to ``DlpJobType.INSPECT``
1882
- order_by (str): Optional comma separated list of fields to order by, followed by ``asc``
1883
- or ``desc`` postfix. This list is case-insensitive, default sorting
1884
- order is ascending, redundant space characters are insignificant.
1884
+ order_by (str): Comma separated list of fields to order by, followed by ``asc`` or
1885
+ ``desc`` postfix. This list is case-insensitive, default sorting order
1886
+ is ascending, redundant space characters are insignificant.
1885
1887
1886
1888
Example: ``name asc, end_time asc, create_time desc``
1887
1889
@@ -2217,9 +2219,9 @@ def list_job_triggers(
2217
2219
resource, this parameter does not affect the return value. If page
2218
2220
streaming is performed per-page, this determines the maximum number
2219
2221
of resources in a page.
2220
- order_by (str): Optional comma separated list of triggeredJob fields to order by,
2221
- followed by ``asc`` or ``desc`` postfix. This list is case-insensitive,
2222
- default sorting order is ascending, redundant space characters are
2222
+ order_by (str): Comma separated list of triggeredJob fields to order by, followed by
2223
+ ``asc`` or ``desc`` postfix. This list is case-insensitive, default
2224
+ sorting order is ascending, redundant space characters are
2223
2225
insignificant.
2224
2226
2225
2227
Example: ``name asc,update_time, create_time desc``
@@ -2232,14 +2234,14 @@ def list_job_triggers(
2232
2234
- ``name``: corresponds to JobTrigger's name.
2233
2235
- ``display_name``: corresponds to JobTrigger's display name.
2234
2236
- ``status``: corresponds to JobTrigger's status.
2235
- filter_ (str): Optional. Allows filtering.
2237
+ filter_ (str): Allows filtering.
2236
2238
2237
2239
Supported syntax:
2238
2240
2239
2241
- Filter expressions are made up of one or more restrictions.
2240
2242
- Restrictions can be combined by ``AND`` or ``OR`` logical operators.
2241
2243
A sequence of restrictions implicitly uses ``AND``.
2242
- - A restriction has the form of ``< field> < operator> < value> ``.
2244
+ - A restriction has the form of ``{ field} { operator} { value} ``.
2243
2245
- Supported fields/values for inspect jobs:
2244
2246
2245
2247
- ``status`` - HEALTHY\|PAUSED\|CANCELLED
@@ -2580,7 +2582,7 @@ def create_job_trigger(
2580
2582
2581
2583
Args:
2582
2584
parent (str): Required. The parent resource name, for example projects/my-project-id.
2583
- job_trigger (Union[dict, ~google.cloud.dlp_v2.types.JobTrigger]): The JobTrigger to create.
2585
+ job_trigger (Union[dict, ~google.cloud.dlp_v2.types.JobTrigger]): Required. The JobTrigger to create.
2584
2586
2585
2587
If a dict is provided, it must be of the same form as the protobuf
2586
2588
message :class:`~google.cloud.dlp_v2.types.JobTrigger`
@@ -2670,7 +2672,7 @@ def create_stored_info_type(
2670
2672
Args:
2671
2673
parent (str): Required. The parent resource name, for example projects/my-project-id or
2672
2674
organizations/my-org-id.
2673
- config (Union[dict, ~google.cloud.dlp_v2.types.StoredInfoTypeConfig]): Configuration of the storedInfoType to create.
2675
+ config (Union[dict, ~google.cloud.dlp_v2.types.StoredInfoTypeConfig]): Required. Configuration of the storedInfoType to create.
2674
2676
2675
2677
If a dict is provided, it must be of the same form as the protobuf
2676
2678
message :class:`~google.cloud.dlp_v2.types.StoredInfoTypeConfig`
@@ -2939,9 +2941,9 @@ def list_stored_info_types(
2939
2941
resource, this parameter does not affect the return value. If page
2940
2942
streaming is performed per-page, this determines the maximum number
2941
2943
of resources in a page.
2942
- order_by (str): Optional comma separated list of fields to order by, followed by ``asc``
2943
- or ``desc`` postfix. This list is case-insensitive, default sorting
2944
- order is ascending, redundant space characters are insignificant.
2944
+ order_by (str): Comma separated list of fields to order by, followed by ``asc`` or
2945
+ ``desc`` postfix. This list is case-insensitive, default sorting order
2946
+ is ascending, redundant space characters are insignificant.
2945
2947
2946
2948
Example: ``name asc, display_name, create_time desc``
2947
2949
0 commit comments