@google-apps/chat 0.23.1 → 0.25.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.
Files changed (33) hide show
  1. package/README.md +3 -3
  2. package/build/protos/google/chat/v1/action_status.proto +1 -1
  3. package/build/protos/google/chat/v1/annotation.proto +1 -1
  4. package/build/protos/google/chat/v1/attachment.proto +1 -1
  5. package/build/protos/google/chat/v1/chat_service.proto +26 -0
  6. package/build/protos/google/chat/v1/contextual_addon.proto +1 -1
  7. package/build/protos/google/chat/v1/deletion_metadata.proto +1 -1
  8. package/build/protos/google/chat/v1/event_payload.proto +1 -1
  9. package/build/protos/google/chat/v1/group.proto +1 -1
  10. package/build/protos/google/chat/v1/history_state.proto +1 -1
  11. package/build/protos/google/chat/v1/matched_url.proto +1 -1
  12. package/build/protos/google/chat/v1/membership.proto +1 -1
  13. package/build/protos/google/chat/v1/message.proto +49 -7
  14. package/build/protos/google/chat/v1/reaction.proto +1 -1
  15. package/build/protos/google/chat/v1/slash_command.proto +1 -1
  16. package/build/protos/google/chat/v1/space.proto +81 -1
  17. package/build/protos/google/chat/v1/space_event.proto +1 -1
  18. package/build/protos/google/chat/v1/space_notification_setting.proto +1 -1
  19. package/build/protos/google/chat/v1/space_read_state.proto +1 -1
  20. package/build/protos/google/chat/v1/space_setup.proto +1 -1
  21. package/build/protos/google/chat/v1/thread_read_state.proto +1 -1
  22. package/build/protos/google/chat/v1/user.proto +1 -1
  23. package/build/protos/google/chat/v1/widgets.proto +1 -1
  24. package/build/protos/protos.d.ts +1004 -21
  25. package/build/protos/protos.js +8162 -2241
  26. package/build/protos/protos.json +311 -24
  27. package/build/src/v1/chat_service_client.d.ts +1103 -898
  28. package/build/src/v1/chat_service_client.js +830 -297
  29. package/build/src/v1/chat_service_client.js.map +1 -1
  30. package/build/src/v1/chat_service_client_config.json +5 -0
  31. package/build/src/v1/gapic_metadata.json +14 -0
  32. package/build/src/v1/index.js.map +1 -1
  33. package/package.json +1 -4
@@ -993,6 +993,7 @@ export namespace google {
993
993
  /** Edition enum. */
994
994
  enum Edition {
995
995
  EDITION_UNKNOWN = 0,
996
+ EDITION_LEGACY = 900,
996
997
  EDITION_PROTO2 = 998,
997
998
  EDITION_PROTO3 = 999,
998
999
  EDITION_2023 = 1000,
@@ -1023,6 +1024,9 @@ export namespace google {
1023
1024
  /** FileDescriptorProto weakDependency */
1024
1025
  weakDependency?: (number[]|null);
1025
1026
 
1027
+ /** FileDescriptorProto optionDependency */
1028
+ optionDependency?: (string[]|null);
1029
+
1026
1030
  /** FileDescriptorProto messageType */
1027
1031
  messageType?: (google.protobuf.IDescriptorProto[]|null);
1028
1032
 
@@ -1072,6 +1076,9 @@ export namespace google {
1072
1076
  /** FileDescriptorProto weakDependency. */
1073
1077
  public weakDependency: number[];
1074
1078
 
1079
+ /** FileDescriptorProto optionDependency. */
1080
+ public optionDependency: string[];
1081
+
1075
1082
  /** FileDescriptorProto messageType. */
1076
1083
  public messageType: google.protobuf.IDescriptorProto[];
1077
1084
 
@@ -1206,6 +1213,9 @@ export namespace google {
1206
1213
 
1207
1214
  /** DescriptorProto reservedName */
1208
1215
  reservedName?: (string[]|null);
1216
+
1217
+ /** DescriptorProto visibility */
1218
+ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
1209
1219
  }
1210
1220
 
1211
1221
  /** Represents a DescriptorProto. */
@@ -1247,6 +1257,9 @@ export namespace google {
1247
1257
  /** DescriptorProto reservedName. */
1248
1258
  public reservedName: string[];
1249
1259
 
1260
+ /** DescriptorProto visibility. */
1261
+ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
1262
+
1250
1263
  /**
1251
1264
  * Creates a new DescriptorProto instance using the specified properties.
1252
1265
  * @param [properties] Properties to set
@@ -2094,6 +2107,9 @@ export namespace google {
2094
2107
 
2095
2108
  /** EnumDescriptorProto reservedName */
2096
2109
  reservedName?: (string[]|null);
2110
+
2111
+ /** EnumDescriptorProto visibility */
2112
+ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
2097
2113
  }
2098
2114
 
2099
2115
  /** Represents an EnumDescriptorProto. */
@@ -2120,6 +2136,9 @@ export namespace google {
2120
2136
  /** EnumDescriptorProto reservedName. */
2121
2137
  public reservedName: string[];
2122
2138
 
2139
+ /** EnumDescriptorProto visibility. */
2140
+ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
2141
+
2123
2142
  /**
2124
2143
  * Creates a new EnumDescriptorProto instance using the specified properties.
2125
2144
  * @param [properties] Properties to set
@@ -3054,6 +3073,9 @@ export namespace google {
3054
3073
  /** FieldOptions features */
3055
3074
  features?: (google.protobuf.IFeatureSet|null);
3056
3075
 
3076
+ /** FieldOptions featureSupport */
3077
+ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3078
+
3057
3079
  /** FieldOptions uninterpretedOption */
3058
3080
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3059
3081
 
@@ -3112,6 +3134,9 @@ export namespace google {
3112
3134
  /** FieldOptions features. */
3113
3135
  public features?: (google.protobuf.IFeatureSet|null);
3114
3136
 
3137
+ /** FieldOptions featureSupport. */
3138
+ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3139
+
3115
3140
  /** FieldOptions uninterpretedOption. */
3116
3141
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3117
3142
 
@@ -3332,6 +3357,121 @@ export namespace google {
3332
3357
  */
3333
3358
  public static getTypeUrl(typeUrlPrefix?: string): string;
3334
3359
  }
3360
+
3361
+ /** Properties of a FeatureSupport. */
3362
+ interface IFeatureSupport {
3363
+
3364
+ /** FeatureSupport editionIntroduced */
3365
+ editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3366
+
3367
+ /** FeatureSupport editionDeprecated */
3368
+ editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3369
+
3370
+ /** FeatureSupport deprecationWarning */
3371
+ deprecationWarning?: (string|null);
3372
+
3373
+ /** FeatureSupport editionRemoved */
3374
+ editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3375
+ }
3376
+
3377
+ /** Represents a FeatureSupport. */
3378
+ class FeatureSupport implements IFeatureSupport {
3379
+
3380
+ /**
3381
+ * Constructs a new FeatureSupport.
3382
+ * @param [properties] Properties to set
3383
+ */
3384
+ constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
3385
+
3386
+ /** FeatureSupport editionIntroduced. */
3387
+ public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3388
+
3389
+ /** FeatureSupport editionDeprecated. */
3390
+ public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3391
+
3392
+ /** FeatureSupport deprecationWarning. */
3393
+ public deprecationWarning: string;
3394
+
3395
+ /** FeatureSupport editionRemoved. */
3396
+ public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3397
+
3398
+ /**
3399
+ * Creates a new FeatureSupport instance using the specified properties.
3400
+ * @param [properties] Properties to set
3401
+ * @returns FeatureSupport instance
3402
+ */
3403
+ public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
3404
+
3405
+ /**
3406
+ * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
3407
+ * @param message FeatureSupport message or plain object to encode
3408
+ * @param [writer] Writer to encode to
3409
+ * @returns Writer
3410
+ */
3411
+ public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
3412
+
3413
+ /**
3414
+ * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
3415
+ * @param message FeatureSupport message or plain object to encode
3416
+ * @param [writer] Writer to encode to
3417
+ * @returns Writer
3418
+ */
3419
+ public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
3420
+
3421
+ /**
3422
+ * Decodes a FeatureSupport message from the specified reader or buffer.
3423
+ * @param reader Reader or buffer to decode from
3424
+ * @param [length] Message length if known beforehand
3425
+ * @returns FeatureSupport
3426
+ * @throws {Error} If the payload is not a reader or valid buffer
3427
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3428
+ */
3429
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
3430
+
3431
+ /**
3432
+ * Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
3433
+ * @param reader Reader or buffer to decode from
3434
+ * @returns FeatureSupport
3435
+ * @throws {Error} If the payload is not a reader or valid buffer
3436
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3437
+ */
3438
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
3439
+
3440
+ /**
3441
+ * Verifies a FeatureSupport message.
3442
+ * @param message Plain object to verify
3443
+ * @returns `null` if valid, otherwise the reason why it is not
3444
+ */
3445
+ public static verify(message: { [k: string]: any }): (string|null);
3446
+
3447
+ /**
3448
+ * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
3449
+ * @param object Plain object
3450
+ * @returns FeatureSupport
3451
+ */
3452
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
3453
+
3454
+ /**
3455
+ * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
3456
+ * @param message FeatureSupport
3457
+ * @param [options] Conversion options
3458
+ * @returns Plain object
3459
+ */
3460
+ public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
3461
+
3462
+ /**
3463
+ * Converts this FeatureSupport to JSON.
3464
+ * @returns JSON object
3465
+ */
3466
+ public toJSON(): { [k: string]: any };
3467
+
3468
+ /**
3469
+ * Gets the default type url for FeatureSupport
3470
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3471
+ * @returns The default type url
3472
+ */
3473
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3474
+ }
3335
3475
  }
3336
3476
 
3337
3477
  /** Properties of an OneofOptions. */
@@ -3570,6 +3710,9 @@ export namespace google {
3570
3710
  /** EnumValueOptions debugRedact */
3571
3711
  debugRedact?: (boolean|null);
3572
3712
 
3713
+ /** EnumValueOptions featureSupport */
3714
+ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3715
+
3573
3716
  /** EnumValueOptions uninterpretedOption */
3574
3717
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3575
3718
  }
@@ -3592,6 +3735,9 @@ export namespace google {
3592
3735
  /** EnumValueOptions debugRedact. */
3593
3736
  public debugRedact: boolean;
3594
3737
 
3738
+ /** EnumValueOptions featureSupport. */
3739
+ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
3740
+
3595
3741
  /** EnumValueOptions uninterpretedOption. */
3596
3742
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3597
3743
 
@@ -4181,6 +4327,12 @@ export namespace google {
4181
4327
 
4182
4328
  /** FeatureSet jsonFormat */
4183
4329
  jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
4330
+
4331
+ /** FeatureSet enforceNamingStyle */
4332
+ enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
4333
+
4334
+ /** FeatureSet defaultSymbolVisibility */
4335
+ defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
4184
4336
  }
4185
4337
 
4186
4338
  /** Represents a FeatureSet. */
@@ -4210,6 +4362,12 @@ export namespace google {
4210
4362
  /** FeatureSet jsonFormat. */
4211
4363
  public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
4212
4364
 
4365
+ /** FeatureSet enforceNamingStyle. */
4366
+ public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
4367
+
4368
+ /** FeatureSet defaultSymbolVisibility. */
4369
+ public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
4370
+
4213
4371
  /**
4214
4372
  * Creates a new FeatureSet instance using the specified properties.
4215
4373
  * @param [properties] Properties to set
@@ -4332,6 +4490,116 @@ export namespace google {
4332
4490
  ALLOW = 1,
4333
4491
  LEGACY_BEST_EFFORT = 2
4334
4492
  }
4493
+
4494
+ /** EnforceNamingStyle enum. */
4495
+ enum EnforceNamingStyle {
4496
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
4497
+ STYLE2024 = 1,
4498
+ STYLE_LEGACY = 2
4499
+ }
4500
+
4501
+ /** Properties of a VisibilityFeature. */
4502
+ interface IVisibilityFeature {
4503
+ }
4504
+
4505
+ /** Represents a VisibilityFeature. */
4506
+ class VisibilityFeature implements IVisibilityFeature {
4507
+
4508
+ /**
4509
+ * Constructs a new VisibilityFeature.
4510
+ * @param [properties] Properties to set
4511
+ */
4512
+ constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
4513
+
4514
+ /**
4515
+ * Creates a new VisibilityFeature instance using the specified properties.
4516
+ * @param [properties] Properties to set
4517
+ * @returns VisibilityFeature instance
4518
+ */
4519
+ public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
4520
+
4521
+ /**
4522
+ * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
4523
+ * @param message VisibilityFeature message or plain object to encode
4524
+ * @param [writer] Writer to encode to
4525
+ * @returns Writer
4526
+ */
4527
+ public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
4528
+
4529
+ /**
4530
+ * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
4531
+ * @param message VisibilityFeature message or plain object to encode
4532
+ * @param [writer] Writer to encode to
4533
+ * @returns Writer
4534
+ */
4535
+ public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
4536
+
4537
+ /**
4538
+ * Decodes a VisibilityFeature message from the specified reader or buffer.
4539
+ * @param reader Reader or buffer to decode from
4540
+ * @param [length] Message length if known beforehand
4541
+ * @returns VisibilityFeature
4542
+ * @throws {Error} If the payload is not a reader or valid buffer
4543
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4544
+ */
4545
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
4546
+
4547
+ /**
4548
+ * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
4549
+ * @param reader Reader or buffer to decode from
4550
+ * @returns VisibilityFeature
4551
+ * @throws {Error} If the payload is not a reader or valid buffer
4552
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
4553
+ */
4554
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
4555
+
4556
+ /**
4557
+ * Verifies a VisibilityFeature message.
4558
+ * @param message Plain object to verify
4559
+ * @returns `null` if valid, otherwise the reason why it is not
4560
+ */
4561
+ public static verify(message: { [k: string]: any }): (string|null);
4562
+
4563
+ /**
4564
+ * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
4565
+ * @param object Plain object
4566
+ * @returns VisibilityFeature
4567
+ */
4568
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
4569
+
4570
+ /**
4571
+ * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
4572
+ * @param message VisibilityFeature
4573
+ * @param [options] Conversion options
4574
+ * @returns Plain object
4575
+ */
4576
+ public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
4577
+
4578
+ /**
4579
+ * Converts this VisibilityFeature to JSON.
4580
+ * @returns JSON object
4581
+ */
4582
+ public toJSON(): { [k: string]: any };
4583
+
4584
+ /**
4585
+ * Gets the default type url for VisibilityFeature
4586
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4587
+ * @returns The default type url
4588
+ */
4589
+ public static getTypeUrl(typeUrlPrefix?: string): string;
4590
+ }
4591
+
4592
+ namespace VisibilityFeature {
4593
+
4594
+ /** DefaultSymbolVisibility enum. */
4595
+ enum DefaultSymbolVisibility {
4596
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
4597
+ EXPORT_ALL = 1,
4598
+ EXPORT_TOP_LEVEL = 2,
4599
+ LOCAL_ALL = 3,
4600
+ STRICT = 4
4601
+ }
4602
+ }
4335
4603
  }
4336
4604
 
4337
4605
  /** Properties of a FeatureSetDefaults. */
@@ -4451,8 +4719,11 @@ export namespace google {
4451
4719
  /** FeatureSetEditionDefault edition */
4452
4720
  edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
4453
4721
 
4454
- /** FeatureSetEditionDefault features */
4455
- features?: (google.protobuf.IFeatureSet|null);
4722
+ /** FeatureSetEditionDefault overridableFeatures */
4723
+ overridableFeatures?: (google.protobuf.IFeatureSet|null);
4724
+
4725
+ /** FeatureSetEditionDefault fixedFeatures */
4726
+ fixedFeatures?: (google.protobuf.IFeatureSet|null);
4456
4727
  }
4457
4728
 
4458
4729
  /** Represents a FeatureSetEditionDefault. */
@@ -4467,8 +4738,11 @@ export namespace google {
4467
4738
  /** FeatureSetEditionDefault edition. */
4468
4739
  public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
4469
4740
 
4470
- /** FeatureSetEditionDefault features. */
4471
- public features?: (google.protobuf.IFeatureSet|null);
4741
+ /** FeatureSetEditionDefault overridableFeatures. */
4742
+ public overridableFeatures?: (google.protobuf.IFeatureSet|null);
4743
+
4744
+ /** FeatureSetEditionDefault fixedFeatures. */
4745
+ public fixedFeatures?: (google.protobuf.IFeatureSet|null);
4472
4746
 
4473
4747
  /**
4474
4748
  * Creates a new FeatureSetEditionDefault instance using the specified properties.
@@ -5001,6 +5275,13 @@ export namespace google {
5001
5275
  }
5002
5276
  }
5003
5277
 
5278
+ /** SymbolVisibility enum. */
5279
+ enum SymbolVisibility {
5280
+ VISIBILITY_UNSET = 0,
5281
+ VISIBILITY_LOCAL = 1,
5282
+ VISIBILITY_EXPORT = 2
5283
+ }
5284
+
5004
5285
  /** Properties of a Duration. */
5005
5286
  interface IDuration {
5006
5287
 
@@ -14501,6 +14782,20 @@ export namespace google {
14501
14782
  */
14502
14783
  public findDirectMessage(request: google.chat.v1.IFindDirectMessageRequest): Promise<google.chat.v1.Space>;
14503
14784
 
14785
+ /**
14786
+ * Calls FindGroupChats.
14787
+ * @param request FindGroupChatsRequest message or plain object
14788
+ * @param callback Node-style callback called with the error, if any, and FindGroupChatsResponse
14789
+ */
14790
+ public findGroupChats(request: google.chat.v1.IFindGroupChatsRequest, callback: google.chat.v1.ChatService.FindGroupChatsCallback): void;
14791
+
14792
+ /**
14793
+ * Calls FindGroupChats.
14794
+ * @param request FindGroupChatsRequest message or plain object
14795
+ * @returns Promise
14796
+ */
14797
+ public findGroupChats(request: google.chat.v1.IFindGroupChatsRequest): Promise<google.chat.v1.FindGroupChatsResponse>;
14798
+
14504
14799
  /**
14505
14800
  * Calls CreateMembership.
14506
14801
  * @param request CreateMembershipRequest message or plain object
@@ -14966,6 +15261,13 @@ export namespace google {
14966
15261
  */
14967
15262
  type FindDirectMessageCallback = (error: (Error|null), response?: google.chat.v1.Space) => void;
14968
15263
 
15264
+ /**
15265
+ * Callback as used by {@link google.chat.v1.ChatService|findGroupChats}.
15266
+ * @param error Error, if any
15267
+ * @param [response] FindGroupChatsResponse
15268
+ */
15269
+ type FindGroupChatsCallback = (error: (Error|null), response?: google.chat.v1.FindGroupChatsResponse) => void;
15270
+
14969
15271
  /**
14970
15272
  * Callback as used by {@link google.chat.v1.ChatService|createMembership}.
14971
15273
  * @param error Error, if any
@@ -16107,6 +16409,9 @@ export namespace google {
16107
16409
  /** Message threadReply */
16108
16410
  threadReply?: (boolean|null);
16109
16411
 
16412
+ /** Message silent */
16413
+ silent?: (boolean|null);
16414
+
16110
16415
  /** Message clientAssignedMessageId */
16111
16416
  clientAssignedMessageId?: (string|null);
16112
16417
 
@@ -16195,6 +16500,9 @@ export namespace google {
16195
16500
  /** Message threadReply. */
16196
16501
  public threadReply: boolean;
16197
16502
 
16503
+ /** Message silent. */
16504
+ public silent: boolean;
16505
+
16198
16506
  /** Message clientAssignedMessageId. */
16199
16507
  public clientAssignedMessageId: string;
16200
16508
 
@@ -16517,7 +16825,8 @@ export namespace google {
16517
16825
  /** QuoteType enum. */
16518
16826
  enum QuoteType {
16519
16827
  QUOTE_TYPE_UNSPECIFIED = 0,
16520
- REPLY = 1
16828
+ REPLY = 1,
16829
+ FORWARD = 2
16521
16830
  }
16522
16831
  }
16523
16832
 
@@ -17609,6 +17918,9 @@ export namespace google {
17609
17918
 
17610
17919
  /** CreateMessageRequest messageId */
17611
17920
  messageId?: (string|null);
17921
+
17922
+ /** CreateMessageRequest createMessageNotificationOptions */
17923
+ createMessageNotificationOptions?: (google.chat.v1.ICreateMessageNotificationOptions|null);
17612
17924
  }
17613
17925
 
17614
17926
  /** Represents a CreateMessageRequest. */
@@ -17638,6 +17950,9 @@ export namespace google {
17638
17950
  /** CreateMessageRequest messageId. */
17639
17951
  public messageId: string;
17640
17952
 
17953
+ /** CreateMessageRequest createMessageNotificationOptions. */
17954
+ public createMessageNotificationOptions?: (google.chat.v1.ICreateMessageNotificationOptions|null);
17955
+
17641
17956
  /**
17642
17957
  * Creates a new CreateMessageRequest instance using the specified properties.
17643
17958
  * @param [properties] Properties to set
@@ -17726,6 +18041,113 @@ export namespace google {
17726
18041
  }
17727
18042
  }
17728
18043
 
18044
+ /** Properties of a CreateMessageNotificationOptions. */
18045
+ interface ICreateMessageNotificationOptions {
18046
+
18047
+ /** CreateMessageNotificationOptions notificationType */
18048
+ notificationType?: (google.chat.v1.CreateMessageNotificationOptions.NotificationType|keyof typeof google.chat.v1.CreateMessageNotificationOptions.NotificationType|null);
18049
+ }
18050
+
18051
+ /** Represents a CreateMessageNotificationOptions. */
18052
+ class CreateMessageNotificationOptions implements ICreateMessageNotificationOptions {
18053
+
18054
+ /**
18055
+ * Constructs a new CreateMessageNotificationOptions.
18056
+ * @param [properties] Properties to set
18057
+ */
18058
+ constructor(properties?: google.chat.v1.ICreateMessageNotificationOptions);
18059
+
18060
+ /** CreateMessageNotificationOptions notificationType. */
18061
+ public notificationType: (google.chat.v1.CreateMessageNotificationOptions.NotificationType|keyof typeof google.chat.v1.CreateMessageNotificationOptions.NotificationType);
18062
+
18063
+ /**
18064
+ * Creates a new CreateMessageNotificationOptions instance using the specified properties.
18065
+ * @param [properties] Properties to set
18066
+ * @returns CreateMessageNotificationOptions instance
18067
+ */
18068
+ public static create(properties?: google.chat.v1.ICreateMessageNotificationOptions): google.chat.v1.CreateMessageNotificationOptions;
18069
+
18070
+ /**
18071
+ * Encodes the specified CreateMessageNotificationOptions message. Does not implicitly {@link google.chat.v1.CreateMessageNotificationOptions.verify|verify} messages.
18072
+ * @param message CreateMessageNotificationOptions message or plain object to encode
18073
+ * @param [writer] Writer to encode to
18074
+ * @returns Writer
18075
+ */
18076
+ public static encode(message: google.chat.v1.ICreateMessageNotificationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
18077
+
18078
+ /**
18079
+ * Encodes the specified CreateMessageNotificationOptions message, length delimited. Does not implicitly {@link google.chat.v1.CreateMessageNotificationOptions.verify|verify} messages.
18080
+ * @param message CreateMessageNotificationOptions message or plain object to encode
18081
+ * @param [writer] Writer to encode to
18082
+ * @returns Writer
18083
+ */
18084
+ public static encodeDelimited(message: google.chat.v1.ICreateMessageNotificationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
18085
+
18086
+ /**
18087
+ * Decodes a CreateMessageNotificationOptions message from the specified reader or buffer.
18088
+ * @param reader Reader or buffer to decode from
18089
+ * @param [length] Message length if known beforehand
18090
+ * @returns CreateMessageNotificationOptions
18091
+ * @throws {Error} If the payload is not a reader or valid buffer
18092
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18093
+ */
18094
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CreateMessageNotificationOptions;
18095
+
18096
+ /**
18097
+ * Decodes a CreateMessageNotificationOptions message from the specified reader or buffer, length delimited.
18098
+ * @param reader Reader or buffer to decode from
18099
+ * @returns CreateMessageNotificationOptions
18100
+ * @throws {Error} If the payload is not a reader or valid buffer
18101
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
18102
+ */
18103
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CreateMessageNotificationOptions;
18104
+
18105
+ /**
18106
+ * Verifies a CreateMessageNotificationOptions message.
18107
+ * @param message Plain object to verify
18108
+ * @returns `null` if valid, otherwise the reason why it is not
18109
+ */
18110
+ public static verify(message: { [k: string]: any }): (string|null);
18111
+
18112
+ /**
18113
+ * Creates a CreateMessageNotificationOptions message from a plain object. Also converts values to their respective internal types.
18114
+ * @param object Plain object
18115
+ * @returns CreateMessageNotificationOptions
18116
+ */
18117
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.CreateMessageNotificationOptions;
18118
+
18119
+ /**
18120
+ * Creates a plain object from a CreateMessageNotificationOptions message. Also converts values to other types if specified.
18121
+ * @param message CreateMessageNotificationOptions
18122
+ * @param [options] Conversion options
18123
+ * @returns Plain object
18124
+ */
18125
+ public static toObject(message: google.chat.v1.CreateMessageNotificationOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
18126
+
18127
+ /**
18128
+ * Converts this CreateMessageNotificationOptions to JSON.
18129
+ * @returns JSON object
18130
+ */
18131
+ public toJSON(): { [k: string]: any };
18132
+
18133
+ /**
18134
+ * Gets the default type url for CreateMessageNotificationOptions
18135
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18136
+ * @returns The default type url
18137
+ */
18138
+ public static getTypeUrl(typeUrlPrefix?: string): string;
18139
+ }
18140
+
18141
+ namespace CreateMessageNotificationOptions {
18142
+
18143
+ /** NotificationType enum. */
18144
+ enum NotificationType {
18145
+ NOTIFICATION_TYPE_NONE = 0,
18146
+ NOTIFICATION_TYPE_FORCE_NOTIFY = 2,
18147
+ NOTIFICATION_TYPE_SILENT = 3
18148
+ }
18149
+ }
18150
+
17729
18151
  /** Properties of a ListMessagesRequest. */
17730
18152
  interface IListMessagesRequest {
17731
18153
 
@@ -21692,33 +22114,251 @@ export namespace google {
21692
22114
  public static getTypeUrl(typeUrlPrefix?: string): string;
21693
22115
  }
21694
22116
 
21695
- /** Properties of an UpdateSpaceRequest. */
21696
- interface IUpdateSpaceRequest {
22117
+ /** Properties of a FindGroupChatsRequest. */
22118
+ interface IFindGroupChatsRequest {
21697
22119
 
21698
- /** UpdateSpaceRequest space */
21699
- space?: (google.chat.v1.ISpace|null);
22120
+ /** FindGroupChatsRequest users */
22121
+ users?: (string[]|null);
21700
22122
 
21701
- /** UpdateSpaceRequest updateMask */
21702
- updateMask?: (google.protobuf.IFieldMask|null);
22123
+ /** FindGroupChatsRequest pageSize */
22124
+ pageSize?: (number|null);
21703
22125
 
21704
- /** UpdateSpaceRequest useAdminAccess */
21705
- useAdminAccess?: (boolean|null);
22126
+ /** FindGroupChatsRequest pageToken */
22127
+ pageToken?: (string|null);
22128
+
22129
+ /** FindGroupChatsRequest spaceView */
22130
+ spaceView?: (google.chat.v1.SpaceView|keyof typeof google.chat.v1.SpaceView|null);
21706
22131
  }
21707
22132
 
21708
- /** Represents an UpdateSpaceRequest. */
21709
- class UpdateSpaceRequest implements IUpdateSpaceRequest {
22133
+ /** Represents a FindGroupChatsRequest. */
22134
+ class FindGroupChatsRequest implements IFindGroupChatsRequest {
21710
22135
 
21711
22136
  /**
21712
- * Constructs a new UpdateSpaceRequest.
22137
+ * Constructs a new FindGroupChatsRequest.
21713
22138
  * @param [properties] Properties to set
21714
22139
  */
21715
- constructor(properties?: google.chat.v1.IUpdateSpaceRequest);
22140
+ constructor(properties?: google.chat.v1.IFindGroupChatsRequest);
21716
22141
 
21717
- /** UpdateSpaceRequest space. */
21718
- public space?: (google.chat.v1.ISpace|null);
22142
+ /** FindGroupChatsRequest users. */
22143
+ public users: string[];
21719
22144
 
21720
- /** UpdateSpaceRequest updateMask. */
21721
- public updateMask?: (google.protobuf.IFieldMask|null);
22145
+ /** FindGroupChatsRequest pageSize. */
22146
+ public pageSize: number;
22147
+
22148
+ /** FindGroupChatsRequest pageToken. */
22149
+ public pageToken: string;
22150
+
22151
+ /** FindGroupChatsRequest spaceView. */
22152
+ public spaceView: (google.chat.v1.SpaceView|keyof typeof google.chat.v1.SpaceView);
22153
+
22154
+ /**
22155
+ * Creates a new FindGroupChatsRequest instance using the specified properties.
22156
+ * @param [properties] Properties to set
22157
+ * @returns FindGroupChatsRequest instance
22158
+ */
22159
+ public static create(properties?: google.chat.v1.IFindGroupChatsRequest): google.chat.v1.FindGroupChatsRequest;
22160
+
22161
+ /**
22162
+ * Encodes the specified FindGroupChatsRequest message. Does not implicitly {@link google.chat.v1.FindGroupChatsRequest.verify|verify} messages.
22163
+ * @param message FindGroupChatsRequest message or plain object to encode
22164
+ * @param [writer] Writer to encode to
22165
+ * @returns Writer
22166
+ */
22167
+ public static encode(message: google.chat.v1.IFindGroupChatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
22168
+
22169
+ /**
22170
+ * Encodes the specified FindGroupChatsRequest message, length delimited. Does not implicitly {@link google.chat.v1.FindGroupChatsRequest.verify|verify} messages.
22171
+ * @param message FindGroupChatsRequest message or plain object to encode
22172
+ * @param [writer] Writer to encode to
22173
+ * @returns Writer
22174
+ */
22175
+ public static encodeDelimited(message: google.chat.v1.IFindGroupChatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
22176
+
22177
+ /**
22178
+ * Decodes a FindGroupChatsRequest message from the specified reader or buffer.
22179
+ * @param reader Reader or buffer to decode from
22180
+ * @param [length] Message length if known beforehand
22181
+ * @returns FindGroupChatsRequest
22182
+ * @throws {Error} If the payload is not a reader or valid buffer
22183
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22184
+ */
22185
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.FindGroupChatsRequest;
22186
+
22187
+ /**
22188
+ * Decodes a FindGroupChatsRequest message from the specified reader or buffer, length delimited.
22189
+ * @param reader Reader or buffer to decode from
22190
+ * @returns FindGroupChatsRequest
22191
+ * @throws {Error} If the payload is not a reader or valid buffer
22192
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22193
+ */
22194
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.FindGroupChatsRequest;
22195
+
22196
+ /**
22197
+ * Verifies a FindGroupChatsRequest message.
22198
+ * @param message Plain object to verify
22199
+ * @returns `null` if valid, otherwise the reason why it is not
22200
+ */
22201
+ public static verify(message: { [k: string]: any }): (string|null);
22202
+
22203
+ /**
22204
+ * Creates a FindGroupChatsRequest message from a plain object. Also converts values to their respective internal types.
22205
+ * @param object Plain object
22206
+ * @returns FindGroupChatsRequest
22207
+ */
22208
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.FindGroupChatsRequest;
22209
+
22210
+ /**
22211
+ * Creates a plain object from a FindGroupChatsRequest message. Also converts values to other types if specified.
22212
+ * @param message FindGroupChatsRequest
22213
+ * @param [options] Conversion options
22214
+ * @returns Plain object
22215
+ */
22216
+ public static toObject(message: google.chat.v1.FindGroupChatsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
22217
+
22218
+ /**
22219
+ * Converts this FindGroupChatsRequest to JSON.
22220
+ * @returns JSON object
22221
+ */
22222
+ public toJSON(): { [k: string]: any };
22223
+
22224
+ /**
22225
+ * Gets the default type url for FindGroupChatsRequest
22226
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22227
+ * @returns The default type url
22228
+ */
22229
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22230
+ }
22231
+
22232
+ /** Properties of a FindGroupChatsResponse. */
22233
+ interface IFindGroupChatsResponse {
22234
+
22235
+ /** FindGroupChatsResponse spaces */
22236
+ spaces?: (google.chat.v1.ISpace[]|null);
22237
+
22238
+ /** FindGroupChatsResponse nextPageToken */
22239
+ nextPageToken?: (string|null);
22240
+ }
22241
+
22242
+ /** Represents a FindGroupChatsResponse. */
22243
+ class FindGroupChatsResponse implements IFindGroupChatsResponse {
22244
+
22245
+ /**
22246
+ * Constructs a new FindGroupChatsResponse.
22247
+ * @param [properties] Properties to set
22248
+ */
22249
+ constructor(properties?: google.chat.v1.IFindGroupChatsResponse);
22250
+
22251
+ /** FindGroupChatsResponse spaces. */
22252
+ public spaces: google.chat.v1.ISpace[];
22253
+
22254
+ /** FindGroupChatsResponse nextPageToken. */
22255
+ public nextPageToken: string;
22256
+
22257
+ /**
22258
+ * Creates a new FindGroupChatsResponse instance using the specified properties.
22259
+ * @param [properties] Properties to set
22260
+ * @returns FindGroupChatsResponse instance
22261
+ */
22262
+ public static create(properties?: google.chat.v1.IFindGroupChatsResponse): google.chat.v1.FindGroupChatsResponse;
22263
+
22264
+ /**
22265
+ * Encodes the specified FindGroupChatsResponse message. Does not implicitly {@link google.chat.v1.FindGroupChatsResponse.verify|verify} messages.
22266
+ * @param message FindGroupChatsResponse message or plain object to encode
22267
+ * @param [writer] Writer to encode to
22268
+ * @returns Writer
22269
+ */
22270
+ public static encode(message: google.chat.v1.IFindGroupChatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
22271
+
22272
+ /**
22273
+ * Encodes the specified FindGroupChatsResponse message, length delimited. Does not implicitly {@link google.chat.v1.FindGroupChatsResponse.verify|verify} messages.
22274
+ * @param message FindGroupChatsResponse message or plain object to encode
22275
+ * @param [writer] Writer to encode to
22276
+ * @returns Writer
22277
+ */
22278
+ public static encodeDelimited(message: google.chat.v1.IFindGroupChatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
22279
+
22280
+ /**
22281
+ * Decodes a FindGroupChatsResponse message from the specified reader or buffer.
22282
+ * @param reader Reader or buffer to decode from
22283
+ * @param [length] Message length if known beforehand
22284
+ * @returns FindGroupChatsResponse
22285
+ * @throws {Error} If the payload is not a reader or valid buffer
22286
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22287
+ */
22288
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.FindGroupChatsResponse;
22289
+
22290
+ /**
22291
+ * Decodes a FindGroupChatsResponse message from the specified reader or buffer, length delimited.
22292
+ * @param reader Reader or buffer to decode from
22293
+ * @returns FindGroupChatsResponse
22294
+ * @throws {Error} If the payload is not a reader or valid buffer
22295
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22296
+ */
22297
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.FindGroupChatsResponse;
22298
+
22299
+ /**
22300
+ * Verifies a FindGroupChatsResponse message.
22301
+ * @param message Plain object to verify
22302
+ * @returns `null` if valid, otherwise the reason why it is not
22303
+ */
22304
+ public static verify(message: { [k: string]: any }): (string|null);
22305
+
22306
+ /**
22307
+ * Creates a FindGroupChatsResponse message from a plain object. Also converts values to their respective internal types.
22308
+ * @param object Plain object
22309
+ * @returns FindGroupChatsResponse
22310
+ */
22311
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.FindGroupChatsResponse;
22312
+
22313
+ /**
22314
+ * Creates a plain object from a FindGroupChatsResponse message. Also converts values to other types if specified.
22315
+ * @param message FindGroupChatsResponse
22316
+ * @param [options] Conversion options
22317
+ * @returns Plain object
22318
+ */
22319
+ public static toObject(message: google.chat.v1.FindGroupChatsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
22320
+
22321
+ /**
22322
+ * Converts this FindGroupChatsResponse to JSON.
22323
+ * @returns JSON object
22324
+ */
22325
+ public toJSON(): { [k: string]: any };
22326
+
22327
+ /**
22328
+ * Gets the default type url for FindGroupChatsResponse
22329
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22330
+ * @returns The default type url
22331
+ */
22332
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22333
+ }
22334
+
22335
+ /** Properties of an UpdateSpaceRequest. */
22336
+ interface IUpdateSpaceRequest {
22337
+
22338
+ /** UpdateSpaceRequest space */
22339
+ space?: (google.chat.v1.ISpace|null);
22340
+
22341
+ /** UpdateSpaceRequest updateMask */
22342
+ updateMask?: (google.protobuf.IFieldMask|null);
22343
+
22344
+ /** UpdateSpaceRequest useAdminAccess */
22345
+ useAdminAccess?: (boolean|null);
22346
+ }
22347
+
22348
+ /** Represents an UpdateSpaceRequest. */
22349
+ class UpdateSpaceRequest implements IUpdateSpaceRequest {
22350
+
22351
+ /**
22352
+ * Constructs a new UpdateSpaceRequest.
22353
+ * @param [properties] Properties to set
22354
+ */
22355
+ constructor(properties?: google.chat.v1.IUpdateSpaceRequest);
22356
+
22357
+ /** UpdateSpaceRequest space. */
22358
+ public space?: (google.chat.v1.ISpace|null);
22359
+
22360
+ /** UpdateSpaceRequest updateMask. */
22361
+ public updateMask?: (google.protobuf.IFieldMask|null);
21722
22362
 
21723
22363
  /** UpdateSpaceRequest useAdminAccess. */
21724
22364
  public useAdminAccess: boolean;
@@ -22328,6 +22968,13 @@ export namespace google {
22328
22968
  public static getTypeUrl(typeUrlPrefix?: string): string;
22329
22969
  }
22330
22970
 
22971
+ /** SpaceView enum. */
22972
+ enum SpaceView {
22973
+ SPACE_VIEW_UNSPECIFIED = 0,
22974
+ SPACE_VIEW_RESOURCE_NAME_ONLY = 3,
22975
+ SPACE_VIEW_EXPANDED = 4
22976
+ }
22977
+
22331
22978
  /** HistoryState enum. */
22332
22979
  enum HistoryState {
22333
22980
  HISTORY_STATE_UNSPECIFIED = 0,
@@ -27241,6 +27888,9 @@ export namespace google {
27241
27888
 
27242
27889
  /** FieldInfo format */
27243
27890
  format?: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format|null);
27891
+
27892
+ /** FieldInfo referencedTypes */
27893
+ referencedTypes?: (google.api.ITypeReference[]|null);
27244
27894
  }
27245
27895
 
27246
27896
  /** Represents a FieldInfo. */
@@ -27255,6 +27905,9 @@ export namespace google {
27255
27905
  /** FieldInfo format. */
27256
27906
  public format: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format);
27257
27907
 
27908
+ /** FieldInfo referencedTypes. */
27909
+ public referencedTypes: google.api.ITypeReference[];
27910
+
27258
27911
  /**
27259
27912
  * Creates a new FieldInfo instance using the specified properties.
27260
27913
  * @param [properties] Properties to set
@@ -27345,6 +27998,103 @@ export namespace google {
27345
27998
  }
27346
27999
  }
27347
28000
 
28001
+ /** Properties of a TypeReference. */
28002
+ interface ITypeReference {
28003
+
28004
+ /** TypeReference typeName */
28005
+ typeName?: (string|null);
28006
+ }
28007
+
28008
+ /** Represents a TypeReference. */
28009
+ class TypeReference implements ITypeReference {
28010
+
28011
+ /**
28012
+ * Constructs a new TypeReference.
28013
+ * @param [properties] Properties to set
28014
+ */
28015
+ constructor(properties?: google.api.ITypeReference);
28016
+
28017
+ /** TypeReference typeName. */
28018
+ public typeName: string;
28019
+
28020
+ /**
28021
+ * Creates a new TypeReference instance using the specified properties.
28022
+ * @param [properties] Properties to set
28023
+ * @returns TypeReference instance
28024
+ */
28025
+ public static create(properties?: google.api.ITypeReference): google.api.TypeReference;
28026
+
28027
+ /**
28028
+ * Encodes the specified TypeReference message. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
28029
+ * @param message TypeReference message or plain object to encode
28030
+ * @param [writer] Writer to encode to
28031
+ * @returns Writer
28032
+ */
28033
+ public static encode(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer;
28034
+
28035
+ /**
28036
+ * Encodes the specified TypeReference message, length delimited. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
28037
+ * @param message TypeReference message or plain object to encode
28038
+ * @param [writer] Writer to encode to
28039
+ * @returns Writer
28040
+ */
28041
+ public static encodeDelimited(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer;
28042
+
28043
+ /**
28044
+ * Decodes a TypeReference message from the specified reader or buffer.
28045
+ * @param reader Reader or buffer to decode from
28046
+ * @param [length] Message length if known beforehand
28047
+ * @returns TypeReference
28048
+ * @throws {Error} If the payload is not a reader or valid buffer
28049
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28050
+ */
28051
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.TypeReference;
28052
+
28053
+ /**
28054
+ * Decodes a TypeReference message from the specified reader or buffer, length delimited.
28055
+ * @param reader Reader or buffer to decode from
28056
+ * @returns TypeReference
28057
+ * @throws {Error} If the payload is not a reader or valid buffer
28058
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28059
+ */
28060
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.TypeReference;
28061
+
28062
+ /**
28063
+ * Verifies a TypeReference message.
28064
+ * @param message Plain object to verify
28065
+ * @returns `null` if valid, otherwise the reason why it is not
28066
+ */
28067
+ public static verify(message: { [k: string]: any }): (string|null);
28068
+
28069
+ /**
28070
+ * Creates a TypeReference message from a plain object. Also converts values to their respective internal types.
28071
+ * @param object Plain object
28072
+ * @returns TypeReference
28073
+ */
28074
+ public static fromObject(object: { [k: string]: any }): google.api.TypeReference;
28075
+
28076
+ /**
28077
+ * Creates a plain object from a TypeReference message. Also converts values to other types if specified.
28078
+ * @param message TypeReference
28079
+ * @param [options] Conversion options
28080
+ * @returns Plain object
28081
+ */
28082
+ public static toObject(message: google.api.TypeReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
28083
+
28084
+ /**
28085
+ * Converts this TypeReference to JSON.
28086
+ * @returns JSON object
28087
+ */
28088
+ public toJSON(): { [k: string]: any };
28089
+
28090
+ /**
28091
+ * Gets the default type url for TypeReference
28092
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
28093
+ * @returns The default type url
28094
+ */
28095
+ public static getTypeUrl(typeUrlPrefix?: string): string;
28096
+ }
28097
+
27348
28098
  /** Properties of a Http. */
27349
28099
  interface IHttp {
27350
28100
 
@@ -27713,6 +28463,9 @@ export namespace google {
27713
28463
 
27714
28464
  /** CommonLanguageSettings destinations */
27715
28465
  destinations?: (google.api.ClientLibraryDestination[]|null);
28466
+
28467
+ /** CommonLanguageSettings selectiveGapicGeneration */
28468
+ selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
27716
28469
  }
27717
28470
 
27718
28471
  /** Represents a CommonLanguageSettings. */
@@ -27730,6 +28483,9 @@ export namespace google {
27730
28483
  /** CommonLanguageSettings destinations. */
27731
28484
  public destinations: google.api.ClientLibraryDestination[];
27732
28485
 
28486
+ /** CommonLanguageSettings selectiveGapicGeneration. */
28487
+ public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
28488
+
27733
28489
  /**
27734
28490
  * Creates a new CommonLanguageSettings instance using the specified properties.
27735
28491
  * @param [properties] Properties to set
@@ -28430,6 +29186,9 @@ export namespace google {
28430
29186
 
28431
29187
  /** PythonSettings common */
28432
29188
  common?: (google.api.ICommonLanguageSettings|null);
29189
+
29190
+ /** PythonSettings experimentalFeatures */
29191
+ experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
28433
29192
  }
28434
29193
 
28435
29194
  /** Represents a PythonSettings. */
@@ -28444,6 +29203,9 @@ export namespace google {
28444
29203
  /** PythonSettings common. */
28445
29204
  public common?: (google.api.ICommonLanguageSettings|null);
28446
29205
 
29206
+ /** PythonSettings experimentalFeatures. */
29207
+ public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
29208
+
28447
29209
  /**
28448
29210
  * Creates a new PythonSettings instance using the specified properties.
28449
29211
  * @param [properties] Properties to set
@@ -28522,6 +29284,118 @@ export namespace google {
28522
29284
  public static getTypeUrl(typeUrlPrefix?: string): string;
28523
29285
  }
28524
29286
 
29287
+ namespace PythonSettings {
29288
+
29289
+ /** Properties of an ExperimentalFeatures. */
29290
+ interface IExperimentalFeatures {
29291
+
29292
+ /** ExperimentalFeatures restAsyncIoEnabled */
29293
+ restAsyncIoEnabled?: (boolean|null);
29294
+
29295
+ /** ExperimentalFeatures protobufPythonicTypesEnabled */
29296
+ protobufPythonicTypesEnabled?: (boolean|null);
29297
+
29298
+ /** ExperimentalFeatures unversionedPackageDisabled */
29299
+ unversionedPackageDisabled?: (boolean|null);
29300
+ }
29301
+
29302
+ /** Represents an ExperimentalFeatures. */
29303
+ class ExperimentalFeatures implements IExperimentalFeatures {
29304
+
29305
+ /**
29306
+ * Constructs a new ExperimentalFeatures.
29307
+ * @param [properties] Properties to set
29308
+ */
29309
+ constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
29310
+
29311
+ /** ExperimentalFeatures restAsyncIoEnabled. */
29312
+ public restAsyncIoEnabled: boolean;
29313
+
29314
+ /** ExperimentalFeatures protobufPythonicTypesEnabled. */
29315
+ public protobufPythonicTypesEnabled: boolean;
29316
+
29317
+ /** ExperimentalFeatures unversionedPackageDisabled. */
29318
+ public unversionedPackageDisabled: boolean;
29319
+
29320
+ /**
29321
+ * Creates a new ExperimentalFeatures instance using the specified properties.
29322
+ * @param [properties] Properties to set
29323
+ * @returns ExperimentalFeatures instance
29324
+ */
29325
+ public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
29326
+
29327
+ /**
29328
+ * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
29329
+ * @param message ExperimentalFeatures message or plain object to encode
29330
+ * @param [writer] Writer to encode to
29331
+ * @returns Writer
29332
+ */
29333
+ public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
29334
+
29335
+ /**
29336
+ * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
29337
+ * @param message ExperimentalFeatures message or plain object to encode
29338
+ * @param [writer] Writer to encode to
29339
+ * @returns Writer
29340
+ */
29341
+ public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
29342
+
29343
+ /**
29344
+ * Decodes an ExperimentalFeatures message from the specified reader or buffer.
29345
+ * @param reader Reader or buffer to decode from
29346
+ * @param [length] Message length if known beforehand
29347
+ * @returns ExperimentalFeatures
29348
+ * @throws {Error} If the payload is not a reader or valid buffer
29349
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29350
+ */
29351
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
29352
+
29353
+ /**
29354
+ * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
29355
+ * @param reader Reader or buffer to decode from
29356
+ * @returns ExperimentalFeatures
29357
+ * @throws {Error} If the payload is not a reader or valid buffer
29358
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29359
+ */
29360
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
29361
+
29362
+ /**
29363
+ * Verifies an ExperimentalFeatures message.
29364
+ * @param message Plain object to verify
29365
+ * @returns `null` if valid, otherwise the reason why it is not
29366
+ */
29367
+ public static verify(message: { [k: string]: any }): (string|null);
29368
+
29369
+ /**
29370
+ * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
29371
+ * @param object Plain object
29372
+ * @returns ExperimentalFeatures
29373
+ */
29374
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
29375
+
29376
+ /**
29377
+ * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
29378
+ * @param message ExperimentalFeatures
29379
+ * @param [options] Conversion options
29380
+ * @returns Plain object
29381
+ */
29382
+ public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
29383
+
29384
+ /**
29385
+ * Converts this ExperimentalFeatures to JSON.
29386
+ * @returns JSON object
29387
+ */
29388
+ public toJSON(): { [k: string]: any };
29389
+
29390
+ /**
29391
+ * Gets the default type url for ExperimentalFeatures
29392
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29393
+ * @returns The default type url
29394
+ */
29395
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29396
+ }
29397
+ }
29398
+
28525
29399
  /** Properties of a NodeSettings. */
28526
29400
  interface INodeSettings {
28527
29401
 
@@ -28848,6 +29722,9 @@ export namespace google {
28848
29722
 
28849
29723
  /** GoSettings common */
28850
29724
  common?: (google.api.ICommonLanguageSettings|null);
29725
+
29726
+ /** GoSettings renamedServices */
29727
+ renamedServices?: ({ [k: string]: string }|null);
28851
29728
  }
28852
29729
 
28853
29730
  /** Represents a GoSettings. */
@@ -28862,6 +29739,9 @@ export namespace google {
28862
29739
  /** GoSettings common. */
28863
29740
  public common?: (google.api.ICommonLanguageSettings|null);
28864
29741
 
29742
+ /** GoSettings renamedServices. */
29743
+ public renamedServices: { [k: string]: string };
29744
+
28865
29745
  /**
28866
29746
  * Creates a new GoSettings instance using the specified properties.
28867
29747
  * @param [properties] Properties to set
@@ -29186,6 +30066,109 @@ export namespace google {
29186
30066
  PACKAGE_MANAGER = 20
29187
30067
  }
29188
30068
 
30069
+ /** Properties of a SelectiveGapicGeneration. */
30070
+ interface ISelectiveGapicGeneration {
30071
+
30072
+ /** SelectiveGapicGeneration methods */
30073
+ methods?: (string[]|null);
30074
+
30075
+ /** SelectiveGapicGeneration generateOmittedAsInternal */
30076
+ generateOmittedAsInternal?: (boolean|null);
30077
+ }
30078
+
30079
+ /** Represents a SelectiveGapicGeneration. */
30080
+ class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
30081
+
30082
+ /**
30083
+ * Constructs a new SelectiveGapicGeneration.
30084
+ * @param [properties] Properties to set
30085
+ */
30086
+ constructor(properties?: google.api.ISelectiveGapicGeneration);
30087
+
30088
+ /** SelectiveGapicGeneration methods. */
30089
+ public methods: string[];
30090
+
30091
+ /** SelectiveGapicGeneration generateOmittedAsInternal. */
30092
+ public generateOmittedAsInternal: boolean;
30093
+
30094
+ /**
30095
+ * Creates a new SelectiveGapicGeneration instance using the specified properties.
30096
+ * @param [properties] Properties to set
30097
+ * @returns SelectiveGapicGeneration instance
30098
+ */
30099
+ public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
30100
+
30101
+ /**
30102
+ * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
30103
+ * @param message SelectiveGapicGeneration message or plain object to encode
30104
+ * @param [writer] Writer to encode to
30105
+ * @returns Writer
30106
+ */
30107
+ public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
30108
+
30109
+ /**
30110
+ * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
30111
+ * @param message SelectiveGapicGeneration message or plain object to encode
30112
+ * @param [writer] Writer to encode to
30113
+ * @returns Writer
30114
+ */
30115
+ public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
30116
+
30117
+ /**
30118
+ * Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
30119
+ * @param reader Reader or buffer to decode from
30120
+ * @param [length] Message length if known beforehand
30121
+ * @returns SelectiveGapicGeneration
30122
+ * @throws {Error} If the payload is not a reader or valid buffer
30123
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30124
+ */
30125
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
30126
+
30127
+ /**
30128
+ * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
30129
+ * @param reader Reader or buffer to decode from
30130
+ * @returns SelectiveGapicGeneration
30131
+ * @throws {Error} If the payload is not a reader or valid buffer
30132
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30133
+ */
30134
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
30135
+
30136
+ /**
30137
+ * Verifies a SelectiveGapicGeneration message.
30138
+ * @param message Plain object to verify
30139
+ * @returns `null` if valid, otherwise the reason why it is not
30140
+ */
30141
+ public static verify(message: { [k: string]: any }): (string|null);
30142
+
30143
+ /**
30144
+ * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
30145
+ * @param object Plain object
30146
+ * @returns SelectiveGapicGeneration
30147
+ */
30148
+ public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
30149
+
30150
+ /**
30151
+ * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
30152
+ * @param message SelectiveGapicGeneration
30153
+ * @param [options] Conversion options
30154
+ * @returns Plain object
30155
+ */
30156
+ public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
30157
+
30158
+ /**
30159
+ * Converts this SelectiveGapicGeneration to JSON.
30160
+ * @returns JSON object
30161
+ */
30162
+ public toJSON(): { [k: string]: any };
30163
+
30164
+ /**
30165
+ * Gets the default type url for SelectiveGapicGeneration
30166
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30167
+ * @returns The default type url
30168
+ */
30169
+ public static getTypeUrl(typeUrlPrefix?: string): string;
30170
+ }
30171
+
29189
30172
  /** LaunchStage enum. */
29190
30173
  enum LaunchStage {
29191
30174
  LAUNCH_STAGE_UNSPECIFIED = 0,