@google-cloud/dlp 4.1.1 → 4.2.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/CHANGELOG.md +13 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +470 -119
- package/build/protos/google/privacy/dlp/v2/storage.proto +51 -6
- package/build/protos/protos.d.ts +2606 -1044
- package/build/protos/protos.js +6298 -2277
- package/build/protos/protos.json +313 -19
- package/build/src/v2/dlp_service_client.d.ts +140 -91
- package/build/src/v2/dlp_service_client.js +254 -150
- package/build/src/v2/dlp_service_client.js.map +1 -1
- package/package.json +2 -2
package/build/protos/protos.d.ts
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
|
|
15
|
-
import Long = require("long");
|
|
16
15
|
import type {protobuf as $protobuf} from "google-gax";
|
|
16
|
+
import Long = require("long");
|
|
17
17
|
/** Namespace google. */
|
|
18
18
|
export namespace google {
|
|
19
19
|
|
|
@@ -5281,6 +5281,9 @@ export namespace google {
|
|
|
5281
5281
|
/** InfoTypeDescription description */
|
|
5282
5282
|
description?: (string|null);
|
|
5283
5283
|
|
|
5284
|
+
/** InfoTypeDescription versions */
|
|
5285
|
+
versions?: (google.privacy.dlp.v2.IVersionDescription[]|null);
|
|
5286
|
+
|
|
5284
5287
|
/** InfoTypeDescription categories */
|
|
5285
5288
|
categories?: (google.privacy.dlp.v2.IInfoTypeCategory[]|null);
|
|
5286
5289
|
}
|
|
@@ -5306,6 +5309,9 @@ export namespace google {
|
|
|
5306
5309
|
/** InfoTypeDescription description. */
|
|
5307
5310
|
public description: string;
|
|
5308
5311
|
|
|
5312
|
+
/** InfoTypeDescription versions. */
|
|
5313
|
+
public versions: google.privacy.dlp.v2.IVersionDescription[];
|
|
5314
|
+
|
|
5309
5315
|
/** InfoTypeDescription categories. */
|
|
5310
5316
|
public categories: google.privacy.dlp.v2.IInfoTypeCategory[];
|
|
5311
5317
|
|
|
@@ -5567,6 +5573,109 @@ export namespace google {
|
|
|
5567
5573
|
}
|
|
5568
5574
|
}
|
|
5569
5575
|
|
|
5576
|
+
/** Properties of a VersionDescription. */
|
|
5577
|
+
interface IVersionDescription {
|
|
5578
|
+
|
|
5579
|
+
/** VersionDescription version */
|
|
5580
|
+
version?: (string|null);
|
|
5581
|
+
|
|
5582
|
+
/** VersionDescription description */
|
|
5583
|
+
description?: (string|null);
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5586
|
+
/** Represents a VersionDescription. */
|
|
5587
|
+
class VersionDescription implements IVersionDescription {
|
|
5588
|
+
|
|
5589
|
+
/**
|
|
5590
|
+
* Constructs a new VersionDescription.
|
|
5591
|
+
* @param [properties] Properties to set
|
|
5592
|
+
*/
|
|
5593
|
+
constructor(properties?: google.privacy.dlp.v2.IVersionDescription);
|
|
5594
|
+
|
|
5595
|
+
/** VersionDescription version. */
|
|
5596
|
+
public version: string;
|
|
5597
|
+
|
|
5598
|
+
/** VersionDescription description. */
|
|
5599
|
+
public description: string;
|
|
5600
|
+
|
|
5601
|
+
/**
|
|
5602
|
+
* Creates a new VersionDescription instance using the specified properties.
|
|
5603
|
+
* @param [properties] Properties to set
|
|
5604
|
+
* @returns VersionDescription instance
|
|
5605
|
+
*/
|
|
5606
|
+
public static create(properties?: google.privacy.dlp.v2.IVersionDescription): google.privacy.dlp.v2.VersionDescription;
|
|
5607
|
+
|
|
5608
|
+
/**
|
|
5609
|
+
* Encodes the specified VersionDescription message. Does not implicitly {@link google.privacy.dlp.v2.VersionDescription.verify|verify} messages.
|
|
5610
|
+
* @param message VersionDescription message or plain object to encode
|
|
5611
|
+
* @param [writer] Writer to encode to
|
|
5612
|
+
* @returns Writer
|
|
5613
|
+
*/
|
|
5614
|
+
public static encode(message: google.privacy.dlp.v2.IVersionDescription, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5615
|
+
|
|
5616
|
+
/**
|
|
5617
|
+
* Encodes the specified VersionDescription message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.VersionDescription.verify|verify} messages.
|
|
5618
|
+
* @param message VersionDescription message or plain object to encode
|
|
5619
|
+
* @param [writer] Writer to encode to
|
|
5620
|
+
* @returns Writer
|
|
5621
|
+
*/
|
|
5622
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IVersionDescription, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5623
|
+
|
|
5624
|
+
/**
|
|
5625
|
+
* Decodes a VersionDescription message from the specified reader or buffer.
|
|
5626
|
+
* @param reader Reader or buffer to decode from
|
|
5627
|
+
* @param [length] Message length if known beforehand
|
|
5628
|
+
* @returns VersionDescription
|
|
5629
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5630
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5631
|
+
*/
|
|
5632
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.VersionDescription;
|
|
5633
|
+
|
|
5634
|
+
/**
|
|
5635
|
+
* Decodes a VersionDescription message from the specified reader or buffer, length delimited.
|
|
5636
|
+
* @param reader Reader or buffer to decode from
|
|
5637
|
+
* @returns VersionDescription
|
|
5638
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5639
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5640
|
+
*/
|
|
5641
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.VersionDescription;
|
|
5642
|
+
|
|
5643
|
+
/**
|
|
5644
|
+
* Verifies a VersionDescription message.
|
|
5645
|
+
* @param message Plain object to verify
|
|
5646
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5647
|
+
*/
|
|
5648
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5649
|
+
|
|
5650
|
+
/**
|
|
5651
|
+
* Creates a VersionDescription message from a plain object. Also converts values to their respective internal types.
|
|
5652
|
+
* @param object Plain object
|
|
5653
|
+
* @returns VersionDescription
|
|
5654
|
+
*/
|
|
5655
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.VersionDescription;
|
|
5656
|
+
|
|
5657
|
+
/**
|
|
5658
|
+
* Creates a plain object from a VersionDescription message. Also converts values to other types if specified.
|
|
5659
|
+
* @param message VersionDescription
|
|
5660
|
+
* @param [options] Conversion options
|
|
5661
|
+
* @returns Plain object
|
|
5662
|
+
*/
|
|
5663
|
+
public static toObject(message: google.privacy.dlp.v2.VersionDescription, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5664
|
+
|
|
5665
|
+
/**
|
|
5666
|
+
* Converts this VersionDescription to JSON.
|
|
5667
|
+
* @returns JSON object
|
|
5668
|
+
*/
|
|
5669
|
+
public toJSON(): { [k: string]: any };
|
|
5670
|
+
|
|
5671
|
+
/**
|
|
5672
|
+
* Gets the default type url for VersionDescription
|
|
5673
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5674
|
+
* @returns The default type url
|
|
5675
|
+
*/
|
|
5676
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5570
5679
|
/** Properties of a ListInfoTypesRequest. */
|
|
5571
5680
|
interface IListInfoTypesRequest {
|
|
5572
5681
|
|
|
@@ -9763,6 +9872,9 @@ export namespace google {
|
|
|
9763
9872
|
/** DeidentifyConfig recordTransformations */
|
|
9764
9873
|
recordTransformations?: (google.privacy.dlp.v2.IRecordTransformations|null);
|
|
9765
9874
|
|
|
9875
|
+
/** DeidentifyConfig imageTransformations */
|
|
9876
|
+
imageTransformations?: (google.privacy.dlp.v2.IImageTransformations|null);
|
|
9877
|
+
|
|
9766
9878
|
/** DeidentifyConfig transformationErrorHandling */
|
|
9767
9879
|
transformationErrorHandling?: (google.privacy.dlp.v2.ITransformationErrorHandling|null);
|
|
9768
9880
|
}
|
|
@@ -9782,11 +9894,14 @@ export namespace google {
|
|
|
9782
9894
|
/** DeidentifyConfig recordTransformations. */
|
|
9783
9895
|
public recordTransformations?: (google.privacy.dlp.v2.IRecordTransformations|null);
|
|
9784
9896
|
|
|
9897
|
+
/** DeidentifyConfig imageTransformations. */
|
|
9898
|
+
public imageTransformations?: (google.privacy.dlp.v2.IImageTransformations|null);
|
|
9899
|
+
|
|
9785
9900
|
/** DeidentifyConfig transformationErrorHandling. */
|
|
9786
9901
|
public transformationErrorHandling?: (google.privacy.dlp.v2.ITransformationErrorHandling|null);
|
|
9787
9902
|
|
|
9788
9903
|
/** DeidentifyConfig transformation. */
|
|
9789
|
-
public transformation?: ("infoTypeTransformations"|"recordTransformations");
|
|
9904
|
+
public transformation?: ("infoTypeTransformations"|"recordTransformations"|"imageTransformations");
|
|
9790
9905
|
|
|
9791
9906
|
/**
|
|
9792
9907
|
* Creates a new DeidentifyConfig instance using the specified properties.
|
|
@@ -9866,762 +9981,1262 @@ export namespace google {
|
|
|
9866
9981
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9867
9982
|
}
|
|
9868
9983
|
|
|
9869
|
-
/** Properties of
|
|
9870
|
-
interface
|
|
9871
|
-
|
|
9872
|
-
/** TransformationErrorHandling throwError */
|
|
9873
|
-
throwError?: (google.privacy.dlp.v2.TransformationErrorHandling.IThrowError|null);
|
|
9984
|
+
/** Properties of an ImageTransformations. */
|
|
9985
|
+
interface IImageTransformations {
|
|
9874
9986
|
|
|
9875
|
-
/**
|
|
9876
|
-
|
|
9987
|
+
/** ImageTransformations transforms */
|
|
9988
|
+
transforms?: (google.privacy.dlp.v2.ImageTransformations.IImageTransformation[]|null);
|
|
9877
9989
|
}
|
|
9878
9990
|
|
|
9879
|
-
/** Represents
|
|
9880
|
-
class
|
|
9991
|
+
/** Represents an ImageTransformations. */
|
|
9992
|
+
class ImageTransformations implements IImageTransformations {
|
|
9881
9993
|
|
|
9882
9994
|
/**
|
|
9883
|
-
* Constructs a new
|
|
9995
|
+
* Constructs a new ImageTransformations.
|
|
9884
9996
|
* @param [properties] Properties to set
|
|
9885
9997
|
*/
|
|
9886
|
-
constructor(properties?: google.privacy.dlp.v2.
|
|
9887
|
-
|
|
9888
|
-
/** TransformationErrorHandling throwError. */
|
|
9889
|
-
public throwError?: (google.privacy.dlp.v2.TransformationErrorHandling.IThrowError|null);
|
|
9890
|
-
|
|
9891
|
-
/** TransformationErrorHandling leaveUntransformed. */
|
|
9892
|
-
public leaveUntransformed?: (google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed|null);
|
|
9998
|
+
constructor(properties?: google.privacy.dlp.v2.IImageTransformations);
|
|
9893
9999
|
|
|
9894
|
-
/**
|
|
9895
|
-
public
|
|
10000
|
+
/** ImageTransformations transforms. */
|
|
10001
|
+
public transforms: google.privacy.dlp.v2.ImageTransformations.IImageTransformation[];
|
|
9896
10002
|
|
|
9897
10003
|
/**
|
|
9898
|
-
* Creates a new
|
|
10004
|
+
* Creates a new ImageTransformations instance using the specified properties.
|
|
9899
10005
|
* @param [properties] Properties to set
|
|
9900
|
-
* @returns
|
|
10006
|
+
* @returns ImageTransformations instance
|
|
9901
10007
|
*/
|
|
9902
|
-
public static create(properties?: google.privacy.dlp.v2.
|
|
10008
|
+
public static create(properties?: google.privacy.dlp.v2.IImageTransformations): google.privacy.dlp.v2.ImageTransformations;
|
|
9903
10009
|
|
|
9904
10010
|
/**
|
|
9905
|
-
* Encodes the specified
|
|
9906
|
-
* @param message
|
|
10011
|
+
* Encodes the specified ImageTransformations message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.verify|verify} messages.
|
|
10012
|
+
* @param message ImageTransformations message or plain object to encode
|
|
9907
10013
|
* @param [writer] Writer to encode to
|
|
9908
10014
|
* @returns Writer
|
|
9909
10015
|
*/
|
|
9910
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
10016
|
+
public static encode(message: google.privacy.dlp.v2.IImageTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9911
10017
|
|
|
9912
10018
|
/**
|
|
9913
|
-
* Encodes the specified
|
|
9914
|
-
* @param message
|
|
10019
|
+
* Encodes the specified ImageTransformations message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.verify|verify} messages.
|
|
10020
|
+
* @param message ImageTransformations message or plain object to encode
|
|
9915
10021
|
* @param [writer] Writer to encode to
|
|
9916
10022
|
* @returns Writer
|
|
9917
10023
|
*/
|
|
9918
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
10024
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IImageTransformations, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9919
10025
|
|
|
9920
10026
|
/**
|
|
9921
|
-
* Decodes
|
|
10027
|
+
* Decodes an ImageTransformations message from the specified reader or buffer.
|
|
9922
10028
|
* @param reader Reader or buffer to decode from
|
|
9923
10029
|
* @param [length] Message length if known beforehand
|
|
9924
|
-
* @returns
|
|
10030
|
+
* @returns ImageTransformations
|
|
9925
10031
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9926
10032
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9927
10033
|
*/
|
|
9928
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
10034
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations;
|
|
9929
10035
|
|
|
9930
10036
|
/**
|
|
9931
|
-
* Decodes
|
|
10037
|
+
* Decodes an ImageTransformations message from the specified reader or buffer, length delimited.
|
|
9932
10038
|
* @param reader Reader or buffer to decode from
|
|
9933
|
-
* @returns
|
|
10039
|
+
* @returns ImageTransformations
|
|
9934
10040
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9935
10041
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9936
10042
|
*/
|
|
9937
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
10043
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations;
|
|
9938
10044
|
|
|
9939
10045
|
/**
|
|
9940
|
-
* Verifies
|
|
10046
|
+
* Verifies an ImageTransformations message.
|
|
9941
10047
|
* @param message Plain object to verify
|
|
9942
10048
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
9943
10049
|
*/
|
|
9944
10050
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
9945
10051
|
|
|
9946
10052
|
/**
|
|
9947
|
-
* Creates
|
|
10053
|
+
* Creates an ImageTransformations message from a plain object. Also converts values to their respective internal types.
|
|
9948
10054
|
* @param object Plain object
|
|
9949
|
-
* @returns
|
|
10055
|
+
* @returns ImageTransformations
|
|
9950
10056
|
*/
|
|
9951
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
10057
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations;
|
|
9952
10058
|
|
|
9953
10059
|
/**
|
|
9954
|
-
* Creates a plain object from
|
|
9955
|
-
* @param message
|
|
10060
|
+
* Creates a plain object from an ImageTransformations message. Also converts values to other types if specified.
|
|
10061
|
+
* @param message ImageTransformations
|
|
9956
10062
|
* @param [options] Conversion options
|
|
9957
10063
|
* @returns Plain object
|
|
9958
10064
|
*/
|
|
9959
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
10065
|
+
public static toObject(message: google.privacy.dlp.v2.ImageTransformations, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9960
10066
|
|
|
9961
10067
|
/**
|
|
9962
|
-
* Converts this
|
|
10068
|
+
* Converts this ImageTransformations to JSON.
|
|
9963
10069
|
* @returns JSON object
|
|
9964
10070
|
*/
|
|
9965
10071
|
public toJSON(): { [k: string]: any };
|
|
9966
10072
|
|
|
9967
10073
|
/**
|
|
9968
|
-
* Gets the default type url for
|
|
10074
|
+
* Gets the default type url for ImageTransformations
|
|
9969
10075
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9970
10076
|
* @returns The default type url
|
|
9971
10077
|
*/
|
|
9972
10078
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9973
10079
|
}
|
|
9974
10080
|
|
|
9975
|
-
namespace
|
|
9976
|
-
|
|
9977
|
-
/** Properties of a ThrowError. */
|
|
9978
|
-
interface IThrowError {
|
|
9979
|
-
}
|
|
9980
|
-
|
|
9981
|
-
/** Represents a ThrowError. */
|
|
9982
|
-
class ThrowError implements IThrowError {
|
|
9983
|
-
|
|
9984
|
-
/**
|
|
9985
|
-
* Constructs a new ThrowError.
|
|
9986
|
-
* @param [properties] Properties to set
|
|
9987
|
-
*/
|
|
9988
|
-
constructor(properties?: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError);
|
|
9989
|
-
|
|
9990
|
-
/**
|
|
9991
|
-
* Creates a new ThrowError instance using the specified properties.
|
|
9992
|
-
* @param [properties] Properties to set
|
|
9993
|
-
* @returns ThrowError instance
|
|
9994
|
-
*/
|
|
9995
|
-
public static create(properties?: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10081
|
+
namespace ImageTransformations {
|
|
9996
10082
|
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
* @param message ThrowError message or plain object to encode
|
|
10000
|
-
* @param [writer] Writer to encode to
|
|
10001
|
-
* @returns Writer
|
|
10002
|
-
*/
|
|
10003
|
-
public static encode(message: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10083
|
+
/** Properties of an ImageTransformation. */
|
|
10084
|
+
interface IImageTransformation {
|
|
10004
10085
|
|
|
10005
|
-
/**
|
|
10006
|
-
|
|
10007
|
-
* @param message ThrowError message or plain object to encode
|
|
10008
|
-
* @param [writer] Writer to encode to
|
|
10009
|
-
* @returns Writer
|
|
10010
|
-
*/
|
|
10011
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10086
|
+
/** ImageTransformation selectedInfoTypes */
|
|
10087
|
+
selectedInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes|null);
|
|
10012
10088
|
|
|
10013
|
-
/**
|
|
10014
|
-
|
|
10015
|
-
* @param reader Reader or buffer to decode from
|
|
10016
|
-
* @param [length] Message length if known beforehand
|
|
10017
|
-
* @returns ThrowError
|
|
10018
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10019
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10020
|
-
*/
|
|
10021
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10089
|
+
/** ImageTransformation allInfoTypes */
|
|
10090
|
+
allInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes|null);
|
|
10022
10091
|
|
|
10023
|
-
/**
|
|
10024
|
-
|
|
10025
|
-
* @param reader Reader or buffer to decode from
|
|
10026
|
-
* @returns ThrowError
|
|
10027
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10028
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10029
|
-
*/
|
|
10030
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10092
|
+
/** ImageTransformation allText */
|
|
10093
|
+
allText?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText|null);
|
|
10031
10094
|
|
|
10032
|
-
/**
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
10036
|
-
*/
|
|
10037
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
10095
|
+
/** ImageTransformation redactionColor */
|
|
10096
|
+
redactionColor?: (google.privacy.dlp.v2.IColor|null);
|
|
10097
|
+
}
|
|
10038
10098
|
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
* @param object Plain object
|
|
10042
|
-
* @returns ThrowError
|
|
10043
|
-
*/
|
|
10044
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10099
|
+
/** Represents an ImageTransformation. */
|
|
10100
|
+
class ImageTransformation implements IImageTransformation {
|
|
10045
10101
|
|
|
10046
10102
|
/**
|
|
10047
|
-
*
|
|
10048
|
-
* @param
|
|
10049
|
-
* @param [options] Conversion options
|
|
10050
|
-
* @returns Plain object
|
|
10103
|
+
* Constructs a new ImageTransformation.
|
|
10104
|
+
* @param [properties] Properties to set
|
|
10051
10105
|
*/
|
|
10052
|
-
|
|
10106
|
+
constructor(properties?: google.privacy.dlp.v2.ImageTransformations.IImageTransformation);
|
|
10053
10107
|
|
|
10054
|
-
/**
|
|
10055
|
-
|
|
10056
|
-
* @returns JSON object
|
|
10057
|
-
*/
|
|
10058
|
-
public toJSON(): { [k: string]: any };
|
|
10108
|
+
/** ImageTransformation selectedInfoTypes. */
|
|
10109
|
+
public selectedInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes|null);
|
|
10059
10110
|
|
|
10060
|
-
/**
|
|
10061
|
-
|
|
10062
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10063
|
-
* @returns The default type url
|
|
10064
|
-
*/
|
|
10065
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10066
|
-
}
|
|
10111
|
+
/** ImageTransformation allInfoTypes. */
|
|
10112
|
+
public allInfoTypes?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes|null);
|
|
10067
10113
|
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
}
|
|
10114
|
+
/** ImageTransformation allText. */
|
|
10115
|
+
public allText?: (google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText|null);
|
|
10071
10116
|
|
|
10072
|
-
|
|
10073
|
-
|
|
10117
|
+
/** ImageTransformation redactionColor. */
|
|
10118
|
+
public redactionColor?: (google.privacy.dlp.v2.IColor|null);
|
|
10074
10119
|
|
|
10075
|
-
/**
|
|
10076
|
-
|
|
10077
|
-
* @param [properties] Properties to set
|
|
10078
|
-
*/
|
|
10079
|
-
constructor(properties?: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed);
|
|
10120
|
+
/** ImageTransformation target. */
|
|
10121
|
+
public target?: ("selectedInfoTypes"|"allInfoTypes"|"allText");
|
|
10080
10122
|
|
|
10081
10123
|
/**
|
|
10082
|
-
* Creates a new
|
|
10124
|
+
* Creates a new ImageTransformation instance using the specified properties.
|
|
10083
10125
|
* @param [properties] Properties to set
|
|
10084
|
-
* @returns
|
|
10126
|
+
* @returns ImageTransformation instance
|
|
10085
10127
|
*/
|
|
10086
|
-
public static create(properties?: google.privacy.dlp.v2.
|
|
10128
|
+
public static create(properties?: google.privacy.dlp.v2.ImageTransformations.IImageTransformation): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
|
|
10087
10129
|
|
|
10088
10130
|
/**
|
|
10089
|
-
* Encodes the specified
|
|
10090
|
-
* @param message
|
|
10131
|
+
* Encodes the specified ImageTransformation message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.verify|verify} messages.
|
|
10132
|
+
* @param message ImageTransformation message or plain object to encode
|
|
10091
10133
|
* @param [writer] Writer to encode to
|
|
10092
10134
|
* @returns Writer
|
|
10093
10135
|
*/
|
|
10094
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
10136
|
+
public static encode(message: google.privacy.dlp.v2.ImageTransformations.IImageTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10095
10137
|
|
|
10096
10138
|
/**
|
|
10097
|
-
* Encodes the specified
|
|
10098
|
-
* @param message
|
|
10139
|
+
* Encodes the specified ImageTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.verify|verify} messages.
|
|
10140
|
+
* @param message ImageTransformation message or plain object to encode
|
|
10099
10141
|
* @param [writer] Writer to encode to
|
|
10100
10142
|
* @returns Writer
|
|
10101
10143
|
*/
|
|
10102
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
10144
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.IImageTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10103
10145
|
|
|
10104
10146
|
/**
|
|
10105
|
-
* Decodes
|
|
10147
|
+
* Decodes an ImageTransformation message from the specified reader or buffer.
|
|
10106
10148
|
* @param reader Reader or buffer to decode from
|
|
10107
10149
|
* @param [length] Message length if known beforehand
|
|
10108
|
-
* @returns
|
|
10150
|
+
* @returns ImageTransformation
|
|
10109
10151
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10110
10152
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10111
10153
|
*/
|
|
10112
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
10154
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
|
|
10113
10155
|
|
|
10114
10156
|
/**
|
|
10115
|
-
* Decodes
|
|
10157
|
+
* Decodes an ImageTransformation message from the specified reader or buffer, length delimited.
|
|
10116
10158
|
* @param reader Reader or buffer to decode from
|
|
10117
|
-
* @returns
|
|
10159
|
+
* @returns ImageTransformation
|
|
10118
10160
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10119
10161
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10120
10162
|
*/
|
|
10121
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
10163
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
|
|
10122
10164
|
|
|
10123
10165
|
/**
|
|
10124
|
-
* Verifies
|
|
10166
|
+
* Verifies an ImageTransformation message.
|
|
10125
10167
|
* @param message Plain object to verify
|
|
10126
10168
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
10127
10169
|
*/
|
|
10128
10170
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
10129
10171
|
|
|
10130
10172
|
/**
|
|
10131
|
-
* Creates
|
|
10173
|
+
* Creates an ImageTransformation message from a plain object. Also converts values to their respective internal types.
|
|
10132
10174
|
* @param object Plain object
|
|
10133
|
-
* @returns
|
|
10175
|
+
* @returns ImageTransformation
|
|
10134
10176
|
*/
|
|
10135
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
10177
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation;
|
|
10136
10178
|
|
|
10137
10179
|
/**
|
|
10138
|
-
* Creates a plain object from
|
|
10139
|
-
* @param message
|
|
10180
|
+
* Creates a plain object from an ImageTransformation message. Also converts values to other types if specified.
|
|
10181
|
+
* @param message ImageTransformation
|
|
10140
10182
|
* @param [options] Conversion options
|
|
10141
10183
|
* @returns Plain object
|
|
10142
10184
|
*/
|
|
10143
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
10185
|
+
public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10144
10186
|
|
|
10145
10187
|
/**
|
|
10146
|
-
* Converts this
|
|
10188
|
+
* Converts this ImageTransformation to JSON.
|
|
10147
10189
|
* @returns JSON object
|
|
10148
10190
|
*/
|
|
10149
10191
|
public toJSON(): { [k: string]: any };
|
|
10150
10192
|
|
|
10151
10193
|
/**
|
|
10152
|
-
* Gets the default type url for
|
|
10194
|
+
* Gets the default type url for ImageTransformation
|
|
10153
10195
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10154
10196
|
* @returns The default type url
|
|
10155
10197
|
*/
|
|
10156
10198
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10157
10199
|
}
|
|
10158
|
-
}
|
|
10159
10200
|
|
|
10160
|
-
|
|
10161
|
-
interface IPrimitiveTransformation {
|
|
10201
|
+
namespace ImageTransformation {
|
|
10162
10202
|
|
|
10163
|
-
|
|
10164
|
-
|
|
10203
|
+
/** Properties of a SelectedInfoTypes. */
|
|
10204
|
+
interface ISelectedInfoTypes {
|
|
10165
10205
|
|
|
10166
|
-
|
|
10167
|
-
|
|
10206
|
+
/** SelectedInfoTypes infoTypes */
|
|
10207
|
+
infoTypes?: (google.privacy.dlp.v2.IInfoType[]|null);
|
|
10208
|
+
}
|
|
10168
10209
|
|
|
10169
|
-
|
|
10170
|
-
|
|
10210
|
+
/** Represents a SelectedInfoTypes. */
|
|
10211
|
+
class SelectedInfoTypes implements ISelectedInfoTypes {
|
|
10171
10212
|
|
|
10172
|
-
|
|
10173
|
-
|
|
10213
|
+
/**
|
|
10214
|
+
* Constructs a new SelectedInfoTypes.
|
|
10215
|
+
* @param [properties] Properties to set
|
|
10216
|
+
*/
|
|
10217
|
+
constructor(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes);
|
|
10174
10218
|
|
|
10175
|
-
|
|
10176
|
-
|
|
10219
|
+
/** SelectedInfoTypes infoTypes. */
|
|
10220
|
+
public infoTypes: google.privacy.dlp.v2.IInfoType[];
|
|
10177
10221
|
|
|
10178
|
-
|
|
10179
|
-
|
|
10222
|
+
/**
|
|
10223
|
+
* Creates a new SelectedInfoTypes instance using the specified properties.
|
|
10224
|
+
* @param [properties] Properties to set
|
|
10225
|
+
* @returns SelectedInfoTypes instance
|
|
10226
|
+
*/
|
|
10227
|
+
public static create(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
|
|
10180
10228
|
|
|
10181
|
-
|
|
10182
|
-
|
|
10229
|
+
/**
|
|
10230
|
+
* Encodes the specified SelectedInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.verify|verify} messages.
|
|
10231
|
+
* @param message SelectedInfoTypes message or plain object to encode
|
|
10232
|
+
* @param [writer] Writer to encode to
|
|
10233
|
+
* @returns Writer
|
|
10234
|
+
*/
|
|
10235
|
+
public static encode(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10183
10236
|
|
|
10184
|
-
|
|
10185
|
-
|
|
10237
|
+
/**
|
|
10238
|
+
* Encodes the specified SelectedInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes.verify|verify} messages.
|
|
10239
|
+
* @param message SelectedInfoTypes message or plain object to encode
|
|
10240
|
+
* @param [writer] Writer to encode to
|
|
10241
|
+
* @returns Writer
|
|
10242
|
+
*/
|
|
10243
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.ISelectedInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10186
10244
|
|
|
10187
|
-
|
|
10188
|
-
|
|
10245
|
+
/**
|
|
10246
|
+
* Decodes a SelectedInfoTypes message from the specified reader or buffer.
|
|
10247
|
+
* @param reader Reader or buffer to decode from
|
|
10248
|
+
* @param [length] Message length if known beforehand
|
|
10249
|
+
* @returns SelectedInfoTypes
|
|
10250
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10251
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10252
|
+
*/
|
|
10253
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
|
|
10189
10254
|
|
|
10190
|
-
|
|
10191
|
-
|
|
10255
|
+
/**
|
|
10256
|
+
* Decodes a SelectedInfoTypes message from the specified reader or buffer, length delimited.
|
|
10257
|
+
* @param reader Reader or buffer to decode from
|
|
10258
|
+
* @returns SelectedInfoTypes
|
|
10259
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10260
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10261
|
+
*/
|
|
10262
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
|
|
10192
10263
|
|
|
10193
|
-
|
|
10194
|
-
|
|
10264
|
+
/**
|
|
10265
|
+
* Verifies a SelectedInfoTypes message.
|
|
10266
|
+
* @param message Plain object to verify
|
|
10267
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10268
|
+
*/
|
|
10269
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10195
10270
|
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10271
|
+
/**
|
|
10272
|
+
* Creates a SelectedInfoTypes message from a plain object. Also converts values to their respective internal types.
|
|
10273
|
+
* @param object Plain object
|
|
10274
|
+
* @returns SelectedInfoTypes
|
|
10275
|
+
*/
|
|
10276
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes;
|
|
10199
10277
|
|
|
10200
|
-
|
|
10201
|
-
|
|
10278
|
+
/**
|
|
10279
|
+
* Creates a plain object from a SelectedInfoTypes message. Also converts values to other types if specified.
|
|
10280
|
+
* @param message SelectedInfoTypes
|
|
10281
|
+
* @param [options] Conversion options
|
|
10282
|
+
* @returns Plain object
|
|
10283
|
+
*/
|
|
10284
|
+
public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10202
10285
|
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10286
|
+
/**
|
|
10287
|
+
* Converts this SelectedInfoTypes to JSON.
|
|
10288
|
+
* @returns JSON object
|
|
10289
|
+
*/
|
|
10290
|
+
public toJSON(): { [k: string]: any };
|
|
10208
10291
|
|
|
10209
|
-
|
|
10210
|
-
|
|
10292
|
+
/**
|
|
10293
|
+
* Gets the default type url for SelectedInfoTypes
|
|
10294
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10295
|
+
* @returns The default type url
|
|
10296
|
+
*/
|
|
10297
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10298
|
+
}
|
|
10211
10299
|
|
|
10212
|
-
|
|
10213
|
-
|
|
10300
|
+
/** Properties of an AllInfoTypes. */
|
|
10301
|
+
interface IAllInfoTypes {
|
|
10302
|
+
}
|
|
10214
10303
|
|
|
10215
|
-
|
|
10216
|
-
|
|
10304
|
+
/** Represents an AllInfoTypes. */
|
|
10305
|
+
class AllInfoTypes implements IAllInfoTypes {
|
|
10217
10306
|
|
|
10218
|
-
|
|
10219
|
-
|
|
10307
|
+
/**
|
|
10308
|
+
* Constructs a new AllInfoTypes.
|
|
10309
|
+
* @param [properties] Properties to set
|
|
10310
|
+
*/
|
|
10311
|
+
constructor(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes);
|
|
10220
10312
|
|
|
10221
|
-
|
|
10222
|
-
|
|
10313
|
+
/**
|
|
10314
|
+
* Creates a new AllInfoTypes instance using the specified properties.
|
|
10315
|
+
* @param [properties] Properties to set
|
|
10316
|
+
* @returns AllInfoTypes instance
|
|
10317
|
+
*/
|
|
10318
|
+
public static create(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
|
|
10223
10319
|
|
|
10224
|
-
|
|
10225
|
-
|
|
10320
|
+
/**
|
|
10321
|
+
* Encodes the specified AllInfoTypes message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.verify|verify} messages.
|
|
10322
|
+
* @param message AllInfoTypes message or plain object to encode
|
|
10323
|
+
* @param [writer] Writer to encode to
|
|
10324
|
+
* @returns Writer
|
|
10325
|
+
*/
|
|
10326
|
+
public static encode(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10226
10327
|
|
|
10227
|
-
|
|
10228
|
-
|
|
10328
|
+
/**
|
|
10329
|
+
* Encodes the specified AllInfoTypes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes.verify|verify} messages.
|
|
10330
|
+
* @param message AllInfoTypes message or plain object to encode
|
|
10331
|
+
* @param [writer] Writer to encode to
|
|
10332
|
+
* @returns Writer
|
|
10333
|
+
*/
|
|
10334
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllInfoTypes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10229
10335
|
|
|
10230
|
-
|
|
10231
|
-
|
|
10336
|
+
/**
|
|
10337
|
+
* Decodes an AllInfoTypes message from the specified reader or buffer.
|
|
10338
|
+
* @param reader Reader or buffer to decode from
|
|
10339
|
+
* @param [length] Message length if known beforehand
|
|
10340
|
+
* @returns AllInfoTypes
|
|
10341
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10342
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10343
|
+
*/
|
|
10344
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
|
|
10232
10345
|
|
|
10233
|
-
|
|
10234
|
-
|
|
10346
|
+
/**
|
|
10347
|
+
* Decodes an AllInfoTypes message from the specified reader or buffer, length delimited.
|
|
10348
|
+
* @param reader Reader or buffer to decode from
|
|
10349
|
+
* @returns AllInfoTypes
|
|
10350
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10351
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10352
|
+
*/
|
|
10353
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
|
|
10235
10354
|
|
|
10236
|
-
|
|
10237
|
-
|
|
10355
|
+
/**
|
|
10356
|
+
* Verifies an AllInfoTypes message.
|
|
10357
|
+
* @param message Plain object to verify
|
|
10358
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10359
|
+
*/
|
|
10360
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10238
10361
|
|
|
10239
|
-
|
|
10240
|
-
|
|
10362
|
+
/**
|
|
10363
|
+
* Creates an AllInfoTypes message from a plain object. Also converts values to their respective internal types.
|
|
10364
|
+
* @param object Plain object
|
|
10365
|
+
* @returns AllInfoTypes
|
|
10366
|
+
*/
|
|
10367
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes;
|
|
10241
10368
|
|
|
10242
|
-
|
|
10243
|
-
|
|
10369
|
+
/**
|
|
10370
|
+
* Creates a plain object from an AllInfoTypes message. Also converts values to other types if specified.
|
|
10371
|
+
* @param message AllInfoTypes
|
|
10372
|
+
* @param [options] Conversion options
|
|
10373
|
+
* @returns Plain object
|
|
10374
|
+
*/
|
|
10375
|
+
public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10244
10376
|
|
|
10245
|
-
|
|
10246
|
-
|
|
10377
|
+
/**
|
|
10378
|
+
* Converts this AllInfoTypes to JSON.
|
|
10379
|
+
* @returns JSON object
|
|
10380
|
+
*/
|
|
10381
|
+
public toJSON(): { [k: string]: any };
|
|
10382
|
+
|
|
10383
|
+
/**
|
|
10384
|
+
* Gets the default type url for AllInfoTypes
|
|
10385
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10386
|
+
* @returns The default type url
|
|
10387
|
+
*/
|
|
10388
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10389
|
+
}
|
|
10390
|
+
|
|
10391
|
+
/** Properties of an AllText. */
|
|
10392
|
+
interface IAllText {
|
|
10393
|
+
}
|
|
10394
|
+
|
|
10395
|
+
/** Represents an AllText. */
|
|
10396
|
+
class AllText implements IAllText {
|
|
10397
|
+
|
|
10398
|
+
/**
|
|
10399
|
+
* Constructs a new AllText.
|
|
10400
|
+
* @param [properties] Properties to set
|
|
10401
|
+
*/
|
|
10402
|
+
constructor(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText);
|
|
10403
|
+
|
|
10404
|
+
/**
|
|
10405
|
+
* Creates a new AllText instance using the specified properties.
|
|
10406
|
+
* @param [properties] Properties to set
|
|
10407
|
+
* @returns AllText instance
|
|
10408
|
+
*/
|
|
10409
|
+
public static create(properties?: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
|
|
10410
|
+
|
|
10411
|
+
/**
|
|
10412
|
+
* Encodes the specified AllText message. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.verify|verify} messages.
|
|
10413
|
+
* @param message AllText message or plain object to encode
|
|
10414
|
+
* @param [writer] Writer to encode to
|
|
10415
|
+
* @returns Writer
|
|
10416
|
+
*/
|
|
10417
|
+
public static encode(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10418
|
+
|
|
10419
|
+
/**
|
|
10420
|
+
* Encodes the specified AllText message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText.verify|verify} messages.
|
|
10421
|
+
* @param message AllText message or plain object to encode
|
|
10422
|
+
* @param [writer] Writer to encode to
|
|
10423
|
+
* @returns Writer
|
|
10424
|
+
*/
|
|
10425
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.IAllText, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10426
|
+
|
|
10427
|
+
/**
|
|
10428
|
+
* Decodes an AllText message from the specified reader or buffer.
|
|
10429
|
+
* @param reader Reader or buffer to decode from
|
|
10430
|
+
* @param [length] Message length if known beforehand
|
|
10431
|
+
* @returns AllText
|
|
10432
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10433
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10434
|
+
*/
|
|
10435
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
|
|
10436
|
+
|
|
10437
|
+
/**
|
|
10438
|
+
* Decodes an AllText message from the specified reader or buffer, length delimited.
|
|
10439
|
+
* @param reader Reader or buffer to decode from
|
|
10440
|
+
* @returns AllText
|
|
10441
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10442
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10443
|
+
*/
|
|
10444
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
|
|
10445
|
+
|
|
10446
|
+
/**
|
|
10447
|
+
* Verifies an AllText message.
|
|
10448
|
+
* @param message Plain object to verify
|
|
10449
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10450
|
+
*/
|
|
10451
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10452
|
+
|
|
10453
|
+
/**
|
|
10454
|
+
* Creates an AllText message from a plain object. Also converts values to their respective internal types.
|
|
10455
|
+
* @param object Plain object
|
|
10456
|
+
* @returns AllText
|
|
10457
|
+
*/
|
|
10458
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText;
|
|
10459
|
+
|
|
10460
|
+
/**
|
|
10461
|
+
* Creates a plain object from an AllText message. Also converts values to other types if specified.
|
|
10462
|
+
* @param message AllText
|
|
10463
|
+
* @param [options] Conversion options
|
|
10464
|
+
* @returns Plain object
|
|
10465
|
+
*/
|
|
10466
|
+
public static toObject(message: google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10467
|
+
|
|
10468
|
+
/**
|
|
10469
|
+
* Converts this AllText to JSON.
|
|
10470
|
+
* @returns JSON object
|
|
10471
|
+
*/
|
|
10472
|
+
public toJSON(): { [k: string]: any };
|
|
10473
|
+
|
|
10474
|
+
/**
|
|
10475
|
+
* Gets the default type url for AllText
|
|
10476
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10477
|
+
* @returns The default type url
|
|
10478
|
+
*/
|
|
10479
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10480
|
+
}
|
|
10481
|
+
}
|
|
10482
|
+
}
|
|
10483
|
+
|
|
10484
|
+
/** Properties of a TransformationErrorHandling. */
|
|
10485
|
+
interface ITransformationErrorHandling {
|
|
10486
|
+
|
|
10487
|
+
/** TransformationErrorHandling throwError */
|
|
10488
|
+
throwError?: (google.privacy.dlp.v2.TransformationErrorHandling.IThrowError|null);
|
|
10489
|
+
|
|
10490
|
+
/** TransformationErrorHandling leaveUntransformed */
|
|
10491
|
+
leaveUntransformed?: (google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed|null);
|
|
10492
|
+
}
|
|
10493
|
+
|
|
10494
|
+
/** Represents a TransformationErrorHandling. */
|
|
10495
|
+
class TransformationErrorHandling implements ITransformationErrorHandling {
|
|
10247
10496
|
|
|
10248
10497
|
/**
|
|
10249
|
-
*
|
|
10498
|
+
* Constructs a new TransformationErrorHandling.
|
|
10250
10499
|
* @param [properties] Properties to set
|
|
10251
|
-
* @returns PrimitiveTransformation instance
|
|
10252
10500
|
*/
|
|
10253
|
-
|
|
10501
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationErrorHandling);
|
|
10502
|
+
|
|
10503
|
+
/** TransformationErrorHandling throwError. */
|
|
10504
|
+
public throwError?: (google.privacy.dlp.v2.TransformationErrorHandling.IThrowError|null);
|
|
10505
|
+
|
|
10506
|
+
/** TransformationErrorHandling leaveUntransformed. */
|
|
10507
|
+
public leaveUntransformed?: (google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed|null);
|
|
10508
|
+
|
|
10509
|
+
/** TransformationErrorHandling mode. */
|
|
10510
|
+
public mode?: ("throwError"|"leaveUntransformed");
|
|
10254
10511
|
|
|
10255
10512
|
/**
|
|
10256
|
-
*
|
|
10257
|
-
* @param
|
|
10513
|
+
* Creates a new TransformationErrorHandling instance using the specified properties.
|
|
10514
|
+
* @param [properties] Properties to set
|
|
10515
|
+
* @returns TransformationErrorHandling instance
|
|
10516
|
+
*/
|
|
10517
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationErrorHandling): google.privacy.dlp.v2.TransformationErrorHandling;
|
|
10518
|
+
|
|
10519
|
+
/**
|
|
10520
|
+
* Encodes the specified TransformationErrorHandling message. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.verify|verify} messages.
|
|
10521
|
+
* @param message TransformationErrorHandling message or plain object to encode
|
|
10258
10522
|
* @param [writer] Writer to encode to
|
|
10259
10523
|
* @returns Writer
|
|
10260
10524
|
*/
|
|
10261
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
10525
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationErrorHandling, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10262
10526
|
|
|
10263
10527
|
/**
|
|
10264
|
-
* Encodes the specified
|
|
10265
|
-
* @param message
|
|
10528
|
+
* Encodes the specified TransformationErrorHandling message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.verify|verify} messages.
|
|
10529
|
+
* @param message TransformationErrorHandling message or plain object to encode
|
|
10266
10530
|
* @param [writer] Writer to encode to
|
|
10267
10531
|
* @returns Writer
|
|
10268
10532
|
*/
|
|
10269
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
10533
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationErrorHandling, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10270
10534
|
|
|
10271
10535
|
/**
|
|
10272
|
-
* Decodes a
|
|
10536
|
+
* Decodes a TransformationErrorHandling message from the specified reader or buffer.
|
|
10273
10537
|
* @param reader Reader or buffer to decode from
|
|
10274
10538
|
* @param [length] Message length if known beforehand
|
|
10275
|
-
* @returns
|
|
10539
|
+
* @returns TransformationErrorHandling
|
|
10276
10540
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10277
10541
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10278
10542
|
*/
|
|
10279
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
10543
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling;
|
|
10280
10544
|
|
|
10281
10545
|
/**
|
|
10282
|
-
* Decodes a
|
|
10546
|
+
* Decodes a TransformationErrorHandling message from the specified reader or buffer, length delimited.
|
|
10283
10547
|
* @param reader Reader or buffer to decode from
|
|
10284
|
-
* @returns
|
|
10548
|
+
* @returns TransformationErrorHandling
|
|
10285
10549
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10286
10550
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10287
10551
|
*/
|
|
10288
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
10552
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling;
|
|
10289
10553
|
|
|
10290
10554
|
/**
|
|
10291
|
-
* Verifies a
|
|
10555
|
+
* Verifies a TransformationErrorHandling message.
|
|
10292
10556
|
* @param message Plain object to verify
|
|
10293
10557
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
10294
10558
|
*/
|
|
10295
10559
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
10296
10560
|
|
|
10297
10561
|
/**
|
|
10298
|
-
* Creates a
|
|
10562
|
+
* Creates a TransformationErrorHandling message from a plain object. Also converts values to their respective internal types.
|
|
10299
10563
|
* @param object Plain object
|
|
10300
|
-
* @returns
|
|
10564
|
+
* @returns TransformationErrorHandling
|
|
10301
10565
|
*/
|
|
10302
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
10566
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling;
|
|
10303
10567
|
|
|
10304
10568
|
/**
|
|
10305
|
-
* Creates a plain object from a
|
|
10306
|
-
* @param message
|
|
10569
|
+
* Creates a plain object from a TransformationErrorHandling message. Also converts values to other types if specified.
|
|
10570
|
+
* @param message TransformationErrorHandling
|
|
10307
10571
|
* @param [options] Conversion options
|
|
10308
10572
|
* @returns Plain object
|
|
10309
10573
|
*/
|
|
10310
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
10574
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationErrorHandling, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10311
10575
|
|
|
10312
10576
|
/**
|
|
10313
|
-
* Converts this
|
|
10577
|
+
* Converts this TransformationErrorHandling to JSON.
|
|
10314
10578
|
* @returns JSON object
|
|
10315
10579
|
*/
|
|
10316
10580
|
public toJSON(): { [k: string]: any };
|
|
10317
10581
|
|
|
10318
10582
|
/**
|
|
10319
|
-
* Gets the default type url for
|
|
10583
|
+
* Gets the default type url for TransformationErrorHandling
|
|
10320
10584
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10321
10585
|
* @returns The default type url
|
|
10322
10586
|
*/
|
|
10323
10587
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10324
10588
|
}
|
|
10325
10589
|
|
|
10326
|
-
|
|
10327
|
-
interface ITimePartConfig {
|
|
10328
|
-
|
|
10329
|
-
/** TimePartConfig partToExtract */
|
|
10330
|
-
partToExtract?: (google.privacy.dlp.v2.TimePartConfig.TimePart|keyof typeof google.privacy.dlp.v2.TimePartConfig.TimePart|null);
|
|
10331
|
-
}
|
|
10332
|
-
|
|
10333
|
-
/** Represents a TimePartConfig. */
|
|
10334
|
-
class TimePartConfig implements ITimePartConfig {
|
|
10590
|
+
namespace TransformationErrorHandling {
|
|
10335
10591
|
|
|
10336
|
-
/**
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
*/
|
|
10340
|
-
constructor(properties?: google.privacy.dlp.v2.ITimePartConfig);
|
|
10592
|
+
/** Properties of a ThrowError. */
|
|
10593
|
+
interface IThrowError {
|
|
10594
|
+
}
|
|
10341
10595
|
|
|
10342
|
-
/**
|
|
10343
|
-
|
|
10596
|
+
/** Represents a ThrowError. */
|
|
10597
|
+
class ThrowError implements IThrowError {
|
|
10344
10598
|
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
public static create(properties?: google.privacy.dlp.v2.ITimePartConfig): google.privacy.dlp.v2.TimePartConfig;
|
|
10599
|
+
/**
|
|
10600
|
+
* Constructs a new ThrowError.
|
|
10601
|
+
* @param [properties] Properties to set
|
|
10602
|
+
*/
|
|
10603
|
+
constructor(properties?: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError);
|
|
10351
10604
|
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
public static encode(message: google.privacy.dlp.v2.ITimePartConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10605
|
+
/**
|
|
10606
|
+
* Creates a new ThrowError instance using the specified properties.
|
|
10607
|
+
* @param [properties] Properties to set
|
|
10608
|
+
* @returns ThrowError instance
|
|
10609
|
+
*/
|
|
10610
|
+
public static create(properties?: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10359
10611
|
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
10365
|
-
|
|
10366
|
-
|
|
10612
|
+
/**
|
|
10613
|
+
* Encodes the specified ThrowError message. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.verify|verify} messages.
|
|
10614
|
+
* @param message ThrowError message or plain object to encode
|
|
10615
|
+
* @param [writer] Writer to encode to
|
|
10616
|
+
* @returns Writer
|
|
10617
|
+
*/
|
|
10618
|
+
public static encode(message: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10367
10619
|
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
*/
|
|
10376
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TimePartConfig;
|
|
10620
|
+
/**
|
|
10621
|
+
* Encodes the specified ThrowError message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.ThrowError.verify|verify} messages.
|
|
10622
|
+
* @param message ThrowError message or plain object to encode
|
|
10623
|
+
* @param [writer] Writer to encode to
|
|
10624
|
+
* @returns Writer
|
|
10625
|
+
*/
|
|
10626
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.TransformationErrorHandling.IThrowError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10377
10627
|
|
|
10378
|
-
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
|
|
10384
|
-
|
|
10385
|
-
|
|
10628
|
+
/**
|
|
10629
|
+
* Decodes a ThrowError message from the specified reader or buffer.
|
|
10630
|
+
* @param reader Reader or buffer to decode from
|
|
10631
|
+
* @param [length] Message length if known beforehand
|
|
10632
|
+
* @returns ThrowError
|
|
10633
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10634
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10635
|
+
*/
|
|
10636
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10386
10637
|
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10638
|
+
/**
|
|
10639
|
+
* Decodes a ThrowError message from the specified reader or buffer, length delimited.
|
|
10640
|
+
* @param reader Reader or buffer to decode from
|
|
10641
|
+
* @returns ThrowError
|
|
10642
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10643
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10644
|
+
*/
|
|
10645
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10393
10646
|
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10647
|
+
/**
|
|
10648
|
+
* Verifies a ThrowError message.
|
|
10649
|
+
* @param message Plain object to verify
|
|
10650
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10651
|
+
*/
|
|
10652
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10400
10653
|
|
|
10401
|
-
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
public static toObject(message: google.privacy.dlp.v2.TimePartConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10654
|
+
/**
|
|
10655
|
+
* Creates a ThrowError message from a plain object. Also converts values to their respective internal types.
|
|
10656
|
+
* @param object Plain object
|
|
10657
|
+
* @returns ThrowError
|
|
10658
|
+
*/
|
|
10659
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling.ThrowError;
|
|
10408
10660
|
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10661
|
+
/**
|
|
10662
|
+
* Creates a plain object from a ThrowError message. Also converts values to other types if specified.
|
|
10663
|
+
* @param message ThrowError
|
|
10664
|
+
* @param [options] Conversion options
|
|
10665
|
+
* @returns Plain object
|
|
10666
|
+
*/
|
|
10667
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationErrorHandling.ThrowError, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10414
10668
|
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10421
|
-
}
|
|
10669
|
+
/**
|
|
10670
|
+
* Converts this ThrowError to JSON.
|
|
10671
|
+
* @returns JSON object
|
|
10672
|
+
*/
|
|
10673
|
+
public toJSON(): { [k: string]: any };
|
|
10422
10674
|
|
|
10423
|
-
|
|
10675
|
+
/**
|
|
10676
|
+
* Gets the default type url for ThrowError
|
|
10677
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10678
|
+
* @returns The default type url
|
|
10679
|
+
*/
|
|
10680
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10681
|
+
}
|
|
10424
10682
|
|
|
10425
|
-
/**
|
|
10426
|
-
|
|
10427
|
-
TIME_PART_UNSPECIFIED = 0,
|
|
10428
|
-
YEAR = 1,
|
|
10429
|
-
MONTH = 2,
|
|
10430
|
-
DAY_OF_MONTH = 3,
|
|
10431
|
-
DAY_OF_WEEK = 4,
|
|
10432
|
-
WEEK_OF_YEAR = 5,
|
|
10433
|
-
HOUR_OF_DAY = 6
|
|
10683
|
+
/** Properties of a LeaveUntransformed. */
|
|
10684
|
+
interface ILeaveUntransformed {
|
|
10434
10685
|
}
|
|
10435
|
-
}
|
|
10436
10686
|
|
|
10437
|
-
|
|
10438
|
-
|
|
10687
|
+
/** Represents a LeaveUntransformed. */
|
|
10688
|
+
class LeaveUntransformed implements ILeaveUntransformed {
|
|
10439
10689
|
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10690
|
+
/**
|
|
10691
|
+
* Constructs a new LeaveUntransformed.
|
|
10692
|
+
* @param [properties] Properties to set
|
|
10693
|
+
*/
|
|
10694
|
+
constructor(properties?: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed);
|
|
10443
10695
|
|
|
10444
|
-
|
|
10445
|
-
|
|
10696
|
+
/**
|
|
10697
|
+
* Creates a new LeaveUntransformed instance using the specified properties.
|
|
10698
|
+
* @param [properties] Properties to set
|
|
10699
|
+
* @returns LeaveUntransformed instance
|
|
10700
|
+
*/
|
|
10701
|
+
public static create(properties?: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
|
|
10446
10702
|
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10703
|
+
/**
|
|
10704
|
+
* Encodes the specified LeaveUntransformed message. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.verify|verify} messages.
|
|
10705
|
+
* @param message LeaveUntransformed message or plain object to encode
|
|
10706
|
+
* @param [writer] Writer to encode to
|
|
10707
|
+
* @returns Writer
|
|
10708
|
+
*/
|
|
10709
|
+
public static encode(message: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10452
10710
|
|
|
10453
|
-
|
|
10454
|
-
|
|
10711
|
+
/**
|
|
10712
|
+
* Encodes the specified LeaveUntransformed message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed.verify|verify} messages.
|
|
10713
|
+
* @param message LeaveUntransformed message or plain object to encode
|
|
10714
|
+
* @param [writer] Writer to encode to
|
|
10715
|
+
* @returns Writer
|
|
10716
|
+
*/
|
|
10717
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.TransformationErrorHandling.ILeaveUntransformed, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10455
10718
|
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
|
|
10459
|
-
|
|
10460
|
-
|
|
10461
|
-
|
|
10719
|
+
/**
|
|
10720
|
+
* Decodes a LeaveUntransformed message from the specified reader or buffer.
|
|
10721
|
+
* @param reader Reader or buffer to decode from
|
|
10722
|
+
* @param [length] Message length if known beforehand
|
|
10723
|
+
* @returns LeaveUntransformed
|
|
10724
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10725
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10726
|
+
*/
|
|
10727
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
|
|
10462
10728
|
|
|
10463
|
-
|
|
10464
|
-
|
|
10465
|
-
|
|
10729
|
+
/**
|
|
10730
|
+
* Decodes a LeaveUntransformed message from the specified reader or buffer, length delimited.
|
|
10731
|
+
* @param reader Reader or buffer to decode from
|
|
10732
|
+
* @returns LeaveUntransformed
|
|
10733
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10734
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10735
|
+
*/
|
|
10736
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
|
|
10737
|
+
|
|
10738
|
+
/**
|
|
10739
|
+
* Verifies a LeaveUntransformed message.
|
|
10740
|
+
* @param message Plain object to verify
|
|
10741
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
10742
|
+
*/
|
|
10743
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
10744
|
+
|
|
10745
|
+
/**
|
|
10746
|
+
* Creates a LeaveUntransformed message from a plain object. Also converts values to their respective internal types.
|
|
10747
|
+
* @param object Plain object
|
|
10748
|
+
* @returns LeaveUntransformed
|
|
10749
|
+
*/
|
|
10750
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed;
|
|
10751
|
+
|
|
10752
|
+
/**
|
|
10753
|
+
* Creates a plain object from a LeaveUntransformed message. Also converts values to other types if specified.
|
|
10754
|
+
* @param message LeaveUntransformed
|
|
10755
|
+
* @param [options] Conversion options
|
|
10756
|
+
* @returns Plain object
|
|
10757
|
+
*/
|
|
10758
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10759
|
+
|
|
10760
|
+
/**
|
|
10761
|
+
* Converts this LeaveUntransformed to JSON.
|
|
10762
|
+
* @returns JSON object
|
|
10763
|
+
*/
|
|
10764
|
+
public toJSON(): { [k: string]: any };
|
|
10765
|
+
|
|
10766
|
+
/**
|
|
10767
|
+
* Gets the default type url for LeaveUntransformed
|
|
10768
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10769
|
+
* @returns The default type url
|
|
10770
|
+
*/
|
|
10771
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10772
|
+
}
|
|
10773
|
+
}
|
|
10774
|
+
|
|
10775
|
+
/** Properties of a PrimitiveTransformation. */
|
|
10776
|
+
interface IPrimitiveTransformation {
|
|
10777
|
+
|
|
10778
|
+
/** PrimitiveTransformation replaceConfig */
|
|
10779
|
+
replaceConfig?: (google.privacy.dlp.v2.IReplaceValueConfig|null);
|
|
10780
|
+
|
|
10781
|
+
/** PrimitiveTransformation redactConfig */
|
|
10782
|
+
redactConfig?: (google.privacy.dlp.v2.IRedactConfig|null);
|
|
10783
|
+
|
|
10784
|
+
/** PrimitiveTransformation characterMaskConfig */
|
|
10785
|
+
characterMaskConfig?: (google.privacy.dlp.v2.ICharacterMaskConfig|null);
|
|
10786
|
+
|
|
10787
|
+
/** PrimitiveTransformation cryptoReplaceFfxFpeConfig */
|
|
10788
|
+
cryptoReplaceFfxFpeConfig?: (google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig|null);
|
|
10789
|
+
|
|
10790
|
+
/** PrimitiveTransformation fixedSizeBucketingConfig */
|
|
10791
|
+
fixedSizeBucketingConfig?: (google.privacy.dlp.v2.IFixedSizeBucketingConfig|null);
|
|
10792
|
+
|
|
10793
|
+
/** PrimitiveTransformation bucketingConfig */
|
|
10794
|
+
bucketingConfig?: (google.privacy.dlp.v2.IBucketingConfig|null);
|
|
10795
|
+
|
|
10796
|
+
/** PrimitiveTransformation replaceWithInfoTypeConfig */
|
|
10797
|
+
replaceWithInfoTypeConfig?: (google.privacy.dlp.v2.IReplaceWithInfoTypeConfig|null);
|
|
10798
|
+
|
|
10799
|
+
/** PrimitiveTransformation timePartConfig */
|
|
10800
|
+
timePartConfig?: (google.privacy.dlp.v2.ITimePartConfig|null);
|
|
10801
|
+
|
|
10802
|
+
/** PrimitiveTransformation cryptoHashConfig */
|
|
10803
|
+
cryptoHashConfig?: (google.privacy.dlp.v2.ICryptoHashConfig|null);
|
|
10804
|
+
|
|
10805
|
+
/** PrimitiveTransformation dateShiftConfig */
|
|
10806
|
+
dateShiftConfig?: (google.privacy.dlp.v2.IDateShiftConfig|null);
|
|
10807
|
+
|
|
10808
|
+
/** PrimitiveTransformation cryptoDeterministicConfig */
|
|
10809
|
+
cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
|
|
10810
|
+
|
|
10811
|
+
/** PrimitiveTransformation replaceDictionaryConfig */
|
|
10812
|
+
replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
|
|
10813
|
+
}
|
|
10814
|
+
|
|
10815
|
+
/** Represents a PrimitiveTransformation. */
|
|
10816
|
+
class PrimitiveTransformation implements IPrimitiveTransformation {
|
|
10817
|
+
|
|
10818
|
+
/**
|
|
10819
|
+
* Constructs a new PrimitiveTransformation.
|
|
10820
|
+
* @param [properties] Properties to set
|
|
10821
|
+
*/
|
|
10822
|
+
constructor(properties?: google.privacy.dlp.v2.IPrimitiveTransformation);
|
|
10823
|
+
|
|
10824
|
+
/** PrimitiveTransformation replaceConfig. */
|
|
10825
|
+
public replaceConfig?: (google.privacy.dlp.v2.IReplaceValueConfig|null);
|
|
10826
|
+
|
|
10827
|
+
/** PrimitiveTransformation redactConfig. */
|
|
10828
|
+
public redactConfig?: (google.privacy.dlp.v2.IRedactConfig|null);
|
|
10829
|
+
|
|
10830
|
+
/** PrimitiveTransformation characterMaskConfig. */
|
|
10831
|
+
public characterMaskConfig?: (google.privacy.dlp.v2.ICharacterMaskConfig|null);
|
|
10832
|
+
|
|
10833
|
+
/** PrimitiveTransformation cryptoReplaceFfxFpeConfig. */
|
|
10834
|
+
public cryptoReplaceFfxFpeConfig?: (google.privacy.dlp.v2.ICryptoReplaceFfxFpeConfig|null);
|
|
10835
|
+
|
|
10836
|
+
/** PrimitiveTransformation fixedSizeBucketingConfig. */
|
|
10837
|
+
public fixedSizeBucketingConfig?: (google.privacy.dlp.v2.IFixedSizeBucketingConfig|null);
|
|
10838
|
+
|
|
10839
|
+
/** PrimitiveTransformation bucketingConfig. */
|
|
10840
|
+
public bucketingConfig?: (google.privacy.dlp.v2.IBucketingConfig|null);
|
|
10841
|
+
|
|
10842
|
+
/** PrimitiveTransformation replaceWithInfoTypeConfig. */
|
|
10843
|
+
public replaceWithInfoTypeConfig?: (google.privacy.dlp.v2.IReplaceWithInfoTypeConfig|null);
|
|
10844
|
+
|
|
10845
|
+
/** PrimitiveTransformation timePartConfig. */
|
|
10846
|
+
public timePartConfig?: (google.privacy.dlp.v2.ITimePartConfig|null);
|
|
10847
|
+
|
|
10848
|
+
/** PrimitiveTransformation cryptoHashConfig. */
|
|
10849
|
+
public cryptoHashConfig?: (google.privacy.dlp.v2.ICryptoHashConfig|null);
|
|
10850
|
+
|
|
10851
|
+
/** PrimitiveTransformation dateShiftConfig. */
|
|
10852
|
+
public dateShiftConfig?: (google.privacy.dlp.v2.IDateShiftConfig|null);
|
|
10853
|
+
|
|
10854
|
+
/** PrimitiveTransformation cryptoDeterministicConfig. */
|
|
10855
|
+
public cryptoDeterministicConfig?: (google.privacy.dlp.v2.ICryptoDeterministicConfig|null);
|
|
10856
|
+
|
|
10857
|
+
/** PrimitiveTransformation replaceDictionaryConfig. */
|
|
10858
|
+
public replaceDictionaryConfig?: (google.privacy.dlp.v2.IReplaceDictionaryConfig|null);
|
|
10859
|
+
|
|
10860
|
+
/** PrimitiveTransformation transformation. */
|
|
10861
|
+
public transformation?: ("replaceConfig"|"redactConfig"|"characterMaskConfig"|"cryptoReplaceFfxFpeConfig"|"fixedSizeBucketingConfig"|"bucketingConfig"|"replaceWithInfoTypeConfig"|"timePartConfig"|"cryptoHashConfig"|"dateShiftConfig"|"cryptoDeterministicConfig"|"replaceDictionaryConfig");
|
|
10862
|
+
|
|
10863
|
+
/**
|
|
10864
|
+
* Creates a new PrimitiveTransformation instance using the specified properties.
|
|
10865
|
+
* @param [properties] Properties to set
|
|
10866
|
+
* @returns PrimitiveTransformation instance
|
|
10867
|
+
*/
|
|
10868
|
+
public static create(properties?: google.privacy.dlp.v2.IPrimitiveTransformation): google.privacy.dlp.v2.PrimitiveTransformation;
|
|
10869
|
+
|
|
10870
|
+
/**
|
|
10871
|
+
* Encodes the specified PrimitiveTransformation message. Does not implicitly {@link google.privacy.dlp.v2.PrimitiveTransformation.verify|verify} messages.
|
|
10872
|
+
* @param message PrimitiveTransformation message or plain object to encode
|
|
10466
10873
|
* @param [writer] Writer to encode to
|
|
10467
10874
|
* @returns Writer
|
|
10468
10875
|
*/
|
|
10469
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
10876
|
+
public static encode(message: google.privacy.dlp.v2.IPrimitiveTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10470
10877
|
|
|
10471
10878
|
/**
|
|
10472
|
-
* Encodes the specified
|
|
10473
|
-
* @param message
|
|
10879
|
+
* Encodes the specified PrimitiveTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.PrimitiveTransformation.verify|verify} messages.
|
|
10880
|
+
* @param message PrimitiveTransformation message or plain object to encode
|
|
10474
10881
|
* @param [writer] Writer to encode to
|
|
10475
10882
|
* @returns Writer
|
|
10476
10883
|
*/
|
|
10477
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
10884
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IPrimitiveTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10478
10885
|
|
|
10479
10886
|
/**
|
|
10480
|
-
* Decodes a
|
|
10887
|
+
* Decodes a PrimitiveTransformation message from the specified reader or buffer.
|
|
10481
10888
|
* @param reader Reader or buffer to decode from
|
|
10482
10889
|
* @param [length] Message length if known beforehand
|
|
10483
|
-
* @returns
|
|
10890
|
+
* @returns PrimitiveTransformation
|
|
10484
10891
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10485
10892
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10486
10893
|
*/
|
|
10487
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
10894
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.PrimitiveTransformation;
|
|
10488
10895
|
|
|
10489
10896
|
/**
|
|
10490
|
-
* Decodes a
|
|
10897
|
+
* Decodes a PrimitiveTransformation message from the specified reader or buffer, length delimited.
|
|
10491
10898
|
* @param reader Reader or buffer to decode from
|
|
10492
|
-
* @returns
|
|
10899
|
+
* @returns PrimitiveTransformation
|
|
10493
10900
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10494
10901
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10495
10902
|
*/
|
|
10496
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
10903
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.PrimitiveTransformation;
|
|
10497
10904
|
|
|
10498
10905
|
/**
|
|
10499
|
-
* Verifies a
|
|
10906
|
+
* Verifies a PrimitiveTransformation message.
|
|
10500
10907
|
* @param message Plain object to verify
|
|
10501
10908
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
10502
10909
|
*/
|
|
10503
10910
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
10504
10911
|
|
|
10505
10912
|
/**
|
|
10506
|
-
* Creates a
|
|
10913
|
+
* Creates a PrimitiveTransformation message from a plain object. Also converts values to their respective internal types.
|
|
10507
10914
|
* @param object Plain object
|
|
10508
|
-
* @returns
|
|
10915
|
+
* @returns PrimitiveTransformation
|
|
10509
10916
|
*/
|
|
10510
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
10917
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.PrimitiveTransformation;
|
|
10511
10918
|
|
|
10512
10919
|
/**
|
|
10513
|
-
* Creates a plain object from a
|
|
10514
|
-
* @param message
|
|
10920
|
+
* Creates a plain object from a PrimitiveTransformation message. Also converts values to other types if specified.
|
|
10921
|
+
* @param message PrimitiveTransformation
|
|
10515
10922
|
* @param [options] Conversion options
|
|
10516
10923
|
* @returns Plain object
|
|
10517
10924
|
*/
|
|
10518
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
10925
|
+
public static toObject(message: google.privacy.dlp.v2.PrimitiveTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
10519
10926
|
|
|
10520
10927
|
/**
|
|
10521
|
-
* Converts this
|
|
10928
|
+
* Converts this PrimitiveTransformation to JSON.
|
|
10522
10929
|
* @returns JSON object
|
|
10523
10930
|
*/
|
|
10524
10931
|
public toJSON(): { [k: string]: any };
|
|
10525
10932
|
|
|
10526
10933
|
/**
|
|
10527
|
-
* Gets the default type url for
|
|
10934
|
+
* Gets the default type url for PrimitiveTransformation
|
|
10528
10935
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10529
10936
|
* @returns The default type url
|
|
10530
10937
|
*/
|
|
10531
10938
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
10532
10939
|
}
|
|
10533
10940
|
|
|
10534
|
-
/** Properties of a
|
|
10535
|
-
interface
|
|
10536
|
-
|
|
10537
|
-
/** CryptoDeterministicConfig cryptoKey */
|
|
10538
|
-
cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
|
|
10539
|
-
|
|
10540
|
-
/** CryptoDeterministicConfig surrogateInfoType */
|
|
10541
|
-
surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
10941
|
+
/** Properties of a TimePartConfig. */
|
|
10942
|
+
interface ITimePartConfig {
|
|
10542
10943
|
|
|
10543
|
-
/**
|
|
10544
|
-
|
|
10944
|
+
/** TimePartConfig partToExtract */
|
|
10945
|
+
partToExtract?: (google.privacy.dlp.v2.TimePartConfig.TimePart|keyof typeof google.privacy.dlp.v2.TimePartConfig.TimePart|null);
|
|
10545
10946
|
}
|
|
10546
10947
|
|
|
10547
|
-
/** Represents a
|
|
10548
|
-
class
|
|
10948
|
+
/** Represents a TimePartConfig. */
|
|
10949
|
+
class TimePartConfig implements ITimePartConfig {
|
|
10549
10950
|
|
|
10550
10951
|
/**
|
|
10551
|
-
* Constructs a new
|
|
10952
|
+
* Constructs a new TimePartConfig.
|
|
10552
10953
|
* @param [properties] Properties to set
|
|
10553
10954
|
*/
|
|
10554
|
-
constructor(properties?: google.privacy.dlp.v2.
|
|
10555
|
-
|
|
10556
|
-
/** CryptoDeterministicConfig cryptoKey. */
|
|
10557
|
-
public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
|
|
10558
|
-
|
|
10559
|
-
/** CryptoDeterministicConfig surrogateInfoType. */
|
|
10560
|
-
public surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
10955
|
+
constructor(properties?: google.privacy.dlp.v2.ITimePartConfig);
|
|
10561
10956
|
|
|
10562
|
-
/**
|
|
10563
|
-
public
|
|
10957
|
+
/** TimePartConfig partToExtract. */
|
|
10958
|
+
public partToExtract: (google.privacy.dlp.v2.TimePartConfig.TimePart|keyof typeof google.privacy.dlp.v2.TimePartConfig.TimePart);
|
|
10564
10959
|
|
|
10565
10960
|
/**
|
|
10566
|
-
* Creates a new
|
|
10961
|
+
* Creates a new TimePartConfig instance using the specified properties.
|
|
10567
10962
|
* @param [properties] Properties to set
|
|
10568
|
-
* @returns
|
|
10963
|
+
* @returns TimePartConfig instance
|
|
10569
10964
|
*/
|
|
10570
|
-
public static create(properties?: google.privacy.dlp.v2.
|
|
10965
|
+
public static create(properties?: google.privacy.dlp.v2.ITimePartConfig): google.privacy.dlp.v2.TimePartConfig;
|
|
10571
10966
|
|
|
10572
10967
|
/**
|
|
10573
|
-
* Encodes the specified
|
|
10574
|
-
* @param message
|
|
10968
|
+
* Encodes the specified TimePartConfig message. Does not implicitly {@link google.privacy.dlp.v2.TimePartConfig.verify|verify} messages.
|
|
10969
|
+
* @param message TimePartConfig message or plain object to encode
|
|
10575
10970
|
* @param [writer] Writer to encode to
|
|
10576
10971
|
* @returns Writer
|
|
10577
10972
|
*/
|
|
10578
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
10973
|
+
public static encode(message: google.privacy.dlp.v2.ITimePartConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10579
10974
|
|
|
10580
10975
|
/**
|
|
10581
|
-
* Encodes the specified
|
|
10582
|
-
* @param message
|
|
10976
|
+
* Encodes the specified TimePartConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TimePartConfig.verify|verify} messages.
|
|
10977
|
+
* @param message TimePartConfig message or plain object to encode
|
|
10583
10978
|
* @param [writer] Writer to encode to
|
|
10584
10979
|
* @returns Writer
|
|
10585
10980
|
*/
|
|
10586
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
10981
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITimePartConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
10587
10982
|
|
|
10588
10983
|
/**
|
|
10589
|
-
* Decodes a
|
|
10984
|
+
* Decodes a TimePartConfig message from the specified reader or buffer.
|
|
10590
10985
|
* @param reader Reader or buffer to decode from
|
|
10591
10986
|
* @param [length] Message length if known beforehand
|
|
10592
|
-
* @returns
|
|
10987
|
+
* @returns TimePartConfig
|
|
10593
10988
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10594
10989
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10595
10990
|
*/
|
|
10596
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
10991
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TimePartConfig;
|
|
10597
10992
|
|
|
10598
10993
|
/**
|
|
10599
|
-
* Decodes a
|
|
10994
|
+
* Decodes a TimePartConfig message from the specified reader or buffer, length delimited.
|
|
10600
10995
|
* @param reader Reader or buffer to decode from
|
|
10601
|
-
* @returns
|
|
10996
|
+
* @returns TimePartConfig
|
|
10602
10997
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
10603
10998
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
10604
10999
|
*/
|
|
10605
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
11000
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TimePartConfig;
|
|
10606
11001
|
|
|
10607
11002
|
/**
|
|
10608
|
-
* Verifies a
|
|
11003
|
+
* Verifies a TimePartConfig message.
|
|
10609
11004
|
* @param message Plain object to verify
|
|
10610
11005
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
10611
11006
|
*/
|
|
10612
11007
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
10613
11008
|
|
|
10614
11009
|
/**
|
|
10615
|
-
* Creates a
|
|
11010
|
+
* Creates a TimePartConfig message from a plain object. Also converts values to their respective internal types.
|
|
10616
11011
|
* @param object Plain object
|
|
10617
|
-
* @returns
|
|
11012
|
+
* @returns TimePartConfig
|
|
10618
11013
|
*/
|
|
10619
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
11014
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TimePartConfig;
|
|
10620
11015
|
|
|
10621
11016
|
/**
|
|
10622
|
-
* Creates a plain object from a
|
|
10623
|
-
* @param message
|
|
10624
|
-
* @param [options] Conversion options
|
|
11017
|
+
* Creates a plain object from a TimePartConfig message. Also converts values to other types if specified.
|
|
11018
|
+
* @param message TimePartConfig
|
|
11019
|
+
* @param [options] Conversion options
|
|
11020
|
+
* @returns Plain object
|
|
11021
|
+
*/
|
|
11022
|
+
public static toObject(message: google.privacy.dlp.v2.TimePartConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11023
|
+
|
|
11024
|
+
/**
|
|
11025
|
+
* Converts this TimePartConfig to JSON.
|
|
11026
|
+
* @returns JSON object
|
|
11027
|
+
*/
|
|
11028
|
+
public toJSON(): { [k: string]: any };
|
|
11029
|
+
|
|
11030
|
+
/**
|
|
11031
|
+
* Gets the default type url for TimePartConfig
|
|
11032
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11033
|
+
* @returns The default type url
|
|
11034
|
+
*/
|
|
11035
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11036
|
+
}
|
|
11037
|
+
|
|
11038
|
+
namespace TimePartConfig {
|
|
11039
|
+
|
|
11040
|
+
/** TimePart enum. */
|
|
11041
|
+
enum TimePart {
|
|
11042
|
+
TIME_PART_UNSPECIFIED = 0,
|
|
11043
|
+
YEAR = 1,
|
|
11044
|
+
MONTH = 2,
|
|
11045
|
+
DAY_OF_MONTH = 3,
|
|
11046
|
+
DAY_OF_WEEK = 4,
|
|
11047
|
+
WEEK_OF_YEAR = 5,
|
|
11048
|
+
HOUR_OF_DAY = 6
|
|
11049
|
+
}
|
|
11050
|
+
}
|
|
11051
|
+
|
|
11052
|
+
/** Properties of a CryptoHashConfig. */
|
|
11053
|
+
interface ICryptoHashConfig {
|
|
11054
|
+
|
|
11055
|
+
/** CryptoHashConfig cryptoKey */
|
|
11056
|
+
cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
|
|
11057
|
+
}
|
|
11058
|
+
|
|
11059
|
+
/** Represents a CryptoHashConfig. */
|
|
11060
|
+
class CryptoHashConfig implements ICryptoHashConfig {
|
|
11061
|
+
|
|
11062
|
+
/**
|
|
11063
|
+
* Constructs a new CryptoHashConfig.
|
|
11064
|
+
* @param [properties] Properties to set
|
|
11065
|
+
*/
|
|
11066
|
+
constructor(properties?: google.privacy.dlp.v2.ICryptoHashConfig);
|
|
11067
|
+
|
|
11068
|
+
/** CryptoHashConfig cryptoKey. */
|
|
11069
|
+
public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
|
|
11070
|
+
|
|
11071
|
+
/**
|
|
11072
|
+
* Creates a new CryptoHashConfig instance using the specified properties.
|
|
11073
|
+
* @param [properties] Properties to set
|
|
11074
|
+
* @returns CryptoHashConfig instance
|
|
11075
|
+
*/
|
|
11076
|
+
public static create(properties?: google.privacy.dlp.v2.ICryptoHashConfig): google.privacy.dlp.v2.CryptoHashConfig;
|
|
11077
|
+
|
|
11078
|
+
/**
|
|
11079
|
+
* Encodes the specified CryptoHashConfig message. Does not implicitly {@link google.privacy.dlp.v2.CryptoHashConfig.verify|verify} messages.
|
|
11080
|
+
* @param message CryptoHashConfig message or plain object to encode
|
|
11081
|
+
* @param [writer] Writer to encode to
|
|
11082
|
+
* @returns Writer
|
|
11083
|
+
*/
|
|
11084
|
+
public static encode(message: google.privacy.dlp.v2.ICryptoHashConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11085
|
+
|
|
11086
|
+
/**
|
|
11087
|
+
* Encodes the specified CryptoHashConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CryptoHashConfig.verify|verify} messages.
|
|
11088
|
+
* @param message CryptoHashConfig message or plain object to encode
|
|
11089
|
+
* @param [writer] Writer to encode to
|
|
11090
|
+
* @returns Writer
|
|
11091
|
+
*/
|
|
11092
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ICryptoHashConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11093
|
+
|
|
11094
|
+
/**
|
|
11095
|
+
* Decodes a CryptoHashConfig message from the specified reader or buffer.
|
|
11096
|
+
* @param reader Reader or buffer to decode from
|
|
11097
|
+
* @param [length] Message length if known beforehand
|
|
11098
|
+
* @returns CryptoHashConfig
|
|
11099
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11100
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11101
|
+
*/
|
|
11102
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CryptoHashConfig;
|
|
11103
|
+
|
|
11104
|
+
/**
|
|
11105
|
+
* Decodes a CryptoHashConfig message from the specified reader or buffer, length delimited.
|
|
11106
|
+
* @param reader Reader or buffer to decode from
|
|
11107
|
+
* @returns CryptoHashConfig
|
|
11108
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11109
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11110
|
+
*/
|
|
11111
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CryptoHashConfig;
|
|
11112
|
+
|
|
11113
|
+
/**
|
|
11114
|
+
* Verifies a CryptoHashConfig message.
|
|
11115
|
+
* @param message Plain object to verify
|
|
11116
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11117
|
+
*/
|
|
11118
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11119
|
+
|
|
11120
|
+
/**
|
|
11121
|
+
* Creates a CryptoHashConfig message from a plain object. Also converts values to their respective internal types.
|
|
11122
|
+
* @param object Plain object
|
|
11123
|
+
* @returns CryptoHashConfig
|
|
11124
|
+
*/
|
|
11125
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CryptoHashConfig;
|
|
11126
|
+
|
|
11127
|
+
/**
|
|
11128
|
+
* Creates a plain object from a CryptoHashConfig message. Also converts values to other types if specified.
|
|
11129
|
+
* @param message CryptoHashConfig
|
|
11130
|
+
* @param [options] Conversion options
|
|
11131
|
+
* @returns Plain object
|
|
11132
|
+
*/
|
|
11133
|
+
public static toObject(message: google.privacy.dlp.v2.CryptoHashConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11134
|
+
|
|
11135
|
+
/**
|
|
11136
|
+
* Converts this CryptoHashConfig to JSON.
|
|
11137
|
+
* @returns JSON object
|
|
11138
|
+
*/
|
|
11139
|
+
public toJSON(): { [k: string]: any };
|
|
11140
|
+
|
|
11141
|
+
/**
|
|
11142
|
+
* Gets the default type url for CryptoHashConfig
|
|
11143
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11144
|
+
* @returns The default type url
|
|
11145
|
+
*/
|
|
11146
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11147
|
+
}
|
|
11148
|
+
|
|
11149
|
+
/** Properties of a CryptoDeterministicConfig. */
|
|
11150
|
+
interface ICryptoDeterministicConfig {
|
|
11151
|
+
|
|
11152
|
+
/** CryptoDeterministicConfig cryptoKey */
|
|
11153
|
+
cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
|
|
11154
|
+
|
|
11155
|
+
/** CryptoDeterministicConfig surrogateInfoType */
|
|
11156
|
+
surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
11157
|
+
|
|
11158
|
+
/** CryptoDeterministicConfig context */
|
|
11159
|
+
context?: (google.privacy.dlp.v2.IFieldId|null);
|
|
11160
|
+
}
|
|
11161
|
+
|
|
11162
|
+
/** Represents a CryptoDeterministicConfig. */
|
|
11163
|
+
class CryptoDeterministicConfig implements ICryptoDeterministicConfig {
|
|
11164
|
+
|
|
11165
|
+
/**
|
|
11166
|
+
* Constructs a new CryptoDeterministicConfig.
|
|
11167
|
+
* @param [properties] Properties to set
|
|
11168
|
+
*/
|
|
11169
|
+
constructor(properties?: google.privacy.dlp.v2.ICryptoDeterministicConfig);
|
|
11170
|
+
|
|
11171
|
+
/** CryptoDeterministicConfig cryptoKey. */
|
|
11172
|
+
public cryptoKey?: (google.privacy.dlp.v2.ICryptoKey|null);
|
|
11173
|
+
|
|
11174
|
+
/** CryptoDeterministicConfig surrogateInfoType. */
|
|
11175
|
+
public surrogateInfoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
11176
|
+
|
|
11177
|
+
/** CryptoDeterministicConfig context. */
|
|
11178
|
+
public context?: (google.privacy.dlp.v2.IFieldId|null);
|
|
11179
|
+
|
|
11180
|
+
/**
|
|
11181
|
+
* Creates a new CryptoDeterministicConfig instance using the specified properties.
|
|
11182
|
+
* @param [properties] Properties to set
|
|
11183
|
+
* @returns CryptoDeterministicConfig instance
|
|
11184
|
+
*/
|
|
11185
|
+
public static create(properties?: google.privacy.dlp.v2.ICryptoDeterministicConfig): google.privacy.dlp.v2.CryptoDeterministicConfig;
|
|
11186
|
+
|
|
11187
|
+
/**
|
|
11188
|
+
* Encodes the specified CryptoDeterministicConfig message. Does not implicitly {@link google.privacy.dlp.v2.CryptoDeterministicConfig.verify|verify} messages.
|
|
11189
|
+
* @param message CryptoDeterministicConfig message or plain object to encode
|
|
11190
|
+
* @param [writer] Writer to encode to
|
|
11191
|
+
* @returns Writer
|
|
11192
|
+
*/
|
|
11193
|
+
public static encode(message: google.privacy.dlp.v2.ICryptoDeterministicConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11194
|
+
|
|
11195
|
+
/**
|
|
11196
|
+
* Encodes the specified CryptoDeterministicConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.CryptoDeterministicConfig.verify|verify} messages.
|
|
11197
|
+
* @param message CryptoDeterministicConfig message or plain object to encode
|
|
11198
|
+
* @param [writer] Writer to encode to
|
|
11199
|
+
* @returns Writer
|
|
11200
|
+
*/
|
|
11201
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ICryptoDeterministicConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11202
|
+
|
|
11203
|
+
/**
|
|
11204
|
+
* Decodes a CryptoDeterministicConfig message from the specified reader or buffer.
|
|
11205
|
+
* @param reader Reader or buffer to decode from
|
|
11206
|
+
* @param [length] Message length if known beforehand
|
|
11207
|
+
* @returns CryptoDeterministicConfig
|
|
11208
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11209
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11210
|
+
*/
|
|
11211
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.CryptoDeterministicConfig;
|
|
11212
|
+
|
|
11213
|
+
/**
|
|
11214
|
+
* Decodes a CryptoDeterministicConfig message from the specified reader or buffer, length delimited.
|
|
11215
|
+
* @param reader Reader or buffer to decode from
|
|
11216
|
+
* @returns CryptoDeterministicConfig
|
|
11217
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11218
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11219
|
+
*/
|
|
11220
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.CryptoDeterministicConfig;
|
|
11221
|
+
|
|
11222
|
+
/**
|
|
11223
|
+
* Verifies a CryptoDeterministicConfig message.
|
|
11224
|
+
* @param message Plain object to verify
|
|
11225
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11226
|
+
*/
|
|
11227
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11228
|
+
|
|
11229
|
+
/**
|
|
11230
|
+
* Creates a CryptoDeterministicConfig message from a plain object. Also converts values to their respective internal types.
|
|
11231
|
+
* @param object Plain object
|
|
11232
|
+
* @returns CryptoDeterministicConfig
|
|
11233
|
+
*/
|
|
11234
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.CryptoDeterministicConfig;
|
|
11235
|
+
|
|
11236
|
+
/**
|
|
11237
|
+
* Creates a plain object from a CryptoDeterministicConfig message. Also converts values to other types if specified.
|
|
11238
|
+
* @param message CryptoDeterministicConfig
|
|
11239
|
+
* @param [options] Conversion options
|
|
10625
11240
|
* @returns Plain object
|
|
10626
11241
|
*/
|
|
10627
11242
|
public static toObject(message: google.privacy.dlp.v2.CryptoDeterministicConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
@@ -12696,845 +13311,1547 @@ export namespace google {
|
|
|
12696
13311
|
* @param [writer] Writer to encode to
|
|
12697
13312
|
* @returns Writer
|
|
12698
13313
|
*/
|
|
12699
|
-
public static encode(message: google.privacy.dlp.v2.IRecordSuppression, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13314
|
+
public static encode(message: google.privacy.dlp.v2.IRecordSuppression, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13315
|
+
|
|
13316
|
+
/**
|
|
13317
|
+
* Encodes the specified RecordSuppression message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordSuppression.verify|verify} messages.
|
|
13318
|
+
* @param message RecordSuppression message or plain object to encode
|
|
13319
|
+
* @param [writer] Writer to encode to
|
|
13320
|
+
* @returns Writer
|
|
13321
|
+
*/
|
|
13322
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IRecordSuppression, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13323
|
+
|
|
13324
|
+
/**
|
|
13325
|
+
* Decodes a RecordSuppression message from the specified reader or buffer.
|
|
13326
|
+
* @param reader Reader or buffer to decode from
|
|
13327
|
+
* @param [length] Message length if known beforehand
|
|
13328
|
+
* @returns RecordSuppression
|
|
13329
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13330
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13331
|
+
*/
|
|
13332
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordSuppression;
|
|
13333
|
+
|
|
13334
|
+
/**
|
|
13335
|
+
* Decodes a RecordSuppression message from the specified reader or buffer, length delimited.
|
|
13336
|
+
* @param reader Reader or buffer to decode from
|
|
13337
|
+
* @returns RecordSuppression
|
|
13338
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13339
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13340
|
+
*/
|
|
13341
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordSuppression;
|
|
13342
|
+
|
|
13343
|
+
/**
|
|
13344
|
+
* Verifies a RecordSuppression message.
|
|
13345
|
+
* @param message Plain object to verify
|
|
13346
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13347
|
+
*/
|
|
13348
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13349
|
+
|
|
13350
|
+
/**
|
|
13351
|
+
* Creates a RecordSuppression message from a plain object. Also converts values to their respective internal types.
|
|
13352
|
+
* @param object Plain object
|
|
13353
|
+
* @returns RecordSuppression
|
|
13354
|
+
*/
|
|
13355
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordSuppression;
|
|
13356
|
+
|
|
13357
|
+
/**
|
|
13358
|
+
* Creates a plain object from a RecordSuppression message. Also converts values to other types if specified.
|
|
13359
|
+
* @param message RecordSuppression
|
|
13360
|
+
* @param [options] Conversion options
|
|
13361
|
+
* @returns Plain object
|
|
13362
|
+
*/
|
|
13363
|
+
public static toObject(message: google.privacy.dlp.v2.RecordSuppression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13364
|
+
|
|
13365
|
+
/**
|
|
13366
|
+
* Converts this RecordSuppression to JSON.
|
|
13367
|
+
* @returns JSON object
|
|
13368
|
+
*/
|
|
13369
|
+
public toJSON(): { [k: string]: any };
|
|
13370
|
+
|
|
13371
|
+
/**
|
|
13372
|
+
* Gets the default type url for RecordSuppression
|
|
13373
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13374
|
+
* @returns The default type url
|
|
13375
|
+
*/
|
|
13376
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13377
|
+
}
|
|
13378
|
+
|
|
13379
|
+
/** Properties of a RecordCondition. */
|
|
13380
|
+
interface IRecordCondition {
|
|
13381
|
+
|
|
13382
|
+
/** RecordCondition expressions */
|
|
13383
|
+
expressions?: (google.privacy.dlp.v2.RecordCondition.IExpressions|null);
|
|
13384
|
+
}
|
|
13385
|
+
|
|
13386
|
+
/** Represents a RecordCondition. */
|
|
13387
|
+
class RecordCondition implements IRecordCondition {
|
|
13388
|
+
|
|
13389
|
+
/**
|
|
13390
|
+
* Constructs a new RecordCondition.
|
|
13391
|
+
* @param [properties] Properties to set
|
|
13392
|
+
*/
|
|
13393
|
+
constructor(properties?: google.privacy.dlp.v2.IRecordCondition);
|
|
13394
|
+
|
|
13395
|
+
/** RecordCondition expressions. */
|
|
13396
|
+
public expressions?: (google.privacy.dlp.v2.RecordCondition.IExpressions|null);
|
|
13397
|
+
|
|
13398
|
+
/**
|
|
13399
|
+
* Creates a new RecordCondition instance using the specified properties.
|
|
13400
|
+
* @param [properties] Properties to set
|
|
13401
|
+
* @returns RecordCondition instance
|
|
13402
|
+
*/
|
|
13403
|
+
public static create(properties?: google.privacy.dlp.v2.IRecordCondition): google.privacy.dlp.v2.RecordCondition;
|
|
13404
|
+
|
|
13405
|
+
/**
|
|
13406
|
+
* Encodes the specified RecordCondition message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.verify|verify} messages.
|
|
13407
|
+
* @param message RecordCondition message or plain object to encode
|
|
13408
|
+
* @param [writer] Writer to encode to
|
|
13409
|
+
* @returns Writer
|
|
13410
|
+
*/
|
|
13411
|
+
public static encode(message: google.privacy.dlp.v2.IRecordCondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13412
|
+
|
|
13413
|
+
/**
|
|
13414
|
+
* Encodes the specified RecordCondition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.verify|verify} messages.
|
|
13415
|
+
* @param message RecordCondition message or plain object to encode
|
|
13416
|
+
* @param [writer] Writer to encode to
|
|
13417
|
+
* @returns Writer
|
|
13418
|
+
*/
|
|
13419
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IRecordCondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13420
|
+
|
|
13421
|
+
/**
|
|
13422
|
+
* Decodes a RecordCondition message from the specified reader or buffer.
|
|
13423
|
+
* @param reader Reader or buffer to decode from
|
|
13424
|
+
* @param [length] Message length if known beforehand
|
|
13425
|
+
* @returns RecordCondition
|
|
13426
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13427
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13428
|
+
*/
|
|
13429
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition;
|
|
13430
|
+
|
|
13431
|
+
/**
|
|
13432
|
+
* Decodes a RecordCondition message from the specified reader or buffer, length delimited.
|
|
13433
|
+
* @param reader Reader or buffer to decode from
|
|
13434
|
+
* @returns RecordCondition
|
|
13435
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13436
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13437
|
+
*/
|
|
13438
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition;
|
|
13439
|
+
|
|
13440
|
+
/**
|
|
13441
|
+
* Verifies a RecordCondition message.
|
|
13442
|
+
* @param message Plain object to verify
|
|
13443
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13444
|
+
*/
|
|
13445
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13446
|
+
|
|
13447
|
+
/**
|
|
13448
|
+
* Creates a RecordCondition message from a plain object. Also converts values to their respective internal types.
|
|
13449
|
+
* @param object Plain object
|
|
13450
|
+
* @returns RecordCondition
|
|
13451
|
+
*/
|
|
13452
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition;
|
|
13453
|
+
|
|
13454
|
+
/**
|
|
13455
|
+
* Creates a plain object from a RecordCondition message. Also converts values to other types if specified.
|
|
13456
|
+
* @param message RecordCondition
|
|
13457
|
+
* @param [options] Conversion options
|
|
13458
|
+
* @returns Plain object
|
|
13459
|
+
*/
|
|
13460
|
+
public static toObject(message: google.privacy.dlp.v2.RecordCondition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13461
|
+
|
|
13462
|
+
/**
|
|
13463
|
+
* Converts this RecordCondition to JSON.
|
|
13464
|
+
* @returns JSON object
|
|
13465
|
+
*/
|
|
13466
|
+
public toJSON(): { [k: string]: any };
|
|
13467
|
+
|
|
13468
|
+
/**
|
|
13469
|
+
* Gets the default type url for RecordCondition
|
|
13470
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13471
|
+
* @returns The default type url
|
|
13472
|
+
*/
|
|
13473
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13474
|
+
}
|
|
13475
|
+
|
|
13476
|
+
namespace RecordCondition {
|
|
13477
|
+
|
|
13478
|
+
/** Properties of a Condition. */
|
|
13479
|
+
interface ICondition {
|
|
13480
|
+
|
|
13481
|
+
/** Condition field */
|
|
13482
|
+
field?: (google.privacy.dlp.v2.IFieldId|null);
|
|
13483
|
+
|
|
13484
|
+
/** Condition operator */
|
|
13485
|
+
operator?: (google.privacy.dlp.v2.RelationalOperator|keyof typeof google.privacy.dlp.v2.RelationalOperator|null);
|
|
13486
|
+
|
|
13487
|
+
/** Condition value */
|
|
13488
|
+
value?: (google.privacy.dlp.v2.IValue|null);
|
|
13489
|
+
}
|
|
13490
|
+
|
|
13491
|
+
/** Represents a Condition. */
|
|
13492
|
+
class Condition implements ICondition {
|
|
13493
|
+
|
|
13494
|
+
/**
|
|
13495
|
+
* Constructs a new Condition.
|
|
13496
|
+
* @param [properties] Properties to set
|
|
13497
|
+
*/
|
|
13498
|
+
constructor(properties?: google.privacy.dlp.v2.RecordCondition.ICondition);
|
|
13499
|
+
|
|
13500
|
+
/** Condition field. */
|
|
13501
|
+
public field?: (google.privacy.dlp.v2.IFieldId|null);
|
|
13502
|
+
|
|
13503
|
+
/** Condition operator. */
|
|
13504
|
+
public operator: (google.privacy.dlp.v2.RelationalOperator|keyof typeof google.privacy.dlp.v2.RelationalOperator);
|
|
13505
|
+
|
|
13506
|
+
/** Condition value. */
|
|
13507
|
+
public value?: (google.privacy.dlp.v2.IValue|null);
|
|
13508
|
+
|
|
13509
|
+
/**
|
|
13510
|
+
* Creates a new Condition instance using the specified properties.
|
|
13511
|
+
* @param [properties] Properties to set
|
|
13512
|
+
* @returns Condition instance
|
|
13513
|
+
*/
|
|
13514
|
+
public static create(properties?: google.privacy.dlp.v2.RecordCondition.ICondition): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
13515
|
+
|
|
13516
|
+
/**
|
|
13517
|
+
* Encodes the specified Condition message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Condition.verify|verify} messages.
|
|
13518
|
+
* @param message Condition message or plain object to encode
|
|
13519
|
+
* @param [writer] Writer to encode to
|
|
13520
|
+
* @returns Writer
|
|
13521
|
+
*/
|
|
13522
|
+
public static encode(message: google.privacy.dlp.v2.RecordCondition.ICondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13523
|
+
|
|
13524
|
+
/**
|
|
13525
|
+
* Encodes the specified Condition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Condition.verify|verify} messages.
|
|
13526
|
+
* @param message Condition message or plain object to encode
|
|
13527
|
+
* @param [writer] Writer to encode to
|
|
13528
|
+
* @returns Writer
|
|
13529
|
+
*/
|
|
13530
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.ICondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13531
|
+
|
|
13532
|
+
/**
|
|
13533
|
+
* Decodes a Condition message from the specified reader or buffer.
|
|
13534
|
+
* @param reader Reader or buffer to decode from
|
|
13535
|
+
* @param [length] Message length if known beforehand
|
|
13536
|
+
* @returns Condition
|
|
13537
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13538
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13539
|
+
*/
|
|
13540
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
13541
|
+
|
|
13542
|
+
/**
|
|
13543
|
+
* Decodes a Condition message from the specified reader or buffer, length delimited.
|
|
13544
|
+
* @param reader Reader or buffer to decode from
|
|
13545
|
+
* @returns Condition
|
|
13546
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13547
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13548
|
+
*/
|
|
13549
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
13550
|
+
|
|
13551
|
+
/**
|
|
13552
|
+
* Verifies a Condition message.
|
|
13553
|
+
* @param message Plain object to verify
|
|
13554
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13555
|
+
*/
|
|
13556
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13557
|
+
|
|
13558
|
+
/**
|
|
13559
|
+
* Creates a Condition message from a plain object. Also converts values to their respective internal types.
|
|
13560
|
+
* @param object Plain object
|
|
13561
|
+
* @returns Condition
|
|
13562
|
+
*/
|
|
13563
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
13564
|
+
|
|
13565
|
+
/**
|
|
13566
|
+
* Creates a plain object from a Condition message. Also converts values to other types if specified.
|
|
13567
|
+
* @param message Condition
|
|
13568
|
+
* @param [options] Conversion options
|
|
13569
|
+
* @returns Plain object
|
|
13570
|
+
*/
|
|
13571
|
+
public static toObject(message: google.privacy.dlp.v2.RecordCondition.Condition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13572
|
+
|
|
13573
|
+
/**
|
|
13574
|
+
* Converts this Condition to JSON.
|
|
13575
|
+
* @returns JSON object
|
|
13576
|
+
*/
|
|
13577
|
+
public toJSON(): { [k: string]: any };
|
|
13578
|
+
|
|
13579
|
+
/**
|
|
13580
|
+
* Gets the default type url for Condition
|
|
13581
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13582
|
+
* @returns The default type url
|
|
13583
|
+
*/
|
|
13584
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13585
|
+
}
|
|
13586
|
+
|
|
13587
|
+
/** Properties of a Conditions. */
|
|
13588
|
+
interface IConditions {
|
|
13589
|
+
|
|
13590
|
+
/** Conditions conditions */
|
|
13591
|
+
conditions?: (google.privacy.dlp.v2.RecordCondition.ICondition[]|null);
|
|
13592
|
+
}
|
|
13593
|
+
|
|
13594
|
+
/** Represents a Conditions. */
|
|
13595
|
+
class Conditions implements IConditions {
|
|
13596
|
+
|
|
13597
|
+
/**
|
|
13598
|
+
* Constructs a new Conditions.
|
|
13599
|
+
* @param [properties] Properties to set
|
|
13600
|
+
*/
|
|
13601
|
+
constructor(properties?: google.privacy.dlp.v2.RecordCondition.IConditions);
|
|
13602
|
+
|
|
13603
|
+
/** Conditions conditions. */
|
|
13604
|
+
public conditions: google.privacy.dlp.v2.RecordCondition.ICondition[];
|
|
13605
|
+
|
|
13606
|
+
/**
|
|
13607
|
+
* Creates a new Conditions instance using the specified properties.
|
|
13608
|
+
* @param [properties] Properties to set
|
|
13609
|
+
* @returns Conditions instance
|
|
13610
|
+
*/
|
|
13611
|
+
public static create(properties?: google.privacy.dlp.v2.RecordCondition.IConditions): google.privacy.dlp.v2.RecordCondition.Conditions;
|
|
13612
|
+
|
|
13613
|
+
/**
|
|
13614
|
+
* Encodes the specified Conditions message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Conditions.verify|verify} messages.
|
|
13615
|
+
* @param message Conditions message or plain object to encode
|
|
13616
|
+
* @param [writer] Writer to encode to
|
|
13617
|
+
* @returns Writer
|
|
13618
|
+
*/
|
|
13619
|
+
public static encode(message: google.privacy.dlp.v2.RecordCondition.IConditions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13620
|
+
|
|
13621
|
+
/**
|
|
13622
|
+
* Encodes the specified Conditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Conditions.verify|verify} messages.
|
|
13623
|
+
* @param message Conditions message or plain object to encode
|
|
13624
|
+
* @param [writer] Writer to encode to
|
|
13625
|
+
* @returns Writer
|
|
13626
|
+
*/
|
|
13627
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.IConditions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13628
|
+
|
|
13629
|
+
/**
|
|
13630
|
+
* Decodes a Conditions message from the specified reader or buffer.
|
|
13631
|
+
* @param reader Reader or buffer to decode from
|
|
13632
|
+
* @param [length] Message length if known beforehand
|
|
13633
|
+
* @returns Conditions
|
|
13634
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13635
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13636
|
+
*/
|
|
13637
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Conditions;
|
|
13638
|
+
|
|
13639
|
+
/**
|
|
13640
|
+
* Decodes a Conditions message from the specified reader or buffer, length delimited.
|
|
13641
|
+
* @param reader Reader or buffer to decode from
|
|
13642
|
+
* @returns Conditions
|
|
13643
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13644
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13645
|
+
*/
|
|
13646
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Conditions;
|
|
13647
|
+
|
|
13648
|
+
/**
|
|
13649
|
+
* Verifies a Conditions message.
|
|
13650
|
+
* @param message Plain object to verify
|
|
13651
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13652
|
+
*/
|
|
13653
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13654
|
+
|
|
13655
|
+
/**
|
|
13656
|
+
* Creates a Conditions message from a plain object. Also converts values to their respective internal types.
|
|
13657
|
+
* @param object Plain object
|
|
13658
|
+
* @returns Conditions
|
|
13659
|
+
*/
|
|
13660
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Conditions;
|
|
13661
|
+
|
|
13662
|
+
/**
|
|
13663
|
+
* Creates a plain object from a Conditions message. Also converts values to other types if specified.
|
|
13664
|
+
* @param message Conditions
|
|
13665
|
+
* @param [options] Conversion options
|
|
13666
|
+
* @returns Plain object
|
|
13667
|
+
*/
|
|
13668
|
+
public static toObject(message: google.privacy.dlp.v2.RecordCondition.Conditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13669
|
+
|
|
13670
|
+
/**
|
|
13671
|
+
* Converts this Conditions to JSON.
|
|
13672
|
+
* @returns JSON object
|
|
13673
|
+
*/
|
|
13674
|
+
public toJSON(): { [k: string]: any };
|
|
13675
|
+
|
|
13676
|
+
/**
|
|
13677
|
+
* Gets the default type url for Conditions
|
|
13678
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13679
|
+
* @returns The default type url
|
|
13680
|
+
*/
|
|
13681
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13682
|
+
}
|
|
13683
|
+
|
|
13684
|
+
/** Properties of an Expressions. */
|
|
13685
|
+
interface IExpressions {
|
|
13686
|
+
|
|
13687
|
+
/** Expressions logicalOperator */
|
|
13688
|
+
logicalOperator?: (google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator|keyof typeof google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator|null);
|
|
13689
|
+
|
|
13690
|
+
/** Expressions conditions */
|
|
13691
|
+
conditions?: (google.privacy.dlp.v2.RecordCondition.IConditions|null);
|
|
13692
|
+
}
|
|
13693
|
+
|
|
13694
|
+
/** Represents an Expressions. */
|
|
13695
|
+
class Expressions implements IExpressions {
|
|
13696
|
+
|
|
13697
|
+
/**
|
|
13698
|
+
* Constructs a new Expressions.
|
|
13699
|
+
* @param [properties] Properties to set
|
|
13700
|
+
*/
|
|
13701
|
+
constructor(properties?: google.privacy.dlp.v2.RecordCondition.IExpressions);
|
|
13702
|
+
|
|
13703
|
+
/** Expressions logicalOperator. */
|
|
13704
|
+
public logicalOperator: (google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator|keyof typeof google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator);
|
|
13705
|
+
|
|
13706
|
+
/** Expressions conditions. */
|
|
13707
|
+
public conditions?: (google.privacy.dlp.v2.RecordCondition.IConditions|null);
|
|
13708
|
+
|
|
13709
|
+
/** Expressions type. */
|
|
13710
|
+
public type?: "conditions";
|
|
13711
|
+
|
|
13712
|
+
/**
|
|
13713
|
+
* Creates a new Expressions instance using the specified properties.
|
|
13714
|
+
* @param [properties] Properties to set
|
|
13715
|
+
* @returns Expressions instance
|
|
13716
|
+
*/
|
|
13717
|
+
public static create(properties?: google.privacy.dlp.v2.RecordCondition.IExpressions): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
13718
|
+
|
|
13719
|
+
/**
|
|
13720
|
+
* Encodes the specified Expressions message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Expressions.verify|verify} messages.
|
|
13721
|
+
* @param message Expressions message or plain object to encode
|
|
13722
|
+
* @param [writer] Writer to encode to
|
|
13723
|
+
* @returns Writer
|
|
13724
|
+
*/
|
|
13725
|
+
public static encode(message: google.privacy.dlp.v2.RecordCondition.IExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13726
|
+
|
|
13727
|
+
/**
|
|
13728
|
+
* Encodes the specified Expressions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Expressions.verify|verify} messages.
|
|
13729
|
+
* @param message Expressions message or plain object to encode
|
|
13730
|
+
* @param [writer] Writer to encode to
|
|
13731
|
+
* @returns Writer
|
|
13732
|
+
*/
|
|
13733
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.IExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13734
|
+
|
|
13735
|
+
/**
|
|
13736
|
+
* Decodes an Expressions message from the specified reader or buffer.
|
|
13737
|
+
* @param reader Reader or buffer to decode from
|
|
13738
|
+
* @param [length] Message length if known beforehand
|
|
13739
|
+
* @returns Expressions
|
|
13740
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13741
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13742
|
+
*/
|
|
13743
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
13744
|
+
|
|
13745
|
+
/**
|
|
13746
|
+
* Decodes an Expressions message from the specified reader or buffer, length delimited.
|
|
13747
|
+
* @param reader Reader or buffer to decode from
|
|
13748
|
+
* @returns Expressions
|
|
13749
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13750
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13751
|
+
*/
|
|
13752
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
13753
|
+
|
|
13754
|
+
/**
|
|
13755
|
+
* Verifies an Expressions message.
|
|
13756
|
+
* @param message Plain object to verify
|
|
13757
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
13758
|
+
*/
|
|
13759
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13760
|
+
|
|
13761
|
+
/**
|
|
13762
|
+
* Creates an Expressions message from a plain object. Also converts values to their respective internal types.
|
|
13763
|
+
* @param object Plain object
|
|
13764
|
+
* @returns Expressions
|
|
13765
|
+
*/
|
|
13766
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
13767
|
+
|
|
13768
|
+
/**
|
|
13769
|
+
* Creates a plain object from an Expressions message. Also converts values to other types if specified.
|
|
13770
|
+
* @param message Expressions
|
|
13771
|
+
* @param [options] Conversion options
|
|
13772
|
+
* @returns Plain object
|
|
13773
|
+
*/
|
|
13774
|
+
public static toObject(message: google.privacy.dlp.v2.RecordCondition.Expressions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13775
|
+
|
|
13776
|
+
/**
|
|
13777
|
+
* Converts this Expressions to JSON.
|
|
13778
|
+
* @returns JSON object
|
|
13779
|
+
*/
|
|
13780
|
+
public toJSON(): { [k: string]: any };
|
|
13781
|
+
|
|
13782
|
+
/**
|
|
13783
|
+
* Gets the default type url for Expressions
|
|
13784
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13785
|
+
* @returns The default type url
|
|
13786
|
+
*/
|
|
13787
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13788
|
+
}
|
|
13789
|
+
|
|
13790
|
+
namespace Expressions {
|
|
13791
|
+
|
|
13792
|
+
/** LogicalOperator enum. */
|
|
13793
|
+
enum LogicalOperator {
|
|
13794
|
+
LOGICAL_OPERATOR_UNSPECIFIED = 0,
|
|
13795
|
+
AND = 1
|
|
13796
|
+
}
|
|
13797
|
+
}
|
|
13798
|
+
}
|
|
13799
|
+
|
|
13800
|
+
/** Properties of a TransformationOverview. */
|
|
13801
|
+
interface ITransformationOverview {
|
|
13802
|
+
|
|
13803
|
+
/** TransformationOverview transformedBytes */
|
|
13804
|
+
transformedBytes?: (number|Long|string|null);
|
|
13805
|
+
|
|
13806
|
+
/** TransformationOverview transformationSummaries */
|
|
13807
|
+
transformationSummaries?: (google.privacy.dlp.v2.ITransformationSummary[]|null);
|
|
13808
|
+
}
|
|
13809
|
+
|
|
13810
|
+
/** Represents a TransformationOverview. */
|
|
13811
|
+
class TransformationOverview implements ITransformationOverview {
|
|
13812
|
+
|
|
13813
|
+
/**
|
|
13814
|
+
* Constructs a new TransformationOverview.
|
|
13815
|
+
* @param [properties] Properties to set
|
|
13816
|
+
*/
|
|
13817
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationOverview);
|
|
13818
|
+
|
|
13819
|
+
/** TransformationOverview transformedBytes. */
|
|
13820
|
+
public transformedBytes: (number|Long|string);
|
|
13821
|
+
|
|
13822
|
+
/** TransformationOverview transformationSummaries. */
|
|
13823
|
+
public transformationSummaries: google.privacy.dlp.v2.ITransformationSummary[];
|
|
13824
|
+
|
|
13825
|
+
/**
|
|
13826
|
+
* Creates a new TransformationOverview instance using the specified properties.
|
|
13827
|
+
* @param [properties] Properties to set
|
|
13828
|
+
* @returns TransformationOverview instance
|
|
13829
|
+
*/
|
|
13830
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationOverview): google.privacy.dlp.v2.TransformationOverview;
|
|
13831
|
+
|
|
13832
|
+
/**
|
|
13833
|
+
* Encodes the specified TransformationOverview message. Does not implicitly {@link google.privacy.dlp.v2.TransformationOverview.verify|verify} messages.
|
|
13834
|
+
* @param message TransformationOverview message or plain object to encode
|
|
13835
|
+
* @param [writer] Writer to encode to
|
|
13836
|
+
* @returns Writer
|
|
13837
|
+
*/
|
|
13838
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationOverview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12700
13839
|
|
|
12701
13840
|
/**
|
|
12702
|
-
* Encodes the specified
|
|
12703
|
-
* @param message
|
|
13841
|
+
* Encodes the specified TransformationOverview message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationOverview.verify|verify} messages.
|
|
13842
|
+
* @param message TransformationOverview message or plain object to encode
|
|
12704
13843
|
* @param [writer] Writer to encode to
|
|
12705
13844
|
* @returns Writer
|
|
12706
13845
|
*/
|
|
12707
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
13846
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationOverview, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12708
13847
|
|
|
12709
13848
|
/**
|
|
12710
|
-
* Decodes a
|
|
13849
|
+
* Decodes a TransformationOverview message from the specified reader or buffer.
|
|
12711
13850
|
* @param reader Reader or buffer to decode from
|
|
12712
13851
|
* @param [length] Message length if known beforehand
|
|
12713
|
-
* @returns
|
|
13852
|
+
* @returns TransformationOverview
|
|
12714
13853
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12715
13854
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12716
13855
|
*/
|
|
12717
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
13856
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationOverview;
|
|
12718
13857
|
|
|
12719
13858
|
/**
|
|
12720
|
-
* Decodes a
|
|
13859
|
+
* Decodes a TransformationOverview message from the specified reader or buffer, length delimited.
|
|
12721
13860
|
* @param reader Reader or buffer to decode from
|
|
12722
|
-
* @returns
|
|
13861
|
+
* @returns TransformationOverview
|
|
12723
13862
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12724
13863
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12725
13864
|
*/
|
|
12726
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
13865
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationOverview;
|
|
12727
13866
|
|
|
12728
13867
|
/**
|
|
12729
|
-
* Verifies a
|
|
13868
|
+
* Verifies a TransformationOverview message.
|
|
12730
13869
|
* @param message Plain object to verify
|
|
12731
13870
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
12732
13871
|
*/
|
|
12733
13872
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
12734
13873
|
|
|
12735
13874
|
/**
|
|
12736
|
-
* Creates a
|
|
13875
|
+
* Creates a TransformationOverview message from a plain object. Also converts values to their respective internal types.
|
|
12737
13876
|
* @param object Plain object
|
|
12738
|
-
* @returns
|
|
13877
|
+
* @returns TransformationOverview
|
|
12739
13878
|
*/
|
|
12740
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
13879
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationOverview;
|
|
12741
13880
|
|
|
12742
13881
|
/**
|
|
12743
|
-
* Creates a plain object from a
|
|
12744
|
-
* @param message
|
|
13882
|
+
* Creates a plain object from a TransformationOverview message. Also converts values to other types if specified.
|
|
13883
|
+
* @param message TransformationOverview
|
|
12745
13884
|
* @param [options] Conversion options
|
|
12746
13885
|
* @returns Plain object
|
|
12747
13886
|
*/
|
|
12748
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
13887
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationOverview, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12749
13888
|
|
|
12750
13889
|
/**
|
|
12751
|
-
* Converts this
|
|
13890
|
+
* Converts this TransformationOverview to JSON.
|
|
12752
13891
|
* @returns JSON object
|
|
12753
13892
|
*/
|
|
12754
13893
|
public toJSON(): { [k: string]: any };
|
|
12755
13894
|
|
|
12756
13895
|
/**
|
|
12757
|
-
* Gets the default type url for
|
|
13896
|
+
* Gets the default type url for TransformationOverview
|
|
12758
13897
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12759
13898
|
* @returns The default type url
|
|
12760
13899
|
*/
|
|
12761
13900
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12762
13901
|
}
|
|
12763
13902
|
|
|
12764
|
-
/** Properties of a
|
|
12765
|
-
interface
|
|
13903
|
+
/** Properties of a TransformationSummary. */
|
|
13904
|
+
interface ITransformationSummary {
|
|
12766
13905
|
|
|
12767
|
-
/**
|
|
12768
|
-
|
|
13906
|
+
/** TransformationSummary infoType */
|
|
13907
|
+
infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
13908
|
+
|
|
13909
|
+
/** TransformationSummary field */
|
|
13910
|
+
field?: (google.privacy.dlp.v2.IFieldId|null);
|
|
13911
|
+
|
|
13912
|
+
/** TransformationSummary transformation */
|
|
13913
|
+
transformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
|
|
13914
|
+
|
|
13915
|
+
/** TransformationSummary fieldTransformations */
|
|
13916
|
+
fieldTransformations?: (google.privacy.dlp.v2.IFieldTransformation[]|null);
|
|
13917
|
+
|
|
13918
|
+
/** TransformationSummary recordSuppress */
|
|
13919
|
+
recordSuppress?: (google.privacy.dlp.v2.IRecordSuppression|null);
|
|
13920
|
+
|
|
13921
|
+
/** TransformationSummary results */
|
|
13922
|
+
results?: (google.privacy.dlp.v2.TransformationSummary.ISummaryResult[]|null);
|
|
13923
|
+
|
|
13924
|
+
/** TransformationSummary transformedBytes */
|
|
13925
|
+
transformedBytes?: (number|Long|string|null);
|
|
12769
13926
|
}
|
|
12770
13927
|
|
|
12771
|
-
/** Represents a
|
|
12772
|
-
class
|
|
13928
|
+
/** Represents a TransformationSummary. */
|
|
13929
|
+
class TransformationSummary implements ITransformationSummary {
|
|
12773
13930
|
|
|
12774
13931
|
/**
|
|
12775
|
-
* Constructs a new
|
|
13932
|
+
* Constructs a new TransformationSummary.
|
|
12776
13933
|
* @param [properties] Properties to set
|
|
12777
13934
|
*/
|
|
12778
|
-
constructor(properties?: google.privacy.dlp.v2.
|
|
13935
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationSummary);
|
|
12779
13936
|
|
|
12780
|
-
/**
|
|
12781
|
-
public
|
|
13937
|
+
/** TransformationSummary infoType. */
|
|
13938
|
+
public infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
13939
|
+
|
|
13940
|
+
/** TransformationSummary field. */
|
|
13941
|
+
public field?: (google.privacy.dlp.v2.IFieldId|null);
|
|
13942
|
+
|
|
13943
|
+
/** TransformationSummary transformation. */
|
|
13944
|
+
public transformation?: (google.privacy.dlp.v2.IPrimitiveTransformation|null);
|
|
13945
|
+
|
|
13946
|
+
/** TransformationSummary fieldTransformations. */
|
|
13947
|
+
public fieldTransformations: google.privacy.dlp.v2.IFieldTransformation[];
|
|
13948
|
+
|
|
13949
|
+
/** TransformationSummary recordSuppress. */
|
|
13950
|
+
public recordSuppress?: (google.privacy.dlp.v2.IRecordSuppression|null);
|
|
13951
|
+
|
|
13952
|
+
/** TransformationSummary results. */
|
|
13953
|
+
public results: google.privacy.dlp.v2.TransformationSummary.ISummaryResult[];
|
|
13954
|
+
|
|
13955
|
+
/** TransformationSummary transformedBytes. */
|
|
13956
|
+
public transformedBytes: (number|Long|string);
|
|
12782
13957
|
|
|
12783
13958
|
/**
|
|
12784
|
-
* Creates a new
|
|
13959
|
+
* Creates a new TransformationSummary instance using the specified properties.
|
|
12785
13960
|
* @param [properties] Properties to set
|
|
12786
|
-
* @returns
|
|
13961
|
+
* @returns TransformationSummary instance
|
|
12787
13962
|
*/
|
|
12788
|
-
public static create(properties?: google.privacy.dlp.v2.
|
|
13963
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationSummary): google.privacy.dlp.v2.TransformationSummary;
|
|
12789
13964
|
|
|
12790
13965
|
/**
|
|
12791
|
-
* Encodes the specified
|
|
12792
|
-
* @param message
|
|
13966
|
+
* Encodes the specified TransformationSummary message. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.verify|verify} messages.
|
|
13967
|
+
* @param message TransformationSummary message or plain object to encode
|
|
12793
13968
|
* @param [writer] Writer to encode to
|
|
12794
13969
|
* @returns Writer
|
|
12795
13970
|
*/
|
|
12796
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
13971
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12797
13972
|
|
|
12798
13973
|
/**
|
|
12799
|
-
* Encodes the specified
|
|
12800
|
-
* @param message
|
|
13974
|
+
* Encodes the specified TransformationSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.verify|verify} messages.
|
|
13975
|
+
* @param message TransformationSummary message or plain object to encode
|
|
12801
13976
|
* @param [writer] Writer to encode to
|
|
12802
13977
|
* @returns Writer
|
|
12803
13978
|
*/
|
|
12804
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
13979
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationSummary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12805
13980
|
|
|
12806
13981
|
/**
|
|
12807
|
-
* Decodes a
|
|
13982
|
+
* Decodes a TransformationSummary message from the specified reader or buffer.
|
|
12808
13983
|
* @param reader Reader or buffer to decode from
|
|
12809
13984
|
* @param [length] Message length if known beforehand
|
|
12810
|
-
* @returns
|
|
13985
|
+
* @returns TransformationSummary
|
|
12811
13986
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12812
13987
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12813
13988
|
*/
|
|
12814
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
13989
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationSummary;
|
|
12815
13990
|
|
|
12816
13991
|
/**
|
|
12817
|
-
* Decodes a
|
|
13992
|
+
* Decodes a TransformationSummary message from the specified reader or buffer, length delimited.
|
|
12818
13993
|
* @param reader Reader or buffer to decode from
|
|
12819
|
-
* @returns
|
|
13994
|
+
* @returns TransformationSummary
|
|
12820
13995
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12821
13996
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12822
13997
|
*/
|
|
12823
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
13998
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationSummary;
|
|
12824
13999
|
|
|
12825
14000
|
/**
|
|
12826
|
-
* Verifies a
|
|
14001
|
+
* Verifies a TransformationSummary message.
|
|
12827
14002
|
* @param message Plain object to verify
|
|
12828
14003
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
12829
14004
|
*/
|
|
12830
14005
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
12831
14006
|
|
|
12832
14007
|
/**
|
|
12833
|
-
* Creates a
|
|
14008
|
+
* Creates a TransformationSummary message from a plain object. Also converts values to their respective internal types.
|
|
12834
14009
|
* @param object Plain object
|
|
12835
|
-
* @returns
|
|
14010
|
+
* @returns TransformationSummary
|
|
12836
14011
|
*/
|
|
12837
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
14012
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationSummary;
|
|
12838
14013
|
|
|
12839
14014
|
/**
|
|
12840
|
-
* Creates a plain object from a
|
|
12841
|
-
* @param message
|
|
14015
|
+
* Creates a plain object from a TransformationSummary message. Also converts values to other types if specified.
|
|
14016
|
+
* @param message TransformationSummary
|
|
12842
14017
|
* @param [options] Conversion options
|
|
12843
14018
|
* @returns Plain object
|
|
12844
14019
|
*/
|
|
12845
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
14020
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationSummary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12846
14021
|
|
|
12847
14022
|
/**
|
|
12848
|
-
* Converts this
|
|
14023
|
+
* Converts this TransformationSummary to JSON.
|
|
12849
14024
|
* @returns JSON object
|
|
12850
14025
|
*/
|
|
12851
14026
|
public toJSON(): { [k: string]: any };
|
|
12852
14027
|
|
|
12853
14028
|
/**
|
|
12854
|
-
* Gets the default type url for
|
|
14029
|
+
* Gets the default type url for TransformationSummary
|
|
12855
14030
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12856
14031
|
* @returns The default type url
|
|
12857
14032
|
*/
|
|
12858
14033
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12859
14034
|
}
|
|
12860
14035
|
|
|
12861
|
-
namespace
|
|
12862
|
-
|
|
12863
|
-
/** Properties of a Condition. */
|
|
12864
|
-
interface ICondition {
|
|
12865
|
-
|
|
12866
|
-
/** Condition field */
|
|
12867
|
-
field?: (google.privacy.dlp.v2.IFieldId|null);
|
|
12868
|
-
|
|
12869
|
-
/** Condition operator */
|
|
12870
|
-
operator?: (google.privacy.dlp.v2.RelationalOperator|keyof typeof google.privacy.dlp.v2.RelationalOperator|null);
|
|
12871
|
-
|
|
12872
|
-
/** Condition value */
|
|
12873
|
-
value?: (google.privacy.dlp.v2.IValue|null);
|
|
12874
|
-
}
|
|
12875
|
-
|
|
12876
|
-
/** Represents a Condition. */
|
|
12877
|
-
class Condition implements ICondition {
|
|
12878
|
-
|
|
12879
|
-
/**
|
|
12880
|
-
* Constructs a new Condition.
|
|
12881
|
-
* @param [properties] Properties to set
|
|
12882
|
-
*/
|
|
12883
|
-
constructor(properties?: google.privacy.dlp.v2.RecordCondition.ICondition);
|
|
12884
|
-
|
|
12885
|
-
/** Condition field. */
|
|
12886
|
-
public field?: (google.privacy.dlp.v2.IFieldId|null);
|
|
12887
|
-
|
|
12888
|
-
/** Condition operator. */
|
|
12889
|
-
public operator: (google.privacy.dlp.v2.RelationalOperator|keyof typeof google.privacy.dlp.v2.RelationalOperator);
|
|
12890
|
-
|
|
12891
|
-
/** Condition value. */
|
|
12892
|
-
public value?: (google.privacy.dlp.v2.IValue|null);
|
|
12893
|
-
|
|
12894
|
-
/**
|
|
12895
|
-
* Creates a new Condition instance using the specified properties.
|
|
12896
|
-
* @param [properties] Properties to set
|
|
12897
|
-
* @returns Condition instance
|
|
12898
|
-
*/
|
|
12899
|
-
public static create(properties?: google.privacy.dlp.v2.RecordCondition.ICondition): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
12900
|
-
|
|
12901
|
-
/**
|
|
12902
|
-
* Encodes the specified Condition message. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Condition.verify|verify} messages.
|
|
12903
|
-
* @param message Condition message or plain object to encode
|
|
12904
|
-
* @param [writer] Writer to encode to
|
|
12905
|
-
* @returns Writer
|
|
12906
|
-
*/
|
|
12907
|
-
public static encode(message: google.privacy.dlp.v2.RecordCondition.ICondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12908
|
-
|
|
12909
|
-
/**
|
|
12910
|
-
* Encodes the specified Condition message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordCondition.Condition.verify|verify} messages.
|
|
12911
|
-
* @param message Condition message or plain object to encode
|
|
12912
|
-
* @param [writer] Writer to encode to
|
|
12913
|
-
* @returns Writer
|
|
12914
|
-
*/
|
|
12915
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.ICondition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12916
|
-
|
|
12917
|
-
/**
|
|
12918
|
-
* Decodes a Condition message from the specified reader or buffer.
|
|
12919
|
-
* @param reader Reader or buffer to decode from
|
|
12920
|
-
* @param [length] Message length if known beforehand
|
|
12921
|
-
* @returns Condition
|
|
12922
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12923
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12924
|
-
*/
|
|
12925
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
12926
|
-
|
|
12927
|
-
/**
|
|
12928
|
-
* Decodes a Condition message from the specified reader or buffer, length delimited.
|
|
12929
|
-
* @param reader Reader or buffer to decode from
|
|
12930
|
-
* @returns Condition
|
|
12931
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12932
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12933
|
-
*/
|
|
12934
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
12935
|
-
|
|
12936
|
-
/**
|
|
12937
|
-
* Verifies a Condition message.
|
|
12938
|
-
* @param message Plain object to verify
|
|
12939
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
12940
|
-
*/
|
|
12941
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
12942
|
-
|
|
12943
|
-
/**
|
|
12944
|
-
* Creates a Condition message from a plain object. Also converts values to their respective internal types.
|
|
12945
|
-
* @param object Plain object
|
|
12946
|
-
* @returns Condition
|
|
12947
|
-
*/
|
|
12948
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordCondition.Condition;
|
|
12949
|
-
|
|
12950
|
-
/**
|
|
12951
|
-
* Creates a plain object from a Condition message. Also converts values to other types if specified.
|
|
12952
|
-
* @param message Condition
|
|
12953
|
-
* @param [options] Conversion options
|
|
12954
|
-
* @returns Plain object
|
|
12955
|
-
*/
|
|
12956
|
-
public static toObject(message: google.privacy.dlp.v2.RecordCondition.Condition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12957
|
-
|
|
12958
|
-
/**
|
|
12959
|
-
* Converts this Condition to JSON.
|
|
12960
|
-
* @returns JSON object
|
|
12961
|
-
*/
|
|
12962
|
-
public toJSON(): { [k: string]: any };
|
|
14036
|
+
namespace TransformationSummary {
|
|
12963
14037
|
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12969
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14038
|
+
/** TransformationResultCode enum. */
|
|
14039
|
+
enum TransformationResultCode {
|
|
14040
|
+
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0,
|
|
14041
|
+
SUCCESS = 1,
|
|
14042
|
+
ERROR = 2
|
|
12970
14043
|
}
|
|
12971
14044
|
|
|
12972
|
-
/** Properties of a
|
|
12973
|
-
interface
|
|
14045
|
+
/** Properties of a SummaryResult. */
|
|
14046
|
+
interface ISummaryResult {
|
|
12974
14047
|
|
|
12975
|
-
/**
|
|
12976
|
-
|
|
14048
|
+
/** SummaryResult count */
|
|
14049
|
+
count?: (number|Long|string|null);
|
|
14050
|
+
|
|
14051
|
+
/** SummaryResult code */
|
|
14052
|
+
code?: (google.privacy.dlp.v2.TransformationSummary.TransformationResultCode|keyof typeof google.privacy.dlp.v2.TransformationSummary.TransformationResultCode|null);
|
|
14053
|
+
|
|
14054
|
+
/** SummaryResult details */
|
|
14055
|
+
details?: (string|null);
|
|
12977
14056
|
}
|
|
12978
14057
|
|
|
12979
|
-
/** Represents a
|
|
12980
|
-
class
|
|
14058
|
+
/** Represents a SummaryResult. */
|
|
14059
|
+
class SummaryResult implements ISummaryResult {
|
|
12981
14060
|
|
|
12982
14061
|
/**
|
|
12983
|
-
* Constructs a new
|
|
14062
|
+
* Constructs a new SummaryResult.
|
|
12984
14063
|
* @param [properties] Properties to set
|
|
12985
14064
|
*/
|
|
12986
|
-
constructor(properties?: google.privacy.dlp.v2.
|
|
14065
|
+
constructor(properties?: google.privacy.dlp.v2.TransformationSummary.ISummaryResult);
|
|
12987
14066
|
|
|
12988
|
-
/**
|
|
12989
|
-
public
|
|
14067
|
+
/** SummaryResult count. */
|
|
14068
|
+
public count: (number|Long|string);
|
|
14069
|
+
|
|
14070
|
+
/** SummaryResult code. */
|
|
14071
|
+
public code: (google.privacy.dlp.v2.TransformationSummary.TransformationResultCode|keyof typeof google.privacy.dlp.v2.TransformationSummary.TransformationResultCode);
|
|
14072
|
+
|
|
14073
|
+
/** SummaryResult details. */
|
|
14074
|
+
public details: string;
|
|
12990
14075
|
|
|
12991
14076
|
/**
|
|
12992
|
-
* Creates a new
|
|
14077
|
+
* Creates a new SummaryResult instance using the specified properties.
|
|
12993
14078
|
* @param [properties] Properties to set
|
|
12994
|
-
* @returns
|
|
14079
|
+
* @returns SummaryResult instance
|
|
12995
14080
|
*/
|
|
12996
|
-
public static create(properties?: google.privacy.dlp.v2.
|
|
14081
|
+
public static create(properties?: google.privacy.dlp.v2.TransformationSummary.ISummaryResult): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
|
|
12997
14082
|
|
|
12998
14083
|
/**
|
|
12999
|
-
* Encodes the specified
|
|
13000
|
-
* @param message
|
|
14084
|
+
* Encodes the specified SummaryResult message. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.SummaryResult.verify|verify} messages.
|
|
14085
|
+
* @param message SummaryResult message or plain object to encode
|
|
13001
14086
|
* @param [writer] Writer to encode to
|
|
13002
14087
|
* @returns Writer
|
|
13003
14088
|
*/
|
|
13004
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
14089
|
+
public static encode(message: google.privacy.dlp.v2.TransformationSummary.ISummaryResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13005
14090
|
|
|
13006
14091
|
/**
|
|
13007
|
-
* Encodes the specified
|
|
13008
|
-
* @param message
|
|
14092
|
+
* Encodes the specified SummaryResult message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationSummary.SummaryResult.verify|verify} messages.
|
|
14093
|
+
* @param message SummaryResult message or plain object to encode
|
|
13009
14094
|
* @param [writer] Writer to encode to
|
|
13010
14095
|
* @returns Writer
|
|
13011
14096
|
*/
|
|
13012
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
14097
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.TransformationSummary.ISummaryResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13013
14098
|
|
|
13014
14099
|
/**
|
|
13015
|
-
* Decodes a
|
|
14100
|
+
* Decodes a SummaryResult message from the specified reader or buffer.
|
|
13016
14101
|
* @param reader Reader or buffer to decode from
|
|
13017
14102
|
* @param [length] Message length if known beforehand
|
|
13018
|
-
* @returns
|
|
14103
|
+
* @returns SummaryResult
|
|
13019
14104
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13020
14105
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13021
14106
|
*/
|
|
13022
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
14107
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
|
|
13023
14108
|
|
|
13024
14109
|
/**
|
|
13025
|
-
* Decodes a
|
|
14110
|
+
* Decodes a SummaryResult message from the specified reader or buffer, length delimited.
|
|
13026
14111
|
* @param reader Reader or buffer to decode from
|
|
13027
|
-
* @returns
|
|
14112
|
+
* @returns SummaryResult
|
|
13028
14113
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13029
14114
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13030
14115
|
*/
|
|
13031
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
14116
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
|
|
13032
14117
|
|
|
13033
14118
|
/**
|
|
13034
|
-
* Verifies a
|
|
14119
|
+
* Verifies a SummaryResult message.
|
|
13035
14120
|
* @param message Plain object to verify
|
|
13036
14121
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
13037
14122
|
*/
|
|
13038
14123
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
13039
14124
|
|
|
13040
14125
|
/**
|
|
13041
|
-
* Creates a
|
|
14126
|
+
* Creates a SummaryResult message from a plain object. Also converts values to their respective internal types.
|
|
13042
14127
|
* @param object Plain object
|
|
13043
|
-
* @returns
|
|
14128
|
+
* @returns SummaryResult
|
|
13044
14129
|
*/
|
|
13045
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
14130
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationSummary.SummaryResult;
|
|
13046
14131
|
|
|
13047
14132
|
/**
|
|
13048
|
-
* Creates a plain object from a
|
|
13049
|
-
* @param message
|
|
14133
|
+
* Creates a plain object from a SummaryResult message. Also converts values to other types if specified.
|
|
14134
|
+
* @param message SummaryResult
|
|
13050
14135
|
* @param [options] Conversion options
|
|
13051
14136
|
* @returns Plain object
|
|
13052
14137
|
*/
|
|
13053
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
14138
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationSummary.SummaryResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13054
14139
|
|
|
13055
14140
|
/**
|
|
13056
|
-
* Converts this
|
|
14141
|
+
* Converts this SummaryResult to JSON.
|
|
13057
14142
|
* @returns JSON object
|
|
13058
14143
|
*/
|
|
13059
14144
|
public toJSON(): { [k: string]: any };
|
|
13060
14145
|
|
|
13061
14146
|
/**
|
|
13062
|
-
* Gets the default type url for
|
|
14147
|
+
* Gets the default type url for SummaryResult
|
|
13063
14148
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13064
14149
|
* @returns The default type url
|
|
13065
14150
|
*/
|
|
13066
14151
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13067
14152
|
}
|
|
14153
|
+
}
|
|
13068
14154
|
|
|
13069
|
-
|
|
13070
|
-
|
|
14155
|
+
/** Properties of a TransformationDescription. */
|
|
14156
|
+
interface ITransformationDescription {
|
|
13071
14157
|
|
|
13072
|
-
|
|
13073
|
-
|
|
14158
|
+
/** TransformationDescription type */
|
|
14159
|
+
type?: (google.privacy.dlp.v2.TransformationType|keyof typeof google.privacy.dlp.v2.TransformationType|null);
|
|
13074
14160
|
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
}
|
|
14161
|
+
/** TransformationDescription description */
|
|
14162
|
+
description?: (string|null);
|
|
13078
14163
|
|
|
13079
|
-
/**
|
|
13080
|
-
|
|
14164
|
+
/** TransformationDescription condition */
|
|
14165
|
+
condition?: (string|null);
|
|
13081
14166
|
|
|
13082
|
-
|
|
13083
|
-
|
|
13084
|
-
|
|
13085
|
-
*/
|
|
13086
|
-
constructor(properties?: google.privacy.dlp.v2.RecordCondition.IExpressions);
|
|
14167
|
+
/** TransformationDescription infoType */
|
|
14168
|
+
infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
14169
|
+
}
|
|
13087
14170
|
|
|
13088
|
-
|
|
13089
|
-
|
|
14171
|
+
/** Represents a TransformationDescription. */
|
|
14172
|
+
class TransformationDescription implements ITransformationDescription {
|
|
13090
14173
|
|
|
13091
|
-
|
|
13092
|
-
|
|
14174
|
+
/**
|
|
14175
|
+
* Constructs a new TransformationDescription.
|
|
14176
|
+
* @param [properties] Properties to set
|
|
14177
|
+
*/
|
|
14178
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationDescription);
|
|
13093
14179
|
|
|
13094
|
-
|
|
13095
|
-
|
|
14180
|
+
/** TransformationDescription type. */
|
|
14181
|
+
public type: (google.privacy.dlp.v2.TransformationType|keyof typeof google.privacy.dlp.v2.TransformationType);
|
|
13096
14182
|
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
* @param [properties] Properties to set
|
|
13100
|
-
* @returns Expressions instance
|
|
13101
|
-
*/
|
|
13102
|
-
public static create(properties?: google.privacy.dlp.v2.RecordCondition.IExpressions): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
14183
|
+
/** TransformationDescription description. */
|
|
14184
|
+
public description: string;
|
|
13103
14185
|
|
|
13104
|
-
|
|
13105
|
-
|
|
13106
|
-
* @param message Expressions message or plain object to encode
|
|
13107
|
-
* @param [writer] Writer to encode to
|
|
13108
|
-
* @returns Writer
|
|
13109
|
-
*/
|
|
13110
|
-
public static encode(message: google.privacy.dlp.v2.RecordCondition.IExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14186
|
+
/** TransformationDescription condition. */
|
|
14187
|
+
public condition: string;
|
|
13111
14188
|
|
|
13112
|
-
|
|
13113
|
-
|
|
13114
|
-
* @param message Expressions message or plain object to encode
|
|
13115
|
-
* @param [writer] Writer to encode to
|
|
13116
|
-
* @returns Writer
|
|
13117
|
-
*/
|
|
13118
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.RecordCondition.IExpressions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14189
|
+
/** TransformationDescription infoType. */
|
|
14190
|
+
public infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
13119
14191
|
|
|
13120
|
-
|
|
13121
|
-
|
|
13122
|
-
|
|
13123
|
-
|
|
13124
|
-
|
|
13125
|
-
|
|
13126
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13127
|
-
*/
|
|
13128
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
14192
|
+
/**
|
|
14193
|
+
* Creates a new TransformationDescription instance using the specified properties.
|
|
14194
|
+
* @param [properties] Properties to set
|
|
14195
|
+
* @returns TransformationDescription instance
|
|
14196
|
+
*/
|
|
14197
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationDescription): google.privacy.dlp.v2.TransformationDescription;
|
|
13129
14198
|
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordCondition.Expressions;
|
|
14199
|
+
/**
|
|
14200
|
+
* Encodes the specified TransformationDescription message. Does not implicitly {@link google.privacy.dlp.v2.TransformationDescription.verify|verify} messages.
|
|
14201
|
+
* @param message TransformationDescription message or plain object to encode
|
|
14202
|
+
* @param [writer] Writer to encode to
|
|
14203
|
+
* @returns Writer
|
|
14204
|
+
*/
|
|
14205
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationDescription, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13138
14206
|
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
-
|
|
14207
|
+
/**
|
|
14208
|
+
* Encodes the specified TransformationDescription message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationDescription.verify|verify} messages.
|
|
14209
|
+
* @param message TransformationDescription message or plain object to encode
|
|
14210
|
+
* @param [writer] Writer to encode to
|
|
14211
|
+
* @returns Writer
|
|
14212
|
+
*/
|
|
14213
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationDescription, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13145
14214
|
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
14215
|
+
/**
|
|
14216
|
+
* Decodes a TransformationDescription message from the specified reader or buffer.
|
|
14217
|
+
* @param reader Reader or buffer to decode from
|
|
14218
|
+
* @param [length] Message length if known beforehand
|
|
14219
|
+
* @returns TransformationDescription
|
|
14220
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14221
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14222
|
+
*/
|
|
14223
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationDescription;
|
|
14224
|
+
|
|
14225
|
+
/**
|
|
14226
|
+
* Decodes a TransformationDescription message from the specified reader or buffer, length delimited.
|
|
14227
|
+
* @param reader Reader or buffer to decode from
|
|
14228
|
+
* @returns TransformationDescription
|
|
14229
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14230
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14231
|
+
*/
|
|
14232
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationDescription;
|
|
14233
|
+
|
|
14234
|
+
/**
|
|
14235
|
+
* Verifies a TransformationDescription message.
|
|
14236
|
+
* @param message Plain object to verify
|
|
14237
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14238
|
+
*/
|
|
14239
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14240
|
+
|
|
14241
|
+
/**
|
|
14242
|
+
* Creates a TransformationDescription message from a plain object. Also converts values to their respective internal types.
|
|
14243
|
+
* @param object Plain object
|
|
14244
|
+
* @returns TransformationDescription
|
|
14245
|
+
*/
|
|
14246
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationDescription;
|
|
14247
|
+
|
|
14248
|
+
/**
|
|
14249
|
+
* Creates a plain object from a TransformationDescription message. Also converts values to other types if specified.
|
|
14250
|
+
* @param message TransformationDescription
|
|
14251
|
+
* @param [options] Conversion options
|
|
14252
|
+
* @returns Plain object
|
|
14253
|
+
*/
|
|
14254
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationDescription, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14255
|
+
|
|
14256
|
+
/**
|
|
14257
|
+
* Converts this TransformationDescription to JSON.
|
|
14258
|
+
* @returns JSON object
|
|
14259
|
+
*/
|
|
14260
|
+
public toJSON(): { [k: string]: any };
|
|
14261
|
+
|
|
14262
|
+
/**
|
|
14263
|
+
* Gets the default type url for TransformationDescription
|
|
14264
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14265
|
+
* @returns The default type url
|
|
14266
|
+
*/
|
|
14267
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14268
|
+
}
|
|
14269
|
+
|
|
14270
|
+
/** Properties of a TransformationDetails. */
|
|
14271
|
+
interface ITransformationDetails {
|
|
14272
|
+
|
|
14273
|
+
/** TransformationDetails resourceName */
|
|
14274
|
+
resourceName?: (string|null);
|
|
14275
|
+
|
|
14276
|
+
/** TransformationDetails containerName */
|
|
14277
|
+
containerName?: (string|null);
|
|
14278
|
+
|
|
14279
|
+
/** TransformationDetails transformation */
|
|
14280
|
+
transformation?: (google.privacy.dlp.v2.ITransformationDescription[]|null);
|
|
14281
|
+
|
|
14282
|
+
/** TransformationDetails statusDetails */
|
|
14283
|
+
statusDetails?: (google.privacy.dlp.v2.ITransformationResultStatus|null);
|
|
14284
|
+
|
|
14285
|
+
/** TransformationDetails transformedBytes */
|
|
14286
|
+
transformedBytes?: (number|Long|string|null);
|
|
14287
|
+
|
|
14288
|
+
/** TransformationDetails transformationLocation */
|
|
14289
|
+
transformationLocation?: (google.privacy.dlp.v2.ITransformationLocation|null);
|
|
14290
|
+
}
|
|
14291
|
+
|
|
14292
|
+
/** Represents a TransformationDetails. */
|
|
14293
|
+
class TransformationDetails implements ITransformationDetails {
|
|
14294
|
+
|
|
14295
|
+
/**
|
|
14296
|
+
* Constructs a new TransformationDetails.
|
|
14297
|
+
* @param [properties] Properties to set
|
|
14298
|
+
*/
|
|
14299
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationDetails);
|
|
14300
|
+
|
|
14301
|
+
/** TransformationDetails resourceName. */
|
|
14302
|
+
public resourceName: string;
|
|
14303
|
+
|
|
14304
|
+
/** TransformationDetails containerName. */
|
|
14305
|
+
public containerName: string;
|
|
14306
|
+
|
|
14307
|
+
/** TransformationDetails transformation. */
|
|
14308
|
+
public transformation: google.privacy.dlp.v2.ITransformationDescription[];
|
|
14309
|
+
|
|
14310
|
+
/** TransformationDetails statusDetails. */
|
|
14311
|
+
public statusDetails?: (google.privacy.dlp.v2.ITransformationResultStatus|null);
|
|
14312
|
+
|
|
14313
|
+
/** TransformationDetails transformedBytes. */
|
|
14314
|
+
public transformedBytes: (number|Long|string);
|
|
14315
|
+
|
|
14316
|
+
/** TransformationDetails transformationLocation. */
|
|
14317
|
+
public transformationLocation?: (google.privacy.dlp.v2.ITransformationLocation|null);
|
|
14318
|
+
|
|
14319
|
+
/**
|
|
14320
|
+
* Creates a new TransformationDetails instance using the specified properties.
|
|
14321
|
+
* @param [properties] Properties to set
|
|
14322
|
+
* @returns TransformationDetails instance
|
|
14323
|
+
*/
|
|
14324
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationDetails): google.privacy.dlp.v2.TransformationDetails;
|
|
14325
|
+
|
|
14326
|
+
/**
|
|
14327
|
+
* Encodes the specified TransformationDetails message. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetails.verify|verify} messages.
|
|
14328
|
+
* @param message TransformationDetails message or plain object to encode
|
|
14329
|
+
* @param [writer] Writer to encode to
|
|
14330
|
+
* @returns Writer
|
|
14331
|
+
*/
|
|
14332
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14333
|
+
|
|
14334
|
+
/**
|
|
14335
|
+
* Encodes the specified TransformationDetails message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetails.verify|verify} messages.
|
|
14336
|
+
* @param message TransformationDetails message or plain object to encode
|
|
14337
|
+
* @param [writer] Writer to encode to
|
|
14338
|
+
* @returns Writer
|
|
14339
|
+
*/
|
|
14340
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14341
|
+
|
|
14342
|
+
/**
|
|
14343
|
+
* Decodes a TransformationDetails message from the specified reader or buffer.
|
|
14344
|
+
* @param reader Reader or buffer to decode from
|
|
14345
|
+
* @param [length] Message length if known beforehand
|
|
14346
|
+
* @returns TransformationDetails
|
|
14347
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14348
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14349
|
+
*/
|
|
14350
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationDetails;
|
|
14351
|
+
|
|
14352
|
+
/**
|
|
14353
|
+
* Decodes a TransformationDetails message from the specified reader or buffer, length delimited.
|
|
14354
|
+
* @param reader Reader or buffer to decode from
|
|
14355
|
+
* @returns TransformationDetails
|
|
14356
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14357
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14358
|
+
*/
|
|
14359
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationDetails;
|
|
13152
14360
|
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
public static toObject(message: google.privacy.dlp.v2.RecordCondition.Expressions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14361
|
+
/**
|
|
14362
|
+
* Verifies a TransformationDetails message.
|
|
14363
|
+
* @param message Plain object to verify
|
|
14364
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14365
|
+
*/
|
|
14366
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13160
14367
|
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
14368
|
+
/**
|
|
14369
|
+
* Creates a TransformationDetails message from a plain object. Also converts values to their respective internal types.
|
|
14370
|
+
* @param object Plain object
|
|
14371
|
+
* @returns TransformationDetails
|
|
14372
|
+
*/
|
|
14373
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationDetails;
|
|
13166
14374
|
|
|
13167
|
-
|
|
13168
|
-
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
|
|
13172
|
-
|
|
13173
|
-
}
|
|
14375
|
+
/**
|
|
14376
|
+
* Creates a plain object from a TransformationDetails message. Also converts values to other types if specified.
|
|
14377
|
+
* @param message TransformationDetails
|
|
14378
|
+
* @param [options] Conversion options
|
|
14379
|
+
* @returns Plain object
|
|
14380
|
+
*/
|
|
14381
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13174
14382
|
|
|
13175
|
-
|
|
14383
|
+
/**
|
|
14384
|
+
* Converts this TransformationDetails to JSON.
|
|
14385
|
+
* @returns JSON object
|
|
14386
|
+
*/
|
|
14387
|
+
public toJSON(): { [k: string]: any };
|
|
13176
14388
|
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
14389
|
+
/**
|
|
14390
|
+
* Gets the default type url for TransformationDetails
|
|
14391
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14392
|
+
* @returns The default type url
|
|
14393
|
+
*/
|
|
14394
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13183
14395
|
}
|
|
13184
14396
|
|
|
13185
|
-
/** Properties of a
|
|
13186
|
-
interface
|
|
14397
|
+
/** Properties of a TransformationLocation. */
|
|
14398
|
+
interface ITransformationLocation {
|
|
13187
14399
|
|
|
13188
|
-
/**
|
|
13189
|
-
|
|
14400
|
+
/** TransformationLocation findingId */
|
|
14401
|
+
findingId?: (string|null);
|
|
13190
14402
|
|
|
13191
|
-
/**
|
|
13192
|
-
|
|
14403
|
+
/** TransformationLocation recordTransformation */
|
|
14404
|
+
recordTransformation?: (google.privacy.dlp.v2.IRecordTransformation|null);
|
|
14405
|
+
|
|
14406
|
+
/** TransformationLocation containerType */
|
|
14407
|
+
containerType?: (google.privacy.dlp.v2.TransformationContainerType|keyof typeof google.privacy.dlp.v2.TransformationContainerType|null);
|
|
13193
14408
|
}
|
|
13194
14409
|
|
|
13195
|
-
/** Represents a
|
|
13196
|
-
class
|
|
14410
|
+
/** Represents a TransformationLocation. */
|
|
14411
|
+
class TransformationLocation implements ITransformationLocation {
|
|
13197
14412
|
|
|
13198
14413
|
/**
|
|
13199
|
-
* Constructs a new
|
|
14414
|
+
* Constructs a new TransformationLocation.
|
|
13200
14415
|
* @param [properties] Properties to set
|
|
13201
14416
|
*/
|
|
13202
|
-
constructor(properties?: google.privacy.dlp.v2.
|
|
14417
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationLocation);
|
|
13203
14418
|
|
|
13204
|
-
/**
|
|
13205
|
-
public
|
|
14419
|
+
/** TransformationLocation findingId. */
|
|
14420
|
+
public findingId?: (string|null);
|
|
13206
14421
|
|
|
13207
|
-
/**
|
|
13208
|
-
public
|
|
14422
|
+
/** TransformationLocation recordTransformation. */
|
|
14423
|
+
public recordTransformation?: (google.privacy.dlp.v2.IRecordTransformation|null);
|
|
14424
|
+
|
|
14425
|
+
/** TransformationLocation containerType. */
|
|
14426
|
+
public containerType: (google.privacy.dlp.v2.TransformationContainerType|keyof typeof google.privacy.dlp.v2.TransformationContainerType);
|
|
14427
|
+
|
|
14428
|
+
/** TransformationLocation locationType. */
|
|
14429
|
+
public locationType?: ("findingId"|"recordTransformation");
|
|
13209
14430
|
|
|
13210
14431
|
/**
|
|
13211
|
-
* Creates a new
|
|
14432
|
+
* Creates a new TransformationLocation instance using the specified properties.
|
|
13212
14433
|
* @param [properties] Properties to set
|
|
13213
|
-
* @returns
|
|
14434
|
+
* @returns TransformationLocation instance
|
|
13214
14435
|
*/
|
|
13215
|
-
public static create(properties?: google.privacy.dlp.v2.
|
|
14436
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationLocation): google.privacy.dlp.v2.TransformationLocation;
|
|
13216
14437
|
|
|
13217
14438
|
/**
|
|
13218
|
-
* Encodes the specified
|
|
13219
|
-
* @param message
|
|
14439
|
+
* Encodes the specified TransformationLocation message. Does not implicitly {@link google.privacy.dlp.v2.TransformationLocation.verify|verify} messages.
|
|
14440
|
+
* @param message TransformationLocation message or plain object to encode
|
|
13220
14441
|
* @param [writer] Writer to encode to
|
|
13221
14442
|
* @returns Writer
|
|
13222
14443
|
*/
|
|
13223
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
14444
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13224
14445
|
|
|
13225
14446
|
/**
|
|
13226
|
-
* Encodes the specified
|
|
13227
|
-
* @param message
|
|
14447
|
+
* Encodes the specified TransformationLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationLocation.verify|verify} messages.
|
|
14448
|
+
* @param message TransformationLocation message or plain object to encode
|
|
13228
14449
|
* @param [writer] Writer to encode to
|
|
13229
14450
|
* @returns Writer
|
|
13230
14451
|
*/
|
|
13231
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
14452
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13232
14453
|
|
|
13233
14454
|
/**
|
|
13234
|
-
* Decodes a
|
|
14455
|
+
* Decodes a TransformationLocation message from the specified reader or buffer.
|
|
13235
14456
|
* @param reader Reader or buffer to decode from
|
|
13236
14457
|
* @param [length] Message length if known beforehand
|
|
13237
|
-
* @returns
|
|
14458
|
+
* @returns TransformationLocation
|
|
13238
14459
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13239
14460
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13240
14461
|
*/
|
|
13241
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
14462
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationLocation;
|
|
13242
14463
|
|
|
13243
14464
|
/**
|
|
13244
|
-
* Decodes a
|
|
14465
|
+
* Decodes a TransformationLocation message from the specified reader or buffer, length delimited.
|
|
13245
14466
|
* @param reader Reader or buffer to decode from
|
|
13246
|
-
* @returns
|
|
14467
|
+
* @returns TransformationLocation
|
|
13247
14468
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13248
14469
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13249
14470
|
*/
|
|
13250
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
14471
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationLocation;
|
|
13251
14472
|
|
|
13252
14473
|
/**
|
|
13253
|
-
* Verifies a
|
|
14474
|
+
* Verifies a TransformationLocation message.
|
|
13254
14475
|
* @param message Plain object to verify
|
|
13255
14476
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
13256
14477
|
*/
|
|
13257
14478
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
13258
14479
|
|
|
13259
14480
|
/**
|
|
13260
|
-
* Creates a
|
|
14481
|
+
* Creates a TransformationLocation message from a plain object. Also converts values to their respective internal types.
|
|
13261
14482
|
* @param object Plain object
|
|
13262
|
-
* @returns
|
|
14483
|
+
* @returns TransformationLocation
|
|
13263
14484
|
*/
|
|
13264
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
14485
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationLocation;
|
|
13265
14486
|
|
|
13266
14487
|
/**
|
|
13267
|
-
* Creates a plain object from a
|
|
13268
|
-
* @param message
|
|
14488
|
+
* Creates a plain object from a TransformationLocation message. Also converts values to other types if specified.
|
|
14489
|
+
* @param message TransformationLocation
|
|
13269
14490
|
* @param [options] Conversion options
|
|
13270
14491
|
* @returns Plain object
|
|
13271
14492
|
*/
|
|
13272
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
14493
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13273
14494
|
|
|
13274
14495
|
/**
|
|
13275
|
-
* Converts this
|
|
14496
|
+
* Converts this TransformationLocation to JSON.
|
|
13276
14497
|
* @returns JSON object
|
|
13277
14498
|
*/
|
|
13278
14499
|
public toJSON(): { [k: string]: any };
|
|
13279
14500
|
|
|
13280
14501
|
/**
|
|
13281
|
-
* Gets the default type url for
|
|
14502
|
+
* Gets the default type url for TransformationLocation
|
|
13282
14503
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13283
14504
|
* @returns The default type url
|
|
13284
14505
|
*/
|
|
13285
14506
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13286
14507
|
}
|
|
13287
14508
|
|
|
13288
|
-
/** Properties of a
|
|
13289
|
-
interface
|
|
14509
|
+
/** Properties of a RecordTransformation. */
|
|
14510
|
+
interface IRecordTransformation {
|
|
13290
14511
|
|
|
13291
|
-
/**
|
|
13292
|
-
|
|
14512
|
+
/** RecordTransformation fieldId */
|
|
14513
|
+
fieldId?: (google.privacy.dlp.v2.IFieldId|null);
|
|
13293
14514
|
|
|
13294
|
-
/**
|
|
13295
|
-
|
|
14515
|
+
/** RecordTransformation containerTimestamp */
|
|
14516
|
+
containerTimestamp?: (google.protobuf.ITimestamp|null);
|
|
13296
14517
|
|
|
13297
|
-
/**
|
|
13298
|
-
|
|
14518
|
+
/** RecordTransformation containerVersion */
|
|
14519
|
+
containerVersion?: (string|null);
|
|
14520
|
+
}
|
|
13299
14521
|
|
|
13300
|
-
|
|
13301
|
-
|
|
14522
|
+
/** Represents a RecordTransformation. */
|
|
14523
|
+
class RecordTransformation implements IRecordTransformation {
|
|
13302
14524
|
|
|
13303
|
-
/**
|
|
13304
|
-
|
|
14525
|
+
/**
|
|
14526
|
+
* Constructs a new RecordTransformation.
|
|
14527
|
+
* @param [properties] Properties to set
|
|
14528
|
+
*/
|
|
14529
|
+
constructor(properties?: google.privacy.dlp.v2.IRecordTransformation);
|
|
13305
14530
|
|
|
13306
|
-
/**
|
|
13307
|
-
|
|
14531
|
+
/** RecordTransformation fieldId. */
|
|
14532
|
+
public fieldId?: (google.privacy.dlp.v2.IFieldId|null);
|
|
13308
14533
|
|
|
13309
|
-
/**
|
|
13310
|
-
|
|
13311
|
-
}
|
|
14534
|
+
/** RecordTransformation containerTimestamp. */
|
|
14535
|
+
public containerTimestamp?: (google.protobuf.ITimestamp|null);
|
|
13312
14536
|
|
|
13313
|
-
|
|
13314
|
-
|
|
14537
|
+
/** RecordTransformation containerVersion. */
|
|
14538
|
+
public containerVersion: string;
|
|
13315
14539
|
|
|
13316
14540
|
/**
|
|
13317
|
-
*
|
|
14541
|
+
* Creates a new RecordTransformation instance using the specified properties.
|
|
13318
14542
|
* @param [properties] Properties to set
|
|
14543
|
+
* @returns RecordTransformation instance
|
|
13319
14544
|
*/
|
|
13320
|
-
|
|
14545
|
+
public static create(properties?: google.privacy.dlp.v2.IRecordTransformation): google.privacy.dlp.v2.RecordTransformation;
|
|
13321
14546
|
|
|
13322
|
-
/**
|
|
13323
|
-
|
|
14547
|
+
/**
|
|
14548
|
+
* Encodes the specified RecordTransformation message. Does not implicitly {@link google.privacy.dlp.v2.RecordTransformation.verify|verify} messages.
|
|
14549
|
+
* @param message RecordTransformation message or plain object to encode
|
|
14550
|
+
* @param [writer] Writer to encode to
|
|
14551
|
+
* @returns Writer
|
|
14552
|
+
*/
|
|
14553
|
+
public static encode(message: google.privacy.dlp.v2.IRecordTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13324
14554
|
|
|
13325
|
-
/**
|
|
13326
|
-
|
|
14555
|
+
/**
|
|
14556
|
+
* Encodes the specified RecordTransformation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RecordTransformation.verify|verify} messages.
|
|
14557
|
+
* @param message RecordTransformation message or plain object to encode
|
|
14558
|
+
* @param [writer] Writer to encode to
|
|
14559
|
+
* @returns Writer
|
|
14560
|
+
*/
|
|
14561
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.IRecordTransformation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13327
14562
|
|
|
13328
|
-
/**
|
|
13329
|
-
|
|
14563
|
+
/**
|
|
14564
|
+
* Decodes a RecordTransformation message from the specified reader or buffer.
|
|
14565
|
+
* @param reader Reader or buffer to decode from
|
|
14566
|
+
* @param [length] Message length if known beforehand
|
|
14567
|
+
* @returns RecordTransformation
|
|
14568
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14569
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14570
|
+
*/
|
|
14571
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.RecordTransformation;
|
|
13330
14572
|
|
|
13331
|
-
/**
|
|
13332
|
-
|
|
14573
|
+
/**
|
|
14574
|
+
* Decodes a RecordTransformation message from the specified reader or buffer, length delimited.
|
|
14575
|
+
* @param reader Reader or buffer to decode from
|
|
14576
|
+
* @returns RecordTransformation
|
|
14577
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14578
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14579
|
+
*/
|
|
14580
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.RecordTransformation;
|
|
13333
14581
|
|
|
13334
|
-
/**
|
|
13335
|
-
|
|
14582
|
+
/**
|
|
14583
|
+
* Verifies a RecordTransformation message.
|
|
14584
|
+
* @param message Plain object to verify
|
|
14585
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14586
|
+
*/
|
|
14587
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13336
14588
|
|
|
13337
|
-
/**
|
|
13338
|
-
|
|
14589
|
+
/**
|
|
14590
|
+
* Creates a RecordTransformation message from a plain object. Also converts values to their respective internal types.
|
|
14591
|
+
* @param object Plain object
|
|
14592
|
+
* @returns RecordTransformation
|
|
14593
|
+
*/
|
|
14594
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.RecordTransformation;
|
|
13339
14595
|
|
|
13340
|
-
/**
|
|
13341
|
-
|
|
14596
|
+
/**
|
|
14597
|
+
* Creates a plain object from a RecordTransformation message. Also converts values to other types if specified.
|
|
14598
|
+
* @param message RecordTransformation
|
|
14599
|
+
* @param [options] Conversion options
|
|
14600
|
+
* @returns Plain object
|
|
14601
|
+
*/
|
|
14602
|
+
public static toObject(message: google.privacy.dlp.v2.RecordTransformation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13342
14603
|
|
|
13343
14604
|
/**
|
|
13344
|
-
*
|
|
14605
|
+
* Converts this RecordTransformation to JSON.
|
|
14606
|
+
* @returns JSON object
|
|
14607
|
+
*/
|
|
14608
|
+
public toJSON(): { [k: string]: any };
|
|
14609
|
+
|
|
14610
|
+
/**
|
|
14611
|
+
* Gets the default type url for RecordTransformation
|
|
14612
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14613
|
+
* @returns The default type url
|
|
14614
|
+
*/
|
|
14615
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14616
|
+
}
|
|
14617
|
+
|
|
14618
|
+
/** Properties of a TransformationResultStatus. */
|
|
14619
|
+
interface ITransformationResultStatus {
|
|
14620
|
+
|
|
14621
|
+
/** TransformationResultStatus resultStatusType */
|
|
14622
|
+
resultStatusType?: (google.privacy.dlp.v2.TransformationResultStatusType|keyof typeof google.privacy.dlp.v2.TransformationResultStatusType|null);
|
|
14623
|
+
|
|
14624
|
+
/** TransformationResultStatus details */
|
|
14625
|
+
details?: (google.rpc.IStatus|null);
|
|
14626
|
+
}
|
|
14627
|
+
|
|
14628
|
+
/** Represents a TransformationResultStatus. */
|
|
14629
|
+
class TransformationResultStatus implements ITransformationResultStatus {
|
|
14630
|
+
|
|
14631
|
+
/**
|
|
14632
|
+
* Constructs a new TransformationResultStatus.
|
|
13345
14633
|
* @param [properties] Properties to set
|
|
13346
|
-
* @returns TransformationSummary instance
|
|
13347
14634
|
*/
|
|
13348
|
-
|
|
14635
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationResultStatus);
|
|
14636
|
+
|
|
14637
|
+
/** TransformationResultStatus resultStatusType. */
|
|
14638
|
+
public resultStatusType: (google.privacy.dlp.v2.TransformationResultStatusType|keyof typeof google.privacy.dlp.v2.TransformationResultStatusType);
|
|
14639
|
+
|
|
14640
|
+
/** TransformationResultStatus details. */
|
|
14641
|
+
public details?: (google.rpc.IStatus|null);
|
|
13349
14642
|
|
|
13350
14643
|
/**
|
|
13351
|
-
*
|
|
13352
|
-
* @param
|
|
14644
|
+
* Creates a new TransformationResultStatus instance using the specified properties.
|
|
14645
|
+
* @param [properties] Properties to set
|
|
14646
|
+
* @returns TransformationResultStatus instance
|
|
14647
|
+
*/
|
|
14648
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationResultStatus): google.privacy.dlp.v2.TransformationResultStatus;
|
|
14649
|
+
|
|
14650
|
+
/**
|
|
14651
|
+
* Encodes the specified TransformationResultStatus message. Does not implicitly {@link google.privacy.dlp.v2.TransformationResultStatus.verify|verify} messages.
|
|
14652
|
+
* @param message TransformationResultStatus message or plain object to encode
|
|
13353
14653
|
* @param [writer] Writer to encode to
|
|
13354
14654
|
* @returns Writer
|
|
13355
14655
|
*/
|
|
13356
|
-
public static encode(message: google.privacy.dlp.v2.
|
|
14656
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationResultStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13357
14657
|
|
|
13358
14658
|
/**
|
|
13359
|
-
* Encodes the specified
|
|
13360
|
-
* @param message
|
|
14659
|
+
* Encodes the specified TransformationResultStatus message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationResultStatus.verify|verify} messages.
|
|
14660
|
+
* @param message TransformationResultStatus message or plain object to encode
|
|
13361
14661
|
* @param [writer] Writer to encode to
|
|
13362
14662
|
* @returns Writer
|
|
13363
14663
|
*/
|
|
13364
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.
|
|
14664
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationResultStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13365
14665
|
|
|
13366
14666
|
/**
|
|
13367
|
-
* Decodes a
|
|
14667
|
+
* Decodes a TransformationResultStatus message from the specified reader or buffer.
|
|
13368
14668
|
* @param reader Reader or buffer to decode from
|
|
13369
14669
|
* @param [length] Message length if known beforehand
|
|
13370
|
-
* @returns
|
|
14670
|
+
* @returns TransformationResultStatus
|
|
13371
14671
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13372
14672
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13373
14673
|
*/
|
|
13374
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.
|
|
14674
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationResultStatus;
|
|
13375
14675
|
|
|
13376
14676
|
/**
|
|
13377
|
-
* Decodes a
|
|
14677
|
+
* Decodes a TransformationResultStatus message from the specified reader or buffer, length delimited.
|
|
13378
14678
|
* @param reader Reader or buffer to decode from
|
|
13379
|
-
* @returns
|
|
14679
|
+
* @returns TransformationResultStatus
|
|
13380
14680
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13381
14681
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13382
14682
|
*/
|
|
13383
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.
|
|
14683
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationResultStatus;
|
|
13384
14684
|
|
|
13385
14685
|
/**
|
|
13386
|
-
* Verifies a
|
|
14686
|
+
* Verifies a TransformationResultStatus message.
|
|
13387
14687
|
* @param message Plain object to verify
|
|
13388
14688
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
13389
14689
|
*/
|
|
13390
14690
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
13391
14691
|
|
|
13392
14692
|
/**
|
|
13393
|
-
* Creates a
|
|
14693
|
+
* Creates a TransformationResultStatus message from a plain object. Also converts values to their respective internal types.
|
|
13394
14694
|
* @param object Plain object
|
|
13395
|
-
* @returns
|
|
14695
|
+
* @returns TransformationResultStatus
|
|
13396
14696
|
*/
|
|
13397
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.
|
|
14697
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationResultStatus;
|
|
13398
14698
|
|
|
13399
14699
|
/**
|
|
13400
|
-
* Creates a plain object from a
|
|
13401
|
-
* @param message
|
|
14700
|
+
* Creates a plain object from a TransformationResultStatus message. Also converts values to other types if specified.
|
|
14701
|
+
* @param message TransformationResultStatus
|
|
13402
14702
|
* @param [options] Conversion options
|
|
13403
14703
|
* @returns Plain object
|
|
13404
14704
|
*/
|
|
13405
|
-
public static toObject(message: google.privacy.dlp.v2.
|
|
14705
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationResultStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13406
14706
|
|
|
13407
14707
|
/**
|
|
13408
|
-
* Converts this
|
|
14708
|
+
* Converts this TransformationResultStatus to JSON.
|
|
13409
14709
|
* @returns JSON object
|
|
13410
14710
|
*/
|
|
13411
14711
|
public toJSON(): { [k: string]: any };
|
|
13412
14712
|
|
|
13413
14713
|
/**
|
|
13414
|
-
* Gets the default type url for
|
|
14714
|
+
* Gets the default type url for TransformationResultStatus
|
|
13415
14715
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13416
14716
|
* @returns The default type url
|
|
13417
14717
|
*/
|
|
13418
14718
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13419
14719
|
}
|
|
13420
14720
|
|
|
13421
|
-
|
|
13422
|
-
|
|
13423
|
-
|
|
13424
|
-
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
-
|
|
13429
|
-
|
|
13430
|
-
|
|
13431
|
-
|
|
13432
|
-
|
|
13433
|
-
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
|
|
13442
|
-
|
|
13443
|
-
|
|
13444
|
-
|
|
14721
|
+
/** TransformationResultStatusType enum. */
|
|
14722
|
+
enum TransformationResultStatusType {
|
|
14723
|
+
STATE_TYPE_UNSPECIFIED = 0,
|
|
14724
|
+
INVALID_TRANSFORM = 1,
|
|
14725
|
+
BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2,
|
|
14726
|
+
METADATA_UNRETRIEVABLE = 3,
|
|
14727
|
+
SUCCESS = 4
|
|
14728
|
+
}
|
|
14729
|
+
|
|
14730
|
+
/** TransformationContainerType enum. */
|
|
14731
|
+
enum TransformationContainerType {
|
|
14732
|
+
TRANSFORM_UNKNOWN_CONTAINER = 0,
|
|
14733
|
+
TRANSFORM_BODY = 1,
|
|
14734
|
+
TRANSFORM_METADATA = 2,
|
|
14735
|
+
TRANSFORM_TABLE = 3
|
|
14736
|
+
}
|
|
14737
|
+
|
|
14738
|
+
/** TransformationType enum. */
|
|
14739
|
+
enum TransformationType {
|
|
14740
|
+
TRANSFORMATION_TYPE_UNSPECIFIED = 0,
|
|
14741
|
+
RECORD_SUPPRESSION = 1,
|
|
14742
|
+
REPLACE_VALUE = 2,
|
|
14743
|
+
REPLACE_DICTIONARY = 15,
|
|
14744
|
+
REDACT = 3,
|
|
14745
|
+
CHARACTER_MASK = 4,
|
|
14746
|
+
CRYPTO_REPLACE_FFX_FPE = 5,
|
|
14747
|
+
FIXED_SIZE_BUCKETING = 6,
|
|
14748
|
+
BUCKETING = 7,
|
|
14749
|
+
REPLACE_WITH_INFO_TYPE = 8,
|
|
14750
|
+
TIME_PART = 9,
|
|
14751
|
+
CRYPTO_HASH = 10,
|
|
14752
|
+
DATE_SHIFT = 12,
|
|
14753
|
+
CRYPTO_DETERMINISTIC_CONFIG = 13,
|
|
14754
|
+
REDACT_IMAGE = 14
|
|
14755
|
+
}
|
|
14756
|
+
|
|
14757
|
+
/** Properties of a TransformationDetailsStorageConfig. */
|
|
14758
|
+
interface ITransformationDetailsStorageConfig {
|
|
14759
|
+
|
|
14760
|
+
/** TransformationDetailsStorageConfig table */
|
|
14761
|
+
table?: (google.privacy.dlp.v2.IBigQueryTable|null);
|
|
14762
|
+
}
|
|
13445
14763
|
|
|
13446
|
-
|
|
13447
|
-
|
|
13448
|
-
* @param [properties] Properties to set
|
|
13449
|
-
*/
|
|
13450
|
-
constructor(properties?: google.privacy.dlp.v2.TransformationSummary.ISummaryResult);
|
|
14764
|
+
/** Represents a TransformationDetailsStorageConfig. */
|
|
14765
|
+
class TransformationDetailsStorageConfig implements ITransformationDetailsStorageConfig {
|
|
13451
14766
|
|
|
13452
|
-
|
|
13453
|
-
|
|
14767
|
+
/**
|
|
14768
|
+
* Constructs a new TransformationDetailsStorageConfig.
|
|
14769
|
+
* @param [properties] Properties to set
|
|
14770
|
+
*/
|
|
14771
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationDetailsStorageConfig);
|
|
13454
14772
|
|
|
13455
|
-
|
|
13456
|
-
|
|
14773
|
+
/** TransformationDetailsStorageConfig table. */
|
|
14774
|
+
public table?: (google.privacy.dlp.v2.IBigQueryTable|null);
|
|
13457
14775
|
|
|
13458
|
-
|
|
13459
|
-
|
|
14776
|
+
/** TransformationDetailsStorageConfig type. */
|
|
14777
|
+
public type?: "table";
|
|
13460
14778
|
|
|
13461
|
-
|
|
13462
|
-
|
|
13463
|
-
|
|
13464
|
-
|
|
13465
|
-
|
|
13466
|
-
|
|
14779
|
+
/**
|
|
14780
|
+
* Creates a new TransformationDetailsStorageConfig instance using the specified properties.
|
|
14781
|
+
* @param [properties] Properties to set
|
|
14782
|
+
* @returns TransformationDetailsStorageConfig instance
|
|
14783
|
+
*/
|
|
14784
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationDetailsStorageConfig): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
|
|
13467
14785
|
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
14786
|
+
/**
|
|
14787
|
+
* Encodes the specified TransformationDetailsStorageConfig message. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetailsStorageConfig.verify|verify} messages.
|
|
14788
|
+
* @param message TransformationDetailsStorageConfig message or plain object to encode
|
|
14789
|
+
* @param [writer] Writer to encode to
|
|
14790
|
+
* @returns Writer
|
|
14791
|
+
*/
|
|
14792
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationDetailsStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13475
14793
|
|
|
13476
|
-
|
|
13477
|
-
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
14794
|
+
/**
|
|
14795
|
+
* Encodes the specified TransformationDetailsStorageConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationDetailsStorageConfig.verify|verify} messages.
|
|
14796
|
+
* @param message TransformationDetailsStorageConfig message or plain object to encode
|
|
14797
|
+
* @param [writer] Writer to encode to
|
|
14798
|
+
* @returns Writer
|
|
14799
|
+
*/
|
|
14800
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationDetailsStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
13483
14801
|
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
|
|
13491
|
-
|
|
13492
|
-
|
|
14802
|
+
/**
|
|
14803
|
+
* Decodes a TransformationDetailsStorageConfig message from the specified reader or buffer.
|
|
14804
|
+
* @param reader Reader or buffer to decode from
|
|
14805
|
+
* @param [length] Message length if known beforehand
|
|
14806
|
+
* @returns TransformationDetailsStorageConfig
|
|
14807
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14808
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14809
|
+
*/
|
|
14810
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
|
|
13493
14811
|
|
|
13494
|
-
|
|
13495
|
-
|
|
13496
|
-
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
14812
|
+
/**
|
|
14813
|
+
* Decodes a TransformationDetailsStorageConfig message from the specified reader or buffer, length delimited.
|
|
14814
|
+
* @param reader Reader or buffer to decode from
|
|
14815
|
+
* @returns TransformationDetailsStorageConfig
|
|
14816
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14817
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14818
|
+
*/
|
|
14819
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
|
|
13502
14820
|
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
|
|
14821
|
+
/**
|
|
14822
|
+
* Verifies a TransformationDetailsStorageConfig message.
|
|
14823
|
+
* @param message Plain object to verify
|
|
14824
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14825
|
+
*/
|
|
14826
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
13509
14827
|
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
14828
|
+
/**
|
|
14829
|
+
* Creates a TransformationDetailsStorageConfig message from a plain object. Also converts values to their respective internal types.
|
|
14830
|
+
* @param object Plain object
|
|
14831
|
+
* @returns TransformationDetailsStorageConfig
|
|
14832
|
+
*/
|
|
14833
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationDetailsStorageConfig;
|
|
13516
14834
|
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
14835
|
+
/**
|
|
14836
|
+
* Creates a plain object from a TransformationDetailsStorageConfig message. Also converts values to other types if specified.
|
|
14837
|
+
* @param message TransformationDetailsStorageConfig
|
|
14838
|
+
* @param [options] Conversion options
|
|
14839
|
+
* @returns Plain object
|
|
14840
|
+
*/
|
|
14841
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationDetailsStorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
13524
14842
|
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
14843
|
+
/**
|
|
14844
|
+
* Converts this TransformationDetailsStorageConfig to JSON.
|
|
14845
|
+
* @returns JSON object
|
|
14846
|
+
*/
|
|
14847
|
+
public toJSON(): { [k: string]: any };
|
|
13530
14848
|
|
|
13531
|
-
|
|
13532
|
-
|
|
13533
|
-
|
|
13534
|
-
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
}
|
|
14849
|
+
/**
|
|
14850
|
+
* Gets the default type url for TransformationDetailsStorageConfig
|
|
14851
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14852
|
+
* @returns The default type url
|
|
14853
|
+
*/
|
|
14854
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13538
14855
|
}
|
|
13539
14856
|
|
|
13540
14857
|
/** Properties of a Schedule. */
|
|
@@ -14371,6 +15688,9 @@ export namespace google {
|
|
|
14371
15688
|
/** Action publishFindingsToCloudDataCatalog */
|
|
14372
15689
|
publishFindingsToCloudDataCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null);
|
|
14373
15690
|
|
|
15691
|
+
/** Action deidentify */
|
|
15692
|
+
deidentify?: (google.privacy.dlp.v2.Action.IDeidentify|null);
|
|
15693
|
+
|
|
14374
15694
|
/** Action jobNotificationEmails */
|
|
14375
15695
|
jobNotificationEmails?: (google.privacy.dlp.v2.Action.IJobNotificationEmails|null);
|
|
14376
15696
|
|
|
@@ -14399,6 +15719,9 @@ export namespace google {
|
|
|
14399
15719
|
/** Action publishFindingsToCloudDataCatalog. */
|
|
14400
15720
|
public publishFindingsToCloudDataCatalog?: (google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null);
|
|
14401
15721
|
|
|
15722
|
+
/** Action deidentify. */
|
|
15723
|
+
public deidentify?: (google.privacy.dlp.v2.Action.IDeidentify|null);
|
|
15724
|
+
|
|
14402
15725
|
/** Action jobNotificationEmails. */
|
|
14403
15726
|
public jobNotificationEmails?: (google.privacy.dlp.v2.Action.IJobNotificationEmails|null);
|
|
14404
15727
|
|
|
@@ -14406,7 +15729,7 @@ export namespace google {
|
|
|
14406
15729
|
public publishToStackdriver?: (google.privacy.dlp.v2.Action.IPublishToStackdriver|null);
|
|
14407
15730
|
|
|
14408
15731
|
/** Action action. */
|
|
14409
|
-
public action?: ("saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"jobNotificationEmails"|"publishToStackdriver");
|
|
15732
|
+
public action?: ("saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"deidentify"|"jobNotificationEmails"|"publishToStackdriver");
|
|
14410
15733
|
|
|
14411
15734
|
/**
|
|
14412
15735
|
* Creates a new Action instance using the specified properties.
|
|
@@ -14864,6 +16187,124 @@ export namespace google {
|
|
|
14864
16187
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14865
16188
|
}
|
|
14866
16189
|
|
|
16190
|
+
/** Properties of a Deidentify. */
|
|
16191
|
+
interface IDeidentify {
|
|
16192
|
+
|
|
16193
|
+
/** Deidentify transformationConfig */
|
|
16194
|
+
transformationConfig?: (google.privacy.dlp.v2.ITransformationConfig|null);
|
|
16195
|
+
|
|
16196
|
+
/** Deidentify transformationDetailsStorageConfig */
|
|
16197
|
+
transformationDetailsStorageConfig?: (google.privacy.dlp.v2.ITransformationDetailsStorageConfig|null);
|
|
16198
|
+
|
|
16199
|
+
/** Deidentify cloudStorageOutput */
|
|
16200
|
+
cloudStorageOutput?: (string|null);
|
|
16201
|
+
|
|
16202
|
+
/** Deidentify fileTypesToTransform */
|
|
16203
|
+
fileTypesToTransform?: (google.privacy.dlp.v2.FileType[]|null);
|
|
16204
|
+
}
|
|
16205
|
+
|
|
16206
|
+
/** Represents a Deidentify. */
|
|
16207
|
+
class Deidentify implements IDeidentify {
|
|
16208
|
+
|
|
16209
|
+
/**
|
|
16210
|
+
* Constructs a new Deidentify.
|
|
16211
|
+
* @param [properties] Properties to set
|
|
16212
|
+
*/
|
|
16213
|
+
constructor(properties?: google.privacy.dlp.v2.Action.IDeidentify);
|
|
16214
|
+
|
|
16215
|
+
/** Deidentify transformationConfig. */
|
|
16216
|
+
public transformationConfig?: (google.privacy.dlp.v2.ITransformationConfig|null);
|
|
16217
|
+
|
|
16218
|
+
/** Deidentify transformationDetailsStorageConfig. */
|
|
16219
|
+
public transformationDetailsStorageConfig?: (google.privacy.dlp.v2.ITransformationDetailsStorageConfig|null);
|
|
16220
|
+
|
|
16221
|
+
/** Deidentify cloudStorageOutput. */
|
|
16222
|
+
public cloudStorageOutput?: (string|null);
|
|
16223
|
+
|
|
16224
|
+
/** Deidentify fileTypesToTransform. */
|
|
16225
|
+
public fileTypesToTransform: google.privacy.dlp.v2.FileType[];
|
|
16226
|
+
|
|
16227
|
+
/** Deidentify output. */
|
|
16228
|
+
public output?: "cloudStorageOutput";
|
|
16229
|
+
|
|
16230
|
+
/**
|
|
16231
|
+
* Creates a new Deidentify instance using the specified properties.
|
|
16232
|
+
* @param [properties] Properties to set
|
|
16233
|
+
* @returns Deidentify instance
|
|
16234
|
+
*/
|
|
16235
|
+
public static create(properties?: google.privacy.dlp.v2.Action.IDeidentify): google.privacy.dlp.v2.Action.Deidentify;
|
|
16236
|
+
|
|
16237
|
+
/**
|
|
16238
|
+
* Encodes the specified Deidentify message. Does not implicitly {@link google.privacy.dlp.v2.Action.Deidentify.verify|verify} messages.
|
|
16239
|
+
* @param message Deidentify message or plain object to encode
|
|
16240
|
+
* @param [writer] Writer to encode to
|
|
16241
|
+
* @returns Writer
|
|
16242
|
+
*/
|
|
16243
|
+
public static encode(message: google.privacy.dlp.v2.Action.IDeidentify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16244
|
+
|
|
16245
|
+
/**
|
|
16246
|
+
* Encodes the specified Deidentify message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.Deidentify.verify|verify} messages.
|
|
16247
|
+
* @param message Deidentify message or plain object to encode
|
|
16248
|
+
* @param [writer] Writer to encode to
|
|
16249
|
+
* @returns Writer
|
|
16250
|
+
*/
|
|
16251
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.Action.IDeidentify, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16252
|
+
|
|
16253
|
+
/**
|
|
16254
|
+
* Decodes a Deidentify message from the specified reader or buffer.
|
|
16255
|
+
* @param reader Reader or buffer to decode from
|
|
16256
|
+
* @param [length] Message length if known beforehand
|
|
16257
|
+
* @returns Deidentify
|
|
16258
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16259
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16260
|
+
*/
|
|
16261
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.Action.Deidentify;
|
|
16262
|
+
|
|
16263
|
+
/**
|
|
16264
|
+
* Decodes a Deidentify message from the specified reader or buffer, length delimited.
|
|
16265
|
+
* @param reader Reader or buffer to decode from
|
|
16266
|
+
* @returns Deidentify
|
|
16267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16269
|
+
*/
|
|
16270
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.Action.Deidentify;
|
|
16271
|
+
|
|
16272
|
+
/**
|
|
16273
|
+
* Verifies a Deidentify message.
|
|
16274
|
+
* @param message Plain object to verify
|
|
16275
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16276
|
+
*/
|
|
16277
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16278
|
+
|
|
16279
|
+
/**
|
|
16280
|
+
* Creates a Deidentify message from a plain object. Also converts values to their respective internal types.
|
|
16281
|
+
* @param object Plain object
|
|
16282
|
+
* @returns Deidentify
|
|
16283
|
+
*/
|
|
16284
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.Deidentify;
|
|
16285
|
+
|
|
16286
|
+
/**
|
|
16287
|
+
* Creates a plain object from a Deidentify message. Also converts values to other types if specified.
|
|
16288
|
+
* @param message Deidentify
|
|
16289
|
+
* @param [options] Conversion options
|
|
16290
|
+
* @returns Plain object
|
|
16291
|
+
*/
|
|
16292
|
+
public static toObject(message: google.privacy.dlp.v2.Action.Deidentify, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16293
|
+
|
|
16294
|
+
/**
|
|
16295
|
+
* Converts this Deidentify to JSON.
|
|
16296
|
+
* @returns JSON object
|
|
16297
|
+
*/
|
|
16298
|
+
public toJSON(): { [k: string]: any };
|
|
16299
|
+
|
|
16300
|
+
/**
|
|
16301
|
+
* Gets the default type url for Deidentify
|
|
16302
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16303
|
+
* @returns The default type url
|
|
16304
|
+
*/
|
|
16305
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16306
|
+
}
|
|
16307
|
+
|
|
14867
16308
|
/** Properties of a JobNotificationEmails. */
|
|
14868
16309
|
interface IJobNotificationEmails {
|
|
14869
16310
|
}
|
|
@@ -15024,27 +16465,136 @@ export namespace google {
|
|
|
15024
16465
|
*/
|
|
15025
16466
|
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.Action.PublishToStackdriver;
|
|
15026
16467
|
|
|
15027
|
-
/**
|
|
15028
|
-
* Creates a plain object from a PublishToStackdriver message. Also converts values to other types if specified.
|
|
15029
|
-
* @param message PublishToStackdriver
|
|
15030
|
-
* @param [options] Conversion options
|
|
15031
|
-
* @returns Plain object
|
|
15032
|
-
*/
|
|
15033
|
-
public static toObject(message: google.privacy.dlp.v2.Action.PublishToStackdriver, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16468
|
+
/**
|
|
16469
|
+
* Creates a plain object from a PublishToStackdriver message. Also converts values to other types if specified.
|
|
16470
|
+
* @param message PublishToStackdriver
|
|
16471
|
+
* @param [options] Conversion options
|
|
16472
|
+
* @returns Plain object
|
|
16473
|
+
*/
|
|
16474
|
+
public static toObject(message: google.privacy.dlp.v2.Action.PublishToStackdriver, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16475
|
+
|
|
16476
|
+
/**
|
|
16477
|
+
* Converts this PublishToStackdriver to JSON.
|
|
16478
|
+
* @returns JSON object
|
|
16479
|
+
*/
|
|
16480
|
+
public toJSON(): { [k: string]: any };
|
|
16481
|
+
|
|
16482
|
+
/**
|
|
16483
|
+
* Gets the default type url for PublishToStackdriver
|
|
16484
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16485
|
+
* @returns The default type url
|
|
16486
|
+
*/
|
|
16487
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16488
|
+
}
|
|
16489
|
+
}
|
|
16490
|
+
|
|
16491
|
+
/** Properties of a TransformationConfig. */
|
|
16492
|
+
interface ITransformationConfig {
|
|
16493
|
+
|
|
16494
|
+
/** TransformationConfig deidentifyTemplate */
|
|
16495
|
+
deidentifyTemplate?: (string|null);
|
|
16496
|
+
|
|
16497
|
+
/** TransformationConfig structuredDeidentifyTemplate */
|
|
16498
|
+
structuredDeidentifyTemplate?: (string|null);
|
|
16499
|
+
|
|
16500
|
+
/** TransformationConfig imageRedactTemplate */
|
|
16501
|
+
imageRedactTemplate?: (string|null);
|
|
16502
|
+
}
|
|
16503
|
+
|
|
16504
|
+
/** Represents a TransformationConfig. */
|
|
16505
|
+
class TransformationConfig implements ITransformationConfig {
|
|
16506
|
+
|
|
16507
|
+
/**
|
|
16508
|
+
* Constructs a new TransformationConfig.
|
|
16509
|
+
* @param [properties] Properties to set
|
|
16510
|
+
*/
|
|
16511
|
+
constructor(properties?: google.privacy.dlp.v2.ITransformationConfig);
|
|
16512
|
+
|
|
16513
|
+
/** TransformationConfig deidentifyTemplate. */
|
|
16514
|
+
public deidentifyTemplate: string;
|
|
16515
|
+
|
|
16516
|
+
/** TransformationConfig structuredDeidentifyTemplate. */
|
|
16517
|
+
public structuredDeidentifyTemplate: string;
|
|
16518
|
+
|
|
16519
|
+
/** TransformationConfig imageRedactTemplate. */
|
|
16520
|
+
public imageRedactTemplate: string;
|
|
16521
|
+
|
|
16522
|
+
/**
|
|
16523
|
+
* Creates a new TransformationConfig instance using the specified properties.
|
|
16524
|
+
* @param [properties] Properties to set
|
|
16525
|
+
* @returns TransformationConfig instance
|
|
16526
|
+
*/
|
|
16527
|
+
public static create(properties?: google.privacy.dlp.v2.ITransformationConfig): google.privacy.dlp.v2.TransformationConfig;
|
|
16528
|
+
|
|
16529
|
+
/**
|
|
16530
|
+
* Encodes the specified TransformationConfig message. Does not implicitly {@link google.privacy.dlp.v2.TransformationConfig.verify|verify} messages.
|
|
16531
|
+
* @param message TransformationConfig message or plain object to encode
|
|
16532
|
+
* @param [writer] Writer to encode to
|
|
16533
|
+
* @returns Writer
|
|
16534
|
+
*/
|
|
16535
|
+
public static encode(message: google.privacy.dlp.v2.ITransformationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16536
|
+
|
|
16537
|
+
/**
|
|
16538
|
+
* Encodes the specified TransformationConfig message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TransformationConfig.verify|verify} messages.
|
|
16539
|
+
* @param message TransformationConfig message or plain object to encode
|
|
16540
|
+
* @param [writer] Writer to encode to
|
|
16541
|
+
* @returns Writer
|
|
16542
|
+
*/
|
|
16543
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ITransformationConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16544
|
+
|
|
16545
|
+
/**
|
|
16546
|
+
* Decodes a TransformationConfig message from the specified reader or buffer.
|
|
16547
|
+
* @param reader Reader or buffer to decode from
|
|
16548
|
+
* @param [length] Message length if known beforehand
|
|
16549
|
+
* @returns TransformationConfig
|
|
16550
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16551
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16552
|
+
*/
|
|
16553
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TransformationConfig;
|
|
16554
|
+
|
|
16555
|
+
/**
|
|
16556
|
+
* Decodes a TransformationConfig message from the specified reader or buffer, length delimited.
|
|
16557
|
+
* @param reader Reader or buffer to decode from
|
|
16558
|
+
* @returns TransformationConfig
|
|
16559
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16560
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16561
|
+
*/
|
|
16562
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TransformationConfig;
|
|
16563
|
+
|
|
16564
|
+
/**
|
|
16565
|
+
* Verifies a TransformationConfig message.
|
|
16566
|
+
* @param message Plain object to verify
|
|
16567
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16568
|
+
*/
|
|
16569
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16570
|
+
|
|
16571
|
+
/**
|
|
16572
|
+
* Creates a TransformationConfig message from a plain object. Also converts values to their respective internal types.
|
|
16573
|
+
* @param object Plain object
|
|
16574
|
+
* @returns TransformationConfig
|
|
16575
|
+
*/
|
|
16576
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TransformationConfig;
|
|
15034
16577
|
|
|
15035
|
-
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
16578
|
+
/**
|
|
16579
|
+
* Creates a plain object from a TransformationConfig message. Also converts values to other types if specified.
|
|
16580
|
+
* @param message TransformationConfig
|
|
16581
|
+
* @param [options] Conversion options
|
|
16582
|
+
* @returns Plain object
|
|
16583
|
+
*/
|
|
16584
|
+
public static toObject(message: google.privacy.dlp.v2.TransformationConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15040
16585
|
|
|
15041
|
-
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
16586
|
+
/**
|
|
16587
|
+
* Converts this TransformationConfig to JSON.
|
|
16588
|
+
* @returns JSON object
|
|
16589
|
+
*/
|
|
16590
|
+
public toJSON(): { [k: string]: any };
|
|
16591
|
+
|
|
16592
|
+
/**
|
|
16593
|
+
* Gets the default type url for TransformationConfig
|
|
16594
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16595
|
+
* @returns The default type url
|
|
16596
|
+
*/
|
|
16597
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15048
16598
|
}
|
|
15049
16599
|
|
|
15050
16600
|
/** Properties of a CreateInspectTemplateRequest. */
|
|
@@ -20556,114 +22106,6 @@ export namespace google {
|
|
|
20556
22106
|
INVALID = 4
|
|
20557
22107
|
}
|
|
20558
22108
|
|
|
20559
|
-
/** Properties of a SensitivityScore. */
|
|
20560
|
-
interface ISensitivityScore {
|
|
20561
|
-
|
|
20562
|
-
/** SensitivityScore score */
|
|
20563
|
-
score?: (google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|keyof typeof google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|null);
|
|
20564
|
-
}
|
|
20565
|
-
|
|
20566
|
-
/** Represents a SensitivityScore. */
|
|
20567
|
-
class SensitivityScore implements ISensitivityScore {
|
|
20568
|
-
|
|
20569
|
-
/**
|
|
20570
|
-
* Constructs a new SensitivityScore.
|
|
20571
|
-
* @param [properties] Properties to set
|
|
20572
|
-
*/
|
|
20573
|
-
constructor(properties?: google.privacy.dlp.v2.ISensitivityScore);
|
|
20574
|
-
|
|
20575
|
-
/** SensitivityScore score. */
|
|
20576
|
-
public score: (google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|keyof typeof google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel);
|
|
20577
|
-
|
|
20578
|
-
/**
|
|
20579
|
-
* Creates a new SensitivityScore instance using the specified properties.
|
|
20580
|
-
* @param [properties] Properties to set
|
|
20581
|
-
* @returns SensitivityScore instance
|
|
20582
|
-
*/
|
|
20583
|
-
public static create(properties?: google.privacy.dlp.v2.ISensitivityScore): google.privacy.dlp.v2.SensitivityScore;
|
|
20584
|
-
|
|
20585
|
-
/**
|
|
20586
|
-
* Encodes the specified SensitivityScore message. Does not implicitly {@link google.privacy.dlp.v2.SensitivityScore.verify|verify} messages.
|
|
20587
|
-
* @param message SensitivityScore message or plain object to encode
|
|
20588
|
-
* @param [writer] Writer to encode to
|
|
20589
|
-
* @returns Writer
|
|
20590
|
-
*/
|
|
20591
|
-
public static encode(message: google.privacy.dlp.v2.ISensitivityScore, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20592
|
-
|
|
20593
|
-
/**
|
|
20594
|
-
* Encodes the specified SensitivityScore message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SensitivityScore.verify|verify} messages.
|
|
20595
|
-
* @param message SensitivityScore message or plain object to encode
|
|
20596
|
-
* @param [writer] Writer to encode to
|
|
20597
|
-
* @returns Writer
|
|
20598
|
-
*/
|
|
20599
|
-
public static encodeDelimited(message: google.privacy.dlp.v2.ISensitivityScore, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20600
|
-
|
|
20601
|
-
/**
|
|
20602
|
-
* Decodes a SensitivityScore message from the specified reader or buffer.
|
|
20603
|
-
* @param reader Reader or buffer to decode from
|
|
20604
|
-
* @param [length] Message length if known beforehand
|
|
20605
|
-
* @returns SensitivityScore
|
|
20606
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20607
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20608
|
-
*/
|
|
20609
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SensitivityScore;
|
|
20610
|
-
|
|
20611
|
-
/**
|
|
20612
|
-
* Decodes a SensitivityScore message from the specified reader or buffer, length delimited.
|
|
20613
|
-
* @param reader Reader or buffer to decode from
|
|
20614
|
-
* @returns SensitivityScore
|
|
20615
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20616
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20617
|
-
*/
|
|
20618
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SensitivityScore;
|
|
20619
|
-
|
|
20620
|
-
/**
|
|
20621
|
-
* Verifies a SensitivityScore message.
|
|
20622
|
-
* @param message Plain object to verify
|
|
20623
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
20624
|
-
*/
|
|
20625
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
20626
|
-
|
|
20627
|
-
/**
|
|
20628
|
-
* Creates a SensitivityScore message from a plain object. Also converts values to their respective internal types.
|
|
20629
|
-
* @param object Plain object
|
|
20630
|
-
* @returns SensitivityScore
|
|
20631
|
-
*/
|
|
20632
|
-
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SensitivityScore;
|
|
20633
|
-
|
|
20634
|
-
/**
|
|
20635
|
-
* Creates a plain object from a SensitivityScore message. Also converts values to other types if specified.
|
|
20636
|
-
* @param message SensitivityScore
|
|
20637
|
-
* @param [options] Conversion options
|
|
20638
|
-
* @returns Plain object
|
|
20639
|
-
*/
|
|
20640
|
-
public static toObject(message: google.privacy.dlp.v2.SensitivityScore, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20641
|
-
|
|
20642
|
-
/**
|
|
20643
|
-
* Converts this SensitivityScore to JSON.
|
|
20644
|
-
* @returns JSON object
|
|
20645
|
-
*/
|
|
20646
|
-
public toJSON(): { [k: string]: any };
|
|
20647
|
-
|
|
20648
|
-
/**
|
|
20649
|
-
* Gets the default type url for SensitivityScore
|
|
20650
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
20651
|
-
* @returns The default type url
|
|
20652
|
-
*/
|
|
20653
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20654
|
-
}
|
|
20655
|
-
|
|
20656
|
-
namespace SensitivityScore {
|
|
20657
|
-
|
|
20658
|
-
/** SensitivityScoreLevel enum. */
|
|
20659
|
-
enum SensitivityScoreLevel {
|
|
20660
|
-
SENSITIVITY_SCORE_UNSPECIFIED = 0,
|
|
20661
|
-
SENSITIVITY_LOW = 10,
|
|
20662
|
-
SENSITIVITY_MODERATE = 20,
|
|
20663
|
-
SENSITIVITY_HIGH = 30
|
|
20664
|
-
}
|
|
20665
|
-
}
|
|
20666
|
-
|
|
20667
22109
|
/** Properties of a DataRiskLevel. */
|
|
20668
22110
|
interface IDataRiskLevel {
|
|
20669
22111
|
|
|
@@ -21248,6 +22690,9 @@ export namespace google {
|
|
|
21248
22690
|
|
|
21249
22691
|
/** InfoTypeSummary infoType */
|
|
21250
22692
|
infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
22693
|
+
|
|
22694
|
+
/** InfoTypeSummary estimatedPrevalence */
|
|
22695
|
+
estimatedPrevalence?: (number|null);
|
|
21251
22696
|
}
|
|
21252
22697
|
|
|
21253
22698
|
/** Represents an InfoTypeSummary. */
|
|
@@ -21262,6 +22707,9 @@ export namespace google {
|
|
|
21262
22707
|
/** InfoTypeSummary infoType. */
|
|
21263
22708
|
public infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
21264
22709
|
|
|
22710
|
+
/** InfoTypeSummary estimatedPrevalence. */
|
|
22711
|
+
public estimatedPrevalence: number;
|
|
22712
|
+
|
|
21265
22713
|
/**
|
|
21266
22714
|
* Creates a new InfoTypeSummary instance using the specified properties.
|
|
21267
22715
|
* @param [properties] Properties to set
|
|
@@ -21345,6 +22793,9 @@ export namespace google {
|
|
|
21345
22793
|
|
|
21346
22794
|
/** OtherInfoTypeSummary infoType */
|
|
21347
22795
|
infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
22796
|
+
|
|
22797
|
+
/** OtherInfoTypeSummary estimatedPrevalence */
|
|
22798
|
+
estimatedPrevalence?: (number|null);
|
|
21348
22799
|
}
|
|
21349
22800
|
|
|
21350
22801
|
/** Represents an OtherInfoTypeSummary. */
|
|
@@ -21359,6 +22810,9 @@ export namespace google {
|
|
|
21359
22810
|
/** OtherInfoTypeSummary infoType. */
|
|
21360
22811
|
public infoType?: (google.privacy.dlp.v2.IInfoType|null);
|
|
21361
22812
|
|
|
22813
|
+
/** OtherInfoTypeSummary estimatedPrevalence. */
|
|
22814
|
+
public estimatedPrevalence: number;
|
|
22815
|
+
|
|
21362
22816
|
/**
|
|
21363
22817
|
* Creates a new OtherInfoTypeSummary instance using the specified properties.
|
|
21364
22818
|
* @param [properties] Properties to set
|
|
@@ -21969,6 +23423,114 @@ export namespace google {
|
|
|
21969
23423
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
21970
23424
|
}
|
|
21971
23425
|
|
|
23426
|
+
/** Properties of a SensitivityScore. */
|
|
23427
|
+
interface ISensitivityScore {
|
|
23428
|
+
|
|
23429
|
+
/** SensitivityScore score */
|
|
23430
|
+
score?: (google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|keyof typeof google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|null);
|
|
23431
|
+
}
|
|
23432
|
+
|
|
23433
|
+
/** Represents a SensitivityScore. */
|
|
23434
|
+
class SensitivityScore implements ISensitivityScore {
|
|
23435
|
+
|
|
23436
|
+
/**
|
|
23437
|
+
* Constructs a new SensitivityScore.
|
|
23438
|
+
* @param [properties] Properties to set
|
|
23439
|
+
*/
|
|
23440
|
+
constructor(properties?: google.privacy.dlp.v2.ISensitivityScore);
|
|
23441
|
+
|
|
23442
|
+
/** SensitivityScore score. */
|
|
23443
|
+
public score: (google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel|keyof typeof google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel);
|
|
23444
|
+
|
|
23445
|
+
/**
|
|
23446
|
+
* Creates a new SensitivityScore instance using the specified properties.
|
|
23447
|
+
* @param [properties] Properties to set
|
|
23448
|
+
* @returns SensitivityScore instance
|
|
23449
|
+
*/
|
|
23450
|
+
public static create(properties?: google.privacy.dlp.v2.ISensitivityScore): google.privacy.dlp.v2.SensitivityScore;
|
|
23451
|
+
|
|
23452
|
+
/**
|
|
23453
|
+
* Encodes the specified SensitivityScore message. Does not implicitly {@link google.privacy.dlp.v2.SensitivityScore.verify|verify} messages.
|
|
23454
|
+
* @param message SensitivityScore message or plain object to encode
|
|
23455
|
+
* @param [writer] Writer to encode to
|
|
23456
|
+
* @returns Writer
|
|
23457
|
+
*/
|
|
23458
|
+
public static encode(message: google.privacy.dlp.v2.ISensitivityScore, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23459
|
+
|
|
23460
|
+
/**
|
|
23461
|
+
* Encodes the specified SensitivityScore message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SensitivityScore.verify|verify} messages.
|
|
23462
|
+
* @param message SensitivityScore message or plain object to encode
|
|
23463
|
+
* @param [writer] Writer to encode to
|
|
23464
|
+
* @returns Writer
|
|
23465
|
+
*/
|
|
23466
|
+
public static encodeDelimited(message: google.privacy.dlp.v2.ISensitivityScore, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23467
|
+
|
|
23468
|
+
/**
|
|
23469
|
+
* Decodes a SensitivityScore message from the specified reader or buffer.
|
|
23470
|
+
* @param reader Reader or buffer to decode from
|
|
23471
|
+
* @param [length] Message length if known beforehand
|
|
23472
|
+
* @returns SensitivityScore
|
|
23473
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23474
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23475
|
+
*/
|
|
23476
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SensitivityScore;
|
|
23477
|
+
|
|
23478
|
+
/**
|
|
23479
|
+
* Decodes a SensitivityScore message from the specified reader or buffer, length delimited.
|
|
23480
|
+
* @param reader Reader or buffer to decode from
|
|
23481
|
+
* @returns SensitivityScore
|
|
23482
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23483
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23484
|
+
*/
|
|
23485
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SensitivityScore;
|
|
23486
|
+
|
|
23487
|
+
/**
|
|
23488
|
+
* Verifies a SensitivityScore message.
|
|
23489
|
+
* @param message Plain object to verify
|
|
23490
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23491
|
+
*/
|
|
23492
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23493
|
+
|
|
23494
|
+
/**
|
|
23495
|
+
* Creates a SensitivityScore message from a plain object. Also converts values to their respective internal types.
|
|
23496
|
+
* @param object Plain object
|
|
23497
|
+
* @returns SensitivityScore
|
|
23498
|
+
*/
|
|
23499
|
+
public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SensitivityScore;
|
|
23500
|
+
|
|
23501
|
+
/**
|
|
23502
|
+
* Creates a plain object from a SensitivityScore message. Also converts values to other types if specified.
|
|
23503
|
+
* @param message SensitivityScore
|
|
23504
|
+
* @param [options] Conversion options
|
|
23505
|
+
* @returns Plain object
|
|
23506
|
+
*/
|
|
23507
|
+
public static toObject(message: google.privacy.dlp.v2.SensitivityScore, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23508
|
+
|
|
23509
|
+
/**
|
|
23510
|
+
* Converts this SensitivityScore to JSON.
|
|
23511
|
+
* @returns JSON object
|
|
23512
|
+
*/
|
|
23513
|
+
public toJSON(): { [k: string]: any };
|
|
23514
|
+
|
|
23515
|
+
/**
|
|
23516
|
+
* Gets the default type url for SensitivityScore
|
|
23517
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23518
|
+
* @returns The default type url
|
|
23519
|
+
*/
|
|
23520
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23521
|
+
}
|
|
23522
|
+
|
|
23523
|
+
namespace SensitivityScore {
|
|
23524
|
+
|
|
23525
|
+
/** SensitivityScoreLevel enum. */
|
|
23526
|
+
enum SensitivityScoreLevel {
|
|
23527
|
+
SENSITIVITY_SCORE_UNSPECIFIED = 0,
|
|
23528
|
+
SENSITIVITY_LOW = 10,
|
|
23529
|
+
SENSITIVITY_MODERATE = 20,
|
|
23530
|
+
SENSITIVITY_HIGH = 30
|
|
23531
|
+
}
|
|
23532
|
+
}
|
|
23533
|
+
|
|
21972
23534
|
/** Likelihood enum. */
|
|
21973
23535
|
enum Likelihood {
|
|
21974
23536
|
LIKELIHOOD_UNSPECIFIED = 0,
|