@google-apps/chat 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2628,7 +2628,10 @@
2628
2628
  "fields": {
2629
2629
  "name": {
2630
2630
  "type": "string",
2631
- "id": 1
2631
+ "id": 1,
2632
+ "options": {
2633
+ "(google.api.field_behavior)": "OPTIONAL"
2634
+ }
2632
2635
  },
2633
2636
  "contentName": {
2634
2637
  "type": "string",
@@ -2646,7 +2649,10 @@
2646
2649
  },
2647
2650
  "attachmentDataRef": {
2648
2651
  "type": "AttachmentDataRef",
2649
- "id": 4
2652
+ "id": 4,
2653
+ "options": {
2654
+ "(google.api.field_behavior)": "OPTIONAL"
2655
+ }
2650
2656
  },
2651
2657
  "driveDataRef": {
2652
2658
  "type": "DriveDataRef",
@@ -2699,11 +2705,17 @@
2699
2705
  "fields": {
2700
2706
  "resourceName": {
2701
2707
  "type": "string",
2702
- "id": 1
2708
+ "id": 1,
2709
+ "options": {
2710
+ "(google.api.field_behavior)": "OPTIONAL"
2711
+ }
2703
2712
  },
2704
2713
  "attachmentUploadToken": {
2705
2714
  "type": "string",
2706
- "id": 2
2715
+ "id": 2,
2716
+ "options": {
2717
+ "(google.api.field_behavior)": "OPTIONAL"
2718
+ }
2707
2719
  }
2708
2720
  }
2709
2721
  },
@@ -3345,7 +3357,7 @@
3345
3357
  "type": "string",
3346
3358
  "id": 1,
3347
3359
  "options": {
3348
- "(google.api.resource_reference).type": "chat.googleapis.com/Membership"
3360
+ "(google.api.field_behavior)": "IDENTIFIER"
3349
3361
  }
3350
3362
  },
3351
3363
  "state": {
@@ -3364,11 +3376,17 @@
3364
3376
  },
3365
3377
  "member": {
3366
3378
  "type": "User",
3367
- "id": 3
3379
+ "id": 3,
3380
+ "options": {
3381
+ "(google.api.field_behavior)": "OPTIONAL"
3382
+ }
3368
3383
  },
3369
3384
  "groupMember": {
3370
3385
  "type": "Group",
3371
- "id": 5
3386
+ "id": 5,
3387
+ "options": {
3388
+ "(google.api.field_behavior)": "OPTIONAL"
3389
+ }
3372
3390
  },
3373
3391
  "createTime": {
3374
3392
  "type": "google.protobuf.Timestamp",
@@ -3422,7 +3440,10 @@
3422
3440
  },
3423
3441
  "useAdminAccess": {
3424
3442
  "type": "bool",
3425
- "id": 5
3443
+ "id": 5,
3444
+ "options": {
3445
+ "(google.api.field_behavior)": "OPTIONAL"
3446
+ }
3426
3447
  }
3427
3448
  }
3428
3449
  },
@@ -3444,7 +3465,10 @@
3444
3465
  },
3445
3466
  "useAdminAccess": {
3446
3467
  "type": "bool",
3447
- "id": 3
3468
+ "id": 3,
3469
+ "options": {
3470
+ "(google.api.field_behavior)": "OPTIONAL"
3471
+ }
3448
3472
  }
3449
3473
  }
3450
3474
  },
@@ -3495,7 +3519,10 @@
3495
3519
  },
3496
3520
  "useAdminAccess": {
3497
3521
  "type": "bool",
3498
- "id": 8
3522
+ "id": 8,
3523
+ "options": {
3524
+ "(google.api.field_behavior)": "OPTIONAL"
3525
+ }
3499
3526
  }
3500
3527
  }
3501
3528
  },
@@ -3527,7 +3554,10 @@
3527
3554
  },
3528
3555
  "useAdminAccess": {
3529
3556
  "type": "bool",
3530
- "id": 3
3557
+ "id": 3,
3558
+ "options": {
3559
+ "(google.api.field_behavior)": "OPTIONAL"
3560
+ }
3531
3561
  }
3532
3562
  }
3533
3563
  },
@@ -3543,7 +3573,10 @@
3543
3573
  },
3544
3574
  "useAdminAccess": {
3545
3575
  "type": "bool",
3546
- "id": 2
3576
+ "id": 2,
3577
+ "options": {
3578
+ "(google.api.field_behavior)": "OPTIONAL"
3579
+ }
3547
3580
  }
3548
3581
  }
3549
3582
  },
@@ -3563,7 +3596,10 @@
3563
3596
  "fields": {
3564
3597
  "name": {
3565
3598
  "type": "string",
3566
- "id": 1
3599
+ "id": 1,
3600
+ "options": {
3601
+ "(google.api.field_behavior)": "IDENTIFIER"
3602
+ }
3567
3603
  },
3568
3604
  "sender": {
3569
3605
  "type": "User",
@@ -3595,7 +3631,10 @@
3595
3631
  },
3596
3632
  "text": {
3597
3633
  "type": "string",
3598
- "id": 4
3634
+ "id": 4,
3635
+ "options": {
3636
+ "(google.api.field_behavior)": "OPTIONAL"
3637
+ }
3599
3638
  },
3600
3639
  "formattedText": {
3601
3640
  "type": "string",
@@ -3615,7 +3654,10 @@
3615
3654
  "cardsV2": {
3616
3655
  "rule": "repeated",
3617
3656
  "type": "CardWithId",
3618
- "id": 22
3657
+ "id": 22,
3658
+ "options": {
3659
+ "(google.api.field_behavior)": "OPTIONAL"
3660
+ }
3619
3661
  },
3620
3662
  "annotations": {
3621
3663
  "rule": "repeated",
@@ -3631,11 +3673,17 @@
3631
3673
  },
3632
3674
  "space": {
3633
3675
  "type": "Space",
3634
- "id": 12
3676
+ "id": 12,
3677
+ "options": {
3678
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
3679
+ }
3635
3680
  },
3636
3681
  "fallbackText": {
3637
3682
  "type": "string",
3638
- "id": 13
3683
+ "id": 13,
3684
+ "options": {
3685
+ "(google.api.field_behavior)": "OPTIONAL"
3686
+ }
3639
3687
  },
3640
3688
  "actionResponse": {
3641
3689
  "type": "ActionResponse",
@@ -3661,7 +3709,10 @@
3661
3709
  "attachment": {
3662
3710
  "rule": "repeated",
3663
3711
  "type": "Attachment",
3664
- "id": 18
3712
+ "id": 18,
3713
+ "options": {
3714
+ "(google.api.field_behavior)": "OPTIONAL"
3715
+ }
3665
3716
  },
3666
3717
  "matchedUrl": {
3667
3718
  "type": "MatchedUrl",
@@ -3679,7 +3730,10 @@
3679
3730
  },
3680
3731
  "clientAssignedMessageId": {
3681
3732
  "type": "string",
3682
- "id": 32
3733
+ "id": 32,
3734
+ "options": {
3735
+ "(google.api.field_behavior)": "OPTIONAL"
3736
+ }
3683
3737
  },
3684
3738
  "emojiReactionSummaries": {
3685
3739
  "rule": "repeated",
@@ -3693,7 +3747,7 @@
3693
3747
  "type": "User",
3694
3748
  "id": 36,
3695
3749
  "options": {
3696
- "(google.api.field_behavior)": "IMMUTABLE"
3750
+ "(google.api.field_behavior)": "OPTIONAL"
3697
3751
  }
3698
3752
  },
3699
3753
  "deletionMetadata": {
@@ -3721,7 +3775,10 @@
3721
3775
  "accessoryWidgets": {
3722
3776
  "rule": "repeated",
3723
3777
  "type": "AccessoryWidget",
3724
- "id": 44
3778
+ "id": 44,
3779
+ "options": {
3780
+ "(google.api.field_behavior)": "OPTIONAL"
3781
+ }
3725
3782
  }
3726
3783
  }
3727
3784
  },
@@ -3767,7 +3824,10 @@
3767
3824
  "fields": {
3768
3825
  "name": {
3769
3826
  "type": "string",
3770
- "id": 1
3827
+ "id": 1,
3828
+ "options": {
3829
+ "(google.api.field_behavior)": "IDENTIFIER"
3830
+ }
3771
3831
  },
3772
3832
  "threadKey": {
3773
3833
  "type": "string",
@@ -3890,7 +3950,10 @@
3890
3950
  },
3891
3951
  "force": {
3892
3952
  "type": "bool",
3893
- "id": 2
3953
+ "id": 2,
3954
+ "options": {
3955
+ "(google.api.field_behavior)": "OPTIONAL"
3956
+ }
3894
3957
  }
3895
3958
  }
3896
3959
  },
@@ -3905,7 +3968,10 @@
3905
3968
  },
3906
3969
  "updateMask": {
3907
3970
  "type": "google.protobuf.FieldMask",
3908
- "id": 2
3971
+ "id": 2,
3972
+ "options": {
3973
+ "(google.api.field_behavior)": "REQUIRED"
3974
+ }
3909
3975
  },
3910
3976
  "allowMissing": {
3911
3977
  "type": "bool",
@@ -3985,23 +4051,38 @@
3985
4051
  },
3986
4052
  "pageSize": {
3987
4053
  "type": "int32",
3988
- "id": 2
4054
+ "id": 2,
4055
+ "options": {
4056
+ "(google.api.field_behavior)": "OPTIONAL"
4057
+ }
3989
4058
  },
3990
4059
  "pageToken": {
3991
4060
  "type": "string",
3992
- "id": 3
4061
+ "id": 3,
4062
+ "options": {
4063
+ "(google.api.field_behavior)": "OPTIONAL"
4064
+ }
3993
4065
  },
3994
4066
  "filter": {
3995
4067
  "type": "string",
3996
- "id": 4
4068
+ "id": 4,
4069
+ "options": {
4070
+ "(google.api.field_behavior)": "OPTIONAL"
4071
+ }
3997
4072
  },
3998
4073
  "orderBy": {
3999
4074
  "type": "string",
4000
- "id": 5
4075
+ "id": 5,
4076
+ "options": {
4077
+ "(google.api.field_behavior)": "OPTIONAL"
4078
+ }
4001
4079
  },
4002
4080
  "showDeleted": {
4003
4081
  "type": "bool",
4004
- "id": 6
4082
+ "id": 6,
4083
+ "options": {
4084
+ "(google.api.field_behavior)": "OPTIONAL"
4085
+ }
4005
4086
  }
4006
4087
  }
4007
4088
  },
@@ -4444,7 +4525,10 @@
4444
4525
  "fields": {
4445
4526
  "name": {
4446
4527
  "type": "string",
4447
- "id": 1
4528
+ "id": 1,
4529
+ "options": {
4530
+ "(google.api.field_behavior)": "IDENTIFIER"
4531
+ }
4448
4532
  },
4449
4533
  "user": {
4450
4534
  "type": "User",
@@ -4455,7 +4539,10 @@
4455
4539
  },
4456
4540
  "emoji": {
4457
4541
  "type": "Emoji",
4458
- "id": 3
4542
+ "id": 3,
4543
+ "options": {
4544
+ "(google.api.field_behavior)": "REQUIRED"
4545
+ }
4459
4546
  }
4460
4547
  }
4461
4548
  },
@@ -4471,7 +4558,10 @@
4471
4558
  "fields": {
4472
4559
  "unicode": {
4473
4560
  "type": "string",
4474
- "id": 1
4561
+ "id": 1,
4562
+ "options": {
4563
+ "(google.api.field_behavior)": "OPTIONAL"
4564
+ }
4475
4565
  },
4476
4566
  "customEmoji": {
4477
4567
  "type": "CustomEmoji",
@@ -4488,6 +4578,7 @@
4488
4578
  "type": "string",
4489
4579
  "id": 1,
4490
4580
  "options": {
4581
+ "(google.api.field_info).format": "UUID4",
4491
4582
  "(google.api.field_behavior)": "OUTPUT_ONLY"
4492
4583
  }
4493
4584
  }
@@ -4504,12 +4595,16 @@
4504
4595
  "fields": {
4505
4596
  "emoji": {
4506
4597
  "type": "Emoji",
4507
- "id": 1
4598
+ "id": 1,
4599
+ "options": {
4600
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4601
+ }
4508
4602
  },
4509
4603
  "reactionCount": {
4510
4604
  "type": "int32",
4511
4605
  "id": 2,
4512
4606
  "options": {
4607
+ "(google.api.field_behavior)": "OUTPUT_ONLY",
4513
4608
  "proto3_optional": true
4514
4609
  }
4515
4610
  }
@@ -4616,7 +4711,10 @@
4616
4711
  "fields": {
4617
4712
  "name": {
4618
4713
  "type": "string",
4619
- "id": 1
4714
+ "id": 1,
4715
+ "options": {
4716
+ "(google.api.field_behavior)": "IDENTIFIER"
4717
+ }
4620
4718
  },
4621
4719
  "type": {
4622
4720
  "type": "Type",
@@ -4628,7 +4726,10 @@
4628
4726
  },
4629
4727
  "spaceType": {
4630
4728
  "type": "SpaceType",
4631
- "id": 10
4729
+ "id": 10,
4730
+ "options": {
4731
+ "(google.api.field_behavior)": "OPTIONAL"
4732
+ }
4632
4733
  },
4633
4734
  "singleUserBotDm": {
4634
4735
  "type": "bool",
@@ -4647,13 +4748,16 @@
4647
4748
  },
4648
4749
  "displayName": {
4649
4750
  "type": "string",
4650
- "id": 3
4751
+ "id": 3,
4752
+ "options": {
4753
+ "(google.api.field_behavior)": "OPTIONAL"
4754
+ }
4651
4755
  },
4652
4756
  "externalUserAllowed": {
4653
4757
  "type": "bool",
4654
4758
  "id": 8,
4655
4759
  "options": {
4656
- "(google.api.field_behavior)": "IMMUTABLE"
4760
+ "(google.api.field_behavior)": "OPTIONAL"
4657
4761
  }
4658
4762
  },
4659
4763
  "spaceThreadingState": {
@@ -4665,11 +4769,17 @@
4665
4769
  },
4666
4770
  "spaceDetails": {
4667
4771
  "type": "SpaceDetails",
4668
- "id": 11
4772
+ "id": 11,
4773
+ "options": {
4774
+ "(google.api.field_behavior)": "OPTIONAL"
4775
+ }
4669
4776
  },
4670
4777
  "spaceHistoryState": {
4671
4778
  "type": "HistoryState",
4672
- "id": 13
4779
+ "id": 13,
4780
+ "options": {
4781
+ "(google.api.field_behavior)": "OPTIONAL"
4782
+ }
4673
4783
  },
4674
4784
  "importMode": {
4675
4785
  "type": "bool",
@@ -4733,6 +4843,13 @@
4733
4843
  "options": {
4734
4844
  "(google.api.field_behavior)": "OPTIONAL"
4735
4845
  }
4846
+ },
4847
+ "importModeExpireTime": {
4848
+ "type": "google.protobuf.Timestamp",
4849
+ "id": 28,
4850
+ "options": {
4851
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4852
+ }
4736
4853
  }
4737
4854
  },
4738
4855
  "nested": {
@@ -4763,11 +4880,17 @@
4763
4880
  "fields": {
4764
4881
  "description": {
4765
4882
  "type": "string",
4766
- "id": 1
4883
+ "id": 1,
4884
+ "options": {
4885
+ "(google.api.field_behavior)": "OPTIONAL"
4886
+ }
4767
4887
  },
4768
4888
  "guidelines": {
4769
4889
  "type": "string",
4770
- "id": 2
4890
+ "id": 2,
4891
+ "options": {
4892
+ "(google.api.field_behavior)": "OPTIONAL"
4893
+ }
4771
4894
  }
4772
4895
  }
4773
4896
  },
@@ -4775,11 +4898,17 @@
4775
4898
  "fields": {
4776
4899
  "joinedDirectHumanUserCount": {
4777
4900
  "type": "int32",
4778
- "id": 4
4901
+ "id": 4,
4902
+ "options": {
4903
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4904
+ }
4779
4905
  },
4780
4906
  "joinedGroupCount": {
4781
4907
  "type": "int32",
4782
- "id": 5
4908
+ "id": 5,
4909
+ "options": {
4910
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
4911
+ }
4783
4912
  }
4784
4913
  }
4785
4914
  },
@@ -4865,6 +4994,7 @@
4865
4994
  "type": "PermissionSetting",
4866
4995
  "id": 1,
4867
4996
  "options": {
4997
+ "(google.api.field_behavior)": "OPTIONAL",
4868
4998
  "proto3_optional": true
4869
4999
  }
4870
5000
  },
@@ -4872,6 +5002,7 @@
4872
5002
  "type": "PermissionSetting",
4873
5003
  "id": 2,
4874
5004
  "options": {
5005
+ "(google.api.field_behavior)": "OPTIONAL",
4875
5006
  "proto3_optional": true
4876
5007
  }
4877
5008
  },
@@ -4879,6 +5010,7 @@
4879
5010
  "type": "PermissionSetting",
4880
5011
  "id": 3,
4881
5012
  "options": {
5013
+ "(google.api.field_behavior)": "OPTIONAL",
4882
5014
  "proto3_optional": true
4883
5015
  }
4884
5016
  },
@@ -4886,6 +5018,7 @@
4886
5018
  "type": "PermissionSetting",
4887
5019
  "id": 4,
4888
5020
  "options": {
5021
+ "(google.api.field_behavior)": "OPTIONAL",
4889
5022
  "proto3_optional": true
4890
5023
  }
4891
5024
  },
@@ -4893,6 +5026,7 @@
4893
5026
  "type": "PermissionSetting",
4894
5027
  "id": 5,
4895
5028
  "options": {
5029
+ "(google.api.field_behavior)": "OPTIONAL",
4896
5030
  "proto3_optional": true
4897
5031
  }
4898
5032
  },
@@ -4900,6 +5034,7 @@
4900
5034
  "type": "PermissionSetting",
4901
5035
  "id": 6,
4902
5036
  "options": {
5037
+ "(google.api.field_behavior)": "OPTIONAL",
4903
5038
  "proto3_optional": true
4904
5039
  }
4905
5040
  },
@@ -4915,6 +5050,7 @@
4915
5050
  "type": "PermissionSetting",
4916
5051
  "id": 8,
4917
5052
  "options": {
5053
+ "(google.api.field_behavior)": "OPTIONAL",
4918
5054
  "proto3_optional": true
4919
5055
  }
4920
5056
  }
@@ -4924,11 +5060,17 @@
4924
5060
  "fields": {
4925
5061
  "managersAllowed": {
4926
5062
  "type": "bool",
4927
- "id": 1
5063
+ "id": 1,
5064
+ "options": {
5065
+ "(google.api.field_behavior)": "OPTIONAL"
5066
+ }
4928
5067
  },
4929
5068
  "membersAllowed": {
4930
5069
  "type": "bool",
4931
- "id": 2
5070
+ "id": 2,
5071
+ "options": {
5072
+ "(google.api.field_behavior)": "OPTIONAL"
5073
+ }
4932
5074
  }
4933
5075
  }
4934
5076
  }
@@ -5002,7 +5144,10 @@
5002
5144
  },
5003
5145
  "useAdminAccess": {
5004
5146
  "type": "bool",
5005
- "id": 2
5147
+ "id": 2,
5148
+ "options": {
5149
+ "(google.api.field_behavior)": "OPTIONAL"
5150
+ }
5006
5151
  }
5007
5152
  }
5008
5153
  },
@@ -5028,11 +5173,17 @@
5028
5173
  },
5029
5174
  "updateMask": {
5030
5175
  "type": "google.protobuf.FieldMask",
5031
- "id": 2
5176
+ "id": 2,
5177
+ "options": {
5178
+ "(google.api.field_behavior)": "REQUIRED"
5179
+ }
5032
5180
  },
5033
5181
  "useAdminAccess": {
5034
5182
  "type": "bool",
5035
- "id": 3
5183
+ "id": 3,
5184
+ "options": {
5185
+ "(google.api.field_behavior)": "OPTIONAL"
5186
+ }
5036
5187
  }
5037
5188
  }
5038
5189
  },
@@ -5095,7 +5246,10 @@
5095
5246
  },
5096
5247
  "useAdminAccess": {
5097
5248
  "type": "bool",
5098
- "id": 2
5249
+ "id": 2,
5250
+ "options": {
5251
+ "(google.api.field_behavior)": "OPTIONAL"
5252
+ }
5099
5253
  }
5100
5254
  }
5101
5255
  },
@@ -5266,11 +5420,17 @@
5266
5420
  },
5267
5421
  "pageSize": {
5268
5422
  "type": "int32",
5269
- "id": 5
5423
+ "id": 5,
5424
+ "options": {
5425
+ "(google.api.field_behavior)": "OPTIONAL"
5426
+ }
5270
5427
  },
5271
5428
  "pageToken": {
5272
5429
  "type": "string",
5273
- "id": 6
5430
+ "id": 6,
5431
+ "options": {
5432
+ "(google.api.field_behavior)": "OPTIONAL"
5433
+ }
5274
5434
  },
5275
5435
  "filter": {
5276
5436
  "type": "string",
@@ -5591,9 +5751,9 @@
5591
5751
  "api": {
5592
5752
  "options": {
5593
5753
  "cc_enable_arenas": true,
5594
- "go_package": "google.golang.org/genproto/googleapis/api;api",
5754
+ "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations",
5595
5755
  "java_multiple_files": true,
5596
- "java_outer_classname": "LaunchStageProto",
5756
+ "java_outer_classname": "FieldInfoProto",
5597
5757
  "java_package": "com.google.api",
5598
5758
  "objc_class_prefix": "GAPI"
5599
5759
  },
@@ -6075,6 +6235,30 @@
6075
6235
  "GA": 4,
6076
6236
  "DEPRECATED": 5
6077
6237
  }
6238
+ },
6239
+ "fieldInfo": {
6240
+ "type": "google.api.FieldInfo",
6241
+ "id": 291403980,
6242
+ "extend": "google.protobuf.FieldOptions"
6243
+ },
6244
+ "FieldInfo": {
6245
+ "fields": {
6246
+ "format": {
6247
+ "type": "Format",
6248
+ "id": 1
6249
+ }
6250
+ },
6251
+ "nested": {
6252
+ "Format": {
6253
+ "values": {
6254
+ "FORMAT_UNSPECIFIED": 0,
6255
+ "UUID4": 1,
6256
+ "IPV4": 2,
6257
+ "IPV6": 3,
6258
+ "IPV4_OR_IPV6": 4
6259
+ }
6260
+ }
6261
+ }
6078
6262
  }
6079
6263
  }
6080
6264
  }