@google-cloud/pubsub 3.5.1 → 3.6.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,20 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/@google-cloud/pubsub?activeTab=versions
6
6
 
7
+ ## [3.6.0](https://github.com/googleapis/nodejs-pubsub/compare/v3.5.2...v3.6.0) (2023-05-12)
8
+
9
+
10
+ ### Features
11
+
12
+ * Add cloud storage subscription fields ([#1724](https://github.com/googleapis/nodejs-pubsub/issues/1724)) ([f61a64a](https://github.com/googleapis/nodejs-pubsub/commit/f61a64a2daffdfbf4c7b18d50434899c572d108c))
13
+
14
+ ## [3.5.2](https://github.com/googleapis/nodejs-pubsub/compare/v3.5.1...v3.5.2) (2023-04-26)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * Avoid zalgo when calling down to publish messages ([#1710](https://github.com/googleapis/nodejs-pubsub/issues/1710)) ([dedae1e](https://github.com/googleapis/nodejs-pubsub/commit/dedae1e46cb3214abc33578a878a2298cdae6cac))
20
+
7
21
  ## [3.5.1](https://github.com/googleapis/nodejs-pubsub/compare/v3.5.0...v3.5.1) (2023-04-20)
8
22
 
9
23
 
@@ -1,4 +1,4 @@
1
- // Copyright 2022 Google LLC
1
+ // Copyright 2023 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -647,9 +647,9 @@ service Subscriber {
647
647
  }
648
648
  }
649
649
 
650
- // A subscription resource. If none of `push_config` or `bigquery_config` is
651
- // set, then the subscriber will pull and ack messages using API methods. At
652
- // most one of these fields may be set.
650
+ // A subscription resource. If none of `push_config`, `bigquery_config`, or
651
+ // `cloud_storage_config` is set, then the subscriber will pull and ack messages
652
+ // using API methods. At most one of these fields may be set.
653
653
  message Subscription {
654
654
  option (google.api.resource) = {
655
655
  type: "pubsub.googleapis.com/Subscription"
@@ -694,6 +694,10 @@ message Subscription {
694
694
  // used to configure it.
695
695
  BigQueryConfig bigquery_config = 18;
696
696
 
697
+ // If delivery to Google Cloud Storage is used with this subscription, this
698
+ // field is used to configure it.
699
+ CloudStorageConfig cloud_storage_config = 22;
700
+
697
701
  // The approximate amount of time (on a best-effort basis) Pub/Sub waits for
698
702
  // the subscriber to acknowledge receipt before resending the message. In the
699
703
  // interval after the message is delivered and before it is acknowledged, it
@@ -885,9 +889,9 @@ message PushConfig {
885
889
  message OidcToken {
886
890
  // [Service account
887
891
  // email](https://cloud.google.com/iam/docs/service-accounts)
888
- // to be used for generating the OIDC token. The caller (for
889
- // CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must
890
- // have the iam.serviceAccounts.actAs permission for the service account.
892
+ // used for generating the OIDC token. For more information
893
+ // on setting up authentication, see
894
+ // [Push subscriptions](https://cloud.google.com/pubsub/docs/push).
891
895
  string service_account_email = 1;
892
896
 
893
897
  // Audience to be used when generating OIDC token. The audience claim
@@ -990,6 +994,75 @@ message BigQueryConfig {
990
994
  State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
991
995
  }
992
996
 
997
+ // Configuration for a Cloud Storage subscription.
998
+ message CloudStorageConfig {
999
+ // Configuration for writing message data in text format.
1000
+ // Message payloads will be written to files as raw text, separated by a
1001
+ // newline.
1002
+ message TextConfig {}
1003
+
1004
+ // Configuration for writing message data in Avro format.
1005
+ // Message payloads and metadata will be written to files as an Avro binary.
1006
+ message AvroConfig {
1007
+ // When true, write the subscription name, message_id, publish_time,
1008
+ // attributes, and ordering_key as additional fields in the output.
1009
+ bool write_metadata = 1;
1010
+ }
1011
+
1012
+ // Possible states for a Cloud Storage subscription.
1013
+ enum State {
1014
+ // Default value. This value is unused.
1015
+ STATE_UNSPECIFIED = 0;
1016
+
1017
+ // The subscription can actively send messages to Cloud Storage.
1018
+ ACTIVE = 1;
1019
+
1020
+ // Cannot write to the Cloud Storage bucket because of permission denied
1021
+ // errors.
1022
+ PERMISSION_DENIED = 2;
1023
+
1024
+ // Cannot write to the Cloud Storage bucket because it does not exist.
1025
+ NOT_FOUND = 3;
1026
+ }
1027
+
1028
+ // Required. User-provided name for the Cloud Storage bucket.
1029
+ // The bucket must be created by the user. The bucket name must be without
1030
+ // any prefix like "gs://". See the [bucket naming
1031
+ // requirements] (https://cloud.google.com/storage/docs/buckets#naming).
1032
+ string bucket = 1 [(google.api.field_behavior) = REQUIRED];
1033
+
1034
+ // User-provided prefix for Cloud Storage filename. See the [object naming
1035
+ // requirements](https://cloud.google.com/storage/docs/objects#naming).
1036
+ string filename_prefix = 2;
1037
+
1038
+ // User-provided suffix for Cloud Storage filename. See the [object naming
1039
+ // requirements](https://cloud.google.com/storage/docs/objects#naming).
1040
+ string filename_suffix = 3;
1041
+
1042
+ // Defaults to text format.
1043
+ oneof output_format {
1044
+ // If set, message data will be written to Cloud Storage in text format.
1045
+ TextConfig text_config = 4;
1046
+
1047
+ // If set, message data will be written to Cloud Storage in Avro format.
1048
+ AvroConfig avro_config = 5;
1049
+ }
1050
+
1051
+ // The maximum duration that can elapse before a new Cloud Storage file is
1052
+ // created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed
1053
+ // the subscription's acknowledgement deadline.
1054
+ google.protobuf.Duration max_duration = 6;
1055
+
1056
+ // The maximum bytes that can be written to a Cloud Storage file before a new
1057
+ // file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded
1058
+ // in cases where messages are larger than the limit.
1059
+ int64 max_bytes = 7;
1060
+
1061
+ // Output only. An output-only field that indicates whether or not the
1062
+ // subscription can receive messages.
1063
+ State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
1064
+ }
1065
+
993
1066
  // A message and its corresponding acknowledgment ID.
994
1067
  message ReceivedMessage {
995
1068
  // This ID can be used to acknowledge the received message.
@@ -1,4 +1,4 @@
1
- // Copyright 2022 Google LLC
1
+ // Copyright 2023 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -2398,6 +2398,9 @@ export namespace google {
2398
2398
  /** Subscription bigqueryConfig */
2399
2399
  bigqueryConfig?: (google.pubsub.v1.IBigQueryConfig|null);
2400
2400
 
2401
+ /** Subscription cloudStorageConfig */
2402
+ cloudStorageConfig?: (google.pubsub.v1.ICloudStorageConfig|null);
2403
+
2401
2404
  /** Subscription ackDeadlineSeconds */
2402
2405
  ackDeadlineSeconds?: (number|null);
2403
2406
 
@@ -2459,6 +2462,9 @@ export namespace google {
2459
2462
  /** Subscription bigqueryConfig. */
2460
2463
  public bigqueryConfig?: (google.pubsub.v1.IBigQueryConfig|null);
2461
2464
 
2465
+ /** Subscription cloudStorageConfig. */
2466
+ public cloudStorageConfig?: (google.pubsub.v1.ICloudStorageConfig|null);
2467
+
2462
2468
  /** Subscription ackDeadlineSeconds. */
2463
2469
  public ackDeadlineSeconds: number;
2464
2470
 
@@ -3240,6 +3246,347 @@ export namespace google {
3240
3246
  }
3241
3247
  }
3242
3248
 
3249
+ /** Properties of a CloudStorageConfig. */
3250
+ interface ICloudStorageConfig {
3251
+
3252
+ /** CloudStorageConfig bucket */
3253
+ bucket?: (string|null);
3254
+
3255
+ /** CloudStorageConfig filenamePrefix */
3256
+ filenamePrefix?: (string|null);
3257
+
3258
+ /** CloudStorageConfig filenameSuffix */
3259
+ filenameSuffix?: (string|null);
3260
+
3261
+ /** CloudStorageConfig textConfig */
3262
+ textConfig?: (google.pubsub.v1.CloudStorageConfig.ITextConfig|null);
3263
+
3264
+ /** CloudStorageConfig avroConfig */
3265
+ avroConfig?: (google.pubsub.v1.CloudStorageConfig.IAvroConfig|null);
3266
+
3267
+ /** CloudStorageConfig maxDuration */
3268
+ maxDuration?: (google.protobuf.IDuration|null);
3269
+
3270
+ /** CloudStorageConfig maxBytes */
3271
+ maxBytes?: (number|Long|string|null);
3272
+
3273
+ /** CloudStorageConfig state */
3274
+ state?: (google.pubsub.v1.CloudStorageConfig.State|keyof typeof google.pubsub.v1.CloudStorageConfig.State|null);
3275
+ }
3276
+
3277
+ /** Represents a CloudStorageConfig. */
3278
+ class CloudStorageConfig implements ICloudStorageConfig {
3279
+
3280
+ /**
3281
+ * Constructs a new CloudStorageConfig.
3282
+ * @param [properties] Properties to set
3283
+ */
3284
+ constructor(properties?: google.pubsub.v1.ICloudStorageConfig);
3285
+
3286
+ /** CloudStorageConfig bucket. */
3287
+ public bucket: string;
3288
+
3289
+ /** CloudStorageConfig filenamePrefix. */
3290
+ public filenamePrefix: string;
3291
+
3292
+ /** CloudStorageConfig filenameSuffix. */
3293
+ public filenameSuffix: string;
3294
+
3295
+ /** CloudStorageConfig textConfig. */
3296
+ public textConfig?: (google.pubsub.v1.CloudStorageConfig.ITextConfig|null);
3297
+
3298
+ /** CloudStorageConfig avroConfig. */
3299
+ public avroConfig?: (google.pubsub.v1.CloudStorageConfig.IAvroConfig|null);
3300
+
3301
+ /** CloudStorageConfig maxDuration. */
3302
+ public maxDuration?: (google.protobuf.IDuration|null);
3303
+
3304
+ /** CloudStorageConfig maxBytes. */
3305
+ public maxBytes: (number|Long|string);
3306
+
3307
+ /** CloudStorageConfig state. */
3308
+ public state: (google.pubsub.v1.CloudStorageConfig.State|keyof typeof google.pubsub.v1.CloudStorageConfig.State);
3309
+
3310
+ /** CloudStorageConfig outputFormat. */
3311
+ public outputFormat?: ("textConfig"|"avroConfig");
3312
+
3313
+ /**
3314
+ * Creates a new CloudStorageConfig instance using the specified properties.
3315
+ * @param [properties] Properties to set
3316
+ * @returns CloudStorageConfig instance
3317
+ */
3318
+ public static create(properties?: google.pubsub.v1.ICloudStorageConfig): google.pubsub.v1.CloudStorageConfig;
3319
+
3320
+ /**
3321
+ * Encodes the specified CloudStorageConfig message. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.verify|verify} messages.
3322
+ * @param message CloudStorageConfig message or plain object to encode
3323
+ * @param [writer] Writer to encode to
3324
+ * @returns Writer
3325
+ */
3326
+ public static encode(message: google.pubsub.v1.ICloudStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3327
+
3328
+ /**
3329
+ * Encodes the specified CloudStorageConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.verify|verify} messages.
3330
+ * @param message CloudStorageConfig message or plain object to encode
3331
+ * @param [writer] Writer to encode to
3332
+ * @returns Writer
3333
+ */
3334
+ public static encodeDelimited(message: google.pubsub.v1.ICloudStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3335
+
3336
+ /**
3337
+ * Decodes a CloudStorageConfig message from the specified reader or buffer.
3338
+ * @param reader Reader or buffer to decode from
3339
+ * @param [length] Message length if known beforehand
3340
+ * @returns CloudStorageConfig
3341
+ * @throws {Error} If the payload is not a reader or valid buffer
3342
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3343
+ */
3344
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CloudStorageConfig;
3345
+
3346
+ /**
3347
+ * Decodes a CloudStorageConfig message from the specified reader or buffer, length delimited.
3348
+ * @param reader Reader or buffer to decode from
3349
+ * @returns CloudStorageConfig
3350
+ * @throws {Error} If the payload is not a reader or valid buffer
3351
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3352
+ */
3353
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CloudStorageConfig;
3354
+
3355
+ /**
3356
+ * Verifies a CloudStorageConfig message.
3357
+ * @param message Plain object to verify
3358
+ * @returns `null` if valid, otherwise the reason why it is not
3359
+ */
3360
+ public static verify(message: { [k: string]: any }): (string|null);
3361
+
3362
+ /**
3363
+ * Creates a CloudStorageConfig message from a plain object. Also converts values to their respective internal types.
3364
+ * @param object Plain object
3365
+ * @returns CloudStorageConfig
3366
+ */
3367
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CloudStorageConfig;
3368
+
3369
+ /**
3370
+ * Creates a plain object from a CloudStorageConfig message. Also converts values to other types if specified.
3371
+ * @param message CloudStorageConfig
3372
+ * @param [options] Conversion options
3373
+ * @returns Plain object
3374
+ */
3375
+ public static toObject(message: google.pubsub.v1.CloudStorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
3376
+
3377
+ /**
3378
+ * Converts this CloudStorageConfig to JSON.
3379
+ * @returns JSON object
3380
+ */
3381
+ public toJSON(): { [k: string]: any };
3382
+
3383
+ /**
3384
+ * Gets the default type url for CloudStorageConfig
3385
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3386
+ * @returns The default type url
3387
+ */
3388
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3389
+ }
3390
+
3391
+ namespace CloudStorageConfig {
3392
+
3393
+ /** Properties of a TextConfig. */
3394
+ interface ITextConfig {
3395
+ }
3396
+
3397
+ /** Represents a TextConfig. */
3398
+ class TextConfig implements ITextConfig {
3399
+
3400
+ /**
3401
+ * Constructs a new TextConfig.
3402
+ * @param [properties] Properties to set
3403
+ */
3404
+ constructor(properties?: google.pubsub.v1.CloudStorageConfig.ITextConfig);
3405
+
3406
+ /**
3407
+ * Creates a new TextConfig instance using the specified properties.
3408
+ * @param [properties] Properties to set
3409
+ * @returns TextConfig instance
3410
+ */
3411
+ public static create(properties?: google.pubsub.v1.CloudStorageConfig.ITextConfig): google.pubsub.v1.CloudStorageConfig.TextConfig;
3412
+
3413
+ /**
3414
+ * Encodes the specified TextConfig message. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.TextConfig.verify|verify} messages.
3415
+ * @param message TextConfig message or plain object to encode
3416
+ * @param [writer] Writer to encode to
3417
+ * @returns Writer
3418
+ */
3419
+ public static encode(message: google.pubsub.v1.CloudStorageConfig.ITextConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3420
+
3421
+ /**
3422
+ * Encodes the specified TextConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.TextConfig.verify|verify} messages.
3423
+ * @param message TextConfig message or plain object to encode
3424
+ * @param [writer] Writer to encode to
3425
+ * @returns Writer
3426
+ */
3427
+ public static encodeDelimited(message: google.pubsub.v1.CloudStorageConfig.ITextConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3428
+
3429
+ /**
3430
+ * Decodes a TextConfig message from the specified reader or buffer.
3431
+ * @param reader Reader or buffer to decode from
3432
+ * @param [length] Message length if known beforehand
3433
+ * @returns TextConfig
3434
+ * @throws {Error} If the payload is not a reader or valid buffer
3435
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3436
+ */
3437
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CloudStorageConfig.TextConfig;
3438
+
3439
+ /**
3440
+ * Decodes a TextConfig message from the specified reader or buffer, length delimited.
3441
+ * @param reader Reader or buffer to decode from
3442
+ * @returns TextConfig
3443
+ * @throws {Error} If the payload is not a reader or valid buffer
3444
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3445
+ */
3446
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CloudStorageConfig.TextConfig;
3447
+
3448
+ /**
3449
+ * Verifies a TextConfig message.
3450
+ * @param message Plain object to verify
3451
+ * @returns `null` if valid, otherwise the reason why it is not
3452
+ */
3453
+ public static verify(message: { [k: string]: any }): (string|null);
3454
+
3455
+ /**
3456
+ * Creates a TextConfig message from a plain object. Also converts values to their respective internal types.
3457
+ * @param object Plain object
3458
+ * @returns TextConfig
3459
+ */
3460
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CloudStorageConfig.TextConfig;
3461
+
3462
+ /**
3463
+ * Creates a plain object from a TextConfig message. Also converts values to other types if specified.
3464
+ * @param message TextConfig
3465
+ * @param [options] Conversion options
3466
+ * @returns Plain object
3467
+ */
3468
+ public static toObject(message: google.pubsub.v1.CloudStorageConfig.TextConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
3469
+
3470
+ /**
3471
+ * Converts this TextConfig to JSON.
3472
+ * @returns JSON object
3473
+ */
3474
+ public toJSON(): { [k: string]: any };
3475
+
3476
+ /**
3477
+ * Gets the default type url for TextConfig
3478
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3479
+ * @returns The default type url
3480
+ */
3481
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3482
+ }
3483
+
3484
+ /** Properties of an AvroConfig. */
3485
+ interface IAvroConfig {
3486
+
3487
+ /** AvroConfig writeMetadata */
3488
+ writeMetadata?: (boolean|null);
3489
+ }
3490
+
3491
+ /** Represents an AvroConfig. */
3492
+ class AvroConfig implements IAvroConfig {
3493
+
3494
+ /**
3495
+ * Constructs a new AvroConfig.
3496
+ * @param [properties] Properties to set
3497
+ */
3498
+ constructor(properties?: google.pubsub.v1.CloudStorageConfig.IAvroConfig);
3499
+
3500
+ /** AvroConfig writeMetadata. */
3501
+ public writeMetadata: boolean;
3502
+
3503
+ /**
3504
+ * Creates a new AvroConfig instance using the specified properties.
3505
+ * @param [properties] Properties to set
3506
+ * @returns AvroConfig instance
3507
+ */
3508
+ public static create(properties?: google.pubsub.v1.CloudStorageConfig.IAvroConfig): google.pubsub.v1.CloudStorageConfig.AvroConfig;
3509
+
3510
+ /**
3511
+ * Encodes the specified AvroConfig message. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.AvroConfig.verify|verify} messages.
3512
+ * @param message AvroConfig message or plain object to encode
3513
+ * @param [writer] Writer to encode to
3514
+ * @returns Writer
3515
+ */
3516
+ public static encode(message: google.pubsub.v1.CloudStorageConfig.IAvroConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3517
+
3518
+ /**
3519
+ * Encodes the specified AvroConfig message, length delimited. Does not implicitly {@link google.pubsub.v1.CloudStorageConfig.AvroConfig.verify|verify} messages.
3520
+ * @param message AvroConfig message or plain object to encode
3521
+ * @param [writer] Writer to encode to
3522
+ * @returns Writer
3523
+ */
3524
+ public static encodeDelimited(message: google.pubsub.v1.CloudStorageConfig.IAvroConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3525
+
3526
+ /**
3527
+ * Decodes an AvroConfig message from the specified reader or buffer.
3528
+ * @param reader Reader or buffer to decode from
3529
+ * @param [length] Message length if known beforehand
3530
+ * @returns AvroConfig
3531
+ * @throws {Error} If the payload is not a reader or valid buffer
3532
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3533
+ */
3534
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.CloudStorageConfig.AvroConfig;
3535
+
3536
+ /**
3537
+ * Decodes an AvroConfig message from the specified reader or buffer, length delimited.
3538
+ * @param reader Reader or buffer to decode from
3539
+ * @returns AvroConfig
3540
+ * @throws {Error} If the payload is not a reader or valid buffer
3541
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3542
+ */
3543
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.CloudStorageConfig.AvroConfig;
3544
+
3545
+ /**
3546
+ * Verifies an AvroConfig message.
3547
+ * @param message Plain object to verify
3548
+ * @returns `null` if valid, otherwise the reason why it is not
3549
+ */
3550
+ public static verify(message: { [k: string]: any }): (string|null);
3551
+
3552
+ /**
3553
+ * Creates an AvroConfig message from a plain object. Also converts values to their respective internal types.
3554
+ * @param object Plain object
3555
+ * @returns AvroConfig
3556
+ */
3557
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.CloudStorageConfig.AvroConfig;
3558
+
3559
+ /**
3560
+ * Creates a plain object from an AvroConfig message. Also converts values to other types if specified.
3561
+ * @param message AvroConfig
3562
+ * @param [options] Conversion options
3563
+ * @returns Plain object
3564
+ */
3565
+ public static toObject(message: google.pubsub.v1.CloudStorageConfig.AvroConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
3566
+
3567
+ /**
3568
+ * Converts this AvroConfig to JSON.
3569
+ * @returns JSON object
3570
+ */
3571
+ public toJSON(): { [k: string]: any };
3572
+
3573
+ /**
3574
+ * Gets the default type url for AvroConfig
3575
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3576
+ * @returns The default type url
3577
+ */
3578
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3579
+ }
3580
+
3581
+ /** State enum. */
3582
+ enum State {
3583
+ STATE_UNSPECIFIED = 0,
3584
+ ACTIVE = 1,
3585
+ PERMISSION_DENIED = 2,
3586
+ NOT_FOUND = 3
3587
+ }
3588
+ }
3589
+
3243
3590
  /** Properties of a ReceivedMessage. */
3244
3591
  interface IReceivedMessage {
3245
3592