Skip to content

Commit

Permalink
doc fixes, synth fixes needed
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Jul 21, 2018
1 parent 59df1c1 commit ac58f90
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 106 deletions.
2 changes: 1 addition & 1 deletion dlp/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ Api Reference

gapic/v2/api
gapic/v2/types
changelog
changelog
18 changes: 7 additions & 11 deletions dlp/google/cloud/dlp_v2/gapic/dlp_service_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ def reidentify_content(self,
be provided here. The reversible transformations are:
- ``CryptoReplaceFfxFpeConfig``
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dlp_v2.types.DeidentifyConfig`
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.
If a dict is provided, it must be of the same form as the protobuf
message :class:`~google.cloud.dlp_v2.types.InspectConfig`
Expand Down Expand Up @@ -1473,18 +1473,14 @@ def list_dlp_jobs(self,
* Filter expressions are made up of one or more restrictions.
* Restrictions can be combined by ``AND`` or ``OR`` logical operators. A
sequence of restrictions implicitly uses ``AND``.
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.
- `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED
- `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY
- `trigger_name` - The resource name of the trigger that created job.
* Supported fields for risk analysis jobs:
::
- `state` - RUNNING|CANCELED|FINISHED|FAILED
- `state` - RUNNING|CANCELED|FINISHED|FAILED
* The operator must be ``=`` or ``!=``.
Examples:
Expand Down
151 changes: 71 additions & 80 deletions dlp/google/cloud/dlp_v2/proto/dlp_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 13 additions & 14 deletions dlp/google/cloud/dlp_v2/proto/storage_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions dlp/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,14 @@
'google/cloud/dlp_v2/proto/dlp_pb2.py',
'# Generated by the protocol buffer compiler. DO NOT EDIT!',
'# -*- coding: utf-8 -*-\n\g<0>')

# Fix unindentation of bullet list second line
s.replace(
'google/cloud/dlp_v2/gapic/dlp_service_client.py',
'( \* .*\n )([^\s*])',
'\g<1> \g<2>')

s.replace(
'google/cloud/dlp_v2/gapic/dlp_service_client.py',
'(\s+)\*.*\n\s+::\n\n',
'\g<1> ::\n')

0 comments on commit ac58f90

Please sign in to comment.