@google-cloud/dlp 3.2.1 → 3.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.
@@ -2039,6 +2039,9 @@ export namespace google {
2039
2039
 
2040
2040
  /** Finding jobName */
2041
2041
  jobName?: (string|null);
2042
+
2043
+ /** Finding findingId */
2044
+ findingId?: (string|null);
2042
2045
  }
2043
2046
 
2044
2047
  /** Represents a Finding. */
@@ -2086,6 +2089,9 @@ export namespace google {
2086
2089
  /** Finding jobName. */
2087
2090
  public jobName: string;
2088
2091
 
2092
+ /** Finding findingId. */
2093
+ public findingId: string;
2094
+
2089
2095
  /**
2090
2096
  * Creates a new Finding instance using the specified properties.
2091
2097
  * @param [properties] Properties to set
@@ -9417,6 +9423,9 @@ export namespace google {
9417
9423
 
9418
9424
  /** PrimitiveTransformation cryptoDeterministicConfig */
9419
9425
  cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
9426
+
9427
+ /** PrimitiveTransformation replaceDictionaryConfig */
9428
+ replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
9420
9429
  }
9421
9430
 
9422
9431
  /** Represents a PrimitiveTransformation. */
@@ -9461,8 +9470,11 @@ export namespace google {
9461
9470
  /** PrimitiveTransformation cryptoDeterministicConfig. */
9462
9471
  public cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
9463
9472
 
9473
+ /** PrimitiveTransformation replaceDictionaryConfig. */
9474
+ public replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
9475
+
9464
9476
  /** PrimitiveTransformation transformation. */
9465
- public transformation?: ("replaceConfig"|"redactConfig"|"characterMaskConfig"|"cryptoReplaceFfxFpeConfig"|"fixedSizeBucketingConfig"|"bucketingConfig"|"replaceWithInfoTypeConfig"|"timePartConfig"|"cryptoHashConfig"|"dateShiftConfig"|"cryptoDeterministicConfig");
9477
+ public transformation?: ("replaceConfig"|"redactConfig"|"characterMaskConfig"|"cryptoReplaceFfxFpeConfig"|"fixedSizeBucketingConfig"|"bucketingConfig"|"replaceWithInfoTypeConfig"|"timePartConfig"|"cryptoHashConfig"|"dateShiftConfig"|"cryptoDeterministicConfig"|"replaceDictionaryConfig");
9466
9478
 
9467
9479
  /**
9468
9480
  * Creates a new PrimitiveTransformation instance using the specified properties.
@@ -9921,6 +9933,99 @@ export namespace google {
9921
9933
  public toJSON(): { [k: string]: any };
9922
9934
  }
9923
9935
 
9936
+ /** Properties of a ReplaceDictionaryConfig. */
9937
+ interface IReplaceDictionaryConfig {
9938
+
9939
+ /** ReplaceDictionaryConfig wordList */
9940
+ wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
9941
+ }
9942
+
9943
+ /** Represents a ReplaceDictionaryConfig. */
9944
+ class ReplaceDictionaryConfig implements IReplaceDictionaryConfig {
9945
+
9946
+ /**
9947
+ * Constructs a new ReplaceDictionaryConfig.
9948
+ * @param [properties] Properties to set
9949
+ */
9950
+ constructor(properties?: google.privacy.dlp.v2.IReplaceDictionaryConfig);
9951
+
9952
+ /** ReplaceDictionaryConfig wordList. */
9953
+ public wordList?: (google.privacy.dlp.v2.CustomInfoType.Dictionary.IWordList|null);
9954
+
9955
+ /** ReplaceDictionaryConfig type. */
9956
+ public type?: "wordList";
9957
+
9958
+ /**
9959
+ * Creates a new ReplaceDictionaryConfig instance using the specified properties.
9960
+ * @param [properties] Properties to set
9961
+ * @returns ReplaceDictionaryConfig instance
9962
+ */
9963
+ public static create(properties?: google.privacy.dlp.v2.IReplaceDictionaryConfig): google.privacy.dlp.v2.ReplaceDictionaryConfig;
9964
+
9965
+ /**
9966
+ * Encodes the specified ReplaceDictionaryConfig message. Does not implicitly {@link google.privacy.dlp.v2.ReplaceDictionaryConfig.verify|verify} messages.
9967
+ * @param message ReplaceDictionaryConfig message or plain object to encode
9968
+ * @param [writer] Writer to encode to
9969
+ * @returns Writer
9970
+ */
9971
+ public static encode(message: google.privacy.dlp.v2.IReplaceDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
9972
+
9973
+ /**
9974
+ * Encodes the specified ReplaceDictionaryConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ReplaceDictionaryConfig.verify|verify} messages.
9975
+ * @param message ReplaceDictionaryConfig message or plain object to encode
9976
+ * @param [writer] Writer to encode to
9977
+ * @returns Writer
9978
+ */
9979
+ public static encodeDelimited(message: google.privacy.dlp.v2.IReplaceDictionaryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
9980
+
9981
+ /**
9982
+ * Decodes a ReplaceDictionaryConfig message from the specified reader or buffer.
9983
+ * @param reader Reader or buffer to decode from
9984
+ * @param [length] Message length if known beforehand
9985
+ * @returns ReplaceDictionaryConfig
9986
+ * @throws {Error} If the payload is not a reader or valid buffer
9987
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9988
+ */
9989
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ReplaceDictionaryConfig;
9990
+
9991
+ /**
9992
+ * Decodes a ReplaceDictionaryConfig message from the specified reader or buffer, length delimited.
9993
+ * @param reader Reader or buffer to decode from
9994
+ * @returns ReplaceDictionaryConfig
9995
+ * @throws {Error} If the payload is not a reader or valid buffer
9996
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9997
+ */
9998
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ReplaceDictionaryConfig;
9999
+
10000
+ /**
10001
+ * Verifies a ReplaceDictionaryConfig message.
10002
+ * @param message Plain object to verify
10003
+ * @returns `null` if valid, otherwise the reason why it is not
10004
+ */
10005
+ public static verify(message: { [k: string]: any }): (string|null);
10006
+
10007
+ /**
10008
+ * Creates a ReplaceDictionaryConfig message from a plain object. Also converts values to their respective internal types.
10009
+ * @param object Plain object
10010
+ * @returns ReplaceDictionaryConfig
10011
+ */
10012
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ReplaceDictionaryConfig;
10013
+
10014
+ /**
10015
+ * Creates a plain object from a ReplaceDictionaryConfig message. Also converts values to other types if specified.
10016
+ * @param message ReplaceDictionaryConfig
10017
+ * @param [options] Conversion options
10018
+ * @returns Plain object
10019
+ */
10020
+ public static toObject(message: google.privacy.dlp.v2.ReplaceDictionaryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
10021
+
10022
+ /**
10023
+ * Converts this ReplaceDictionaryConfig to JSON.
10024
+ * @returns JSON object
10025
+ */
10026
+ public toJSON(): { [k: string]: any };
10027
+ }
10028
+
9924
10029
  /** Properties of a ReplaceWithInfoTypeConfig. */
9925
10030
  interface IReplaceWithInfoTypeConfig {
9926
10031
  }
@@ -14983,6 +15088,9 @@ export namespace google {
14983
15088
  /** ListJobTriggersRequest filter */
14984
15089
  filter?: (string|null);
14985
15090
 
15091
+ /** ListJobTriggersRequest type */
15092
+ type?: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType|null);
15093
+
14986
15094
  /** ListJobTriggersRequest locationId */
14987
15095
  locationId?: (string|null);
14988
15096
  }
@@ -15011,6 +15119,9 @@ export namespace google {
15011
15119
  /** ListJobTriggersRequest filter. */
15012
15120
  public filter: string;
15013
15121
 
15122
+ /** ListJobTriggersRequest type. */
15123
+ public type: (google.privacy.dlp.v2.DlpJobType|keyof typeof google.privacy.dlp.v2.DlpJobType);
15124
+
15014
15125
  /** ListJobTriggersRequest locationId. */
15015
15126
  public locationId: string;
15016
15127
 
@@ -18490,6 +18601,9 @@ export namespace google {
18490
18601
 
18491
18602
  /** InfoType name */
18492
18603
  name?: (string|null);
18604
+
18605
+ /** InfoType version */
18606
+ version?: (string|null);
18493
18607
  }
18494
18608
 
18495
18609
  /** Represents an InfoType. */
@@ -18504,6 +18618,9 @@ export namespace google {
18504
18618
  /** InfoType name. */
18505
18619
  public name: string;
18506
18620
 
18621
+ /** InfoType version. */
18622
+ public version: string;
18623
+
18507
18624
  /**
18508
18625
  * Creates a new InfoType instance using the specified properties.
18509
18626
  * @param [properties] Properties to set
@@ -20490,6 +20607,9 @@ export namespace google {
20490
20607
 
20491
20608
  /** BigQueryOptions excludedFields */
20492
20609
  excludedFields?: (google.privacy.dlp.v2.IFieldId[]|null);
20610
+
20611
+ /** BigQueryOptions includedFields */
20612
+ includedFields?: (google.privacy.dlp.v2.IFieldId[]|null);
20493
20613
  }
20494
20614
 
20495
20615
  /** Represents a BigQueryOptions. */
@@ -20519,6 +20639,9 @@ export namespace google {
20519
20639
  /** BigQueryOptions excludedFields. */
20520
20640
  public excludedFields: google.privacy.dlp.v2.IFieldId[];
20521
20641
 
20642
+ /** BigQueryOptions includedFields. */
20643
+ public includedFields: google.privacy.dlp.v2.IFieldId[];
20644
+
20522
20645
  /**
20523
20646
  * Creates a new BigQueryOptions instance using the specified properties.
20524
20647
  * @param [properties] Properties to set