@google-cloud/dlp 6.1.0 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/protos/google/privacy/dlp/v2/dlp.proto +99 -20
- package/build/protos/google/privacy/dlp/v2/storage.proto +5 -0
- package/build/protos/protos.d.ts +240 -13
- package/build/protos/protos.js +1850 -427
- package/build/protos/protos.json +99 -17
- package/build/src/v2/dlp_service_client.d.ts +817 -817
- package/build/src/v2/dlp_service_client.js +634 -720
- package/package.json +4 -4
- package/CHANGELOG.md +0 -747
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
44
44
|
1. [Select or create a Cloud Platform project][projects].
|
|
45
45
|
1. [Enable billing for your project][billing].
|
|
46
46
|
1. [Enable the Cloud Data Loss Prevention API][enable_api].
|
|
47
|
-
1. [Set up authentication
|
|
47
|
+
1. [Set up authentication][auth] so you can access the
|
|
48
48
|
API from your local workstation.
|
|
49
49
|
|
|
50
50
|
### Installing the client library
|
|
@@ -250,4 +250,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
|
|
|
250
250
|
[projects]: https://console.cloud.google.com/project
|
|
251
251
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
252
252
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=dlp.googleapis.com
|
|
253
|
-
[auth]: https://cloud.google.com/docs/authentication/
|
|
253
|
+
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
|
|
@@ -4199,32 +4199,78 @@ message Action {
|
|
|
4199
4199
|
// Compatible with: Inspect
|
|
4200
4200
|
message PublishFindingsToCloudDataCatalog {}
|
|
4201
4201
|
|
|
4202
|
-
// Create a de-identified copy of
|
|
4202
|
+
// Create a de-identified copy of a storage bucket. Only compatible
|
|
4203
|
+
// with Cloud Storage buckets.
|
|
4204
|
+
//
|
|
4203
4205
|
//
|
|
4204
4206
|
// A TransformationDetail will be created for each transformation.
|
|
4205
4207
|
//
|
|
4206
|
-
// If any rows in BigQuery are skipped during de-identification
|
|
4207
|
-
// (transformation errors or row size exceeds BigQuery insert API limits) they
|
|
4208
|
-
// are placed in the failure output table. If the original row exceeds
|
|
4209
|
-
// the BigQuery insert API limit it will be truncated when written to the
|
|
4210
|
-
// failure output table. The failure output table can be set in the
|
|
4211
|
-
// action.deidentify.output.big_query_output.deidentified_failure_output_table
|
|
4212
|
-
// field, if no table is set, a table will be automatically created in the
|
|
4213
|
-
// same project and dataset as the original table.
|
|
4214
4208
|
//
|
|
4215
|
-
// Compatible with:
|
|
4209
|
+
// Compatible with: Inspection of Cloud Storage
|
|
4216
4210
|
message Deidentify {
|
|
4217
4211
|
// User specified deidentify templates and configs for structured,
|
|
4218
4212
|
// unstructured, and image files.
|
|
4219
4213
|
TransformationConfig transformation_config = 7;
|
|
4220
4214
|
|
|
4221
|
-
// Config for storing transformation details.
|
|
4222
|
-
//
|
|
4223
|
-
//
|
|
4224
|
-
//
|
|
4225
|
-
//
|
|
4215
|
+
// Config for storing transformation details.
|
|
4216
|
+
//
|
|
4217
|
+
// This field specifies the configuration for storing detailed metadata
|
|
4218
|
+
// about each transformation performed during a de-identification process.
|
|
4219
|
+
// The metadata is stored separately from the de-identified content itself
|
|
4220
|
+
// and provides a granular record of both successful transformations and any
|
|
4221
|
+
// failures that occurred.
|
|
4222
|
+
//
|
|
4223
|
+
// Enabling this configuration is essential for users who need to access
|
|
4224
|
+
// comprehensive information about the status, outcome, and specifics of
|
|
4225
|
+
// each transformation. The details are captured in the
|
|
4226
4226
|
// [TransformationDetails][google.privacy.dlp.v2.TransformationDetails]
|
|
4227
|
-
// message for
|
|
4227
|
+
// message for each operation.
|
|
4228
|
+
//
|
|
4229
|
+
// Key use cases:
|
|
4230
|
+
//
|
|
4231
|
+
// * **Auditing and compliance**
|
|
4232
|
+
// * Provides a verifiable audit trail of de-identification activities,
|
|
4233
|
+
// which is crucial for meeting regulatory requirements and internal
|
|
4234
|
+
// data governance policies.
|
|
4235
|
+
// * Logs what data was transformed, what transformations were applied,
|
|
4236
|
+
// when they occurred, and their success status. This helps
|
|
4237
|
+
// demonstrate accountability and due diligence in protecting
|
|
4238
|
+
// sensitive data.
|
|
4239
|
+
//
|
|
4240
|
+
// * **Troubleshooting and debugging**
|
|
4241
|
+
// * Offers detailed error messages and context if a transformation
|
|
4242
|
+
// fails. This information is useful for diagnosing and resolving
|
|
4243
|
+
// issues in the de-identification pipeline.
|
|
4244
|
+
// * Helps pinpoint the exact location and nature of failures, speeding
|
|
4245
|
+
// up the debugging process.
|
|
4246
|
+
//
|
|
4247
|
+
// * **Process verification and quality assurance**
|
|
4248
|
+
// * Allows users to confirm that de-identification rules and
|
|
4249
|
+
// transformations were applied correctly and consistently across
|
|
4250
|
+
// the dataset as intended.
|
|
4251
|
+
// * Helps in verifying the effectiveness of the chosen
|
|
4252
|
+
// de-identification strategies.
|
|
4253
|
+
//
|
|
4254
|
+
// * **Data lineage and impact analysis**
|
|
4255
|
+
// * Creates a record of how data elements were modified, contributing
|
|
4256
|
+
// to data lineage. This is useful for understanding the provenance
|
|
4257
|
+
// of de-identified data.
|
|
4258
|
+
// * Aids in assessing the potential impact of de-identification choices
|
|
4259
|
+
// on downstream analytical processes or data usability.
|
|
4260
|
+
//
|
|
4261
|
+
// * **Reporting and operational insights**
|
|
4262
|
+
// * You can analyze the metadata stored in a queryable BigQuery table
|
|
4263
|
+
// to generate reports on transformation success rates, common
|
|
4264
|
+
// error types, processing volumes (e.g., transformedBytes), and the
|
|
4265
|
+
// types of transformations applied.
|
|
4266
|
+
// * These insights can inform optimization of de-identification
|
|
4267
|
+
// configurations and resource planning.
|
|
4268
|
+
//
|
|
4269
|
+
// To take advantage of these benefits, set this configuration. The stored
|
|
4270
|
+
// details include a description of the transformation, success or
|
|
4271
|
+
// error codes, error messages, the number of bytes transformed, the
|
|
4272
|
+
// location of the transformed content, and identifiers for the job and
|
|
4273
|
+
// source data.
|
|
4228
4274
|
TransformationDetailsStorageConfig transformation_details_storage_config =
|
|
4229
4275
|
3;
|
|
4230
4276
|
|
|
@@ -4958,6 +5004,18 @@ message DataProfileAction {
|
|
|
4958
5004
|
// Center for each profile.
|
|
4959
5005
|
message PublishToSecurityCommandCenter {}
|
|
4960
5006
|
|
|
5007
|
+
// Create Dataplex Catalog aspects for profiled resources with the aspect type
|
|
5008
|
+
// Sensitive Data Protection Profile. To learn more about aspects, see
|
|
5009
|
+
// https://cloud.google.com/sensitive-data-protection/docs/add-aspects.
|
|
5010
|
+
message PublishToDataplexCatalog {
|
|
5011
|
+
// Whether creating a Dataplex Catalog aspect for a profiled resource should
|
|
5012
|
+
// lower the risk of the profile for that resource. This also lowers the
|
|
5013
|
+
// data risk of resources at the lower levels of the resource hierarchy. For
|
|
5014
|
+
// example, reducing the data risk of a table data profile also reduces the
|
|
5015
|
+
// data risk of the constituent column data profiles.
|
|
5016
|
+
bool lower_data_risk_to_low = 1;
|
|
5017
|
+
}
|
|
5018
|
+
|
|
4961
5019
|
// If set, attaches the [tags]
|
|
4962
5020
|
// (https://cloud.google.com/resource-manager/docs/tags/tags-overview)
|
|
4963
5021
|
// provided to profiled resources. Tags support [access
|
|
@@ -5031,6 +5089,10 @@ message DataProfileAction {
|
|
|
5031
5089
|
|
|
5032
5090
|
// Tags the profiled resources with the specified tag values.
|
|
5033
5091
|
TagResources tag_resources = 8;
|
|
5092
|
+
|
|
5093
|
+
// Publishes a portion of each profile to Dataplex Catalog with the aspect
|
|
5094
|
+
// type Sensitive Data Protection Profile.
|
|
5095
|
+
PublishToDataplexCatalog publish_to_dataplex_catalog = 9;
|
|
5034
5096
|
}
|
|
5035
5097
|
}
|
|
5036
5098
|
|
|
@@ -5065,6 +5127,14 @@ message DataProfileFinding {
|
|
|
5065
5127
|
|
|
5066
5128
|
// How broadly a resource has been shared.
|
|
5067
5129
|
ResourceVisibility resource_visibility = 8;
|
|
5130
|
+
|
|
5131
|
+
// The [full resource
|
|
5132
|
+
// name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
|
5133
|
+
// of the resource profiled for this finding.
|
|
5134
|
+
string full_resource_name = 9;
|
|
5135
|
+
|
|
5136
|
+
// The type of the resource that was profiled.
|
|
5137
|
+
DataSourceType data_source_type = 10;
|
|
5068
5138
|
}
|
|
5069
5139
|
|
|
5070
5140
|
// Location of a data profile finding within a resource.
|
|
@@ -5812,10 +5882,10 @@ message DiscoveryCloudStorageFilter {
|
|
|
5812
5882
|
}
|
|
5813
5883
|
}
|
|
5814
5884
|
|
|
5815
|
-
// Match file stores (e.g. buckets) using
|
|
5885
|
+
// Match file stores (e.g. buckets) using filters.
|
|
5816
5886
|
message FileStoreCollection {
|
|
5817
|
-
// The first filter containing a pattern that matches a file store will
|
|
5818
|
-
//
|
|
5887
|
+
// The first filter containing a pattern that matches a file store will be
|
|
5888
|
+
// used.
|
|
5819
5889
|
oneof pattern {
|
|
5820
5890
|
// Optional. A collection of regular expressions to match a file store
|
|
5821
5891
|
// against.
|
|
@@ -7989,7 +8059,8 @@ message FileStoreDataProfile {
|
|
|
7989
8059
|
// The BigQuery table to which the sample findings are written.
|
|
7990
8060
|
BigQueryTable sample_findings_table = 22;
|
|
7991
8061
|
|
|
7992
|
-
// The file store does not have any files.
|
|
8062
|
+
// The file store does not have any files. If the profiling operation failed,
|
|
8063
|
+
// this is false.
|
|
7993
8064
|
bool file_store_is_empty = 23;
|
|
7994
8065
|
|
|
7995
8066
|
// The tags attached to the resource, including any tags attached during
|
|
@@ -8629,3 +8700,11 @@ message ProcessingLocation {
|
|
|
8629
8700
|
// Image processing will fall back using this configuration.
|
|
8630
8701
|
ImageFallbackLocation image_fallback_location = 1;
|
|
8631
8702
|
}
|
|
8703
|
+
|
|
8704
|
+
// Collection of findings saved to a Cloud Storage bucket. This is used as the
|
|
8705
|
+
// proto schema for textproto files created when specifying a cloud storage
|
|
8706
|
+
// path to save inspection findings.
|
|
8707
|
+
message SaveToGcsFindingsOutput {
|
|
8708
|
+
// List of findings.
|
|
8709
|
+
repeated Finding findings = 1;
|
|
8710
|
+
}
|
|
@@ -869,6 +869,11 @@ message TableReference {
|
|
|
869
869
|
|
|
870
870
|
// Name of the table.
|
|
871
871
|
string table_id = 2;
|
|
872
|
+
|
|
873
|
+
// The Google Cloud project ID of the project containing the table.
|
|
874
|
+
// If omitted, the project ID is inferred from the parent project. This field
|
|
875
|
+
// is required if the parent resource is an organization.
|
|
876
|
+
string project_id = 3;
|
|
872
877
|
}
|
|
873
878
|
|
|
874
879
|
// Message defining a field of a BigQuery table.
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -2211,7 +2211,7 @@ export namespace google {
|
|
|
2211
2211
|
type?: (google.privacy.dlp.v2.ByteContentItem.BytesType|keyof typeof google.privacy.dlp.v2.ByteContentItem.BytesType|null);
|
|
2212
2212
|
|
|
2213
2213
|
/** ByteContentItem data */
|
|
2214
|
-
data?: (Uint8Array|string|null);
|
|
2214
|
+
data?: (Uint8Array|Buffer|string|null);
|
|
2215
2215
|
}
|
|
2216
2216
|
|
|
2217
2217
|
/** Represents a ByteContentItem. */
|
|
@@ -2227,7 +2227,7 @@ export namespace google {
|
|
|
2227
2227
|
public type: (google.privacy.dlp.v2.ByteContentItem.BytesType|keyof typeof google.privacy.dlp.v2.ByteContentItem.BytesType);
|
|
2228
2228
|
|
|
2229
2229
|
/** ByteContentItem data. */
|
|
2230
|
-
public data: (Uint8Array|string);
|
|
2230
|
+
public data: (Uint8Array|Buffer|string);
|
|
2231
2231
|
|
|
2232
2232
|
/**
|
|
2233
2233
|
* Creates a new ByteContentItem instance using the specified properties.
|
|
@@ -4479,7 +4479,7 @@ export namespace google {
|
|
|
4479
4479
|
interface IRedactImageResponse {
|
|
4480
4480
|
|
|
4481
4481
|
/** RedactImageResponse redactedImage */
|
|
4482
|
-
redactedImage?: (Uint8Array|string|null);
|
|
4482
|
+
redactedImage?: (Uint8Array|Buffer|string|null);
|
|
4483
4483
|
|
|
4484
4484
|
/** RedactImageResponse extractedText */
|
|
4485
4485
|
extractedText?: (string|null);
|
|
@@ -4498,7 +4498,7 @@ export namespace google {
|
|
|
4498
4498
|
constructor(properties?: google.privacy.dlp.v2.IRedactImageResponse);
|
|
4499
4499
|
|
|
4500
4500
|
/** RedactImageResponse redactedImage. */
|
|
4501
|
-
public redactedImage: (Uint8Array|string);
|
|
4501
|
+
public redactedImage: (Uint8Array|Buffer|string);
|
|
4502
4502
|
|
|
4503
4503
|
/** RedactImageResponse extractedText. */
|
|
4504
4504
|
public extractedText: string;
|
|
@@ -13776,7 +13776,7 @@ export namespace google {
|
|
|
13776
13776
|
interface IUnwrappedCryptoKey {
|
|
13777
13777
|
|
|
13778
13778
|
/** UnwrappedCryptoKey key */
|
|
13779
|
-
key?: (Uint8Array|string|null);
|
|
13779
|
+
key?: (Uint8Array|Buffer|string|null);
|
|
13780
13780
|
}
|
|
13781
13781
|
|
|
13782
13782
|
/** Represents an UnwrappedCryptoKey. */
|
|
@@ -13789,7 +13789,7 @@ export namespace google {
|
|
|
13789
13789
|
constructor(properties?: google.privacy.dlp.v2.IUnwrappedCryptoKey);
|
|
13790
13790
|
|
|
13791
13791
|
/** UnwrappedCryptoKey key. */
|
|
13792
|
-
public key: (Uint8Array|string);
|
|
13792
|
+
public key: (Uint8Array|Buffer|string);
|
|
13793
13793
|
|
|
13794
13794
|
/**
|
|
13795
13795
|
* Creates a new UnwrappedCryptoKey instance using the specified properties.
|
|
@@ -13873,7 +13873,7 @@ export namespace google {
|
|
|
13873
13873
|
interface IKmsWrappedCryptoKey {
|
|
13874
13874
|
|
|
13875
13875
|
/** KmsWrappedCryptoKey wrappedKey */
|
|
13876
|
-
wrappedKey?: (Uint8Array|string|null);
|
|
13876
|
+
wrappedKey?: (Uint8Array|Buffer|string|null);
|
|
13877
13877
|
|
|
13878
13878
|
/** KmsWrappedCryptoKey cryptoKeyName */
|
|
13879
13879
|
cryptoKeyName?: (string|null);
|
|
@@ -13889,7 +13889,7 @@ export namespace google {
|
|
|
13889
13889
|
constructor(properties?: google.privacy.dlp.v2.IKmsWrappedCryptoKey);
|
|
13890
13890
|
|
|
13891
13891
|
/** KmsWrappedCryptoKey wrappedKey. */
|
|
13892
|
-
public wrappedKey: (Uint8Array|string);
|
|
13892
|
+
public wrappedKey: (Uint8Array|Buffer|string);
|
|
13893
13893
|
|
|
13894
13894
|
/** KmsWrappedCryptoKey cryptoKeyName. */
|
|
13895
13895
|
public cryptoKeyName: string;
|
|
@@ -20134,6 +20134,9 @@ export namespace google {
|
|
|
20134
20134
|
|
|
20135
20135
|
/** DataProfileAction tagResources */
|
|
20136
20136
|
tagResources?: (google.privacy.dlp.v2.DataProfileAction.ITagResources|null);
|
|
20137
|
+
|
|
20138
|
+
/** DataProfileAction publishToDataplexCatalog */
|
|
20139
|
+
publishToDataplexCatalog?: (google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog|null);
|
|
20137
20140
|
}
|
|
20138
20141
|
|
|
20139
20142
|
/** Represents a DataProfileAction. */
|
|
@@ -20160,8 +20163,11 @@ export namespace google {
|
|
|
20160
20163
|
/** DataProfileAction tagResources. */
|
|
20161
20164
|
public tagResources?: (google.privacy.dlp.v2.DataProfileAction.ITagResources|null);
|
|
20162
20165
|
|
|
20166
|
+
/** DataProfileAction publishToDataplexCatalog. */
|
|
20167
|
+
public publishToDataplexCatalog?: (google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog|null);
|
|
20168
|
+
|
|
20163
20169
|
/** DataProfileAction action. */
|
|
20164
|
-
public action?: ("exportData"|"pubSubNotification"|"publishToChronicle"|"publishToScc"|"tagResources");
|
|
20170
|
+
public action?: ("exportData"|"pubSubNotification"|"publishToChronicle"|"publishToScc"|"tagResources"|"publishToDataplexCatalog");
|
|
20165
20171
|
|
|
20166
20172
|
/**
|
|
20167
20173
|
* Creates a new DataProfileAction instance using the specified properties.
|
|
@@ -20663,6 +20669,103 @@ export namespace google {
|
|
|
20663
20669
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20664
20670
|
}
|
|
20665
20671
|
|
|
20672
|
+
/** Properties of a PublishToDataplexCatalog. */
|
|
20673
|
+
interface IPublishToDataplexCatalog {
|
|
20674
|
+
|
|
20675
|
+
/** PublishToDataplexCatalog lowerDataRiskToLow */
|
|
20676
|
+
lowerDataRiskToLow?: (boolean|null);
|
|
20677
|
+
}
|
|
20678
|
+
|
|
20679
|
+
/** Represents a PublishToDataplexCatalog. */
|
|
20680
|
+
class PublishToDataplexCatalog implements IPublishToDataplexCatalog {
|
|
20681
|
+
|
|
20682
|
+
/**
|
|
20683
|
+
* Constructs a new PublishToDataplexCatalog.
|
|
20684
|
+
* @param [properties] Properties to set
|
|
20685
|
+
*/
|
|
20686
|
+
constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog);
|
|
20687
|
+
|
|
20688
|
+
/** PublishToDataplexCatalog lowerDataRiskToLow. */
|
|
20689
|
+
public lowerDataRiskToLow: boolean;
|
|
20690
|
+
|
|
20691
|
+
/**
|
|
20692
|
+
* Creates a new PublishToDataplexCatalog instance using the specified properties.
|
|
20693
|
+
* @param [properties] Properties to set
|
|
20694
|
+
* @returns PublishToDataplexCatalog instance
|
|
20695
|
+
*/
|
|
20696
|
+
public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
|
|
20697
|
+
|
|
20698
|
+
/**
|
|
20699
|
+
* Encodes the specified PublishToDataplexCatalog message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog.verify|verify} messages.
|
|
20700
|
+
* @param message PublishToDataplexCatalog message or plain object to encode
|
|
20701
|
+
* @param [writer] Writer to encode to
|
|
20702
|
+
* @returns Writer
|
|
20703
|
+
*/
|
|
20704
|
+
public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20705
|
+
|
|
20706
|
+
/**
|
|
20707
|
+
* Encodes the specified PublishToDataplexCatalog message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog.verify|verify} messages.
|
|
20708
|
+
* @param message PublishToDataplexCatalog message or plain object to encode
|
|
20709
|
+
* @param [writer] Writer to encode to
|
|
20710
|
+
* @returns Writer
|
|
20711
|
+
*/
|
|
20712
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPublishToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20713
|
+
|
|
20714
|
+
/**
|
|
20715
|
+
* Decodes a PublishToDataplexCatalog message from the specified reader or buffer.
|
|
20716
|
+
* @param reader Reader or buffer to decode from
|
|
20717
|
+
* @param [length] Message length if known beforehand
|
|
20718
|
+
* @returns PublishToDataplexCatalog
|
|
20719
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20720
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20721
|
+
*/
|
|
20722
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
|
|
20723
|
+
|
|
20724
|
+
/**
|
|
20725
|
+
* Decodes a PublishToDataplexCatalog message from the specified reader or buffer, length delimited.
|
|
20726
|
+
* @param reader Reader or buffer to decode from
|
|
20727
|
+
* @returns PublishToDataplexCatalog
|
|
20728
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20729
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20730
|
+
*/
|
|
20731
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
|
|
20732
|
+
|
|
20733
|
+
/**
|
|
20734
|
+
* Verifies a PublishToDataplexCatalog message.
|
|
20735
|
+
* @param message Plain object to verify
|
|
20736
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20737
|
+
*/
|
|
20738
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20739
|
+
|
|
20740
|
+
/**
|
|
20741
|
+
* Creates a PublishToDataplexCatalog message from a plain object. Also converts values to their respective internal types.
|
|
20742
|
+
* @param object Plain object
|
|
20743
|
+
* @returns PublishToDataplexCatalog
|
|
20744
|
+
*/
|
|
20745
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog;
|
|
20746
|
+
|
|
20747
|
+
/**
|
|
20748
|
+
* Creates a plain object from a PublishToDataplexCatalog message. Also converts values to other types if specified.
|
|
20749
|
+
* @param message PublishToDataplexCatalog
|
|
20750
|
+
* @param [options] Conversion options
|
|
20751
|
+
* @returns Plain object
|
|
20752
|
+
*/
|
|
20753
|
+
public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20754
|
+
|
|
20755
|
+
/**
|
|
20756
|
+
* Converts this PublishToDataplexCatalog to JSON.
|
|
20757
|
+
* @returns JSON object
|
|
20758
|
+
*/
|
|
20759
|
+
public toJSON(): { [k: string]: any };
|
|
20760
|
+
|
|
20761
|
+
/**
|
|
20762
|
+
* Gets the default type url for PublishToDataplexCatalog
|
|
20763
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20764
|
+
* @returns The default type url
|
|
20765
|
+
*/
|
|
20766
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20767
|
+
}
|
|
20768
|
+
|
|
20666
20769
|
/** Properties of a TagResources. */
|
|
20667
20770
|
interface ITagResources {
|
|
20668
20771
|
|
|
@@ -21008,6 +21111,12 @@ export namespace google {
|
|
|
21008
21111
|
|
|
21009
21112
|
/** DataProfileFinding resourceVisibility */
|
|
21010
21113
|
resourceVisibility?: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility|null);
|
|
21114
|
+
|
|
21115
|
+
/** DataProfileFinding fullResourceName */
|
|
21116
|
+
fullResourceName?: (string|null);
|
|
21117
|
+
|
|
21118
|
+
/** DataProfileFinding dataSourceType */
|
|
21119
|
+
dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
|
|
21011
21120
|
}
|
|
21012
21121
|
|
|
21013
21122
|
/** Represents a DataProfileFinding. */
|
|
@@ -21043,6 +21152,12 @@ export namespace google {
|
|
|
21043
21152
|
/** DataProfileFinding resourceVisibility. */
|
|
21044
21153
|
public resourceVisibility: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility);
|
|
21045
21154
|
|
|
21155
|
+
/** DataProfileFinding fullResourceName. */
|
|
21156
|
+
public fullResourceName: string;
|
|
21157
|
+
|
|
21158
|
+
/** DataProfileFinding dataSourceType. */
|
|
21159
|
+
public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
|
|
21160
|
+
|
|
21046
21161
|
/**
|
|
21047
21162
|
* Creates a new DataProfileFinding instance using the specified properties.
|
|
21048
21163
|
* @param [properties] Properties to set
|
|
@@ -37491,6 +37606,103 @@ export namespace google {
|
|
|
37491
37606
|
}
|
|
37492
37607
|
}
|
|
37493
37608
|
|
|
37609
|
+
/** Properties of a SaveToGcsFindingsOutput. */
|
|
37610
|
+
interface ISaveToGcsFindingsOutput {
|
|
37611
|
+
|
|
37612
|
+
/** SaveToGcsFindingsOutput findings */
|
|
37613
|
+
findings?: (google.privacy.dlp.v2.IFinding[]|null);
|
|
37614
|
+
}
|
|
37615
|
+
|
|
37616
|
+
/** Represents a SaveToGcsFindingsOutput. */
|
|
37617
|
+
class SaveToGcsFindingsOutput implements ISaveToGcsFindingsOutput {
|
|
37618
|
+
|
|
37619
|
+
/**
|
|
37620
|
+
* Constructs a new SaveToGcsFindingsOutput.
|
|
37621
|
+
* @param [properties] Properties to set
|
|
37622
|
+
*/
|
|
37623
|
+
constructor(properties?: google.privacy.dlp.v2.ISaveToGcsFindingsOutput);
|
|
37624
|
+
|
|
37625
|
+
/** SaveToGcsFindingsOutput findings. */
|
|
37626
|
+
public findings: google.privacy.dlp.v2.IFinding[];
|
|
37627
|
+
|
|
37628
|
+
/**
|
|
37629
|
+
* Creates a new SaveToGcsFindingsOutput instance using the specified properties.
|
|
37630
|
+
* @param [properties] Properties to set
|
|
37631
|
+
* @returns SaveToGcsFindingsOutput instance
|
|
37632
|
+
*/
|
|
37633
|
+
public static create(properties?: google.privacy.dlp.v2.ISaveToGcsFindingsOutput): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
|
|
37634
|
+
|
|
37635
|
+
/**
|
|
37636
|
+
* Encodes the specified SaveToGcsFindingsOutput message. Does not implicitly {@link google.privacy.dlp.v2.SaveToGcsFindingsOutput.verify|verify} messages.
|
|
37637
|
+
* @param message SaveToGcsFindingsOutput message or plain object to encode
|
|
37638
|
+
* @param [writer] Writer to encode to
|
|
37639
|
+
* @returns Writer
|
|
37640
|
+
*/
|
|
37641
|
+
public static encode(message: google.privacy.dlp.v2.ISaveToGcsFindingsOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37642
|
+
|
|
37643
|
+
/**
|
|
37644
|
+
* Encodes the specified SaveToGcsFindingsOutput message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SaveToGcsFindingsOutput.verify|verify} messages.
|
|
37645
|
+
* @param message SaveToGcsFindingsOutput message or plain object to encode
|
|
37646
|
+
* @param [writer] Writer to encode to
|
|
37647
|
+
* @returns Writer
|
|
37648
|
+
*/
|
|
37649
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ISaveToGcsFindingsOutput, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37650
|
+
|
|
37651
|
+
/**
|
|
37652
|
+
* Decodes a SaveToGcsFindingsOutput message from the specified reader or buffer.
|
|
37653
|
+
* @param reader Reader or buffer to decode from
|
|
37654
|
+
* @param [length] Message length if known beforehand
|
|
37655
|
+
* @returns SaveToGcsFindingsOutput
|
|
37656
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37657
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37658
|
+
*/
|
|
37659
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
|
|
37660
|
+
|
|
37661
|
+
/**
|
|
37662
|
+
* Decodes a SaveToGcsFindingsOutput message from the specified reader or buffer, length delimited.
|
|
37663
|
+
* @param reader Reader or buffer to decode from
|
|
37664
|
+
* @returns SaveToGcsFindingsOutput
|
|
37665
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37666
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37667
|
+
*/
|
|
37668
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
|
|
37669
|
+
|
|
37670
|
+
/**
|
|
37671
|
+
* Verifies a SaveToGcsFindingsOutput message.
|
|
37672
|
+
* @param message Plain object to verify
|
|
37673
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
37674
|
+
*/
|
|
37675
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
37676
|
+
|
|
37677
|
+
/**
|
|
37678
|
+
* Creates a SaveToGcsFindingsOutput message from a plain object. Also converts values to their respective internal types.
|
|
37679
|
+
* @param object Plain object
|
|
37680
|
+
* @returns SaveToGcsFindingsOutput
|
|
37681
|
+
*/
|
|
37682
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SaveToGcsFindingsOutput;
|
|
37683
|
+
|
|
37684
|
+
/**
|
|
37685
|
+
* Creates a plain object from a SaveToGcsFindingsOutput message. Also converts values to other types if specified.
|
|
37686
|
+
* @param message SaveToGcsFindingsOutput
|
|
37687
|
+
* @param [options] Conversion options
|
|
37688
|
+
* @returns Plain object
|
|
37689
|
+
*/
|
|
37690
|
+
public static toObject(message: google.privacy.dlp.v2.SaveToGcsFindingsOutput, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
37691
|
+
|
|
37692
|
+
/**
|
|
37693
|
+
* Converts this SaveToGcsFindingsOutput to JSON.
|
|
37694
|
+
* @returns JSON object
|
|
37695
|
+
*/
|
|
37696
|
+
public toJSON(): { [k: string]: any };
|
|
37697
|
+
|
|
37698
|
+
/**
|
|
37699
|
+
* Gets the default type url for SaveToGcsFindingsOutput
|
|
37700
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
37701
|
+
* @returns The default type url
|
|
37702
|
+
*/
|
|
37703
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37704
|
+
}
|
|
37705
|
+
|
|
37494
37706
|
/** Properties of an InfoType. */
|
|
37495
37707
|
interface IInfoType {
|
|
37496
37708
|
|
|
@@ -40905,6 +41117,9 @@ export namespace google {
|
|
|
40905
41117
|
|
|
40906
41118
|
/** TableReference tableId */
|
|
40907
41119
|
tableId?: (string|null);
|
|
41120
|
+
|
|
41121
|
+
/** TableReference projectId */
|
|
41122
|
+
projectId?: (string|null);
|
|
40908
41123
|
}
|
|
40909
41124
|
|
|
40910
41125
|
/** Represents a TableReference. */
|
|
@@ -40922,6 +41137,9 @@ export namespace google {
|
|
|
40922
41137
|
/** TableReference tableId. */
|
|
40923
41138
|
public tableId: string;
|
|
40924
41139
|
|
|
41140
|
+
/** TableReference projectId. */
|
|
41141
|
+
public projectId: string;
|
|
41142
|
+
|
|
40925
41143
|
/**
|
|
40926
41144
|
* Creates a new TableReference instance using the specified properties.
|
|
40927
41145
|
* @param [properties] Properties to set
|
|
@@ -41955,6 +42173,9 @@ export namespace google {
|
|
|
41955
42173
|
|
|
41956
42174
|
/** Publishing protoReferenceDocumentationUri */
|
|
41957
42175
|
protoReferenceDocumentationUri?: (string|null);
|
|
42176
|
+
|
|
42177
|
+
/** Publishing restReferenceDocumentationUri */
|
|
42178
|
+
restReferenceDocumentationUri?: (string|null);
|
|
41958
42179
|
}
|
|
41959
42180
|
|
|
41960
42181
|
/** Represents a Publishing. */
|
|
@@ -41996,6 +42217,9 @@ export namespace google {
|
|
|
41996
42217
|
/** Publishing protoReferenceDocumentationUri. */
|
|
41997
42218
|
public protoReferenceDocumentationUri: string;
|
|
41998
42219
|
|
|
42220
|
+
/** Publishing restReferenceDocumentationUri. */
|
|
42221
|
+
public restReferenceDocumentationUri: string;
|
|
42222
|
+
|
|
41999
42223
|
/**
|
|
42000
42224
|
* Creates a new Publishing instance using the specified properties.
|
|
42001
42225
|
* @param [properties] Properties to set
|
|
@@ -46213,6 +46437,9 @@ export namespace google {
|
|
|
46213
46437
|
|
|
46214
46438
|
/** ServiceOptions .google.api.oauthScopes */
|
|
46215
46439
|
".google.api.oauthScopes"?: (string|null);
|
|
46440
|
+
|
|
46441
|
+
/** ServiceOptions .google.api.apiVersion */
|
|
46442
|
+
".google.api.apiVersion"?: (string|null);
|
|
46216
46443
|
}
|
|
46217
46444
|
|
|
46218
46445
|
/** Represents a ServiceOptions. */
|
|
@@ -46461,7 +46688,7 @@ export namespace google {
|
|
|
46461
46688
|
doubleValue?: (number|null);
|
|
46462
46689
|
|
|
46463
46690
|
/** UninterpretedOption stringValue */
|
|
46464
|
-
stringValue?: (Uint8Array|string|null);
|
|
46691
|
+
stringValue?: (Uint8Array|Buffer|string|null);
|
|
46465
46692
|
|
|
46466
46693
|
/** UninterpretedOption aggregateValue */
|
|
46467
46694
|
aggregateValue?: (string|null);
|
|
@@ -46492,7 +46719,7 @@ export namespace google {
|
|
|
46492
46719
|
public doubleValue: number;
|
|
46493
46720
|
|
|
46494
46721
|
/** UninterpretedOption stringValue. */
|
|
46495
|
-
public stringValue: (Uint8Array|string);
|
|
46722
|
+
public stringValue: (Uint8Array|Buffer|string);
|
|
46496
46723
|
|
|
46497
46724
|
/** UninterpretedOption aggregateValue. */
|
|
46498
46725
|
public aggregateValue: string;
|
|
@@ -47922,7 +48149,7 @@ export namespace google {
|
|
|
47922
48149
|
type_url?: (string|null);
|
|
47923
48150
|
|
|
47924
48151
|
/** Any value */
|
|
47925
|
-
value?: (Uint8Array|string|null);
|
|
48152
|
+
value?: (Uint8Array|Buffer|string|null);
|
|
47926
48153
|
}
|
|
47927
48154
|
|
|
47928
48155
|
/** Represents an Any. */
|
|
@@ -47938,7 +48165,7 @@ export namespace google {
|
|
|
47938
48165
|
public type_url: string;
|
|
47939
48166
|
|
|
47940
48167
|
/** Any value. */
|
|
47941
|
-
public value: (Uint8Array|string);
|
|
48168
|
+
public value: (Uint8Array|Buffer|string);
|
|
47942
48169
|
|
|
47943
48170
|
/**
|
|
47944
48171
|
* Creates a new Any instance using the specified properties.
|