@google-cloud/dlp 5.9.0 → 5.11.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.
@@ -20111,6 +20111,12 @@ export namespace google {
20111
20111
  /** DataProfileAction pubSubNotification */
20112
20112
  pubSubNotification?: (google.privacy.dlp.v2.DataProfileAction.IPubSubNotification|null);
20113
20113
 
20114
+ /** DataProfileAction publishToChronicle */
20115
+ publishToChronicle?: (google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle|null);
20116
+
20117
+ /** DataProfileAction publishToScc */
20118
+ publishToScc?: (google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter|null);
20119
+
20114
20120
  /** DataProfileAction tagResources */
20115
20121
  tagResources?: (google.privacy.dlp.v2.DataProfileAction.ITagResources|null);
20116
20122
  }
@@ -20130,11 +20136,17 @@ export namespace google {
20130
20136
  /** DataProfileAction pubSubNotification. */
20131
20137
  public pubSubNotification?: (google.privacy.dlp.v2.DataProfileAction.IPubSubNotification|null);
20132
20138
 
20139
+ /** DataProfileAction publishToChronicle. */
20140
+ public publishToChronicle?: (google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle|null);
20141
+
20142
+ /** DataProfileAction publishToScc. */
20143
+ public publishToScc?: (google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter|null);
20144
+
20133
20145
  /** DataProfileAction tagResources. */
20134
20146
  public tagResources?: (google.privacy.dlp.v2.DataProfileAction.ITagResources|null);
20135
20147
 
20136
20148
  /** DataProfileAction action. */
20137
- public action?: ("exportData"|"pubSubNotification"|"tagResources");
20149
+ public action?: ("exportData"|"pubSubNotification"|"publishToChronicle"|"publishToScc"|"tagResources");
20138
20150
 
20139
20151
  /**
20140
20152
  * Creates a new DataProfileAction instance using the specified properties.
@@ -20448,6 +20460,188 @@ export namespace google {
20448
20460
  ERROR_CHANGED = 4
20449
20461
  }
20450
20462
 
20463
+ /** Properties of a PublishToChronicle. */
20464
+ interface IPublishToChronicle {
20465
+ }
20466
+
20467
+ /** Represents a PublishToChronicle. */
20468
+ class PublishToChronicle implements IPublishToChronicle {
20469
+
20470
+ /**
20471
+ * Constructs a new PublishToChronicle.
20472
+ * @param [properties] Properties to set
20473
+ */
20474
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle);
20475
+
20476
+ /**
20477
+ * Creates a new PublishToChronicle instance using the specified properties.
20478
+ * @param [properties] Properties to set
20479
+ * @returns PublishToChronicle instance
20480
+ */
20481
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
20482
+
20483
+ /**
20484
+ * Encodes the specified PublishToChronicle message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToChronicle.verify|verify} messages.
20485
+ * @param message PublishToChronicle message or plain object to encode
20486
+ * @param [writer] Writer to encode to
20487
+ * @returns Writer
20488
+ */
20489
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle, writer?: $protobuf.Writer): $protobuf.Writer;
20490
+
20491
+ /**
20492
+ * Encodes the specified PublishToChronicle message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToChronicle.verify|verify} messages.
20493
+ * @param message PublishToChronicle message or plain object to encode
20494
+ * @param [writer] Writer to encode to
20495
+ * @returns Writer
20496
+ */
20497
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPublishToChronicle, writer?: $protobuf.Writer): $protobuf.Writer;
20498
+
20499
+ /**
20500
+ * Decodes a PublishToChronicle message from the specified reader or buffer.
20501
+ * @param reader Reader or buffer to decode from
20502
+ * @param [length] Message length if known beforehand
20503
+ * @returns PublishToChronicle
20504
+ * @throws {Error} If the payload is not a reader or valid buffer
20505
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20506
+ */
20507
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
20508
+
20509
+ /**
20510
+ * Decodes a PublishToChronicle message from the specified reader or buffer, length delimited.
20511
+ * @param reader Reader or buffer to decode from
20512
+ * @returns PublishToChronicle
20513
+ * @throws {Error} If the payload is not a reader or valid buffer
20514
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20515
+ */
20516
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
20517
+
20518
+ /**
20519
+ * Verifies a PublishToChronicle message.
20520
+ * @param message Plain object to verify
20521
+ * @returns `null` if valid, otherwise the reason why it is not
20522
+ */
20523
+ public static verify(message: { [k: string]: any }): (string|null);
20524
+
20525
+ /**
20526
+ * Creates a PublishToChronicle message from a plain object. Also converts values to their respective internal types.
20527
+ * @param object Plain object
20528
+ * @returns PublishToChronicle
20529
+ */
20530
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PublishToChronicle;
20531
+
20532
+ /**
20533
+ * Creates a plain object from a PublishToChronicle message. Also converts values to other types if specified.
20534
+ * @param message PublishToChronicle
20535
+ * @param [options] Conversion options
20536
+ * @returns Plain object
20537
+ */
20538
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PublishToChronicle, options?: $protobuf.IConversionOptions): { [k: string]: any };
20539
+
20540
+ /**
20541
+ * Converts this PublishToChronicle to JSON.
20542
+ * @returns JSON object
20543
+ */
20544
+ public toJSON(): { [k: string]: any };
20545
+
20546
+ /**
20547
+ * Gets the default type url for PublishToChronicle
20548
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20549
+ * @returns The default type url
20550
+ */
20551
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20552
+ }
20553
+
20554
+ /** Properties of a PublishToSecurityCommandCenter. */
20555
+ interface IPublishToSecurityCommandCenter {
20556
+ }
20557
+
20558
+ /** Represents a PublishToSecurityCommandCenter. */
20559
+ class PublishToSecurityCommandCenter implements IPublishToSecurityCommandCenter {
20560
+
20561
+ /**
20562
+ * Constructs a new PublishToSecurityCommandCenter.
20563
+ * @param [properties] Properties to set
20564
+ */
20565
+ constructor(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter);
20566
+
20567
+ /**
20568
+ * Creates a new PublishToSecurityCommandCenter instance using the specified properties.
20569
+ * @param [properties] Properties to set
20570
+ * @returns PublishToSecurityCommandCenter instance
20571
+ */
20572
+ public static create(properties?: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
20573
+
20574
+ /**
20575
+ * Encodes the specified PublishToSecurityCommandCenter message. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter.verify|verify} messages.
20576
+ * @param message PublishToSecurityCommandCenter message or plain object to encode
20577
+ * @param [writer] Writer to encode to
20578
+ * @returns Writer
20579
+ */
20580
+ public static encode(message: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter, writer?: $protobuf.Writer): $protobuf.Writer;
20581
+
20582
+ /**
20583
+ * Encodes the specified PublishToSecurityCommandCenter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter.verify|verify} messages.
20584
+ * @param message PublishToSecurityCommandCenter message or plain object to encode
20585
+ * @param [writer] Writer to encode to
20586
+ * @returns Writer
20587
+ */
20588
+ public static encodeDelimited(message: google.privacy.dlp.v2.DataProfileAction.IPublishToSecurityCommandCenter, writer?: $protobuf.Writer): $protobuf.Writer;
20589
+
20590
+ /**
20591
+ * Decodes a PublishToSecurityCommandCenter message from the specified reader or buffer.
20592
+ * @param reader Reader or buffer to decode from
20593
+ * @param [length] Message length if known beforehand
20594
+ * @returns PublishToSecurityCommandCenter
20595
+ * @throws {Error} If the payload is not a reader or valid buffer
20596
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20597
+ */
20598
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
20599
+
20600
+ /**
20601
+ * Decodes a PublishToSecurityCommandCenter message from the specified reader or buffer, length delimited.
20602
+ * @param reader Reader or buffer to decode from
20603
+ * @returns PublishToSecurityCommandCenter
20604
+ * @throws {Error} If the payload is not a reader or valid buffer
20605
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20606
+ */
20607
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
20608
+
20609
+ /**
20610
+ * Verifies a PublishToSecurityCommandCenter message.
20611
+ * @param message Plain object to verify
20612
+ * @returns `null` if valid, otherwise the reason why it is not
20613
+ */
20614
+ public static verify(message: { [k: string]: any }): (string|null);
20615
+
20616
+ /**
20617
+ * Creates a PublishToSecurityCommandCenter message from a plain object. Also converts values to their respective internal types.
20618
+ * @param object Plain object
20619
+ * @returns PublishToSecurityCommandCenter
20620
+ */
20621
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter;
20622
+
20623
+ /**
20624
+ * Creates a plain object from a PublishToSecurityCommandCenter message. Also converts values to other types if specified.
20625
+ * @param message PublishToSecurityCommandCenter
20626
+ * @param [options] Conversion options
20627
+ * @returns Plain object
20628
+ */
20629
+ public static toObject(message: google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenter, options?: $protobuf.IConversionOptions): { [k: string]: any };
20630
+
20631
+ /**
20632
+ * Converts this PublishToSecurityCommandCenter to JSON.
20633
+ * @returns JSON object
20634
+ */
20635
+ public toJSON(): { [k: string]: any };
20636
+
20637
+ /**
20638
+ * Gets the default type url for PublishToSecurityCommandCenter
20639
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20640
+ * @returns The default type url
20641
+ */
20642
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20643
+ }
20644
+
20451
20645
  /** Properties of a TagResources. */
20452
20646
  interface ITagResources {
20453
20647
 
@@ -20776,6 +20970,9 @@ export namespace google {
20776
20970
  /** DataProfileJobConfig projectId */
20777
20971
  projectId?: (string|null);
20778
20972
 
20973
+ /** DataProfileJobConfig otherCloudStartingLocation */
20974
+ otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
20975
+
20779
20976
  /** DataProfileJobConfig inspectTemplates */
20780
20977
  inspectTemplates?: (string[]|null);
20781
20978
 
@@ -20798,6 +20995,9 @@ export namespace google {
20798
20995
  /** DataProfileJobConfig projectId. */
20799
20996
  public projectId: string;
20800
20997
 
20998
+ /** DataProfileJobConfig otherCloudStartingLocation. */
20999
+ public otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
21000
+
20801
21001
  /** DataProfileJobConfig inspectTemplates. */
20802
21002
  public inspectTemplates: string[];
20803
21003
 
@@ -21416,6 +21616,9 @@ export namespace google {
21416
21616
  /** DiscoveryConfig orgConfig */
21417
21617
  orgConfig?: (google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig|null);
21418
21618
 
21619
+ /** DiscoveryConfig otherCloudStartingLocation */
21620
+ otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
21621
+
21419
21622
  /** DiscoveryConfig inspectTemplates */
21420
21623
  inspectTemplates?: (string[]|null);
21421
21624
 
@@ -21459,6 +21662,9 @@ export namespace google {
21459
21662
  /** DiscoveryConfig orgConfig. */
21460
21663
  public orgConfig?: (google.privacy.dlp.v2.DiscoveryConfig.IOrgConfig|null);
21461
21664
 
21665
+ /** DiscoveryConfig otherCloudStartingLocation. */
21666
+ public otherCloudStartingLocation?: (google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation|null);
21667
+
21462
21668
  /** DiscoveryConfig inspectTemplates. */
21463
21669
  public inspectTemplates: string[];
21464
21670
 
@@ -21688,6 +21894,9 @@ export namespace google {
21688
21894
 
21689
21895
  /** DiscoveryTarget cloudStorageTarget */
21690
21896
  cloudStorageTarget?: (google.privacy.dlp.v2.ICloudStorageDiscoveryTarget|null);
21897
+
21898
+ /** DiscoveryTarget otherCloudTarget */
21899
+ otherCloudTarget?: (google.privacy.dlp.v2.IOtherCloudDiscoveryTarget|null);
21691
21900
  }
21692
21901
 
21693
21902
  /** Represents a DiscoveryTarget. */
@@ -21711,8 +21920,11 @@ export namespace google {
21711
21920
  /** DiscoveryTarget cloudStorageTarget. */
21712
21921
  public cloudStorageTarget?: (google.privacy.dlp.v2.ICloudStorageDiscoveryTarget|null);
21713
21922
 
21923
+ /** DiscoveryTarget otherCloudTarget. */
21924
+ public otherCloudTarget?: (google.privacy.dlp.v2.IOtherCloudDiscoveryTarget|null);
21925
+
21714
21926
  /** DiscoveryTarget target. */
21715
- public target?: ("bigQueryTarget"|"cloudSqlTarget"|"secretsTarget"|"cloudStorageTarget");
21927
+ public target?: ("bigQueryTarget"|"cloudSqlTarget"|"secretsTarget"|"cloudStorageTarget"|"otherCloudTarget");
21716
21928
 
21717
21929
  /**
21718
21930
  * Creates a new DiscoveryTarget instance using the specified properties.
@@ -23748,6 +23960,9 @@ export namespace google {
23748
23960
 
23749
23961
  /** DiscoveryCloudSqlGenerationCadence refreshFrequency */
23750
23962
  refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
23963
+
23964
+ /** DiscoveryCloudSqlGenerationCadence inspectTemplateModifiedCadence */
23965
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
23751
23966
  }
23752
23967
 
23753
23968
  /** Represents a DiscoveryCloudSqlGenerationCadence. */
@@ -23765,6 +23980,9 @@ export namespace google {
23765
23980
  /** DiscoveryCloudSqlGenerationCadence refreshFrequency. */
23766
23981
  public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
23767
23982
 
23983
+ /** DiscoveryCloudSqlGenerationCadence inspectTemplateModifiedCadence. */
23984
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
23985
+
23768
23986
  /**
23769
23987
  * Creates a new DiscoveryCloudSqlGenerationCadence instance using the specified properties.
23770
23988
  * @param [properties] Properties to set
@@ -25125,112 +25343,1686 @@ export namespace google {
25125
25343
  public static getTypeUrl(typeUrlPrefix?: string): string;
25126
25344
  }
25127
25345
 
25128
- /** Properties of a DiscoveryStartingLocation. */
25129
- interface IDiscoveryStartingLocation {
25346
+ /** Properties of an OtherCloudDiscoveryTarget. */
25347
+ interface IOtherCloudDiscoveryTarget {
25130
25348
 
25131
- /** DiscoveryStartingLocation organizationId */
25132
- organizationId?: (number|Long|string|null);
25349
+ /** OtherCloudDiscoveryTarget dataSourceType */
25350
+ dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
25133
25351
 
25134
- /** DiscoveryStartingLocation folderId */
25135
- folderId?: (number|Long|string|null);
25352
+ /** OtherCloudDiscoveryTarget filter */
25353
+ filter?: (google.privacy.dlp.v2.IDiscoveryOtherCloudFilter|null);
25354
+
25355
+ /** OtherCloudDiscoveryTarget conditions */
25356
+ conditions?: (google.privacy.dlp.v2.IDiscoveryOtherCloudConditions|null);
25357
+
25358
+ /** OtherCloudDiscoveryTarget generationCadence */
25359
+ generationCadence?: (google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence|null);
25360
+
25361
+ /** OtherCloudDiscoveryTarget disabled */
25362
+ disabled?: (google.privacy.dlp.v2.IDisabled|null);
25136
25363
  }
25137
25364
 
25138
- /** Represents a DiscoveryStartingLocation. */
25139
- class DiscoveryStartingLocation implements IDiscoveryStartingLocation {
25365
+ /** Represents an OtherCloudDiscoveryTarget. */
25366
+ class OtherCloudDiscoveryTarget implements IOtherCloudDiscoveryTarget {
25140
25367
 
25141
25368
  /**
25142
- * Constructs a new DiscoveryStartingLocation.
25369
+ * Constructs a new OtherCloudDiscoveryTarget.
25143
25370
  * @param [properties] Properties to set
25144
25371
  */
25145
- constructor(properties?: google.privacy.dlp.v2.IDiscoveryStartingLocation);
25372
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget);
25146
25373
 
25147
- /** DiscoveryStartingLocation organizationId. */
25148
- public organizationId?: (number|Long|string|null);
25374
+ /** OtherCloudDiscoveryTarget dataSourceType. */
25375
+ public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
25149
25376
 
25150
- /** DiscoveryStartingLocation folderId. */
25151
- public folderId?: (number|Long|string|null);
25377
+ /** OtherCloudDiscoveryTarget filter. */
25378
+ public filter?: (google.privacy.dlp.v2.IDiscoveryOtherCloudFilter|null);
25152
25379
 
25153
- /** DiscoveryStartingLocation location. */
25154
- public location?: ("organizationId"|"folderId");
25380
+ /** OtherCloudDiscoveryTarget conditions. */
25381
+ public conditions?: (google.privacy.dlp.v2.IDiscoveryOtherCloudConditions|null);
25382
+
25383
+ /** OtherCloudDiscoveryTarget generationCadence. */
25384
+ public generationCadence?: (google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence|null);
25385
+
25386
+ /** OtherCloudDiscoveryTarget disabled. */
25387
+ public disabled?: (google.privacy.dlp.v2.IDisabled|null);
25388
+
25389
+ /** OtherCloudDiscoveryTarget cadence. */
25390
+ public cadence?: ("generationCadence"|"disabled");
25155
25391
 
25156
25392
  /**
25157
- * Creates a new DiscoveryStartingLocation instance using the specified properties.
25393
+ * Creates a new OtherCloudDiscoveryTarget instance using the specified properties.
25158
25394
  * @param [properties] Properties to set
25159
- * @returns DiscoveryStartingLocation instance
25395
+ * @returns OtherCloudDiscoveryTarget instance
25160
25396
  */
25161
- public static create(properties?: google.privacy.dlp.v2.IDiscoveryStartingLocation): google.privacy.dlp.v2.DiscoveryStartingLocation;
25397
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
25162
25398
 
25163
25399
  /**
25164
- * Encodes the specified DiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryStartingLocation.verify|verify} messages.
25165
- * @param message DiscoveryStartingLocation message or plain object to encode
25400
+ * Encodes the specified OtherCloudDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryTarget.verify|verify} messages.
25401
+ * @param message OtherCloudDiscoveryTarget message or plain object to encode
25166
25402
  * @param [writer] Writer to encode to
25167
25403
  * @returns Writer
25168
25404
  */
25169
- public static encode(message: google.privacy.dlp.v2.IDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
25405
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
25170
25406
 
25171
25407
  /**
25172
- * Encodes the specified DiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryStartingLocation.verify|verify} messages.
25173
- * @param message DiscoveryStartingLocation message or plain object to encode
25408
+ * Encodes the specified OtherCloudDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryTarget.verify|verify} messages.
25409
+ * @param message OtherCloudDiscoveryTarget message or plain object to encode
25174
25410
  * @param [writer] Writer to encode to
25175
25411
  * @returns Writer
25176
25412
  */
25177
- public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
25413
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
25178
25414
 
25179
25415
  /**
25180
- * Decodes a DiscoveryStartingLocation message from the specified reader or buffer.
25416
+ * Decodes an OtherCloudDiscoveryTarget message from the specified reader or buffer.
25181
25417
  * @param reader Reader or buffer to decode from
25182
25418
  * @param [length] Message length if known beforehand
25183
- * @returns DiscoveryStartingLocation
25419
+ * @returns OtherCloudDiscoveryTarget
25184
25420
  * @throws {Error} If the payload is not a reader or valid buffer
25185
25421
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
25186
25422
  */
25187
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryStartingLocation;
25423
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
25188
25424
 
25189
25425
  /**
25190
- * Decodes a DiscoveryStartingLocation message from the specified reader or buffer, length delimited.
25426
+ * Decodes an OtherCloudDiscoveryTarget message from the specified reader or buffer, length delimited.
25191
25427
  * @param reader Reader or buffer to decode from
25192
- * @returns DiscoveryStartingLocation
25428
+ * @returns OtherCloudDiscoveryTarget
25193
25429
  * @throws {Error} If the payload is not a reader or valid buffer
25194
25430
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
25195
25431
  */
25196
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryStartingLocation;
25432
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
25197
25433
 
25198
25434
  /**
25199
- * Verifies a DiscoveryStartingLocation message.
25435
+ * Verifies an OtherCloudDiscoveryTarget message.
25200
25436
  * @param message Plain object to verify
25201
25437
  * @returns `null` if valid, otherwise the reason why it is not
25202
25438
  */
25203
25439
  public static verify(message: { [k: string]: any }): (string|null);
25204
25440
 
25205
25441
  /**
25206
- * Creates a DiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
25442
+ * Creates an OtherCloudDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
25207
25443
  * @param object Plain object
25208
- * @returns DiscoveryStartingLocation
25444
+ * @returns OtherCloudDiscoveryTarget
25209
25445
  */
25210
- public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryStartingLocation;
25446
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudDiscoveryTarget;
25211
25447
 
25212
25448
  /**
25213
- * Creates a plain object from a DiscoveryStartingLocation message. Also converts values to other types if specified.
25214
- * @param message DiscoveryStartingLocation
25449
+ * Creates a plain object from an OtherCloudDiscoveryTarget message. Also converts values to other types if specified.
25450
+ * @param message OtherCloudDiscoveryTarget
25215
25451
  * @param [options] Conversion options
25216
25452
  * @returns Plain object
25217
25453
  */
25218
- public static toObject(message: google.privacy.dlp.v2.DiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
25454
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
25219
25455
 
25220
25456
  /**
25221
- * Converts this DiscoveryStartingLocation to JSON.
25457
+ * Converts this OtherCloudDiscoveryTarget to JSON.
25222
25458
  * @returns JSON object
25223
25459
  */
25224
25460
  public toJSON(): { [k: string]: any };
25225
25461
 
25226
25462
  /**
25227
- * Gets the default type url for DiscoveryStartingLocation
25463
+ * Gets the default type url for OtherCloudDiscoveryTarget
25228
25464
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25229
25465
  * @returns The default type url
25230
25466
  */
25231
25467
  public static getTypeUrl(typeUrlPrefix?: string): string;
25232
25468
  }
25233
25469
 
25470
+ /** Properties of a DiscoveryOtherCloudFilter. */
25471
+ interface IDiscoveryOtherCloudFilter {
25472
+
25473
+ /** DiscoveryOtherCloudFilter collection */
25474
+ collection?: (google.privacy.dlp.v2.IOtherCloudResourceCollection|null);
25475
+
25476
+ /** DiscoveryOtherCloudFilter singleResource */
25477
+ singleResource?: (google.privacy.dlp.v2.IOtherCloudSingleResourceReference|null);
25478
+
25479
+ /** DiscoveryOtherCloudFilter others */
25480
+ others?: (google.privacy.dlp.v2.IAllOtherResources|null);
25481
+ }
25482
+
25483
+ /** Represents a DiscoveryOtherCloudFilter. */
25484
+ class DiscoveryOtherCloudFilter implements IDiscoveryOtherCloudFilter {
25485
+
25486
+ /**
25487
+ * Constructs a new DiscoveryOtherCloudFilter.
25488
+ * @param [properties] Properties to set
25489
+ */
25490
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter);
25491
+
25492
+ /** DiscoveryOtherCloudFilter collection. */
25493
+ public collection?: (google.privacy.dlp.v2.IOtherCloudResourceCollection|null);
25494
+
25495
+ /** DiscoveryOtherCloudFilter singleResource. */
25496
+ public singleResource?: (google.privacy.dlp.v2.IOtherCloudSingleResourceReference|null);
25497
+
25498
+ /** DiscoveryOtherCloudFilter others. */
25499
+ public others?: (google.privacy.dlp.v2.IAllOtherResources|null);
25500
+
25501
+ /** DiscoveryOtherCloudFilter filter. */
25502
+ public filter?: ("collection"|"singleResource"|"others");
25503
+
25504
+ /**
25505
+ * Creates a new DiscoveryOtherCloudFilter instance using the specified properties.
25506
+ * @param [properties] Properties to set
25507
+ * @returns DiscoveryOtherCloudFilter instance
25508
+ */
25509
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
25510
+
25511
+ /**
25512
+ * Encodes the specified DiscoveryOtherCloudFilter message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudFilter.verify|verify} messages.
25513
+ * @param message DiscoveryOtherCloudFilter message or plain object to encode
25514
+ * @param [writer] Writer to encode to
25515
+ * @returns Writer
25516
+ */
25517
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter, writer?: $protobuf.Writer): $protobuf.Writer;
25518
+
25519
+ /**
25520
+ * Encodes the specified DiscoveryOtherCloudFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudFilter.verify|verify} messages.
25521
+ * @param message DiscoveryOtherCloudFilter message or plain object to encode
25522
+ * @param [writer] Writer to encode to
25523
+ * @returns Writer
25524
+ */
25525
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryOtherCloudFilter, writer?: $protobuf.Writer): $protobuf.Writer;
25526
+
25527
+ /**
25528
+ * Decodes a DiscoveryOtherCloudFilter message from the specified reader or buffer.
25529
+ * @param reader Reader or buffer to decode from
25530
+ * @param [length] Message length if known beforehand
25531
+ * @returns DiscoveryOtherCloudFilter
25532
+ * @throws {Error} If the payload is not a reader or valid buffer
25533
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25534
+ */
25535
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
25536
+
25537
+ /**
25538
+ * Decodes a DiscoveryOtherCloudFilter message from the specified reader or buffer, length delimited.
25539
+ * @param reader Reader or buffer to decode from
25540
+ * @returns DiscoveryOtherCloudFilter
25541
+ * @throws {Error} If the payload is not a reader or valid buffer
25542
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25543
+ */
25544
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
25545
+
25546
+ /**
25547
+ * Verifies a DiscoveryOtherCloudFilter message.
25548
+ * @param message Plain object to verify
25549
+ * @returns `null` if valid, otherwise the reason why it is not
25550
+ */
25551
+ public static verify(message: { [k: string]: any }): (string|null);
25552
+
25553
+ /**
25554
+ * Creates a DiscoveryOtherCloudFilter message from a plain object. Also converts values to their respective internal types.
25555
+ * @param object Plain object
25556
+ * @returns DiscoveryOtherCloudFilter
25557
+ */
25558
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryOtherCloudFilter;
25559
+
25560
+ /**
25561
+ * Creates a plain object from a DiscoveryOtherCloudFilter message. Also converts values to other types if specified.
25562
+ * @param message DiscoveryOtherCloudFilter
25563
+ * @param [options] Conversion options
25564
+ * @returns Plain object
25565
+ */
25566
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryOtherCloudFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
25567
+
25568
+ /**
25569
+ * Converts this DiscoveryOtherCloudFilter to JSON.
25570
+ * @returns JSON object
25571
+ */
25572
+ public toJSON(): { [k: string]: any };
25573
+
25574
+ /**
25575
+ * Gets the default type url for DiscoveryOtherCloudFilter
25576
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25577
+ * @returns The default type url
25578
+ */
25579
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25580
+ }
25581
+
25582
+ /** Properties of an OtherCloudResourceCollection. */
25583
+ interface IOtherCloudResourceCollection {
25584
+
25585
+ /** OtherCloudResourceCollection includeRegexes */
25586
+ includeRegexes?: (google.privacy.dlp.v2.IOtherCloudResourceRegexes|null);
25587
+ }
25588
+
25589
+ /** Represents an OtherCloudResourceCollection. */
25590
+ class OtherCloudResourceCollection implements IOtherCloudResourceCollection {
25591
+
25592
+ /**
25593
+ * Constructs a new OtherCloudResourceCollection.
25594
+ * @param [properties] Properties to set
25595
+ */
25596
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudResourceCollection);
25597
+
25598
+ /** OtherCloudResourceCollection includeRegexes. */
25599
+ public includeRegexes?: (google.privacy.dlp.v2.IOtherCloudResourceRegexes|null);
25600
+
25601
+ /** OtherCloudResourceCollection pattern. */
25602
+ public pattern?: "includeRegexes";
25603
+
25604
+ /**
25605
+ * Creates a new OtherCloudResourceCollection instance using the specified properties.
25606
+ * @param [properties] Properties to set
25607
+ * @returns OtherCloudResourceCollection instance
25608
+ */
25609
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudResourceCollection): google.privacy.dlp.v2.OtherCloudResourceCollection;
25610
+
25611
+ /**
25612
+ * Encodes the specified OtherCloudResourceCollection message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceCollection.verify|verify} messages.
25613
+ * @param message OtherCloudResourceCollection message or plain object to encode
25614
+ * @param [writer] Writer to encode to
25615
+ * @returns Writer
25616
+ */
25617
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudResourceCollection, writer?: $protobuf.Writer): $protobuf.Writer;
25618
+
25619
+ /**
25620
+ * Encodes the specified OtherCloudResourceCollection message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceCollection.verify|verify} messages.
25621
+ * @param message OtherCloudResourceCollection message or plain object to encode
25622
+ * @param [writer] Writer to encode to
25623
+ * @returns Writer
25624
+ */
25625
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudResourceCollection, writer?: $protobuf.Writer): $protobuf.Writer;
25626
+
25627
+ /**
25628
+ * Decodes an OtherCloudResourceCollection message from the specified reader or buffer.
25629
+ * @param reader Reader or buffer to decode from
25630
+ * @param [length] Message length if known beforehand
25631
+ * @returns OtherCloudResourceCollection
25632
+ * @throws {Error} If the payload is not a reader or valid buffer
25633
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25634
+ */
25635
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudResourceCollection;
25636
+
25637
+ /**
25638
+ * Decodes an OtherCloudResourceCollection message from the specified reader or buffer, length delimited.
25639
+ * @param reader Reader or buffer to decode from
25640
+ * @returns OtherCloudResourceCollection
25641
+ * @throws {Error} If the payload is not a reader or valid buffer
25642
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25643
+ */
25644
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudResourceCollection;
25645
+
25646
+ /**
25647
+ * Verifies an OtherCloudResourceCollection message.
25648
+ * @param message Plain object to verify
25649
+ * @returns `null` if valid, otherwise the reason why it is not
25650
+ */
25651
+ public static verify(message: { [k: string]: any }): (string|null);
25652
+
25653
+ /**
25654
+ * Creates an OtherCloudResourceCollection message from a plain object. Also converts values to their respective internal types.
25655
+ * @param object Plain object
25656
+ * @returns OtherCloudResourceCollection
25657
+ */
25658
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudResourceCollection;
25659
+
25660
+ /**
25661
+ * Creates a plain object from an OtherCloudResourceCollection message. Also converts values to other types if specified.
25662
+ * @param message OtherCloudResourceCollection
25663
+ * @param [options] Conversion options
25664
+ * @returns Plain object
25665
+ */
25666
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudResourceCollection, options?: $protobuf.IConversionOptions): { [k: string]: any };
25667
+
25668
+ /**
25669
+ * Converts this OtherCloudResourceCollection to JSON.
25670
+ * @returns JSON object
25671
+ */
25672
+ public toJSON(): { [k: string]: any };
25673
+
25674
+ /**
25675
+ * Gets the default type url for OtherCloudResourceCollection
25676
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25677
+ * @returns The default type url
25678
+ */
25679
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25680
+ }
25681
+
25682
+ /** Properties of an OtherCloudResourceRegexes. */
25683
+ interface IOtherCloudResourceRegexes {
25684
+
25685
+ /** OtherCloudResourceRegexes patterns */
25686
+ patterns?: (google.privacy.dlp.v2.IOtherCloudResourceRegex[]|null);
25687
+ }
25688
+
25689
+ /** Represents an OtherCloudResourceRegexes. */
25690
+ class OtherCloudResourceRegexes implements IOtherCloudResourceRegexes {
25691
+
25692
+ /**
25693
+ * Constructs a new OtherCloudResourceRegexes.
25694
+ * @param [properties] Properties to set
25695
+ */
25696
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegexes);
25697
+
25698
+ /** OtherCloudResourceRegexes patterns. */
25699
+ public patterns: google.privacy.dlp.v2.IOtherCloudResourceRegex[];
25700
+
25701
+ /**
25702
+ * Creates a new OtherCloudResourceRegexes instance using the specified properties.
25703
+ * @param [properties] Properties to set
25704
+ * @returns OtherCloudResourceRegexes instance
25705
+ */
25706
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegexes): google.privacy.dlp.v2.OtherCloudResourceRegexes;
25707
+
25708
+ /**
25709
+ * Encodes the specified OtherCloudResourceRegexes message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegexes.verify|verify} messages.
25710
+ * @param message OtherCloudResourceRegexes message or plain object to encode
25711
+ * @param [writer] Writer to encode to
25712
+ * @returns Writer
25713
+ */
25714
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudResourceRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
25715
+
25716
+ /**
25717
+ * Encodes the specified OtherCloudResourceRegexes message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegexes.verify|verify} messages.
25718
+ * @param message OtherCloudResourceRegexes message or plain object to encode
25719
+ * @param [writer] Writer to encode to
25720
+ * @returns Writer
25721
+ */
25722
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudResourceRegexes, writer?: $protobuf.Writer): $protobuf.Writer;
25723
+
25724
+ /**
25725
+ * Decodes an OtherCloudResourceRegexes message from the specified reader or buffer.
25726
+ * @param reader Reader or buffer to decode from
25727
+ * @param [length] Message length if known beforehand
25728
+ * @returns OtherCloudResourceRegexes
25729
+ * @throws {Error} If the payload is not a reader or valid buffer
25730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25731
+ */
25732
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudResourceRegexes;
25733
+
25734
+ /**
25735
+ * Decodes an OtherCloudResourceRegexes message from the specified reader or buffer, length delimited.
25736
+ * @param reader Reader or buffer to decode from
25737
+ * @returns OtherCloudResourceRegexes
25738
+ * @throws {Error} If the payload is not a reader or valid buffer
25739
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25740
+ */
25741
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudResourceRegexes;
25742
+
25743
+ /**
25744
+ * Verifies an OtherCloudResourceRegexes message.
25745
+ * @param message Plain object to verify
25746
+ * @returns `null` if valid, otherwise the reason why it is not
25747
+ */
25748
+ public static verify(message: { [k: string]: any }): (string|null);
25749
+
25750
+ /**
25751
+ * Creates an OtherCloudResourceRegexes message from a plain object. Also converts values to their respective internal types.
25752
+ * @param object Plain object
25753
+ * @returns OtherCloudResourceRegexes
25754
+ */
25755
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudResourceRegexes;
25756
+
25757
+ /**
25758
+ * Creates a plain object from an OtherCloudResourceRegexes message. Also converts values to other types if specified.
25759
+ * @param message OtherCloudResourceRegexes
25760
+ * @param [options] Conversion options
25761
+ * @returns Plain object
25762
+ */
25763
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudResourceRegexes, options?: $protobuf.IConversionOptions): { [k: string]: any };
25764
+
25765
+ /**
25766
+ * Converts this OtherCloudResourceRegexes to JSON.
25767
+ * @returns JSON object
25768
+ */
25769
+ public toJSON(): { [k: string]: any };
25770
+
25771
+ /**
25772
+ * Gets the default type url for OtherCloudResourceRegexes
25773
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25774
+ * @returns The default type url
25775
+ */
25776
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25777
+ }
25778
+
25779
+ /** Properties of an OtherCloudResourceRegex. */
25780
+ interface IOtherCloudResourceRegex {
25781
+
25782
+ /** OtherCloudResourceRegex amazonS3BucketRegex */
25783
+ amazonS3BucketRegex?: (google.privacy.dlp.v2.IAmazonS3BucketRegex|null);
25784
+ }
25785
+
25786
+ /** Represents an OtherCloudResourceRegex. */
25787
+ class OtherCloudResourceRegex implements IOtherCloudResourceRegex {
25788
+
25789
+ /**
25790
+ * Constructs a new OtherCloudResourceRegex.
25791
+ * @param [properties] Properties to set
25792
+ */
25793
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegex);
25794
+
25795
+ /** OtherCloudResourceRegex amazonS3BucketRegex. */
25796
+ public amazonS3BucketRegex?: (google.privacy.dlp.v2.IAmazonS3BucketRegex|null);
25797
+
25798
+ /** OtherCloudResourceRegex resourceRegex. */
25799
+ public resourceRegex?: "amazonS3BucketRegex";
25800
+
25801
+ /**
25802
+ * Creates a new OtherCloudResourceRegex instance using the specified properties.
25803
+ * @param [properties] Properties to set
25804
+ * @returns OtherCloudResourceRegex instance
25805
+ */
25806
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudResourceRegex): google.privacy.dlp.v2.OtherCloudResourceRegex;
25807
+
25808
+ /**
25809
+ * Encodes the specified OtherCloudResourceRegex message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegex.verify|verify} messages.
25810
+ * @param message OtherCloudResourceRegex message or plain object to encode
25811
+ * @param [writer] Writer to encode to
25812
+ * @returns Writer
25813
+ */
25814
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudResourceRegex, writer?: $protobuf.Writer): $protobuf.Writer;
25815
+
25816
+ /**
25817
+ * Encodes the specified OtherCloudResourceRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudResourceRegex.verify|verify} messages.
25818
+ * @param message OtherCloudResourceRegex message or plain object to encode
25819
+ * @param [writer] Writer to encode to
25820
+ * @returns Writer
25821
+ */
25822
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudResourceRegex, writer?: $protobuf.Writer): $protobuf.Writer;
25823
+
25824
+ /**
25825
+ * Decodes an OtherCloudResourceRegex message from the specified reader or buffer.
25826
+ * @param reader Reader or buffer to decode from
25827
+ * @param [length] Message length if known beforehand
25828
+ * @returns OtherCloudResourceRegex
25829
+ * @throws {Error} If the payload is not a reader or valid buffer
25830
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25831
+ */
25832
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudResourceRegex;
25833
+
25834
+ /**
25835
+ * Decodes an OtherCloudResourceRegex message from the specified reader or buffer, length delimited.
25836
+ * @param reader Reader or buffer to decode from
25837
+ * @returns OtherCloudResourceRegex
25838
+ * @throws {Error} If the payload is not a reader or valid buffer
25839
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25840
+ */
25841
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudResourceRegex;
25842
+
25843
+ /**
25844
+ * Verifies an OtherCloudResourceRegex message.
25845
+ * @param message Plain object to verify
25846
+ * @returns `null` if valid, otherwise the reason why it is not
25847
+ */
25848
+ public static verify(message: { [k: string]: any }): (string|null);
25849
+
25850
+ /**
25851
+ * Creates an OtherCloudResourceRegex message from a plain object. Also converts values to their respective internal types.
25852
+ * @param object Plain object
25853
+ * @returns OtherCloudResourceRegex
25854
+ */
25855
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudResourceRegex;
25856
+
25857
+ /**
25858
+ * Creates a plain object from an OtherCloudResourceRegex message. Also converts values to other types if specified.
25859
+ * @param message OtherCloudResourceRegex
25860
+ * @param [options] Conversion options
25861
+ * @returns Plain object
25862
+ */
25863
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudResourceRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
25864
+
25865
+ /**
25866
+ * Converts this OtherCloudResourceRegex to JSON.
25867
+ * @returns JSON object
25868
+ */
25869
+ public toJSON(): { [k: string]: any };
25870
+
25871
+ /**
25872
+ * Gets the default type url for OtherCloudResourceRegex
25873
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25874
+ * @returns The default type url
25875
+ */
25876
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25877
+ }
25878
+
25879
+ /** Properties of an AwsAccountRegex. */
25880
+ interface IAwsAccountRegex {
25881
+
25882
+ /** AwsAccountRegex accountIdRegex */
25883
+ accountIdRegex?: (string|null);
25884
+ }
25885
+
25886
+ /** Represents an AwsAccountRegex. */
25887
+ class AwsAccountRegex implements IAwsAccountRegex {
25888
+
25889
+ /**
25890
+ * Constructs a new AwsAccountRegex.
25891
+ * @param [properties] Properties to set
25892
+ */
25893
+ constructor(properties?: google.privacy.dlp.v2.IAwsAccountRegex);
25894
+
25895
+ /** AwsAccountRegex accountIdRegex. */
25896
+ public accountIdRegex: string;
25897
+
25898
+ /**
25899
+ * Creates a new AwsAccountRegex instance using the specified properties.
25900
+ * @param [properties] Properties to set
25901
+ * @returns AwsAccountRegex instance
25902
+ */
25903
+ public static create(properties?: google.privacy.dlp.v2.IAwsAccountRegex): google.privacy.dlp.v2.AwsAccountRegex;
25904
+
25905
+ /**
25906
+ * Encodes the specified AwsAccountRegex message. Does not implicitly {@link google.privacy.dlp.v2.AwsAccountRegex.verify|verify} messages.
25907
+ * @param message AwsAccountRegex message or plain object to encode
25908
+ * @param [writer] Writer to encode to
25909
+ * @returns Writer
25910
+ */
25911
+ public static encode(message: google.privacy.dlp.v2.IAwsAccountRegex, writer?: $protobuf.Writer): $protobuf.Writer;
25912
+
25913
+ /**
25914
+ * Encodes the specified AwsAccountRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AwsAccountRegex.verify|verify} messages.
25915
+ * @param message AwsAccountRegex message or plain object to encode
25916
+ * @param [writer] Writer to encode to
25917
+ * @returns Writer
25918
+ */
25919
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAwsAccountRegex, writer?: $protobuf.Writer): $protobuf.Writer;
25920
+
25921
+ /**
25922
+ * Decodes an AwsAccountRegex message from the specified reader or buffer.
25923
+ * @param reader Reader or buffer to decode from
25924
+ * @param [length] Message length if known beforehand
25925
+ * @returns AwsAccountRegex
25926
+ * @throws {Error} If the payload is not a reader or valid buffer
25927
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25928
+ */
25929
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AwsAccountRegex;
25930
+
25931
+ /**
25932
+ * Decodes an AwsAccountRegex message from the specified reader or buffer, length delimited.
25933
+ * @param reader Reader or buffer to decode from
25934
+ * @returns AwsAccountRegex
25935
+ * @throws {Error} If the payload is not a reader or valid buffer
25936
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25937
+ */
25938
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AwsAccountRegex;
25939
+
25940
+ /**
25941
+ * Verifies an AwsAccountRegex message.
25942
+ * @param message Plain object to verify
25943
+ * @returns `null` if valid, otherwise the reason why it is not
25944
+ */
25945
+ public static verify(message: { [k: string]: any }): (string|null);
25946
+
25947
+ /**
25948
+ * Creates an AwsAccountRegex message from a plain object. Also converts values to their respective internal types.
25949
+ * @param object Plain object
25950
+ * @returns AwsAccountRegex
25951
+ */
25952
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AwsAccountRegex;
25953
+
25954
+ /**
25955
+ * Creates a plain object from an AwsAccountRegex message. Also converts values to other types if specified.
25956
+ * @param message AwsAccountRegex
25957
+ * @param [options] Conversion options
25958
+ * @returns Plain object
25959
+ */
25960
+ public static toObject(message: google.privacy.dlp.v2.AwsAccountRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
25961
+
25962
+ /**
25963
+ * Converts this AwsAccountRegex to JSON.
25964
+ * @returns JSON object
25965
+ */
25966
+ public toJSON(): { [k: string]: any };
25967
+
25968
+ /**
25969
+ * Gets the default type url for AwsAccountRegex
25970
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25971
+ * @returns The default type url
25972
+ */
25973
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25974
+ }
25975
+
25976
+ /** Properties of an AmazonS3BucketRegex. */
25977
+ interface IAmazonS3BucketRegex {
25978
+
25979
+ /** AmazonS3BucketRegex awsAccountRegex */
25980
+ awsAccountRegex?: (google.privacy.dlp.v2.IAwsAccountRegex|null);
25981
+
25982
+ /** AmazonS3BucketRegex bucketNameRegex */
25983
+ bucketNameRegex?: (string|null);
25984
+ }
25985
+
25986
+ /** Represents an AmazonS3BucketRegex. */
25987
+ class AmazonS3BucketRegex implements IAmazonS3BucketRegex {
25988
+
25989
+ /**
25990
+ * Constructs a new AmazonS3BucketRegex.
25991
+ * @param [properties] Properties to set
25992
+ */
25993
+ constructor(properties?: google.privacy.dlp.v2.IAmazonS3BucketRegex);
25994
+
25995
+ /** AmazonS3BucketRegex awsAccountRegex. */
25996
+ public awsAccountRegex?: (google.privacy.dlp.v2.IAwsAccountRegex|null);
25997
+
25998
+ /** AmazonS3BucketRegex bucketNameRegex. */
25999
+ public bucketNameRegex: string;
26000
+
26001
+ /**
26002
+ * Creates a new AmazonS3BucketRegex instance using the specified properties.
26003
+ * @param [properties] Properties to set
26004
+ * @returns AmazonS3BucketRegex instance
26005
+ */
26006
+ public static create(properties?: google.privacy.dlp.v2.IAmazonS3BucketRegex): google.privacy.dlp.v2.AmazonS3BucketRegex;
26007
+
26008
+ /**
26009
+ * Encodes the specified AmazonS3BucketRegex message. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketRegex.verify|verify} messages.
26010
+ * @param message AmazonS3BucketRegex message or plain object to encode
26011
+ * @param [writer] Writer to encode to
26012
+ * @returns Writer
26013
+ */
26014
+ public static encode(message: google.privacy.dlp.v2.IAmazonS3BucketRegex, writer?: $protobuf.Writer): $protobuf.Writer;
26015
+
26016
+ /**
26017
+ * Encodes the specified AmazonS3BucketRegex message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketRegex.verify|verify} messages.
26018
+ * @param message AmazonS3BucketRegex message or plain object to encode
26019
+ * @param [writer] Writer to encode to
26020
+ * @returns Writer
26021
+ */
26022
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAmazonS3BucketRegex, writer?: $protobuf.Writer): $protobuf.Writer;
26023
+
26024
+ /**
26025
+ * Decodes an AmazonS3BucketRegex message from the specified reader or buffer.
26026
+ * @param reader Reader or buffer to decode from
26027
+ * @param [length] Message length if known beforehand
26028
+ * @returns AmazonS3BucketRegex
26029
+ * @throws {Error} If the payload is not a reader or valid buffer
26030
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26031
+ */
26032
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AmazonS3BucketRegex;
26033
+
26034
+ /**
26035
+ * Decodes an AmazonS3BucketRegex message from the specified reader or buffer, length delimited.
26036
+ * @param reader Reader or buffer to decode from
26037
+ * @returns AmazonS3BucketRegex
26038
+ * @throws {Error} If the payload is not a reader or valid buffer
26039
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26040
+ */
26041
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AmazonS3BucketRegex;
26042
+
26043
+ /**
26044
+ * Verifies an AmazonS3BucketRegex message.
26045
+ * @param message Plain object to verify
26046
+ * @returns `null` if valid, otherwise the reason why it is not
26047
+ */
26048
+ public static verify(message: { [k: string]: any }): (string|null);
26049
+
26050
+ /**
26051
+ * Creates an AmazonS3BucketRegex message from a plain object. Also converts values to their respective internal types.
26052
+ * @param object Plain object
26053
+ * @returns AmazonS3BucketRegex
26054
+ */
26055
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AmazonS3BucketRegex;
26056
+
26057
+ /**
26058
+ * Creates a plain object from an AmazonS3BucketRegex message. Also converts values to other types if specified.
26059
+ * @param message AmazonS3BucketRegex
26060
+ * @param [options] Conversion options
26061
+ * @returns Plain object
26062
+ */
26063
+ public static toObject(message: google.privacy.dlp.v2.AmazonS3BucketRegex, options?: $protobuf.IConversionOptions): { [k: string]: any };
26064
+
26065
+ /**
26066
+ * Converts this AmazonS3BucketRegex to JSON.
26067
+ * @returns JSON object
26068
+ */
26069
+ public toJSON(): { [k: string]: any };
26070
+
26071
+ /**
26072
+ * Gets the default type url for AmazonS3BucketRegex
26073
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26074
+ * @returns The default type url
26075
+ */
26076
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26077
+ }
26078
+
26079
+ /** Properties of an OtherCloudSingleResourceReference. */
26080
+ interface IOtherCloudSingleResourceReference {
26081
+
26082
+ /** OtherCloudSingleResourceReference amazonS3Bucket */
26083
+ amazonS3Bucket?: (google.privacy.dlp.v2.IAmazonS3Bucket|null);
26084
+ }
26085
+
26086
+ /** Represents an OtherCloudSingleResourceReference. */
26087
+ class OtherCloudSingleResourceReference implements IOtherCloudSingleResourceReference {
26088
+
26089
+ /**
26090
+ * Constructs a new OtherCloudSingleResourceReference.
26091
+ * @param [properties] Properties to set
26092
+ */
26093
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudSingleResourceReference);
26094
+
26095
+ /** OtherCloudSingleResourceReference amazonS3Bucket. */
26096
+ public amazonS3Bucket?: (google.privacy.dlp.v2.IAmazonS3Bucket|null);
26097
+
26098
+ /** OtherCloudSingleResourceReference resource. */
26099
+ public resource?: "amazonS3Bucket";
26100
+
26101
+ /**
26102
+ * Creates a new OtherCloudSingleResourceReference instance using the specified properties.
26103
+ * @param [properties] Properties to set
26104
+ * @returns OtherCloudSingleResourceReference instance
26105
+ */
26106
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudSingleResourceReference): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
26107
+
26108
+ /**
26109
+ * Encodes the specified OtherCloudSingleResourceReference message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudSingleResourceReference.verify|verify} messages.
26110
+ * @param message OtherCloudSingleResourceReference message or plain object to encode
26111
+ * @param [writer] Writer to encode to
26112
+ * @returns Writer
26113
+ */
26114
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudSingleResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
26115
+
26116
+ /**
26117
+ * Encodes the specified OtherCloudSingleResourceReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudSingleResourceReference.verify|verify} messages.
26118
+ * @param message OtherCloudSingleResourceReference message or plain object to encode
26119
+ * @param [writer] Writer to encode to
26120
+ * @returns Writer
26121
+ */
26122
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudSingleResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
26123
+
26124
+ /**
26125
+ * Decodes an OtherCloudSingleResourceReference message from the specified reader or buffer.
26126
+ * @param reader Reader or buffer to decode from
26127
+ * @param [length] Message length if known beforehand
26128
+ * @returns OtherCloudSingleResourceReference
26129
+ * @throws {Error} If the payload is not a reader or valid buffer
26130
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26131
+ */
26132
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
26133
+
26134
+ /**
26135
+ * Decodes an OtherCloudSingleResourceReference message from the specified reader or buffer, length delimited.
26136
+ * @param reader Reader or buffer to decode from
26137
+ * @returns OtherCloudSingleResourceReference
26138
+ * @throws {Error} If the payload is not a reader or valid buffer
26139
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26140
+ */
26141
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
26142
+
26143
+ /**
26144
+ * Verifies an OtherCloudSingleResourceReference message.
26145
+ * @param message Plain object to verify
26146
+ * @returns `null` if valid, otherwise the reason why it is not
26147
+ */
26148
+ public static verify(message: { [k: string]: any }): (string|null);
26149
+
26150
+ /**
26151
+ * Creates an OtherCloudSingleResourceReference message from a plain object. Also converts values to their respective internal types.
26152
+ * @param object Plain object
26153
+ * @returns OtherCloudSingleResourceReference
26154
+ */
26155
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudSingleResourceReference;
26156
+
26157
+ /**
26158
+ * Creates a plain object from an OtherCloudSingleResourceReference message. Also converts values to other types if specified.
26159
+ * @param message OtherCloudSingleResourceReference
26160
+ * @param [options] Conversion options
26161
+ * @returns Plain object
26162
+ */
26163
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudSingleResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
26164
+
26165
+ /**
26166
+ * Converts this OtherCloudSingleResourceReference to JSON.
26167
+ * @returns JSON object
26168
+ */
26169
+ public toJSON(): { [k: string]: any };
26170
+
26171
+ /**
26172
+ * Gets the default type url for OtherCloudSingleResourceReference
26173
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26174
+ * @returns The default type url
26175
+ */
26176
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26177
+ }
26178
+
26179
+ /** Properties of an AwsAccount. */
26180
+ interface IAwsAccount {
26181
+
26182
+ /** AwsAccount accountId */
26183
+ accountId?: (string|null);
26184
+ }
26185
+
26186
+ /** Represents an AwsAccount. */
26187
+ class AwsAccount implements IAwsAccount {
26188
+
26189
+ /**
26190
+ * Constructs a new AwsAccount.
26191
+ * @param [properties] Properties to set
26192
+ */
26193
+ constructor(properties?: google.privacy.dlp.v2.IAwsAccount);
26194
+
26195
+ /** AwsAccount accountId. */
26196
+ public accountId: string;
26197
+
26198
+ /**
26199
+ * Creates a new AwsAccount instance using the specified properties.
26200
+ * @param [properties] Properties to set
26201
+ * @returns AwsAccount instance
26202
+ */
26203
+ public static create(properties?: google.privacy.dlp.v2.IAwsAccount): google.privacy.dlp.v2.AwsAccount;
26204
+
26205
+ /**
26206
+ * Encodes the specified AwsAccount message. Does not implicitly {@link google.privacy.dlp.v2.AwsAccount.verify|verify} messages.
26207
+ * @param message AwsAccount message or plain object to encode
26208
+ * @param [writer] Writer to encode to
26209
+ * @returns Writer
26210
+ */
26211
+ public static encode(message: google.privacy.dlp.v2.IAwsAccount, writer?: $protobuf.Writer): $protobuf.Writer;
26212
+
26213
+ /**
26214
+ * Encodes the specified AwsAccount message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AwsAccount.verify|verify} messages.
26215
+ * @param message AwsAccount message or plain object to encode
26216
+ * @param [writer] Writer to encode to
26217
+ * @returns Writer
26218
+ */
26219
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAwsAccount, writer?: $protobuf.Writer): $protobuf.Writer;
26220
+
26221
+ /**
26222
+ * Decodes an AwsAccount message from the specified reader or buffer.
26223
+ * @param reader Reader or buffer to decode from
26224
+ * @param [length] Message length if known beforehand
26225
+ * @returns AwsAccount
26226
+ * @throws {Error} If the payload is not a reader or valid buffer
26227
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26228
+ */
26229
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AwsAccount;
26230
+
26231
+ /**
26232
+ * Decodes an AwsAccount message from the specified reader or buffer, length delimited.
26233
+ * @param reader Reader or buffer to decode from
26234
+ * @returns AwsAccount
26235
+ * @throws {Error} If the payload is not a reader or valid buffer
26236
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26237
+ */
26238
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AwsAccount;
26239
+
26240
+ /**
26241
+ * Verifies an AwsAccount message.
26242
+ * @param message Plain object to verify
26243
+ * @returns `null` if valid, otherwise the reason why it is not
26244
+ */
26245
+ public static verify(message: { [k: string]: any }): (string|null);
26246
+
26247
+ /**
26248
+ * Creates an AwsAccount message from a plain object. Also converts values to their respective internal types.
26249
+ * @param object Plain object
26250
+ * @returns AwsAccount
26251
+ */
26252
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AwsAccount;
26253
+
26254
+ /**
26255
+ * Creates a plain object from an AwsAccount message. Also converts values to other types if specified.
26256
+ * @param message AwsAccount
26257
+ * @param [options] Conversion options
26258
+ * @returns Plain object
26259
+ */
26260
+ public static toObject(message: google.privacy.dlp.v2.AwsAccount, options?: $protobuf.IConversionOptions): { [k: string]: any };
26261
+
26262
+ /**
26263
+ * Converts this AwsAccount to JSON.
26264
+ * @returns JSON object
26265
+ */
26266
+ public toJSON(): { [k: string]: any };
26267
+
26268
+ /**
26269
+ * Gets the default type url for AwsAccount
26270
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26271
+ * @returns The default type url
26272
+ */
26273
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26274
+ }
26275
+
26276
+ /** Properties of an AmazonS3Bucket. */
26277
+ interface IAmazonS3Bucket {
26278
+
26279
+ /** AmazonS3Bucket awsAccount */
26280
+ awsAccount?: (google.privacy.dlp.v2.IAwsAccount|null);
26281
+
26282
+ /** AmazonS3Bucket bucketName */
26283
+ bucketName?: (string|null);
26284
+ }
26285
+
26286
+ /** Represents an AmazonS3Bucket. */
26287
+ class AmazonS3Bucket implements IAmazonS3Bucket {
26288
+
26289
+ /**
26290
+ * Constructs a new AmazonS3Bucket.
26291
+ * @param [properties] Properties to set
26292
+ */
26293
+ constructor(properties?: google.privacy.dlp.v2.IAmazonS3Bucket);
26294
+
26295
+ /** AmazonS3Bucket awsAccount. */
26296
+ public awsAccount?: (google.privacy.dlp.v2.IAwsAccount|null);
26297
+
26298
+ /** AmazonS3Bucket bucketName. */
26299
+ public bucketName: string;
26300
+
26301
+ /**
26302
+ * Creates a new AmazonS3Bucket instance using the specified properties.
26303
+ * @param [properties] Properties to set
26304
+ * @returns AmazonS3Bucket instance
26305
+ */
26306
+ public static create(properties?: google.privacy.dlp.v2.IAmazonS3Bucket): google.privacy.dlp.v2.AmazonS3Bucket;
26307
+
26308
+ /**
26309
+ * Encodes the specified AmazonS3Bucket message. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3Bucket.verify|verify} messages.
26310
+ * @param message AmazonS3Bucket message or plain object to encode
26311
+ * @param [writer] Writer to encode to
26312
+ * @returns Writer
26313
+ */
26314
+ public static encode(message: google.privacy.dlp.v2.IAmazonS3Bucket, writer?: $protobuf.Writer): $protobuf.Writer;
26315
+
26316
+ /**
26317
+ * Encodes the specified AmazonS3Bucket message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3Bucket.verify|verify} messages.
26318
+ * @param message AmazonS3Bucket message or plain object to encode
26319
+ * @param [writer] Writer to encode to
26320
+ * @returns Writer
26321
+ */
26322
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAmazonS3Bucket, writer?: $protobuf.Writer): $protobuf.Writer;
26323
+
26324
+ /**
26325
+ * Decodes an AmazonS3Bucket message from the specified reader or buffer.
26326
+ * @param reader Reader or buffer to decode from
26327
+ * @param [length] Message length if known beforehand
26328
+ * @returns AmazonS3Bucket
26329
+ * @throws {Error} If the payload is not a reader or valid buffer
26330
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26331
+ */
26332
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AmazonS3Bucket;
26333
+
26334
+ /**
26335
+ * Decodes an AmazonS3Bucket message from the specified reader or buffer, length delimited.
26336
+ * @param reader Reader or buffer to decode from
26337
+ * @returns AmazonS3Bucket
26338
+ * @throws {Error} If the payload is not a reader or valid buffer
26339
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26340
+ */
26341
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AmazonS3Bucket;
26342
+
26343
+ /**
26344
+ * Verifies an AmazonS3Bucket message.
26345
+ * @param message Plain object to verify
26346
+ * @returns `null` if valid, otherwise the reason why it is not
26347
+ */
26348
+ public static verify(message: { [k: string]: any }): (string|null);
26349
+
26350
+ /**
26351
+ * Creates an AmazonS3Bucket message from a plain object. Also converts values to their respective internal types.
26352
+ * @param object Plain object
26353
+ * @returns AmazonS3Bucket
26354
+ */
26355
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AmazonS3Bucket;
26356
+
26357
+ /**
26358
+ * Creates a plain object from an AmazonS3Bucket message. Also converts values to other types if specified.
26359
+ * @param message AmazonS3Bucket
26360
+ * @param [options] Conversion options
26361
+ * @returns Plain object
26362
+ */
26363
+ public static toObject(message: google.privacy.dlp.v2.AmazonS3Bucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
26364
+
26365
+ /**
26366
+ * Converts this AmazonS3Bucket to JSON.
26367
+ * @returns JSON object
26368
+ */
26369
+ public toJSON(): { [k: string]: any };
26370
+
26371
+ /**
26372
+ * Gets the default type url for AmazonS3Bucket
26373
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26374
+ * @returns The default type url
26375
+ */
26376
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26377
+ }
26378
+
26379
+ /** Properties of a DiscoveryOtherCloudConditions. */
26380
+ interface IDiscoveryOtherCloudConditions {
26381
+
26382
+ /** DiscoveryOtherCloudConditions minAge */
26383
+ minAge?: (google.protobuf.IDuration|null);
26384
+
26385
+ /** DiscoveryOtherCloudConditions amazonS3BucketConditions */
26386
+ amazonS3BucketConditions?: (google.privacy.dlp.v2.IAmazonS3BucketConditions|null);
26387
+ }
26388
+
26389
+ /** Represents a DiscoveryOtherCloudConditions. */
26390
+ class DiscoveryOtherCloudConditions implements IDiscoveryOtherCloudConditions {
26391
+
26392
+ /**
26393
+ * Constructs a new DiscoveryOtherCloudConditions.
26394
+ * @param [properties] Properties to set
26395
+ */
26396
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions);
26397
+
26398
+ /** DiscoveryOtherCloudConditions minAge. */
26399
+ public minAge?: (google.protobuf.IDuration|null);
26400
+
26401
+ /** DiscoveryOtherCloudConditions amazonS3BucketConditions. */
26402
+ public amazonS3BucketConditions?: (google.privacy.dlp.v2.IAmazonS3BucketConditions|null);
26403
+
26404
+ /** DiscoveryOtherCloudConditions conditions. */
26405
+ public conditions?: "amazonS3BucketConditions";
26406
+
26407
+ /**
26408
+ * Creates a new DiscoveryOtherCloudConditions instance using the specified properties.
26409
+ * @param [properties] Properties to set
26410
+ * @returns DiscoveryOtherCloudConditions instance
26411
+ */
26412
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
26413
+
26414
+ /**
26415
+ * Encodes the specified DiscoveryOtherCloudConditions message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudConditions.verify|verify} messages.
26416
+ * @param message DiscoveryOtherCloudConditions message or plain object to encode
26417
+ * @param [writer] Writer to encode to
26418
+ * @returns Writer
26419
+ */
26420
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions, writer?: $protobuf.Writer): $protobuf.Writer;
26421
+
26422
+ /**
26423
+ * Encodes the specified DiscoveryOtherCloudConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudConditions.verify|verify} messages.
26424
+ * @param message DiscoveryOtherCloudConditions message or plain object to encode
26425
+ * @param [writer] Writer to encode to
26426
+ * @returns Writer
26427
+ */
26428
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryOtherCloudConditions, writer?: $protobuf.Writer): $protobuf.Writer;
26429
+
26430
+ /**
26431
+ * Decodes a DiscoveryOtherCloudConditions message from the specified reader or buffer.
26432
+ * @param reader Reader or buffer to decode from
26433
+ * @param [length] Message length if known beforehand
26434
+ * @returns DiscoveryOtherCloudConditions
26435
+ * @throws {Error} If the payload is not a reader or valid buffer
26436
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26437
+ */
26438
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
26439
+
26440
+ /**
26441
+ * Decodes a DiscoveryOtherCloudConditions message from the specified reader or buffer, length delimited.
26442
+ * @param reader Reader or buffer to decode from
26443
+ * @returns DiscoveryOtherCloudConditions
26444
+ * @throws {Error} If the payload is not a reader or valid buffer
26445
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26446
+ */
26447
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
26448
+
26449
+ /**
26450
+ * Verifies a DiscoveryOtherCloudConditions message.
26451
+ * @param message Plain object to verify
26452
+ * @returns `null` if valid, otherwise the reason why it is not
26453
+ */
26454
+ public static verify(message: { [k: string]: any }): (string|null);
26455
+
26456
+ /**
26457
+ * Creates a DiscoveryOtherCloudConditions message from a plain object. Also converts values to their respective internal types.
26458
+ * @param object Plain object
26459
+ * @returns DiscoveryOtherCloudConditions
26460
+ */
26461
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryOtherCloudConditions;
26462
+
26463
+ /**
26464
+ * Creates a plain object from a DiscoveryOtherCloudConditions message. Also converts values to other types if specified.
26465
+ * @param message DiscoveryOtherCloudConditions
26466
+ * @param [options] Conversion options
26467
+ * @returns Plain object
26468
+ */
26469
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryOtherCloudConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
26470
+
26471
+ /**
26472
+ * Converts this DiscoveryOtherCloudConditions to JSON.
26473
+ * @returns JSON object
26474
+ */
26475
+ public toJSON(): { [k: string]: any };
26476
+
26477
+ /**
26478
+ * Gets the default type url for DiscoveryOtherCloudConditions
26479
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26480
+ * @returns The default type url
26481
+ */
26482
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26483
+ }
26484
+
26485
+ /** Properties of an AmazonS3BucketConditions. */
26486
+ interface IAmazonS3BucketConditions {
26487
+
26488
+ /** AmazonS3BucketConditions bucketTypes */
26489
+ bucketTypes?: (google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType[]|null);
26490
+
26491
+ /** AmazonS3BucketConditions objectStorageClasses */
26492
+ objectStorageClasses?: (google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass[]|null);
26493
+ }
26494
+
26495
+ /** Represents an AmazonS3BucketConditions. */
26496
+ class AmazonS3BucketConditions implements IAmazonS3BucketConditions {
26497
+
26498
+ /**
26499
+ * Constructs a new AmazonS3BucketConditions.
26500
+ * @param [properties] Properties to set
26501
+ */
26502
+ constructor(properties?: google.privacy.dlp.v2.IAmazonS3BucketConditions);
26503
+
26504
+ /** AmazonS3BucketConditions bucketTypes. */
26505
+ public bucketTypes: google.privacy.dlp.v2.AmazonS3BucketConditions.BucketType[];
26506
+
26507
+ /** AmazonS3BucketConditions objectStorageClasses. */
26508
+ public objectStorageClasses: google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClass[];
26509
+
26510
+ /**
26511
+ * Creates a new AmazonS3BucketConditions instance using the specified properties.
26512
+ * @param [properties] Properties to set
26513
+ * @returns AmazonS3BucketConditions instance
26514
+ */
26515
+ public static create(properties?: google.privacy.dlp.v2.IAmazonS3BucketConditions): google.privacy.dlp.v2.AmazonS3BucketConditions;
26516
+
26517
+ /**
26518
+ * Encodes the specified AmazonS3BucketConditions message. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketConditions.verify|verify} messages.
26519
+ * @param message AmazonS3BucketConditions message or plain object to encode
26520
+ * @param [writer] Writer to encode to
26521
+ * @returns Writer
26522
+ */
26523
+ public static encode(message: google.privacy.dlp.v2.IAmazonS3BucketConditions, writer?: $protobuf.Writer): $protobuf.Writer;
26524
+
26525
+ /**
26526
+ * Encodes the specified AmazonS3BucketConditions message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.AmazonS3BucketConditions.verify|verify} messages.
26527
+ * @param message AmazonS3BucketConditions message or plain object to encode
26528
+ * @param [writer] Writer to encode to
26529
+ * @returns Writer
26530
+ */
26531
+ public static encodeDelimited(message: google.privacy.dlp.v2.IAmazonS3BucketConditions, writer?: $protobuf.Writer): $protobuf.Writer;
26532
+
26533
+ /**
26534
+ * Decodes an AmazonS3BucketConditions message from the specified reader or buffer.
26535
+ * @param reader Reader or buffer to decode from
26536
+ * @param [length] Message length if known beforehand
26537
+ * @returns AmazonS3BucketConditions
26538
+ * @throws {Error} If the payload is not a reader or valid buffer
26539
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26540
+ */
26541
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.AmazonS3BucketConditions;
26542
+
26543
+ /**
26544
+ * Decodes an AmazonS3BucketConditions message from the specified reader or buffer, length delimited.
26545
+ * @param reader Reader or buffer to decode from
26546
+ * @returns AmazonS3BucketConditions
26547
+ * @throws {Error} If the payload is not a reader or valid buffer
26548
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26549
+ */
26550
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.AmazonS3BucketConditions;
26551
+
26552
+ /**
26553
+ * Verifies an AmazonS3BucketConditions message.
26554
+ * @param message Plain object to verify
26555
+ * @returns `null` if valid, otherwise the reason why it is not
26556
+ */
26557
+ public static verify(message: { [k: string]: any }): (string|null);
26558
+
26559
+ /**
26560
+ * Creates an AmazonS3BucketConditions message from a plain object. Also converts values to their respective internal types.
26561
+ * @param object Plain object
26562
+ * @returns AmazonS3BucketConditions
26563
+ */
26564
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.AmazonS3BucketConditions;
26565
+
26566
+ /**
26567
+ * Creates a plain object from an AmazonS3BucketConditions message. Also converts values to other types if specified.
26568
+ * @param message AmazonS3BucketConditions
26569
+ * @param [options] Conversion options
26570
+ * @returns Plain object
26571
+ */
26572
+ public static toObject(message: google.privacy.dlp.v2.AmazonS3BucketConditions, options?: $protobuf.IConversionOptions): { [k: string]: any };
26573
+
26574
+ /**
26575
+ * Converts this AmazonS3BucketConditions to JSON.
26576
+ * @returns JSON object
26577
+ */
26578
+ public toJSON(): { [k: string]: any };
26579
+
26580
+ /**
26581
+ * Gets the default type url for AmazonS3BucketConditions
26582
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26583
+ * @returns The default type url
26584
+ */
26585
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26586
+ }
26587
+
26588
+ namespace AmazonS3BucketConditions {
26589
+
26590
+ /** BucketType enum. */
26591
+ enum BucketType {
26592
+ TYPE_UNSPECIFIED = 0,
26593
+ TYPE_ALL_SUPPORTED = 1,
26594
+ TYPE_GENERAL_PURPOSE = 2
26595
+ }
26596
+
26597
+ /** ObjectStorageClass enum. */
26598
+ enum ObjectStorageClass {
26599
+ UNSPECIFIED = 0,
26600
+ ALL_SUPPORTED_CLASSES = 1,
26601
+ STANDARD = 2,
26602
+ STANDARD_INFREQUENT_ACCESS = 4,
26603
+ GLACIER_INSTANT_RETRIEVAL = 6,
26604
+ INTELLIGENT_TIERING = 7
26605
+ }
26606
+ }
26607
+
26608
+ /** Properties of a DiscoveryOtherCloudGenerationCadence. */
26609
+ interface IDiscoveryOtherCloudGenerationCadence {
26610
+
26611
+ /** DiscoveryOtherCloudGenerationCadence refreshFrequency */
26612
+ refreshFrequency?: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency|null);
26613
+
26614
+ /** DiscoveryOtherCloudGenerationCadence inspectTemplateModifiedCadence */
26615
+ inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
26616
+ }
26617
+
26618
+ /** Represents a DiscoveryOtherCloudGenerationCadence. */
26619
+ class DiscoveryOtherCloudGenerationCadence implements IDiscoveryOtherCloudGenerationCadence {
26620
+
26621
+ /**
26622
+ * Constructs a new DiscoveryOtherCloudGenerationCadence.
26623
+ * @param [properties] Properties to set
26624
+ */
26625
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence);
26626
+
26627
+ /** DiscoveryOtherCloudGenerationCadence refreshFrequency. */
26628
+ public refreshFrequency: (google.privacy.dlp.v2.DataProfileUpdateFrequency|keyof typeof google.privacy.dlp.v2.DataProfileUpdateFrequency);
26629
+
26630
+ /** DiscoveryOtherCloudGenerationCadence inspectTemplateModifiedCadence. */
26631
+ public inspectTemplateModifiedCadence?: (google.privacy.dlp.v2.IDiscoveryInspectTemplateModifiedCadence|null);
26632
+
26633
+ /**
26634
+ * Creates a new DiscoveryOtherCloudGenerationCadence instance using the specified properties.
26635
+ * @param [properties] Properties to set
26636
+ * @returns DiscoveryOtherCloudGenerationCadence instance
26637
+ */
26638
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
26639
+
26640
+ /**
26641
+ * Encodes the specified DiscoveryOtherCloudGenerationCadence message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence.verify|verify} messages.
26642
+ * @param message DiscoveryOtherCloudGenerationCadence message or plain object to encode
26643
+ * @param [writer] Writer to encode to
26644
+ * @returns Writer
26645
+ */
26646
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
26647
+
26648
+ /**
26649
+ * Encodes the specified DiscoveryOtherCloudGenerationCadence message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence.verify|verify} messages.
26650
+ * @param message DiscoveryOtherCloudGenerationCadence message or plain object to encode
26651
+ * @param [writer] Writer to encode to
26652
+ * @returns Writer
26653
+ */
26654
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryOtherCloudGenerationCadence, writer?: $protobuf.Writer): $protobuf.Writer;
26655
+
26656
+ /**
26657
+ * Decodes a DiscoveryOtherCloudGenerationCadence message from the specified reader or buffer.
26658
+ * @param reader Reader or buffer to decode from
26659
+ * @param [length] Message length if known beforehand
26660
+ * @returns DiscoveryOtherCloudGenerationCadence
26661
+ * @throws {Error} If the payload is not a reader or valid buffer
26662
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26663
+ */
26664
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
26665
+
26666
+ /**
26667
+ * Decodes a DiscoveryOtherCloudGenerationCadence message from the specified reader or buffer, length delimited.
26668
+ * @param reader Reader or buffer to decode from
26669
+ * @returns DiscoveryOtherCloudGenerationCadence
26670
+ * @throws {Error} If the payload is not a reader or valid buffer
26671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26672
+ */
26673
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
26674
+
26675
+ /**
26676
+ * Verifies a DiscoveryOtherCloudGenerationCadence message.
26677
+ * @param message Plain object to verify
26678
+ * @returns `null` if valid, otherwise the reason why it is not
26679
+ */
26680
+ public static verify(message: { [k: string]: any }): (string|null);
26681
+
26682
+ /**
26683
+ * Creates a DiscoveryOtherCloudGenerationCadence message from a plain object. Also converts values to their respective internal types.
26684
+ * @param object Plain object
26685
+ * @returns DiscoveryOtherCloudGenerationCadence
26686
+ */
26687
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence;
26688
+
26689
+ /**
26690
+ * Creates a plain object from a DiscoveryOtherCloudGenerationCadence message. Also converts values to other types if specified.
26691
+ * @param message DiscoveryOtherCloudGenerationCadence
26692
+ * @param [options] Conversion options
26693
+ * @returns Plain object
26694
+ */
26695
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadence, options?: $protobuf.IConversionOptions): { [k: string]: any };
26696
+
26697
+ /**
26698
+ * Converts this DiscoveryOtherCloudGenerationCadence to JSON.
26699
+ * @returns JSON object
26700
+ */
26701
+ public toJSON(): { [k: string]: any };
26702
+
26703
+ /**
26704
+ * Gets the default type url for DiscoveryOtherCloudGenerationCadence
26705
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26706
+ * @returns The default type url
26707
+ */
26708
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26709
+ }
26710
+
26711
+ /** Properties of a DiscoveryStartingLocation. */
26712
+ interface IDiscoveryStartingLocation {
26713
+
26714
+ /** DiscoveryStartingLocation organizationId */
26715
+ organizationId?: (number|Long|string|null);
26716
+
26717
+ /** DiscoveryStartingLocation folderId */
26718
+ folderId?: (number|Long|string|null);
26719
+ }
26720
+
26721
+ /** Represents a DiscoveryStartingLocation. */
26722
+ class DiscoveryStartingLocation implements IDiscoveryStartingLocation {
26723
+
26724
+ /**
26725
+ * Constructs a new DiscoveryStartingLocation.
26726
+ * @param [properties] Properties to set
26727
+ */
26728
+ constructor(properties?: google.privacy.dlp.v2.IDiscoveryStartingLocation);
26729
+
26730
+ /** DiscoveryStartingLocation organizationId. */
26731
+ public organizationId?: (number|Long|string|null);
26732
+
26733
+ /** DiscoveryStartingLocation folderId. */
26734
+ public folderId?: (number|Long|string|null);
26735
+
26736
+ /** DiscoveryStartingLocation location. */
26737
+ public location?: ("organizationId"|"folderId");
26738
+
26739
+ /**
26740
+ * Creates a new DiscoveryStartingLocation instance using the specified properties.
26741
+ * @param [properties] Properties to set
26742
+ * @returns DiscoveryStartingLocation instance
26743
+ */
26744
+ public static create(properties?: google.privacy.dlp.v2.IDiscoveryStartingLocation): google.privacy.dlp.v2.DiscoveryStartingLocation;
26745
+
26746
+ /**
26747
+ * Encodes the specified DiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryStartingLocation.verify|verify} messages.
26748
+ * @param message DiscoveryStartingLocation message or plain object to encode
26749
+ * @param [writer] Writer to encode to
26750
+ * @returns Writer
26751
+ */
26752
+ public static encode(message: google.privacy.dlp.v2.IDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
26753
+
26754
+ /**
26755
+ * Encodes the specified DiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.DiscoveryStartingLocation.verify|verify} messages.
26756
+ * @param message DiscoveryStartingLocation message or plain object to encode
26757
+ * @param [writer] Writer to encode to
26758
+ * @returns Writer
26759
+ */
26760
+ public static encodeDelimited(message: google.privacy.dlp.v2.IDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
26761
+
26762
+ /**
26763
+ * Decodes a DiscoveryStartingLocation message from the specified reader or buffer.
26764
+ * @param reader Reader or buffer to decode from
26765
+ * @param [length] Message length if known beforehand
26766
+ * @returns DiscoveryStartingLocation
26767
+ * @throws {Error} If the payload is not a reader or valid buffer
26768
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26769
+ */
26770
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.DiscoveryStartingLocation;
26771
+
26772
+ /**
26773
+ * Decodes a DiscoveryStartingLocation message from the specified reader or buffer, length delimited.
26774
+ * @param reader Reader or buffer to decode from
26775
+ * @returns DiscoveryStartingLocation
26776
+ * @throws {Error} If the payload is not a reader or valid buffer
26777
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26778
+ */
26779
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.DiscoveryStartingLocation;
26780
+
26781
+ /**
26782
+ * Verifies a DiscoveryStartingLocation message.
26783
+ * @param message Plain object to verify
26784
+ * @returns `null` if valid, otherwise the reason why it is not
26785
+ */
26786
+ public static verify(message: { [k: string]: any }): (string|null);
26787
+
26788
+ /**
26789
+ * Creates a DiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
26790
+ * @param object Plain object
26791
+ * @returns DiscoveryStartingLocation
26792
+ */
26793
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.DiscoveryStartingLocation;
26794
+
26795
+ /**
26796
+ * Creates a plain object from a DiscoveryStartingLocation message. Also converts values to other types if specified.
26797
+ * @param message DiscoveryStartingLocation
26798
+ * @param [options] Conversion options
26799
+ * @returns Plain object
26800
+ */
26801
+ public static toObject(message: google.privacy.dlp.v2.DiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
26802
+
26803
+ /**
26804
+ * Converts this DiscoveryStartingLocation to JSON.
26805
+ * @returns JSON object
26806
+ */
26807
+ public toJSON(): { [k: string]: any };
26808
+
26809
+ /**
26810
+ * Gets the default type url for DiscoveryStartingLocation
26811
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26812
+ * @returns The default type url
26813
+ */
26814
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26815
+ }
26816
+
26817
+ /** Properties of an OtherCloudDiscoveryStartingLocation. */
26818
+ interface IOtherCloudDiscoveryStartingLocation {
26819
+
26820
+ /** OtherCloudDiscoveryStartingLocation awsLocation */
26821
+ awsLocation?: (google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation|null);
26822
+ }
26823
+
26824
+ /** Represents an OtherCloudDiscoveryStartingLocation. */
26825
+ class OtherCloudDiscoveryStartingLocation implements IOtherCloudDiscoveryStartingLocation {
26826
+
26827
+ /**
26828
+ * Constructs a new OtherCloudDiscoveryStartingLocation.
26829
+ * @param [properties] Properties to set
26830
+ */
26831
+ constructor(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation);
26832
+
26833
+ /** OtherCloudDiscoveryStartingLocation awsLocation. */
26834
+ public awsLocation?: (google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation|null);
26835
+
26836
+ /** OtherCloudDiscoveryStartingLocation location. */
26837
+ public location?: "awsLocation";
26838
+
26839
+ /**
26840
+ * Creates a new OtherCloudDiscoveryStartingLocation instance using the specified properties.
26841
+ * @param [properties] Properties to set
26842
+ * @returns OtherCloudDiscoveryStartingLocation instance
26843
+ */
26844
+ public static create(properties?: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
26845
+
26846
+ /**
26847
+ * Encodes the specified OtherCloudDiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.verify|verify} messages.
26848
+ * @param message OtherCloudDiscoveryStartingLocation message or plain object to encode
26849
+ * @param [writer] Writer to encode to
26850
+ * @returns Writer
26851
+ */
26852
+ public static encode(message: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
26853
+
26854
+ /**
26855
+ * Encodes the specified OtherCloudDiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.verify|verify} messages.
26856
+ * @param message OtherCloudDiscoveryStartingLocation message or plain object to encode
26857
+ * @param [writer] Writer to encode to
26858
+ * @returns Writer
26859
+ */
26860
+ public static encodeDelimited(message: google.privacy.dlp.v2.IOtherCloudDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
26861
+
26862
+ /**
26863
+ * Decodes an OtherCloudDiscoveryStartingLocation message from the specified reader or buffer.
26864
+ * @param reader Reader or buffer to decode from
26865
+ * @param [length] Message length if known beforehand
26866
+ * @returns OtherCloudDiscoveryStartingLocation
26867
+ * @throws {Error} If the payload is not a reader or valid buffer
26868
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26869
+ */
26870
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
26871
+
26872
+ /**
26873
+ * Decodes an OtherCloudDiscoveryStartingLocation message from the specified reader or buffer, length delimited.
26874
+ * @param reader Reader or buffer to decode from
26875
+ * @returns OtherCloudDiscoveryStartingLocation
26876
+ * @throws {Error} If the payload is not a reader or valid buffer
26877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26878
+ */
26879
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
26880
+
26881
+ /**
26882
+ * Verifies an OtherCloudDiscoveryStartingLocation message.
26883
+ * @param message Plain object to verify
26884
+ * @returns `null` if valid, otherwise the reason why it is not
26885
+ */
26886
+ public static verify(message: { [k: string]: any }): (string|null);
26887
+
26888
+ /**
26889
+ * Creates an OtherCloudDiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
26890
+ * @param object Plain object
26891
+ * @returns OtherCloudDiscoveryStartingLocation
26892
+ */
26893
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation;
26894
+
26895
+ /**
26896
+ * Creates a plain object from an OtherCloudDiscoveryStartingLocation message. Also converts values to other types if specified.
26897
+ * @param message OtherCloudDiscoveryStartingLocation
26898
+ * @param [options] Conversion options
26899
+ * @returns Plain object
26900
+ */
26901
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
26902
+
26903
+ /**
26904
+ * Converts this OtherCloudDiscoveryStartingLocation to JSON.
26905
+ * @returns JSON object
26906
+ */
26907
+ public toJSON(): { [k: string]: any };
26908
+
26909
+ /**
26910
+ * Gets the default type url for OtherCloudDiscoveryStartingLocation
26911
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26912
+ * @returns The default type url
26913
+ */
26914
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26915
+ }
26916
+
26917
+ namespace OtherCloudDiscoveryStartingLocation {
26918
+
26919
+ /** Properties of an AwsDiscoveryStartingLocation. */
26920
+ interface IAwsDiscoveryStartingLocation {
26921
+
26922
+ /** AwsDiscoveryStartingLocation accountId */
26923
+ accountId?: (string|null);
26924
+
26925
+ /** AwsDiscoveryStartingLocation allAssetInventoryAssets */
26926
+ allAssetInventoryAssets?: (boolean|null);
26927
+ }
26928
+
26929
+ /** Represents an AwsDiscoveryStartingLocation. */
26930
+ class AwsDiscoveryStartingLocation implements IAwsDiscoveryStartingLocation {
26931
+
26932
+ /**
26933
+ * Constructs a new AwsDiscoveryStartingLocation.
26934
+ * @param [properties] Properties to set
26935
+ */
26936
+ constructor(properties?: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation);
26937
+
26938
+ /** AwsDiscoveryStartingLocation accountId. */
26939
+ public accountId?: (string|null);
26940
+
26941
+ /** AwsDiscoveryStartingLocation allAssetInventoryAssets. */
26942
+ public allAssetInventoryAssets?: (boolean|null);
26943
+
26944
+ /** AwsDiscoveryStartingLocation scope. */
26945
+ public scope?: ("accountId"|"allAssetInventoryAssets");
26946
+
26947
+ /**
26948
+ * Creates a new AwsDiscoveryStartingLocation instance using the specified properties.
26949
+ * @param [properties] Properties to set
26950
+ * @returns AwsDiscoveryStartingLocation instance
26951
+ */
26952
+ public static create(properties?: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
26953
+
26954
+ /**
26955
+ * Encodes the specified AwsDiscoveryStartingLocation message. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.verify|verify} messages.
26956
+ * @param message AwsDiscoveryStartingLocation message or plain object to encode
26957
+ * @param [writer] Writer to encode to
26958
+ * @returns Writer
26959
+ */
26960
+ public static encode(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
26961
+
26962
+ /**
26963
+ * Encodes the specified AwsDiscoveryStartingLocation message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation.verify|verify} messages.
26964
+ * @param message AwsDiscoveryStartingLocation message or plain object to encode
26965
+ * @param [writer] Writer to encode to
26966
+ * @returns Writer
26967
+ */
26968
+ public static encodeDelimited(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.IAwsDiscoveryStartingLocation, writer?: $protobuf.Writer): $protobuf.Writer;
26969
+
26970
+ /**
26971
+ * Decodes an AwsDiscoveryStartingLocation message from the specified reader or buffer.
26972
+ * @param reader Reader or buffer to decode from
26973
+ * @param [length] Message length if known beforehand
26974
+ * @returns AwsDiscoveryStartingLocation
26975
+ * @throws {Error} If the payload is not a reader or valid buffer
26976
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26977
+ */
26978
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
26979
+
26980
+ /**
26981
+ * Decodes an AwsDiscoveryStartingLocation message from the specified reader or buffer, length delimited.
26982
+ * @param reader Reader or buffer to decode from
26983
+ * @returns AwsDiscoveryStartingLocation
26984
+ * @throws {Error} If the payload is not a reader or valid buffer
26985
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26986
+ */
26987
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
26988
+
26989
+ /**
26990
+ * Verifies an AwsDiscoveryStartingLocation message.
26991
+ * @param message Plain object to verify
26992
+ * @returns `null` if valid, otherwise the reason why it is not
26993
+ */
26994
+ public static verify(message: { [k: string]: any }): (string|null);
26995
+
26996
+ /**
26997
+ * Creates an AwsDiscoveryStartingLocation message from a plain object. Also converts values to their respective internal types.
26998
+ * @param object Plain object
26999
+ * @returns AwsDiscoveryStartingLocation
27000
+ */
27001
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation;
27002
+
27003
+ /**
27004
+ * Creates a plain object from an AwsDiscoveryStartingLocation message. Also converts values to other types if specified.
27005
+ * @param message AwsDiscoveryStartingLocation
27006
+ * @param [options] Conversion options
27007
+ * @returns Plain object
27008
+ */
27009
+ public static toObject(message: google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
27010
+
27011
+ /**
27012
+ * Converts this AwsDiscoveryStartingLocation to JSON.
27013
+ * @returns JSON object
27014
+ */
27015
+ public toJSON(): { [k: string]: any };
27016
+
27017
+ /**
27018
+ * Gets the default type url for AwsDiscoveryStartingLocation
27019
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27020
+ * @returns The default type url
27021
+ */
27022
+ public static getTypeUrl(typeUrlPrefix?: string): string;
27023
+ }
27024
+ }
27025
+
25234
27026
  /** Properties of an AllOtherResources. */
25235
27027
  interface IAllOtherResources {
25236
27028
  }