@google-cloud/dlp 6.3.0 → 6.5.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 +83 -167
- package/build/protos/google/privacy/dlp/v2/dlp.proto +305 -74
- package/build/protos/protos.d.ts +691 -2
- package/build/protos/protos.js +1842 -5
- package/build/protos/protos.json +147 -1
- package/build/src/v2/dlp_service_client.d.ts +248 -126
- package/build/src/v2/dlp_service_client.js +154 -84
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
|
@@ -4144,6 +4144,12 @@ export namespace google {
|
|
|
4144
4144
|
|
|
4145
4145
|
/** RedactImageRequest byteItem */
|
|
4146
4146
|
byteItem?: (google.privacy.dlp.v2.IByteContentItem|null);
|
|
4147
|
+
|
|
4148
|
+
/** RedactImageRequest inspectTemplate */
|
|
4149
|
+
inspectTemplate?: (string|null);
|
|
4150
|
+
|
|
4151
|
+
/** RedactImageRequest deidentifyTemplate */
|
|
4152
|
+
deidentifyTemplate?: (string|null);
|
|
4147
4153
|
}
|
|
4148
4154
|
|
|
4149
4155
|
/** Represents a RedactImageRequest. */
|
|
@@ -4173,6 +4179,12 @@ export namespace google {
|
|
|
4173
4179
|
/** RedactImageRequest byteItem. */
|
|
4174
4180
|
public byteItem?: (google.privacy.dlp.v2.IByteContentItem|null);
|
|
4175
4181
|
|
|
4182
|
+
/** RedactImageRequest inspectTemplate. */
|
|
4183
|
+
public inspectTemplate: string;
|
|
4184
|
+
|
|
4185
|
+
/** RedactImageRequest deidentifyTemplate. */
|
|
4186
|
+
public deidentifyTemplate: string;
|
|
4187
|
+
|
|
4176
4188
|
/**
|
|
4177
4189
|
* Creates a new RedactImageRequest instance using the specified properties.
|
|
4178
4190
|
* @param [properties] Properties to set
|
|
@@ -5280,6 +5292,9 @@ export namespace google {
|
|
|
5280
5292
|
/** OutputStorageConfig table */
|
|
5281
5293
|
table?: (google.privacy.dlp.v2.IBigQueryTable|null);
|
|
5282
5294
|
|
|
5295
|
+
/** OutputStorageConfig storagePath */
|
|
5296
|
+
storagePath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
|
|
5297
|
+
|
|
5283
5298
|
/** OutputStorageConfig outputSchema */
|
|
5284
5299
|
outputSchema?: (google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|keyof typeof google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|null);
|
|
5285
5300
|
}
|
|
@@ -5296,11 +5311,14 @@ export namespace google {
|
|
|
5296
5311
|
/** OutputStorageConfig table. */
|
|
5297
5312
|
public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
|
|
5298
5313
|
|
|
5314
|
+
/** OutputStorageConfig storagePath. */
|
|
5315
|
+
public storagePath?: (google.privacy.dlp.v2.ICloudStoragePath|null);
|
|
5316
|
+
|
|
5299
5317
|
/** OutputStorageConfig outputSchema. */
|
|
5300
5318
|
public outputSchema: (google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|keyof typeof google.privacy.dlp.v2.OutputStorageConfig.OutputSchema);
|
|
5301
5319
|
|
|
5302
5320
|
/** OutputStorageConfig type. */
|
|
5303
|
-
public type?: "table";
|
|
5321
|
+
public type?: ("table"|"storagePath");
|
|
5304
5322
|
|
|
5305
5323
|
/**
|
|
5306
5324
|
* Creates a new OutputStorageConfig instance using the specified properties.
|
|
@@ -6471,6 +6489,119 @@ export namespace google {
|
|
|
6471
6489
|
}
|
|
6472
6490
|
}
|
|
6473
6491
|
|
|
6492
|
+
/** Properties of a LocationSupport. */
|
|
6493
|
+
interface ILocationSupport {
|
|
6494
|
+
|
|
6495
|
+
/** LocationSupport regionalizationScope */
|
|
6496
|
+
regionalizationScope?: (google.privacy.dlp.v2.LocationSupport.RegionalizationScope|keyof typeof google.privacy.dlp.v2.LocationSupport.RegionalizationScope|null);
|
|
6497
|
+
|
|
6498
|
+
/** LocationSupport locations */
|
|
6499
|
+
locations?: (string[]|null);
|
|
6500
|
+
}
|
|
6501
|
+
|
|
6502
|
+
/** Represents a LocationSupport. */
|
|
6503
|
+
class LocationSupport implements ILocationSupport {
|
|
6504
|
+
|
|
6505
|
+
/**
|
|
6506
|
+
* Constructs a new LocationSupport.
|
|
6507
|
+
* @param [properties] Properties to set
|
|
6508
|
+
*/
|
|
6509
|
+
constructor(properties?: google.privacy.dlp.v2.ILocationSupport);
|
|
6510
|
+
|
|
6511
|
+
/** LocationSupport regionalizationScope. */
|
|
6512
|
+
public regionalizationScope: (google.privacy.dlp.v2.LocationSupport.RegionalizationScope|keyof typeof google.privacy.dlp.v2.LocationSupport.RegionalizationScope);
|
|
6513
|
+
|
|
6514
|
+
/** LocationSupport locations. */
|
|
6515
|
+
public locations: string[];
|
|
6516
|
+
|
|
6517
|
+
/**
|
|
6518
|
+
* Creates a new LocationSupport instance using the specified properties.
|
|
6519
|
+
* @param [properties] Properties to set
|
|
6520
|
+
* @returns LocationSupport instance
|
|
6521
|
+
*/
|
|
6522
|
+
public static create(properties?: google.privacy.dlp.v2.ILocationSupport): google.privacy.dlp.v2.LocationSupport;
|
|
6523
|
+
|
|
6524
|
+
/**
|
|
6525
|
+
* Encodes the specified LocationSupport message. Does not implicitly {@link google.privacy.dlp.v2.LocationSupport.verify|verify} messages.
|
|
6526
|
+
* @param message LocationSupport message or plain object to encode
|
|
6527
|
+
* @param [writer] Writer to encode to
|
|
6528
|
+
* @returns Writer
|
|
6529
|
+
*/
|
|
6530
|
+
public static encode(message: google.privacy.dlp.v2.ILocationSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6531
|
+
|
|
6532
|
+
/**
|
|
6533
|
+
* Encodes the specified LocationSupport message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.LocationSupport.verify|verify} messages.
|
|
6534
|
+
* @param message LocationSupport message or plain object to encode
|
|
6535
|
+
* @param [writer] Writer to encode to
|
|
6536
|
+
* @returns Writer
|
|
6537
|
+
*/
|
|
6538
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ILocationSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6539
|
+
|
|
6540
|
+
/**
|
|
6541
|
+
* Decodes a LocationSupport message from the specified reader or buffer.
|
|
6542
|
+
* @param reader Reader or buffer to decode from
|
|
6543
|
+
* @param [length] Message length if known beforehand
|
|
6544
|
+
* @returns LocationSupport
|
|
6545
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6546
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6547
|
+
*/
|
|
6548
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.LocationSupport;
|
|
6549
|
+
|
|
6550
|
+
/**
|
|
6551
|
+
* Decodes a LocationSupport message from the specified reader or buffer, length delimited.
|
|
6552
|
+
* @param reader Reader or buffer to decode from
|
|
6553
|
+
* @returns LocationSupport
|
|
6554
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6555
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6556
|
+
*/
|
|
6557
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.LocationSupport;
|
|
6558
|
+
|
|
6559
|
+
/**
|
|
6560
|
+
* Verifies a LocationSupport message.
|
|
6561
|
+
* @param message Plain object to verify
|
|
6562
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6563
|
+
*/
|
|
6564
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6565
|
+
|
|
6566
|
+
/**
|
|
6567
|
+
* Creates a LocationSupport message from a plain object. Also converts values to their respective internal types.
|
|
6568
|
+
* @param object Plain object
|
|
6569
|
+
* @returns LocationSupport
|
|
6570
|
+
*/
|
|
6571
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.LocationSupport;
|
|
6572
|
+
|
|
6573
|
+
/**
|
|
6574
|
+
* Creates a plain object from a LocationSupport message. Also converts values to other types if specified.
|
|
6575
|
+
* @param message LocationSupport
|
|
6576
|
+
* @param [options] Conversion options
|
|
6577
|
+
* @returns Plain object
|
|
6578
|
+
*/
|
|
6579
|
+
public static toObject(message: google.privacy.dlp.v2.LocationSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6580
|
+
|
|
6581
|
+
/**
|
|
6582
|
+
* Converts this LocationSupport to JSON.
|
|
6583
|
+
* @returns JSON object
|
|
6584
|
+
*/
|
|
6585
|
+
public toJSON(): { [k: string]: any };
|
|
6586
|
+
|
|
6587
|
+
/**
|
|
6588
|
+
* Gets the default type url for LocationSupport
|
|
6589
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6590
|
+
* @returns The default type url
|
|
6591
|
+
*/
|
|
6592
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6593
|
+
}
|
|
6594
|
+
|
|
6595
|
+
namespace LocationSupport {
|
|
6596
|
+
|
|
6597
|
+
/** RegionalizationScope enum. */
|
|
6598
|
+
enum RegionalizationScope {
|
|
6599
|
+
REGIONALIZATION_SCOPE_UNSPECIFIED = 0,
|
|
6600
|
+
REGIONAL = 1,
|
|
6601
|
+
ANY_LOCATION = 2
|
|
6602
|
+
}
|
|
6603
|
+
}
|
|
6604
|
+
|
|
6474
6605
|
/** Properties of an InfoTypeDescription. */
|
|
6475
6606
|
interface IInfoTypeDescription {
|
|
6476
6607
|
|
|
@@ -6486,6 +6617,9 @@ export namespace google {
|
|
|
6486
6617
|
/** InfoTypeDescription description */
|
|
6487
6618
|
description?: (string|null);
|
|
6488
6619
|
|
|
6620
|
+
/** InfoTypeDescription locationSupport */
|
|
6621
|
+
locationSupport?: (google.privacy.dlp.v2.ILocationSupport|null);
|
|
6622
|
+
|
|
6489
6623
|
/** InfoTypeDescription example */
|
|
6490
6624
|
example?: (string|null);
|
|
6491
6625
|
|
|
@@ -6523,6 +6657,9 @@ export namespace google {
|
|
|
6523
6657
|
/** InfoTypeDescription description. */
|
|
6524
6658
|
public description: string;
|
|
6525
6659
|
|
|
6660
|
+
/** InfoTypeDescription locationSupport. */
|
|
6661
|
+
public locationSupport?: (google.privacy.dlp.v2.ILocationSupport|null);
|
|
6662
|
+
|
|
6526
6663
|
/** InfoTypeDescription example. */
|
|
6527
6664
|
public example: string;
|
|
6528
6665
|
|
|
@@ -6737,6 +6874,7 @@ export namespace google {
|
|
|
6737
6874
|
ARGENTINA = 2,
|
|
6738
6875
|
ARMENIA = 51,
|
|
6739
6876
|
AUSTRALIA = 3,
|
|
6877
|
+
AUSTRIA = 53,
|
|
6740
6878
|
AZERBAIJAN = 48,
|
|
6741
6879
|
BELARUS = 50,
|
|
6742
6880
|
BELGIUM = 4,
|
|
@@ -16939,6 +17077,9 @@ export namespace google {
|
|
|
16939
17077
|
/** Action publishFindingsToCloudDataCatalog */
|
|
16940
17078
|
publishFindingsToCloudDataCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null);
|
|
16941
17079
|
|
|
17080
|
+
/** Action publishFindingsToDataplexCatalog */
|
|
17081
|
+
publishFindingsToDataplexCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog|null);
|
|
17082
|
+
|
|
16942
17083
|
/** Action deidentify */
|
|
16943
17084
|
deidentify?: (google.privacy.dlp.v2.Action.IDeidentify|null);
|
|
16944
17085
|
|
|
@@ -16970,6 +17111,9 @@ export namespace google {
|
|
|
16970
17111
|
/** Action publishFindingsToCloudDataCatalog. */
|
|
16971
17112
|
public publishFindingsToCloudDataCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null);
|
|
16972
17113
|
|
|
17114
|
+
/** Action publishFindingsToDataplexCatalog. */
|
|
17115
|
+
public publishFindingsToDataplexCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog|null);
|
|
17116
|
+
|
|
16973
17117
|
/** Action deidentify. */
|
|
16974
17118
|
public deidentify?: (google.privacy.dlp.v2.Action.IDeidentify|null);
|
|
16975
17119
|
|
|
@@ -16980,7 +17124,7 @@ export namespace google {
|
|
|
16980
17124
|
public publishToStackdriver?: (google.privacy.dlp.v2.Action.IPublishToStackdriver|null);
|
|
16981
17125
|
|
|
16982
17126
|
/** Action action. */
|
|
16983
|
-
public action?: ("saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"deidentify"|"jobNotificationEmails"|"publishToStackdriver");
|
|
17127
|
+
public action?: ("saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"publishFindingsToDataplexCatalog"|"deidentify"|"jobNotificationEmails"|"publishToStackdriver");
|
|
16984
17128
|
|
|
16985
17129
|
/**
|
|
16986
17130
|
* Creates a new Action instance using the specified properties.
|
|
@@ -17438,6 +17582,97 @@ export namespace google {
|
|
|
17438
17582
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17439
17583
|
}
|
|
17440
17584
|
|
|
17585
|
+
/** Properties of a PublishFindingsToDataplexCatalog. */
|
|
17586
|
+
interface IPublishFindingsToDataplexCatalog {
|
|
17587
|
+
}
|
|
17588
|
+
|
|
17589
|
+
/** Represents a PublishFindingsToDataplexCatalog. */
|
|
17590
|
+
class PublishFindingsToDataplexCatalog implements IPublishFindingsToDataplexCatalog {
|
|
17591
|
+
|
|
17592
|
+
/**
|
|
17593
|
+
* Constructs a new PublishFindingsToDataplexCatalog.
|
|
17594
|
+
* @param [properties] Properties to set
|
|
17595
|
+
*/
|
|
17596
|
+
constructor(properties?: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog);
|
|
17597
|
+
|
|
17598
|
+
/**
|
|
17599
|
+
* Creates a new PublishFindingsToDataplexCatalog instance using the specified properties.
|
|
17600
|
+
* @param [properties] Properties to set
|
|
17601
|
+
* @returns PublishFindingsToDataplexCatalog instance
|
|
17602
|
+
*/
|
|
17603
|
+
public static create(properties?: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
|
|
17604
|
+
|
|
17605
|
+
/**
|
|
17606
|
+
* Encodes the specified PublishFindingsToDataplexCatalog message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify|verify} messages.
|
|
17607
|
+
* @param message PublishFindingsToDataplexCatalog message or plain object to encode
|
|
17608
|
+
* @param [writer] Writer to encode to
|
|
17609
|
+
* @returns Writer
|
|
17610
|
+
*/
|
|
17611
|
+
public static encode(message: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17612
|
+
|
|
17613
|
+
/**
|
|
17614
|
+
* Encodes the specified PublishFindingsToDataplexCatalog message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify|verify} messages.
|
|
17615
|
+
* @param message PublishFindingsToDataplexCatalog message or plain object to encode
|
|
17616
|
+
* @param [writer] Writer to encode to
|
|
17617
|
+
* @returns Writer
|
|
17618
|
+
*/
|
|
17619
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17620
|
+
|
|
17621
|
+
/**
|
|
17622
|
+
* Decodes a PublishFindingsToDataplexCatalog message from the specified reader or buffer.
|
|
17623
|
+
* @param reader Reader or buffer to decode from
|
|
17624
|
+
* @param [length] Message length if known beforehand
|
|
17625
|
+
* @returns PublishFindingsToDataplexCatalog
|
|
17626
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17627
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17628
|
+
*/
|
|
17629
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
|
|
17630
|
+
|
|
17631
|
+
/**
|
|
17632
|
+
* Decodes a PublishFindingsToDataplexCatalog message from the specified reader or buffer, length delimited.
|
|
17633
|
+
* @param reader Reader or buffer to decode from
|
|
17634
|
+
* @returns PublishFindingsToDataplexCatalog
|
|
17635
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17636
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17637
|
+
*/
|
|
17638
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
|
|
17639
|
+
|
|
17640
|
+
/**
|
|
17641
|
+
* Verifies a PublishFindingsToDataplexCatalog message.
|
|
17642
|
+
* @param message Plain object to verify
|
|
17643
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17644
|
+
*/
|
|
17645
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17646
|
+
|
|
17647
|
+
/**
|
|
17648
|
+
* Creates a PublishFindingsToDataplexCatalog message from a plain object. Also converts values to their respective internal types.
|
|
17649
|
+
* @param object Plain object
|
|
17650
|
+
* @returns PublishFindingsToDataplexCatalog
|
|
17651
|
+
*/
|
|
17652
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog;
|
|
17653
|
+
|
|
17654
|
+
/**
|
|
17655
|
+
* Creates a plain object from a PublishFindingsToDataplexCatalog message. Also converts values to other types if specified.
|
|
17656
|
+
* @param message PublishFindingsToDataplexCatalog
|
|
17657
|
+
* @param [options] Conversion options
|
|
17658
|
+
* @returns Plain object
|
|
17659
|
+
*/
|
|
17660
|
+
public static toObject(message: google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17661
|
+
|
|
17662
|
+
/**
|
|
17663
|
+
* Converts this PublishFindingsToDataplexCatalog to JSON.
|
|
17664
|
+
* @returns JSON object
|
|
17665
|
+
*/
|
|
17666
|
+
public toJSON(): { [k: string]: any };
|
|
17667
|
+
|
|
17668
|
+
/**
|
|
17669
|
+
* Gets the default type url for PublishFindingsToDataplexCatalog
|
|
17670
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17671
|
+
* @returns The default type url
|
|
17672
|
+
*/
|
|
17673
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17674
|
+
}
|
|
17675
|
+
|
|
17441
17676
|
/** Properties of a Deidentify. */
|
|
17442
17677
|
interface IDeidentify {
|
|
17443
17678
|
|
|
@@ -24994,6 +25229,9 @@ export namespace google {
|
|
|
24994
25229
|
|
|
24995
25230
|
/** FileStoreCollection includeRegexes */
|
|
24996
25231
|
includeRegexes?: (google.privacy.dlp.v2.IFileStoreRegexes|null);
|
|
25232
|
+
|
|
25233
|
+
/** FileStoreCollection includeTags */
|
|
25234
|
+
includeTags?: (google.privacy.dlp.v2.ITagFilters|null);
|
|
24997
25235
|
}
|
|
24998
25236
|
|
|
24999
25237
|
/** Represents a FileStoreCollection. */
|
|
@@ -25008,6 +25246,9 @@ export namespace google {
|
|
|
25008
25246
|
/** FileStoreCollection includeRegexes. */
|
|
25009
25247
|
public includeRegexes?: (google.privacy.dlp.v2.IFileStoreRegexes|null);
|
|
25010
25248
|
|
|
25249
|
+
/** FileStoreCollection includeTags. */
|
|
25250
|
+
public includeTags?: (google.privacy.dlp.v2.ITagFilters|null);
|
|
25251
|
+
|
|
25011
25252
|
/** FileStoreCollection pattern. */
|
|
25012
25253
|
public pattern?: "includeRegexes";
|
|
25013
25254
|
|
|
@@ -32898,6 +33139,9 @@ export namespace google {
|
|
|
32898
33139
|
|
|
32899
33140
|
/** TableDataProfile relatedResources */
|
|
32900
33141
|
relatedResources?: (google.privacy.dlp.v2.IRelatedResource[]|null);
|
|
33142
|
+
|
|
33143
|
+
/** TableDataProfile domains */
|
|
33144
|
+
domains?: (google.privacy.dlp.v2.IDomain[]|null);
|
|
32901
33145
|
}
|
|
32902
33146
|
|
|
32903
33147
|
/** Represents a TableDataProfile. */
|
|
@@ -32996,6 +33240,9 @@ export namespace google {
|
|
|
32996
33240
|
/** TableDataProfile relatedResources. */
|
|
32997
33241
|
public relatedResources: google.privacy.dlp.v2.IRelatedResource[];
|
|
32998
33242
|
|
|
33243
|
+
/** TableDataProfile domains. */
|
|
33244
|
+
public domains: google.privacy.dlp.v2.IDomain[];
|
|
33245
|
+
|
|
32999
33246
|
/**
|
|
33000
33247
|
* Creates a new TableDataProfile instance using the specified properties.
|
|
33001
33248
|
* @param [properties] Properties to set
|
|
@@ -33753,6 +34000,9 @@ export namespace google {
|
|
|
33753
34000
|
|
|
33754
34001
|
/** FileStoreDataProfile relatedResources */
|
|
33755
34002
|
relatedResources?: (google.privacy.dlp.v2.IRelatedResource[]|null);
|
|
34003
|
+
|
|
34004
|
+
/** FileStoreDataProfile domains */
|
|
34005
|
+
domains?: (google.privacy.dlp.v2.IDomain[]|null);
|
|
33756
34006
|
}
|
|
33757
34007
|
|
|
33758
34008
|
/** Represents a FileStoreDataProfile. */
|
|
@@ -33842,6 +34092,9 @@ export namespace google {
|
|
|
33842
34092
|
/** FileStoreDataProfile relatedResources. */
|
|
33843
34093
|
public relatedResources: google.privacy.dlp.v2.IRelatedResource[];
|
|
33844
34094
|
|
|
34095
|
+
/** FileStoreDataProfile domains. */
|
|
34096
|
+
public domains: google.privacy.dlp.v2.IDomain[];
|
|
34097
|
+
|
|
33845
34098
|
/**
|
|
33846
34099
|
* Creates a new FileStoreDataProfile instance using the specified properties.
|
|
33847
34100
|
* @param [properties] Properties to set
|
|
@@ -34039,6 +34292,209 @@ export namespace google {
|
|
|
34039
34292
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34040
34293
|
}
|
|
34041
34294
|
|
|
34295
|
+
/** Properties of a TagFilters. */
|
|
34296
|
+
interface ITagFilters {
|
|
34297
|
+
|
|
34298
|
+
/** TagFilters tagFilters */
|
|
34299
|
+
tagFilters?: (google.privacy.dlp.v2.ITagFilter[]|null);
|
|
34300
|
+
}
|
|
34301
|
+
|
|
34302
|
+
/** Represents a TagFilters. */
|
|
34303
|
+
class TagFilters implements ITagFilters {
|
|
34304
|
+
|
|
34305
|
+
/**
|
|
34306
|
+
* Constructs a new TagFilters.
|
|
34307
|
+
* @param [properties] Properties to set
|
|
34308
|
+
*/
|
|
34309
|
+
constructor(properties?: google.privacy.dlp.v2.ITagFilters);
|
|
34310
|
+
|
|
34311
|
+
/** TagFilters tagFilters. */
|
|
34312
|
+
public tagFilters: google.privacy.dlp.v2.ITagFilter[];
|
|
34313
|
+
|
|
34314
|
+
/**
|
|
34315
|
+
* Creates a new TagFilters instance using the specified properties.
|
|
34316
|
+
* @param [properties] Properties to set
|
|
34317
|
+
* @returns TagFilters instance
|
|
34318
|
+
*/
|
|
34319
|
+
public static create(properties?: google.privacy.dlp.v2.ITagFilters): google.privacy.dlp.v2.TagFilters;
|
|
34320
|
+
|
|
34321
|
+
/**
|
|
34322
|
+
* Encodes the specified TagFilters message. Does not implicitly {@link google.privacy.dlp.v2.TagFilters.verify|verify} messages.
|
|
34323
|
+
* @param message TagFilters message or plain object to encode
|
|
34324
|
+
* @param [writer] Writer to encode to
|
|
34325
|
+
* @returns Writer
|
|
34326
|
+
*/
|
|
34327
|
+
public static encode(message: google.privacy.dlp.v2.ITagFilters, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34328
|
+
|
|
34329
|
+
/**
|
|
34330
|
+
* Encodes the specified TagFilters message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TagFilters.verify|verify} messages.
|
|
34331
|
+
* @param message TagFilters message or plain object to encode
|
|
34332
|
+
* @param [writer] Writer to encode to
|
|
34333
|
+
* @returns Writer
|
|
34334
|
+
*/
|
|
34335
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITagFilters, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34336
|
+
|
|
34337
|
+
/**
|
|
34338
|
+
* Decodes a TagFilters message from the specified reader or buffer.
|
|
34339
|
+
* @param reader Reader or buffer to decode from
|
|
34340
|
+
* @param [length] Message length if known beforehand
|
|
34341
|
+
* @returns TagFilters
|
|
34342
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34343
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34344
|
+
*/
|
|
34345
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TagFilters;
|
|
34346
|
+
|
|
34347
|
+
/**
|
|
34348
|
+
* Decodes a TagFilters message from the specified reader or buffer, length delimited.
|
|
34349
|
+
* @param reader Reader or buffer to decode from
|
|
34350
|
+
* @returns TagFilters
|
|
34351
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34352
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34353
|
+
*/
|
|
34354
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TagFilters;
|
|
34355
|
+
|
|
34356
|
+
/**
|
|
34357
|
+
* Verifies a TagFilters message.
|
|
34358
|
+
* @param message Plain object to verify
|
|
34359
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34360
|
+
*/
|
|
34361
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
34362
|
+
|
|
34363
|
+
/**
|
|
34364
|
+
* Creates a TagFilters message from a plain object. Also converts values to their respective internal types.
|
|
34365
|
+
* @param object Plain object
|
|
34366
|
+
* @returns TagFilters
|
|
34367
|
+
*/
|
|
34368
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TagFilters;
|
|
34369
|
+
|
|
34370
|
+
/**
|
|
34371
|
+
* Creates a plain object from a TagFilters message. Also converts values to other types if specified.
|
|
34372
|
+
* @param message TagFilters
|
|
34373
|
+
* @param [options] Conversion options
|
|
34374
|
+
* @returns Plain object
|
|
34375
|
+
*/
|
|
34376
|
+
public static toObject(message: google.privacy.dlp.v2.TagFilters, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34377
|
+
|
|
34378
|
+
/**
|
|
34379
|
+
* Converts this TagFilters to JSON.
|
|
34380
|
+
* @returns JSON object
|
|
34381
|
+
*/
|
|
34382
|
+
public toJSON(): { [k: string]: any };
|
|
34383
|
+
|
|
34384
|
+
/**
|
|
34385
|
+
* Gets the default type url for TagFilters
|
|
34386
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34387
|
+
* @returns The default type url
|
|
34388
|
+
*/
|
|
34389
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34390
|
+
}
|
|
34391
|
+
|
|
34392
|
+
/** Properties of a TagFilter. */
|
|
34393
|
+
interface ITagFilter {
|
|
34394
|
+
|
|
34395
|
+
/** TagFilter namespacedTagValue */
|
|
34396
|
+
namespacedTagValue?: (string|null);
|
|
34397
|
+
|
|
34398
|
+
/** TagFilter namespacedTagKey */
|
|
34399
|
+
namespacedTagKey?: (string|null);
|
|
34400
|
+
}
|
|
34401
|
+
|
|
34402
|
+
/** Represents a TagFilter. */
|
|
34403
|
+
class TagFilter implements ITagFilter {
|
|
34404
|
+
|
|
34405
|
+
/**
|
|
34406
|
+
* Constructs a new TagFilter.
|
|
34407
|
+
* @param [properties] Properties to set
|
|
34408
|
+
*/
|
|
34409
|
+
constructor(properties?: google.privacy.dlp.v2.ITagFilter);
|
|
34410
|
+
|
|
34411
|
+
/** TagFilter namespacedTagValue. */
|
|
34412
|
+
public namespacedTagValue?: (string|null);
|
|
34413
|
+
|
|
34414
|
+
/** TagFilter namespacedTagKey. */
|
|
34415
|
+
public namespacedTagKey?: (string|null);
|
|
34416
|
+
|
|
34417
|
+
/** TagFilter format. */
|
|
34418
|
+
public format?: ("namespacedTagValue"|"namespacedTagKey");
|
|
34419
|
+
|
|
34420
|
+
/**
|
|
34421
|
+
* Creates a new TagFilter instance using the specified properties.
|
|
34422
|
+
* @param [properties] Properties to set
|
|
34423
|
+
* @returns TagFilter instance
|
|
34424
|
+
*/
|
|
34425
|
+
public static create(properties?: google.privacy.dlp.v2.ITagFilter): google.privacy.dlp.v2.TagFilter;
|
|
34426
|
+
|
|
34427
|
+
/**
|
|
34428
|
+
* Encodes the specified TagFilter message. Does not implicitly {@link google.privacy.dlp.v2.TagFilter.verify|verify} messages.
|
|
34429
|
+
* @param message TagFilter message or plain object to encode
|
|
34430
|
+
* @param [writer] Writer to encode to
|
|
34431
|
+
* @returns Writer
|
|
34432
|
+
*/
|
|
34433
|
+
public static encode(message: google.privacy.dlp.v2.ITagFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34434
|
+
|
|
34435
|
+
/**
|
|
34436
|
+
* Encodes the specified TagFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TagFilter.verify|verify} messages.
|
|
34437
|
+
* @param message TagFilter message or plain object to encode
|
|
34438
|
+
* @param [writer] Writer to encode to
|
|
34439
|
+
* @returns Writer
|
|
34440
|
+
*/
|
|
34441
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITagFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34442
|
+
|
|
34443
|
+
/**
|
|
34444
|
+
* Decodes a TagFilter message from the specified reader or buffer.
|
|
34445
|
+
* @param reader Reader or buffer to decode from
|
|
34446
|
+
* @param [length] Message length if known beforehand
|
|
34447
|
+
* @returns TagFilter
|
|
34448
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34449
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34450
|
+
*/
|
|
34451
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TagFilter;
|
|
34452
|
+
|
|
34453
|
+
/**
|
|
34454
|
+
* Decodes a TagFilter message from the specified reader or buffer, length delimited.
|
|
34455
|
+
* @param reader Reader or buffer to decode from
|
|
34456
|
+
* @returns TagFilter
|
|
34457
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34458
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34459
|
+
*/
|
|
34460
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TagFilter;
|
|
34461
|
+
|
|
34462
|
+
/**
|
|
34463
|
+
* Verifies a TagFilter message.
|
|
34464
|
+
* @param message Plain object to verify
|
|
34465
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34466
|
+
*/
|
|
34467
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
34468
|
+
|
|
34469
|
+
/**
|
|
34470
|
+
* Creates a TagFilter message from a plain object. Also converts values to their respective internal types.
|
|
34471
|
+
* @param object Plain object
|
|
34472
|
+
* @returns TagFilter
|
|
34473
|
+
*/
|
|
34474
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TagFilter;
|
|
34475
|
+
|
|
34476
|
+
/**
|
|
34477
|
+
* Creates a plain object from a TagFilter message. Also converts values to other types if specified.
|
|
34478
|
+
* @param message TagFilter
|
|
34479
|
+
* @param [options] Conversion options
|
|
34480
|
+
* @returns Plain object
|
|
34481
|
+
*/
|
|
34482
|
+
public static toObject(message: google.privacy.dlp.v2.TagFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34483
|
+
|
|
34484
|
+
/**
|
|
34485
|
+
* Converts this TagFilter to JSON.
|
|
34486
|
+
* @returns JSON object
|
|
34487
|
+
*/
|
|
34488
|
+
public toJSON(): { [k: string]: any };
|
|
34489
|
+
|
|
34490
|
+
/**
|
|
34491
|
+
* Gets the default type url for TagFilter
|
|
34492
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34493
|
+
* @returns The default type url
|
|
34494
|
+
*/
|
|
34495
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34496
|
+
}
|
|
34497
|
+
|
|
34042
34498
|
/** Properties of a RelatedResource. */
|
|
34043
34499
|
interface IRelatedResource {
|
|
34044
34500
|
|
|
@@ -37226,6 +37682,9 @@ export namespace google {
|
|
|
37226
37682
|
|
|
37227
37683
|
/** ProcessingLocation imageFallbackLocation */
|
|
37228
37684
|
imageFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation|null);
|
|
37685
|
+
|
|
37686
|
+
/** ProcessingLocation documentFallbackLocation */
|
|
37687
|
+
documentFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation|null);
|
|
37229
37688
|
}
|
|
37230
37689
|
|
|
37231
37690
|
/** Represents a ProcessingLocation. */
|
|
@@ -37240,6 +37699,9 @@ export namespace google {
|
|
|
37240
37699
|
/** ProcessingLocation imageFallbackLocation. */
|
|
37241
37700
|
public imageFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IImageFallbackLocation|null);
|
|
37242
37701
|
|
|
37702
|
+
/** ProcessingLocation documentFallbackLocation. */
|
|
37703
|
+
public documentFallbackLocation?: (google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation|null);
|
|
37704
|
+
|
|
37243
37705
|
/**
|
|
37244
37706
|
* Creates a new ProcessingLocation instance using the specified properties.
|
|
37245
37707
|
* @param [properties] Properties to set
|
|
@@ -37604,6 +38066,109 @@ export namespace google {
|
|
|
37604
38066
|
*/
|
|
37605
38067
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37606
38068
|
}
|
|
38069
|
+
|
|
38070
|
+
/** Properties of a DocumentFallbackLocation. */
|
|
38071
|
+
interface IDocumentFallbackLocation {
|
|
38072
|
+
|
|
38073
|
+
/** DocumentFallbackLocation multiRegionProcessing */
|
|
38074
|
+
multiRegionProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing|null);
|
|
38075
|
+
|
|
38076
|
+
/** DocumentFallbackLocation globalProcessing */
|
|
38077
|
+
globalProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing|null);
|
|
38078
|
+
}
|
|
38079
|
+
|
|
38080
|
+
/** Represents a DocumentFallbackLocation. */
|
|
38081
|
+
class DocumentFallbackLocation implements IDocumentFallbackLocation {
|
|
38082
|
+
|
|
38083
|
+
/**
|
|
38084
|
+
* Constructs a new DocumentFallbackLocation.
|
|
38085
|
+
* @param [properties] Properties to set
|
|
38086
|
+
*/
|
|
38087
|
+
constructor(properties?: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation);
|
|
38088
|
+
|
|
38089
|
+
/** DocumentFallbackLocation multiRegionProcessing. */
|
|
38090
|
+
public multiRegionProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IMultiRegionProcessing|null);
|
|
38091
|
+
|
|
38092
|
+
/** DocumentFallbackLocation globalProcessing. */
|
|
38093
|
+
public globalProcessing?: (google.privacy.dlp.v2.ProcessingLocation.IGlobalProcessing|null);
|
|
38094
|
+
|
|
38095
|
+
/**
|
|
38096
|
+
* Creates a new DocumentFallbackLocation instance using the specified properties.
|
|
38097
|
+
* @param [properties] Properties to set
|
|
38098
|
+
* @returns DocumentFallbackLocation instance
|
|
38099
|
+
*/
|
|
38100
|
+
public static create(properties?: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
|
|
38101
|
+
|
|
38102
|
+
/**
|
|
38103
|
+
* Encodes the specified DocumentFallbackLocation message. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation.verify|verify} messages.
|
|
38104
|
+
* @param message DocumentFallbackLocation message or plain object to encode
|
|
38105
|
+
* @param [writer] Writer to encode to
|
|
38106
|
+
* @returns Writer
|
|
38107
|
+
*/
|
|
38108
|
+
public static encode(message: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38109
|
+
|
|
38110
|
+
/**
|
|
38111
|
+
* Encodes the specified DocumentFallbackLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation.verify|verify} messages.
|
|
38112
|
+
* @param message DocumentFallbackLocation message or plain object to encode
|
|
38113
|
+
* @param [writer] Writer to encode to
|
|
38114
|
+
* @returns Writer
|
|
38115
|
+
*/
|
|
38116
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ProcessingLocation.IDocumentFallbackLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38117
|
+
|
|
38118
|
+
/**
|
|
38119
|
+
* Decodes a DocumentFallbackLocation message from the specified reader or buffer.
|
|
38120
|
+
* @param reader Reader or buffer to decode from
|
|
38121
|
+
* @param [length] Message length if known beforehand
|
|
38122
|
+
* @returns DocumentFallbackLocation
|
|
38123
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38124
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38125
|
+
*/
|
|
38126
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
|
|
38127
|
+
|
|
38128
|
+
/**
|
|
38129
|
+
* Decodes a DocumentFallbackLocation message from the specified reader or buffer, length delimited.
|
|
38130
|
+
* @param reader Reader or buffer to decode from
|
|
38131
|
+
* @returns DocumentFallbackLocation
|
|
38132
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38133
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38134
|
+
*/
|
|
38135
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
|
|
38136
|
+
|
|
38137
|
+
/**
|
|
38138
|
+
* Verifies a DocumentFallbackLocation message.
|
|
38139
|
+
* @param message Plain object to verify
|
|
38140
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
38141
|
+
*/
|
|
38142
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
38143
|
+
|
|
38144
|
+
/**
|
|
38145
|
+
* Creates a DocumentFallbackLocation message from a plain object. Also converts values to their respective internal types.
|
|
38146
|
+
* @param object Plain object
|
|
38147
|
+
* @returns DocumentFallbackLocation
|
|
38148
|
+
*/
|
|
38149
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation;
|
|
38150
|
+
|
|
38151
|
+
/**
|
|
38152
|
+
* Creates a plain object from a DocumentFallbackLocation message. Also converts values to other types if specified.
|
|
38153
|
+
* @param message DocumentFallbackLocation
|
|
38154
|
+
* @param [options] Conversion options
|
|
38155
|
+
* @returns Plain object
|
|
38156
|
+
*/
|
|
38157
|
+
public static toObject(message: google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
38158
|
+
|
|
38159
|
+
/**
|
|
38160
|
+
* Converts this DocumentFallbackLocation to JSON.
|
|
38161
|
+
* @returns JSON object
|
|
38162
|
+
*/
|
|
38163
|
+
public toJSON(): { [k: string]: any };
|
|
38164
|
+
|
|
38165
|
+
/**
|
|
38166
|
+
* Gets the default type url for DocumentFallbackLocation
|
|
38167
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
38168
|
+
* @returns The default type url
|
|
38169
|
+
*/
|
|
38170
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
38171
|
+
}
|
|
37607
38172
|
}
|
|
37608
38173
|
|
|
37609
38174
|
/** Properties of a SaveToGcsFindingsOutput. */
|
|
@@ -37703,6 +38268,130 @@ export namespace google {
|
|
|
37703
38268
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37704
38269
|
}
|
|
37705
38270
|
|
|
38271
|
+
/** Properties of a Domain. */
|
|
38272
|
+
interface IDomain {
|
|
38273
|
+
|
|
38274
|
+
/** Domain category */
|
|
38275
|
+
category?: (google.privacy.dlp.v2.Domain.Category|keyof typeof google.privacy.dlp.v2.Domain.Category|null);
|
|
38276
|
+
|
|
38277
|
+
/** Domain signals */
|
|
38278
|
+
signals?: (google.privacy.dlp.v2.Domain.Signal[]|null);
|
|
38279
|
+
}
|
|
38280
|
+
|
|
38281
|
+
/** Represents a Domain. */
|
|
38282
|
+
class Domain implements IDomain {
|
|
38283
|
+
|
|
38284
|
+
/**
|
|
38285
|
+
* Constructs a new Domain.
|
|
38286
|
+
* @param [properties] Properties to set
|
|
38287
|
+
*/
|
|
38288
|
+
constructor(properties?: google.privacy.dlp.v2.IDomain);
|
|
38289
|
+
|
|
38290
|
+
/** Domain category. */
|
|
38291
|
+
public category: (google.privacy.dlp.v2.Domain.Category|keyof typeof google.privacy.dlp.v2.Domain.Category);
|
|
38292
|
+
|
|
38293
|
+
/** Domain signals. */
|
|
38294
|
+
public signals: google.privacy.dlp.v2.Domain.Signal[];
|
|
38295
|
+
|
|
38296
|
+
/**
|
|
38297
|
+
* Creates a new Domain instance using the specified properties.
|
|
38298
|
+
* @param [properties] Properties to set
|
|
38299
|
+
* @returns Domain instance
|
|
38300
|
+
*/
|
|
38301
|
+
public static create(properties?: google.privacy.dlp.v2.IDomain): google.privacy.dlp.v2.Domain;
|
|
38302
|
+
|
|
38303
|
+
/**
|
|
38304
|
+
* Encodes the specified Domain message. Does not implicitly {@link google.privacy.dlp.v2.Domain.verify|verify} messages.
|
|
38305
|
+
* @param message Domain message or plain object to encode
|
|
38306
|
+
* @param [writer] Writer to encode to
|
|
38307
|
+
* @returns Writer
|
|
38308
|
+
*/
|
|
38309
|
+
public static encode(message: google.privacy.dlp.v2.IDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38310
|
+
|
|
38311
|
+
/**
|
|
38312
|
+
* Encodes the specified Domain message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Domain.verify|verify} messages.
|
|
38313
|
+
* @param message Domain message or plain object to encode
|
|
38314
|
+
* @param [writer] Writer to encode to
|
|
38315
|
+
* @returns Writer
|
|
38316
|
+
*/
|
|
38317
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
38318
|
+
|
|
38319
|
+
/**
|
|
38320
|
+
* Decodes a Domain message from the specified reader or buffer.
|
|
38321
|
+
* @param reader Reader or buffer to decode from
|
|
38322
|
+
* @param [length] Message length if known beforehand
|
|
38323
|
+
* @returns Domain
|
|
38324
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38325
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38326
|
+
*/
|
|
38327
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Domain;
|
|
38328
|
+
|
|
38329
|
+
/**
|
|
38330
|
+
* Decodes a Domain message from the specified reader or buffer, length delimited.
|
|
38331
|
+
* @param reader Reader or buffer to decode from
|
|
38332
|
+
* @returns Domain
|
|
38333
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38334
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38335
|
+
*/
|
|
38336
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Domain;
|
|
38337
|
+
|
|
38338
|
+
/**
|
|
38339
|
+
* Verifies a Domain message.
|
|
38340
|
+
* @param message Plain object to verify
|
|
38341
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
38342
|
+
*/
|
|
38343
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
38344
|
+
|
|
38345
|
+
/**
|
|
38346
|
+
* Creates a Domain message from a plain object. Also converts values to their respective internal types.
|
|
38347
|
+
* @param object Plain object
|
|
38348
|
+
* @returns Domain
|
|
38349
|
+
*/
|
|
38350
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Domain;
|
|
38351
|
+
|
|
38352
|
+
/**
|
|
38353
|
+
* Creates a plain object from a Domain message. Also converts values to other types if specified.
|
|
38354
|
+
* @param message Domain
|
|
38355
|
+
* @param [options] Conversion options
|
|
38356
|
+
* @returns Plain object
|
|
38357
|
+
*/
|
|
38358
|
+
public static toObject(message: google.privacy.dlp.v2.Domain, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
38359
|
+
|
|
38360
|
+
/**
|
|
38361
|
+
* Converts this Domain to JSON.
|
|
38362
|
+
* @returns JSON object
|
|
38363
|
+
*/
|
|
38364
|
+
public toJSON(): { [k: string]: any };
|
|
38365
|
+
|
|
38366
|
+
/**
|
|
38367
|
+
* Gets the default type url for Domain
|
|
38368
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
38369
|
+
* @returns The default type url
|
|
38370
|
+
*/
|
|
38371
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
38372
|
+
}
|
|
38373
|
+
|
|
38374
|
+
namespace Domain {
|
|
38375
|
+
|
|
38376
|
+
/** Category enum. */
|
|
38377
|
+
enum Category {
|
|
38378
|
+
CATEGORY_UNSPECIFIED = 0,
|
|
38379
|
+
AI = 1,
|
|
38380
|
+
CODE = 2
|
|
38381
|
+
}
|
|
38382
|
+
|
|
38383
|
+
/** Signal enum. */
|
|
38384
|
+
enum Signal {
|
|
38385
|
+
SIGNAL_UNSPECIFIED = 0,
|
|
38386
|
+
MODEL = 1,
|
|
38387
|
+
TEXT_EMBEDDING = 2,
|
|
38388
|
+
VERTEX_PLUGIN = 3,
|
|
38389
|
+
VECTOR_PLUGIN = 4,
|
|
38390
|
+
SOURCE_CODE = 5,
|
|
38391
|
+
SERVICE = 6
|
|
38392
|
+
}
|
|
38393
|
+
}
|
|
38394
|
+
|
|
37706
38395
|
/** Properties of an InfoType. */
|
|
37707
38396
|
interface IInfoType {
|
|
37708
38397
|
|