Skip to content

Commit b568ff5

Browse files
feat: [google-cloud-dlp] add SaveToGcsFindingsOutput (googleapis#14016)
BEGIN_COMMIT_OVERRIDE feat: add SaveToGcsFindingsOutput docs: minor doc revision END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. docs: minor doc revision PiperOrigin-RevId: 772982289 Source-Link: googleapis/googleapis@8ee3aad Source-Link: https://github.com/googleapis/googleapis-gen/commit/ffa0a055a7832ba8355fc16c4dd77737a7784315 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRscC8uT3dsQm90LnlhbWwiLCJoIjoiZmZhMGEwNTVhNzgzMmJhODM1NWZjMTZjNGRkNzc3MzdhNzc4NDMxNSJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 1d6cd12 commit b568ff5

File tree

7 files changed

+28
-4
lines changed

7 files changed

+28
-4
lines changed

packages/google-cloud-dlp/google/cloud/dlp/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@
251251
ReplaceWithInfoTypeConfig,
252252
ResourceVisibility,
253253
RiskAnalysisJobConfig,
254+
SaveToGcsFindingsOutput,
254255
Schedule,
255256
SearchConnectionsRequest,
256257
SearchConnectionsResponse,
@@ -544,6 +545,7 @@
544545
"ReplaceValueConfig",
545546
"ReplaceWithInfoTypeConfig",
546547
"RiskAnalysisJobConfig",
548+
"SaveToGcsFindingsOutput",
547549
"Schedule",
548550
"SearchConnectionsRequest",
549551
"SearchConnectionsResponse",

packages/google-cloud-dlp/google/cloud/dlp/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.30.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dlp/google/cloud/dlp_v2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
ReplaceWithInfoTypeConfig,
251251
ResourceVisibility,
252252
RiskAnalysisJobConfig,
253+
SaveToGcsFindingsOutput,
253254
Schedule,
254255
SearchConnectionsRequest,
255256
SearchConnectionsResponse,
@@ -580,6 +581,7 @@
580581
"ReplaceWithInfoTypeConfig",
581582
"ResourceVisibility",
582583
"RiskAnalysisJobConfig",
584+
"SaveToGcsFindingsOutput",
583585
"Schedule",
584586
"SearchConnectionsRequest",
585587
"SearchConnectionsResponse",

packages/google-cloud-dlp/google/cloud/dlp_v2/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.30.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dlp/google/cloud/dlp_v2/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@
244244
ReplaceWithInfoTypeConfig,
245245
ResourceVisibility,
246246
RiskAnalysisJobConfig,
247+
SaveToGcsFindingsOutput,
247248
Schedule,
248249
SearchConnectionsRequest,
249250
SearchConnectionsResponse,
@@ -535,6 +536,7 @@
535536
"ReplaceValueConfig",
536537
"ReplaceWithInfoTypeConfig",
537538
"RiskAnalysisJobConfig",
539+
"SaveToGcsFindingsOutput",
538540
"Schedule",
539541
"SearchConnectionsRequest",
540542
"SearchConnectionsResponse",

packages/google-cloud-dlp/google/cloud/dlp_v2/types/dlp.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@
308308
"DataSourceType",
309309
"FileClusterType",
310310
"ProcessingLocation",
311+
"SaveToGcsFindingsOutput",
311312
},
312313
)
313314

@@ -9729,7 +9730,7 @@ class DiscoveryCloudStorageFilter(proto.Message):
97299730

97309731

97319732
class FileStoreCollection(proto.Message):
9732-
r"""Match file stores (e.g. buckets) using regex filters.
9733+
r"""Match file stores (e.g. buckets) using filters.
97339734
97349735
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
97359736
@@ -14366,4 +14367,21 @@ class ImageFallbackLocation(proto.Message):
1436614367
)
1436714368

1436814369

14370+
class SaveToGcsFindingsOutput(proto.Message):
14371+
r"""Collection of findings saved to a Cloud Storage bucket. This
14372+
is used as the proto schema for textproto files created when
14373+
specifying a cloud storage path to save inspection findings.
14374+
14375+
Attributes:
14376+
findings (MutableSequence[google.cloud.dlp_v2.types.Finding]):
14377+
List of findings.
14378+
"""
14379+
14380+
findings: MutableSequence["Finding"] = proto.RepeatedField(
14381+
proto.MESSAGE,
14382+
number=1,
14383+
message="Finding",
14384+
)
14385+
14386+
1436914387
__all__ = tuple(sorted(__protobuf__.manifest))

packages/google-cloud-dlp/samples/generated_samples/snippet_metadata_google.privacy.dlp.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-dlp",
11-
"version": "3.30.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)