@google-cloud/dlp 5.6.0 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/PACKAGE NAME?activeTab=versions
6
6
 
7
+ ## [5.7.0](https://github.com/googleapis/google-cloud-node/compare/dlp-v5.6.0...dlp-v5.7.0) (2024-06-03)
8
+
9
+
10
+ ### Features
11
+
12
+ * [dlp] add secrets discovery support ([#5380](https://github.com/googleapis/google-cloud-node/issues/5380)) ([81e759d](https://github.com/googleapis/google-cloud-node/commit/81e759d8fc99473fc0109115e5fdd2b7ddd008f9))
13
+
7
14
  ## [5.6.0](https://github.com/googleapis/google-cloud-node/compare/dlp-v5.5.0...dlp-v5.6.0) (2024-05-21)
8
15
 
9
16
 
@@ -1853,7 +1853,7 @@ message InspectDataSourceDetails {
1853
1853
  // inspect job.
1854
1854
  repeated InfoTypeStats info_type_stats = 3;
1855
1855
 
1856
- // Number of rows scanned post sampling and time filtering (Applicable for
1856
+ // Number of rows scanned after sampling and time filtering (applicable for
1857
1857
  // row based stores such as BigQuery).
1858
1858
  int64 num_rows_processed = 5;
1859
1859
 
@@ -1989,6 +1989,9 @@ message InfoTypeCategory {
1989
1989
  // The infoType is typically used in Australia.
1990
1990
  AUSTRALIA = 3;
1991
1991
 
1992
+ // The infoType is typically used in Azerbaijan.
1993
+ AZERBAIJAN = 48;
1994
+
1992
1995
  // The infoType is typically used in Belgium.
1993
1996
  BELGIUM = 4;
1994
1997
 
@@ -3938,7 +3941,7 @@ message Error {
3938
3941
  repeated google.protobuf.Timestamp timestamps = 2;
3939
3942
  }
3940
3943
 
3941
- // Contains a configuration to make api calls on a repeating basis.
3944
+ // Contains a configuration to make API calls on a repeating basis.
3942
3945
  // See
3943
3946
  // https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers
3944
3947
  // to learn more.
@@ -4773,13 +4776,9 @@ message DataProfileAction {
4773
4776
  // New profile (not a re-profile).
4774
4777
  NEW_PROFILE = 1;
4775
4778
 
4776
- // Changed one of the following profile metrics:
4777
- // * Data risk score
4778
- // * Sensitivity score
4779
- // * Resource visibility
4780
- // * Encryption type
4781
- // * Predicted infoTypes
4782
- // * Other infoTypes
4779
+ // One of the following profile metrics changed: Data risk score,
4780
+ // Sensitivity score, Resource visibility, Encryption type, Predicted
4781
+ // infoTypes, Other infoTypes
4783
4782
  CHANGED_PROFILE = 2;
4784
4783
 
4785
4784
  // Table data risk score or sensitivity score increased.
@@ -5036,6 +5035,11 @@ message DiscoveryTarget {
5036
5035
  // Cloud SQL target for Discovery. The first target to match a table will be
5037
5036
  // the one applied.
5038
5037
  CloudSqlDiscoveryTarget cloud_sql_target = 2;
5038
+
5039
+ // Discovery target that looks for credentials and secrets stored in cloud
5040
+ // resource metadata and reports them as vulnerabilities to Security Command
5041
+ // Center. Only one target of this type is allowed.
5042
+ SecretsDiscoveryTarget secrets_target = 3;
5039
5043
  }
5040
5044
  }
5041
5045
 
@@ -5088,6 +5092,11 @@ message DiscoveryBigQueryFilter {
5088
5092
  // configuration. If none is specified, a default one will be added
5089
5093
  // automatically.
5090
5094
  AllOtherBigQueryTables other_tables = 2;
5095
+
5096
+ // The table to scan. Discovery configurations including this can only
5097
+ // include one DiscoveryTarget (the DiscoveryTarget with this
5098
+ // TableReference).
5099
+ TableReference table_reference = 3;
5091
5100
  }
5092
5101
  }
5093
5102
 
@@ -5272,7 +5281,7 @@ message DatabaseResourceRegexes {
5272
5281
  // under the google/re2 repository on GitHub.
5273
5282
  message DatabaseResourceRegex {
5274
5283
  // For organizations, if unset, will match all projects. Has no effect
5275
- // for Data Profile configurations created within a project.
5284
+ // for configurations created within a project.
5276
5285
  string project_id_regex = 1;
5277
5286
 
5278
5287
  // Regex to test the instance name against. If empty, all instances match.
@@ -5294,12 +5303,19 @@ message AllOtherDatabaseResources {}
5294
5303
  // Identifies a single database resource, like a table within a database.
5295
5304
  message DatabaseResourceReference {
5296
5305
  // Required. If within a project-level config, then this must match the
5297
- // config's project id.
5306
+ // config's project ID.
5298
5307
  string project_id = 1 [(google.api.field_behavior) = REQUIRED];
5299
5308
 
5300
5309
  // Required. The instance where this resource is located. For example: Cloud
5301
- // SQL's instance id.
5310
+ // SQL instance ID.
5302
5311
  string instance = 2 [(google.api.field_behavior) = REQUIRED];
5312
+
5313
+ // Required. Name of a database within the instance.
5314
+ string database = 3 [(google.api.field_behavior) = REQUIRED];
5315
+
5316
+ // Required. Name of a database resource, for example, a table within the
5317
+ // database.
5318
+ string database_resource = 4 [(google.api.field_behavior) = REQUIRED];
5303
5319
  }
5304
5320
 
5305
5321
  // Requirements that must be true before a table is profiled for the
@@ -5313,10 +5329,10 @@ message DiscoveryCloudSqlConditions {
5313
5329
  // Include all supported database engines.
5314
5330
  ALL_SUPPORTED_DATABASE_ENGINES = 1;
5315
5331
 
5316
- // MySql database.
5332
+ // MySQL database.
5317
5333
  MYSQL = 2;
5318
5334
 
5319
- // PostGres database.
5335
+ // PostgreSQL database.
5320
5336
  POSTGRES = 3;
5321
5337
  }
5322
5338
 
@@ -5347,14 +5363,14 @@ message DiscoveryCloudSqlConditions {
5347
5363
  // New tables are scanned as quickly as possible depending on system
5348
5364
  // capacity.
5349
5365
  message DiscoveryCloudSqlGenerationCadence {
5350
- // How frequency to modify the profile when the table's schema is modified.
5366
+ // How frequently to modify the profile when the table's schema is modified.
5351
5367
  message SchemaModifiedCadence {
5352
5368
  // The type of modification that causes a profile update.
5353
5369
  enum CloudSqlSchemaModification {
5354
5370
  // Unused.
5355
5371
  SQL_SCHEMA_MODIFICATION_UNSPECIFIED = 0;
5356
5372
 
5357
- // New columns has appeared.
5373
+ // New columns have appeared.
5358
5374
  NEW_COLUMNS = 1;
5359
5375
 
5360
5376
  // Columns have been removed from the table.
@@ -5375,11 +5391,25 @@ message DiscoveryCloudSqlGenerationCadence {
5375
5391
 
5376
5392
  // Data changes (non-schema changes) in Cloud SQL tables can't trigger
5377
5393
  // reprofiling. If you set this field, profiles are refreshed at this
5378
- // frequency regardless of whether the underlying tables have changes.
5394
+ // frequency regardless of whether the underlying tables have changed.
5379
5395
  // Defaults to never.
5380
5396
  DataProfileUpdateFrequency refresh_frequency = 2;
5381
5397
  }
5382
5398
 
5399
+ // Discovery target for credentials and secrets in cloud resource metadata.
5400
+ //
5401
+ // This target does not include any filtering or frequency controls. Cloud
5402
+ // DLP will scan cloud resource metadata for secrets daily.
5403
+ //
5404
+ // No inspect template should be included in the discovery config for a
5405
+ // security benchmarks scan. Instead, the built-in list of secrets and
5406
+ // credentials infoTypes will be used (see
5407
+ // https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets).
5408
+ //
5409
+ // Credentials and secrets discovered will be reported as vulnerabilities to
5410
+ // Security Command Center.
5411
+ message SecretsDiscoveryTarget {}
5412
+
5383
5413
  // The location to begin a discovery scan. Denotes an organization ID or folder
5384
5414
  // ID within an organization.
5385
5415
  message DiscoveryStartingLocation {
@@ -6523,8 +6553,8 @@ enum ResourceVisibility {
6523
6553
  RESOURCE_VISIBILITY_PUBLIC = 10;
6524
6554
 
6525
6555
  // May contain public items.
6526
- // For example, if a GCS bucket has uniform bucket level access disabled, some
6527
- // objects inside it may be public.
6556
+ // For example, if a Cloud Storage bucket has uniform bucket level access
6557
+ // disabled, some objects inside it may be public.
6528
6558
  RESOURCE_VISIBILITY_INCONCLUSIVE = 15;
6529
6559
 
6530
6560
  // Visible only to specific users.
@@ -7049,8 +7079,7 @@ message ListConnectionsRequest {
7049
7079
  // results. If set, all other request fields must match the original request.
7050
7080
  string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
7051
7081
 
7052
- // Optional. * Supported fields/values
7053
- // - `state` - MISSING|AVAILABLE|ERROR
7082
+ // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
7054
7083
  string filter = 4 [(google.api.field_behavior) = OPTIONAL];
7055
7084
  }
7056
7085
 
@@ -7072,8 +7101,7 @@ message SearchConnectionsRequest {
7072
7101
  // results. If set, all other request fields must match the original request.
7073
7102
  string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
7074
7103
 
7075
- // Optional. * Supported fields/values
7076
- // - `state` - MISSING|AVAILABLE|ERROR
7104
+ // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
7077
7105
  string filter = 4 [(google.api.field_behavior) = OPTIONAL];
7078
7106
  }
7079
7107
 
@@ -7168,10 +7196,10 @@ enum ConnectionState {
7168
7196
  // A configured connection that encountered errors during its last use. It
7169
7197
  // will not be used again until it is set to AVAILABLE.
7170
7198
  //
7171
- // If the resolution requires external action, then a request to set the
7172
- // status to AVAILABLE will mark this connection for use. Otherwise, any
7173
- // changes to the connection properties will automatically mark it as
7174
- // AVAILABLE.
7199
+ // If the resolution requires external action, then the client must send a
7200
+ // request to set the status to AVAILABLE when the connection is ready for
7201
+ // use. If the resolution doesn't require external action, then any changes to
7202
+ // the connection properties will automatically mark it as AVAILABLE.
7175
7203
  ERROR = 3;
7176
7204
  }
7177
7205
 
@@ -7189,8 +7217,8 @@ message SecretManagerCredential {
7189
7217
  [(google.api.field_behavior) = REQUIRED];
7190
7218
  }
7191
7219
 
7192
- // Use IAM auth to connect. This requires the Cloud SQL IAM feature to be
7193
- // enabled on the instance, which is not the default for Cloud SQL.
7220
+ // Use IAM authentication to connect. This requires the Cloud SQL IAM feature
7221
+ // to be enabled on the instance, which is not the default for Cloud SQL.
7194
7222
  // See https://cloud.google.com/sql/docs/postgres/authentication and
7195
7223
  // https://cloud.google.com/sql/docs/mysql/authentication.
7196
7224
  message CloudSqlIamCredential {}
@@ -7200,13 +7228,13 @@ message CloudSqlProperties {
7200
7228
  // Database engine of a Cloud SQL instance.
7201
7229
  // New values may be added over time.
7202
7230
  enum DatabaseEngine {
7203
- // An engine that is not currently supported by SDP.
7231
+ // An engine that is not currently supported by Sensitive Data Protection.
7204
7232
  DATABASE_ENGINE_UNKNOWN = 0;
7205
7233
 
7206
7234
  // Cloud SQL for MySQL instance.
7207
7235
  DATABASE_ENGINE_MYSQL = 1;
7208
7236
 
7209
- // Cloud SQL for Postgres instance.
7237
+ // Cloud SQL for PostgreSQL instance.
7210
7238
  DATABASE_ENGINE_POSTGRES = 2;
7211
7239
  }
7212
7240
 
@@ -859,6 +859,16 @@ message BigQueryTable {
859
859
  string table_id = 3;
860
860
  }
861
861
 
862
+ // Message defining the location of a BigQuery table with the projectId inferred
863
+ // from the parent project.
864
+ message TableReference {
865
+ // Dataset ID of the table.
866
+ string dataset_id = 1;
867
+
868
+ // Name of the table.
869
+ string table_id = 2;
870
+ }
871
+
862
872
  // Message defining a field of a BigQuery table.
863
873
  message BigQueryField {
864
874
  // Source table of the field.
@@ -6651,6 +6651,7 @@ export namespace google {
6651
6651
  GLOBAL = 1,
6652
6652
  ARGENTINA = 2,
6653
6653
  AUSTRALIA = 3,
6654
+ AZERBAIJAN = 48,
6654
6655
  BELGIUM = 4,
6655
6656
  BRAZIL = 5,
6656
6657
  CANADA = 6,
@@ -21259,6 +21260,9 @@ export namespace google {
21259
21260
 
21260
21261
  /** DiscoveryTarget cloudSqlTarget */
21261
21262
  cloudSqlTarget?: (google.privacy.dlp.v2.ICloudSqlDiscoveryTarget|null);
21263
+
21264
+ /** DiscoveryTarget secretsTarget */
21265
+ secretsTarget?: (google.privacy.dlp.v2.ISecretsDiscoveryTarget|null);
21262
21266
  }
21263
21267
 
21264
21268
  /** Represents a DiscoveryTarget. */
@@ -21276,8 +21280,11 @@ export namespace google {
21276
21280
  /** DiscoveryTarget cloudSqlTarget. */
21277
21281
  public cloudSqlTarget?: (google.privacy.dlp.v2.ICloudSqlDiscoveryTarget|null);
21278
21282
 
21283
+ /** DiscoveryTarget secretsTarget. */
21284
+ public secretsTarget?: (google.privacy.dlp.v2.ISecretsDiscoveryTarget|null);
21285
+
21279
21286
  /** DiscoveryTarget target. */
21280
- public target?: ("bigQueryTarget"|"cloudSqlTarget");
21287
+ public target?: ("bigQueryTarget"|"cloudSqlTarget"|"secretsTarget");
21281
21288
 
21282
21289
  /**
21283
21290
  * Creates a new DiscoveryTarget instance using the specified properties.
@@ -21483,6 +21490,9 @@ export namespace google {
21483
21490
 
21484
21491
  /** DiscoveryBigQueryFilter otherTables */
21485
21492
  otherTables?: (google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables|null);
21493
+
21494
+ /** DiscoveryBigQueryFilter tableReference */
21495
+ tableReference?: (google.privacy.dlp.v2.ITableReference|null);
21486
21496
  }
21487
21497
 
21488
21498
  /** Represents a DiscoveryBigQueryFilter. */
@@ -21500,8 +21510,11 @@ export namespace google {
21500
21510
  /** DiscoveryBigQueryFilter otherTables. */
21501
21511
  public otherTables?: (google.privacy.dlp.v2.DiscoveryBigQueryFilter.IAllOtherBigQueryTables|null);
21502
21512
 
21513
+ /** DiscoveryBigQueryFilter tableReference. */
21514
+ public tableReference?: (google.privacy.dlp.v2.ITableReference|null);
21515
+
21503
21516
  /** DiscoveryBigQueryFilter filter. */
21504
- public filter?: ("tables"|"otherTables");
21517
+ public filter?: ("tables"|"otherTables"|"tableReference");
21505
21518
 
21506
21519
  /**
21507
21520
  * Creates a new DiscoveryBigQueryFilter instance using the specified properties.
@@ -22962,6 +22975,12 @@ export namespace google {
22962
22975
 
22963
22976
  /** DatabaseResourceReference instance */
22964
22977
  instance?: (string|null);
22978
+
22979
+ /** DatabaseResourceReference database */
22980
+ database?: (string|null);
22981
+
22982
+ /** DatabaseResourceReference databaseResource */
22983
+ databaseResource?: (string|null);
22965
22984
  }
22966
22985
 
22967
22986
  /** Represents a DatabaseResourceReference. */
@@ -22979,6 +22998,12 @@ export namespace google {
22979
22998
  /** DatabaseResourceReference instance. */
22980
22999
  public instance: string;
22981
23000
 
23001
+ /** DatabaseResourceReference database. */
23002
+ public database: string;
23003
+
23004
+ /** DatabaseResourceReference databaseResource. */
23005
+ public databaseResource: string;
23006
+
22982
23007
  /**
22983
23008
  * Creates a new DatabaseResourceReference instance using the specified properties.
22984
23009
  * @param [properties] Properties to set
@@ -23397,6 +23422,97 @@ export namespace google {
23397
23422
  }
23398
23423
  }
23399
23424
 
23425
+ /** Properties of a SecretsDiscoveryTarget. */
23426
+ interface ISecretsDiscoveryTarget {
23427
+ }
23428
+
23429
+ /** Represents a SecretsDiscoveryTarget. */
23430
+ class SecretsDiscoveryTarget implements ISecretsDiscoveryTarget {
23431
+
23432
+ /**
23433
+ * Constructs a new SecretsDiscoveryTarget.
23434
+ * @param [properties] Properties to set
23435
+ */
23436
+ constructor(properties?: google.privacy.dlp.v2.ISecretsDiscoveryTarget);
23437
+
23438
+ /**
23439
+ * Creates a new SecretsDiscoveryTarget instance using the specified properties.
23440
+ * @param [properties] Properties to set
23441
+ * @returns SecretsDiscoveryTarget instance
23442
+ */
23443
+ public static create(properties?: google.privacy.dlp.v2.ISecretsDiscoveryTarget): google.privacy.dlp.v2.SecretsDiscoveryTarget;
23444
+
23445
+ /**
23446
+ * Encodes the specified SecretsDiscoveryTarget message. Does not implicitly {@link google.privacy.dlp.v2.SecretsDiscoveryTarget.verify|verify} messages.
23447
+ * @param message SecretsDiscoveryTarget message or plain object to encode
23448
+ * @param [writer] Writer to encode to
23449
+ * @returns Writer
23450
+ */
23451
+ public static encode(message: google.privacy.dlp.v2.ISecretsDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
23452
+
23453
+ /**
23454
+ * Encodes the specified SecretsDiscoveryTarget message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.SecretsDiscoveryTarget.verify|verify} messages.
23455
+ * @param message SecretsDiscoveryTarget message or plain object to encode
23456
+ * @param [writer] Writer to encode to
23457
+ * @returns Writer
23458
+ */
23459
+ public static encodeDelimited(message: google.privacy.dlp.v2.ISecretsDiscoveryTarget, writer?: $protobuf.Writer): $protobuf.Writer;
23460
+
23461
+ /**
23462
+ * Decodes a SecretsDiscoveryTarget message from the specified reader or buffer.
23463
+ * @param reader Reader or buffer to decode from
23464
+ * @param [length] Message length if known beforehand
23465
+ * @returns SecretsDiscoveryTarget
23466
+ * @throws {Error} If the payload is not a reader or valid buffer
23467
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23468
+ */
23469
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.SecretsDiscoveryTarget;
23470
+
23471
+ /**
23472
+ * Decodes a SecretsDiscoveryTarget message from the specified reader or buffer, length delimited.
23473
+ * @param reader Reader or buffer to decode from
23474
+ * @returns SecretsDiscoveryTarget
23475
+ * @throws {Error} If the payload is not a reader or valid buffer
23476
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
23477
+ */
23478
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.SecretsDiscoveryTarget;
23479
+
23480
+ /**
23481
+ * Verifies a SecretsDiscoveryTarget message.
23482
+ * @param message Plain object to verify
23483
+ * @returns `null` if valid, otherwise the reason why it is not
23484
+ */
23485
+ public static verify(message: { [k: string]: any }): (string|null);
23486
+
23487
+ /**
23488
+ * Creates a SecretsDiscoveryTarget message from a plain object. Also converts values to their respective internal types.
23489
+ * @param object Plain object
23490
+ * @returns SecretsDiscoveryTarget
23491
+ */
23492
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.SecretsDiscoveryTarget;
23493
+
23494
+ /**
23495
+ * Creates a plain object from a SecretsDiscoveryTarget message. Also converts values to other types if specified.
23496
+ * @param message SecretsDiscoveryTarget
23497
+ * @param [options] Conversion options
23498
+ * @returns Plain object
23499
+ */
23500
+ public static toObject(message: google.privacy.dlp.v2.SecretsDiscoveryTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
23501
+
23502
+ /**
23503
+ * Converts this SecretsDiscoveryTarget to JSON.
23504
+ * @returns JSON object
23505
+ */
23506
+ public toJSON(): { [k: string]: any };
23507
+
23508
+ /**
23509
+ * Gets the default type url for SecretsDiscoveryTarget
23510
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
23511
+ * @returns The default type url
23512
+ */
23513
+ public static getTypeUrl(typeUrlPrefix?: string): string;
23514
+ }
23515
+
23400
23516
  /** Properties of a DiscoveryStartingLocation. */
23401
23517
  interface IDiscoveryStartingLocation {
23402
23518
 
@@ -34328,6 +34444,109 @@ export namespace google {
34328
34444
  public static getTypeUrl(typeUrlPrefix?: string): string;
34329
34445
  }
34330
34446
 
34447
+ /** Properties of a TableReference. */
34448
+ interface ITableReference {
34449
+
34450
+ /** TableReference datasetId */
34451
+ datasetId?: (string|null);
34452
+
34453
+ /** TableReference tableId */
34454
+ tableId?: (string|null);
34455
+ }
34456
+
34457
+ /** Represents a TableReference. */
34458
+ class TableReference implements ITableReference {
34459
+
34460
+ /**
34461
+ * Constructs a new TableReference.
34462
+ * @param [properties] Properties to set
34463
+ */
34464
+ constructor(properties?: google.privacy.dlp.v2.ITableReference);
34465
+
34466
+ /** TableReference datasetId. */
34467
+ public datasetId: string;
34468
+
34469
+ /** TableReference tableId. */
34470
+ public tableId: string;
34471
+
34472
+ /**
34473
+ * Creates a new TableReference instance using the specified properties.
34474
+ * @param [properties] Properties to set
34475
+ * @returns TableReference instance
34476
+ */
34477
+ public static create(properties?: google.privacy.dlp.v2.ITableReference): google.privacy.dlp.v2.TableReference;
34478
+
34479
+ /**
34480
+ * Encodes the specified TableReference message. Does not implicitly {@link google.privacy.dlp.v2.TableReference.verify|verify} messages.
34481
+ * @param message TableReference message or plain object to encode
34482
+ * @param [writer] Writer to encode to
34483
+ * @returns Writer
34484
+ */
34485
+ public static encode(message: google.privacy.dlp.v2.ITableReference, writer?: $protobuf.Writer): $protobuf.Writer;
34486
+
34487
+ /**
34488
+ * Encodes the specified TableReference message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TableReference.verify|verify} messages.
34489
+ * @param message TableReference message or plain object to encode
34490
+ * @param [writer] Writer to encode to
34491
+ * @returns Writer
34492
+ */
34493
+ public static encodeDelimited(message: google.privacy.dlp.v2.ITableReference, writer?: $protobuf.Writer): $protobuf.Writer;
34494
+
34495
+ /**
34496
+ * Decodes a TableReference message from the specified reader or buffer.
34497
+ * @param reader Reader or buffer to decode from
34498
+ * @param [length] Message length if known beforehand
34499
+ * @returns TableReference
34500
+ * @throws {Error} If the payload is not a reader or valid buffer
34501
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34502
+ */
34503
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TableReference;
34504
+
34505
+ /**
34506
+ * Decodes a TableReference message from the specified reader or buffer, length delimited.
34507
+ * @param reader Reader or buffer to decode from
34508
+ * @returns TableReference
34509
+ * @throws {Error} If the payload is not a reader or valid buffer
34510
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
34511
+ */
34512
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TableReference;
34513
+
34514
+ /**
34515
+ * Verifies a TableReference message.
34516
+ * @param message Plain object to verify
34517
+ * @returns `null` if valid, otherwise the reason why it is not
34518
+ */
34519
+ public static verify(message: { [k: string]: any }): (string|null);
34520
+
34521
+ /**
34522
+ * Creates a TableReference message from a plain object. Also converts values to their respective internal types.
34523
+ * @param object Plain object
34524
+ * @returns TableReference
34525
+ */
34526
+ public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TableReference;
34527
+
34528
+ /**
34529
+ * Creates a plain object from a TableReference message. Also converts values to other types if specified.
34530
+ * @param message TableReference
34531
+ * @param [options] Conversion options
34532
+ * @returns Plain object
34533
+ */
34534
+ public static toObject(message: google.privacy.dlp.v2.TableReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
34535
+
34536
+ /**
34537
+ * Converts this TableReference to JSON.
34538
+ * @returns JSON object
34539
+ */
34540
+ public toJSON(): { [k: string]: any };
34541
+
34542
+ /**
34543
+ * Gets the default type url for TableReference
34544
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34545
+ * @returns The default type url
34546
+ */
34547
+ public static getTypeUrl(typeUrlPrefix?: string): string;
34548
+ }
34549
+
34331
34550
  /** Properties of a BigQueryField. */
34332
34551
  interface IBigQueryField {
34333
34552