Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
docs: Minor formatting (#520)
Browse files Browse the repository at this point in the history
* docs: Minor formatting
chore: Update gapic-generator-python to v1.11.5
build: Update rules_python to 0.24.0

PiperOrigin-RevId: 563436317

Source-Link: googleapis/googleapis@42fd37b

Source-Link: googleapis/googleapis-gen@280264c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjgwMjY0Y2EwMmZiOTMxNmI0MjM3YTk2ZDBhZjFhMjM0M2E4MWE1NiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Sep 13, 2023
1 parent 4cd8ef6 commit d8a3639
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google/cloud/dlp_v2/services/dlp_service/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class DlpServiceAsyncClient:
The service also includes methods for sensitive data redaction
and scheduling of data scans on Google Cloud Platform based data
sets.
To learn more about concepts and find how-to guides see
https://cloud.google.com/dlp/docs/.
"""
Expand Down Expand Up @@ -251,10 +252,12 @@ async def inspect_content(
r"""Finds potentially sensitive info in content.
This method has limits on input size, processing time,
and output size.
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.
For how to guides, see
https://cloud.google.com/dlp/docs/inspecting-images and
https://cloud.google.com/dlp/docs/inspecting-text,
Expand Down Expand Up @@ -2582,6 +2585,7 @@ async def sample_list_job_triggers():
Returns:
google.cloud.dlp_v2.services.dlp_service.pagers.ListJobTriggersAsyncPager:
Response message for ListJobTriggers.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -2849,6 +2853,7 @@ async def create_dlp_job(
https://cloud.google.com/dlp/docs/inspecting-storage and
https://cloud.google.com/dlp/docs/compute-risk-analysis
to learn more.
When no InfoTypes or CustomInfoTypes are specified in
inspect jobs, the system will automatically choose what
detectors to run. By default this may be all types, but
Expand Down
5 changes: 5 additions & 0 deletions google/cloud/dlp_v2/services/dlp_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class DlpServiceClient(metaclass=DlpServiceClientMeta):
The service also includes methods for sensitive data redaction
and scheduling of data scans on Google Cloud Platform based data
sets.
To learn more about concepts and find how-to guides see
https://cloud.google.com/dlp/docs/.
"""
Expand Down Expand Up @@ -579,10 +580,12 @@ def inspect_content(
r"""Finds potentially sensitive info in content.
This method has limits on input size, processing time,
and output size.
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.
For how to guides, see
https://cloud.google.com/dlp/docs/inspecting-images and
https://cloud.google.com/dlp/docs/inspecting-text,
Expand Down Expand Up @@ -2804,6 +2807,7 @@ def sample_list_job_triggers():
Returns:
google.cloud.dlp_v2.services.dlp_service.pagers.ListJobTriggersPager:
Response message for ListJobTriggers.
Iterating over this object will yield
results and resolve additional pages
automatically.
Expand Down Expand Up @@ -3052,6 +3056,7 @@ def create_dlp_job(
https://cloud.google.com/dlp/docs/inspecting-storage and
https://cloud.google.com/dlp/docs/compute-risk-analysis
to learn more.
When no InfoTypes or CustomInfoTypes are specified in
inspect jobs, the system will automatically choose what
detectors to run. By default this may be all types, but
Expand Down
4 changes: 4 additions & 0 deletions google/cloud/dlp_v2/services/dlp_service/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class DlpServiceGrpcTransport(DlpServiceTransport):
The service also includes methods for sensitive data redaction
and scheduling of data scans on Google Cloud Platform based data
sets.
To learn more about concepts and find how-to guides see
https://cloud.google.com/dlp/docs/.
Expand Down Expand Up @@ -248,10 +249,12 @@ def inspect_content(
Finds potentially sensitive info in content.
This method has limits on input size, processing time,
and output size.
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.
For how to guides, see
https://cloud.google.com/dlp/docs/inspecting-images and
https://cloud.google.com/dlp/docs/inspecting-text,
Expand Down Expand Up @@ -901,6 +904,7 @@ def create_dlp_job(self) -> Callable[[dlp.CreateDlpJobRequest], dlp.DlpJob]:
https://cloud.google.com/dlp/docs/inspecting-storage and
https://cloud.google.com/dlp/docs/compute-risk-analysis
to learn more.
When no InfoTypes or CustomInfoTypes are specified in
inspect jobs, the system will automatically choose what
detectors to run. By default this may be all types, but
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class DlpServiceGrpcAsyncIOTransport(DlpServiceTransport):
The service also includes methods for sensitive data redaction
and scheduling of data scans on Google Cloud Platform based data
sets.
To learn more about concepts and find how-to guides see
https://cloud.google.com/dlp/docs/.
Expand Down Expand Up @@ -251,10 +252,12 @@ def inspect_content(
Finds potentially sensitive info in content.
This method has limits on input size, processing time,
and output size.
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.
For how to guides, see
https://cloud.google.com/dlp/docs/inspecting-images and
https://cloud.google.com/dlp/docs/inspecting-text,
Expand Down Expand Up @@ -923,6 +926,7 @@ def create_dlp_job(
https://cloud.google.com/dlp/docs/inspecting-storage and
https://cloud.google.com/dlp/docs/compute-risk-analysis
to learn more.
When no InfoTypes or CustomInfoTypes are specified in
inspect jobs, the system will automatically choose what
detectors to run. By default this may be all types, but
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@ class DlpServiceRestTransport(DlpServiceTransport):
The service also includes methods for sensitive data redaction
and scheduling of data scans on Google Cloud Platform based data
sets.
To learn more about concepts and find how-to guides see
https://cloud.google.com/dlp/docs/.
Expand Down
7 changes: 7 additions & 0 deletions google/cloud/dlp_v2/types/dlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ class MatchingType(proto.Enum):
Invalid.
MATCHING_TYPE_FULL_MATCH (1):
Full match.
- Dictionary: join of Dictionary results matched
complete finding quote
- Regex: all regex matches fill a finding quote
Expand All @@ -353,13 +354,15 @@ class MatchingType(proto.Enum):
info types findings
MATCHING_TYPE_PARTIAL_MATCH (2):
Partial match.
- Dictionary: at least one of the tokens in the
finding matches
- Regex: substring of the finding matches
- Exclude info type: intersects with affecting
info types findings
MATCHING_TYPE_INVERSE_MATCH (3):
Inverse match.
- Dictionary: no tokens in the finding match the
dictionary
- Regex: finding doesn't match the regex
Expand Down Expand Up @@ -5035,6 +5038,7 @@ class DateShiftConfig(proto.Message):
range (inclusive ends). Negative means shift to
earlier in time. Must not be more than 365250
days (1000 years) each direction.
For example, 3 means shift date to at most 3
days into the future.
lower_bound_days (int):
Expand Down Expand Up @@ -5737,9 +5741,11 @@ class Schedule(proto.Message):
With this option a job is started on a
regular periodic basis. For example: every day
(86400 seconds).
A scheduled start time will be skipped if the
previous execution has not ended when its
scheduled time occurs.
This value must be set to a time duration
greater than or equal to 1 day and can be no
longer than 60 days.
Expand Down Expand Up @@ -6224,6 +6230,7 @@ class Deidentify(proto.Message):
bucket must be different from the input bucket.
De-identified files will overwrite files in the
output path.
Form of: gs://bucket/folder/ or gs://bucket
This field is a member of `oneof`_ ``output``.
Expand Down
2 changes: 2 additions & 0 deletions google/cloud/dlp_v2/types/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ class PartitionId(proto.Message):
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.
Expand Down Expand Up @@ -1290,6 +1291,7 @@ class Key(proto.Message):

class PathElement(proto.Message):
r"""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.
Expand Down

0 comments on commit d8a3639

Please sign in to comment.