google-apps-chat-v1 0.16.0 → 0.18.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 403a4235dfebb6a26098c66e2336f4284c13b4526ecd61f89d596f2a2c43bff8
4
- data.tar.gz: 7b9390ad123009994894b548e152ec7ef9dfcfd50e62166bef0d9de0fc6f0ae3
3
+ metadata.gz: 66ded275f0e3c7c3a12246346ad3ddf141a142aa7d0b22c329a40ffdc65d206e
4
+ data.tar.gz: c21e9b3d6b48fa0630e7541730587742987b3c5e8ba6a3090494321caa40063b
5
5
  SHA512:
6
- metadata.gz: c0cb4a669536019985115c33b27d0952de7dc0e04a78423612767052720ce85bc18cb1a4e9d722fe802a0dbf4f9f23449b391efb64ec9c5919483c63a0e76192
7
- data.tar.gz: ce0427cad51bf20a9c62e09b05b3c5a2f62faf515671e40e2250588f9074d07673d1a34ff1051dabb2db77f6527983528b2f6741c25dad1b1eb74fde0e78abe6
6
+ metadata.gz: 84ad0d756def3d36d2065a1e6c46306aac32d635348b8db642b51b167559e0fba984789e63e251b426746f3d2aa089b2182af84951c0d87f8888555caee2a756
7
+ data.tar.gz: b50955a737a7b84af7ca2fc9a22c6573775f91503c839461104d626a3b161f2d59a0814e0b85f713532c5ce743083682cba428334498a0544ed502b1a6c9c24a
@@ -530,21 +530,34 @@ module Google
530
530
 
531
531
  ##
532
532
  # Lists messages in a space that the caller is a member of, including
533
- # messages from blocked members and spaces. If you list messages from a
533
+ # messages from blocked members and spaces. System messages, like those
534
+ # announcing new space members, aren't included. If you list messages from a
534
535
  # space with no messages, the response is an empty object. When using a
535
536
  # REST/HTTP interface, the response contains an empty JSON object, `{}`.
536
537
  # For an example, see
537
538
  # [List
538
539
  # messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
539
540
  #
540
- # Requires [user
541
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
542
- # with one of the following [authorization
543
- # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
541
+ # Supports the following types of
542
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
544
543
  #
545
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
546
- # - `https://www.googleapis.com/auth/chat.messages`
547
- # - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
544
+ # - [App
545
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
546
+ # with [administrator
547
+ # approval](https://support.google.com/a?p=chat-app-auth) in
548
+ # [Developer Preview](https://developers.google.com/workspace/preview)
549
+ # with the authorization scope:
550
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
551
+ # using this authentication scope, this method only returns public
552
+ # messages in a space. It doesn't include private messages.
553
+ #
554
+ # - [User
555
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
556
+ # with one of the following authorization scopes:
557
+ # - `https://www.googleapis.com/auth/chat.messages.readonly`
558
+ # - `https://www.googleapis.com/auth/chat.messages`
559
+ # - `https://www.googleapis.com/auth/chat.import` (import mode spaces
560
+ # only)
548
561
  #
549
562
  # @overload list_messages(request, options = nil)
550
563
  # Pass arguments to `list_messages` via a request object, either of type
@@ -1057,8 +1070,18 @@ module Google
1057
1070
  #
1058
1071
  # - [App
1059
1072
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
1060
- # with the authorization scope:
1061
- # - `https://www.googleapis.com/auth/chat.bot`
1073
+ # with one of the following authorization scopes:
1074
+ # - `https://www.googleapis.com/auth/chat.bot`: When using this
1075
+ # authorization scope, this method returns details about a message the
1076
+ # Chat app has access to, like direct messages and [slash
1077
+ # commands](https://developers.google.com/workspace/chat/slash-commands)
1078
+ # that invoke the Chat app.
1079
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`
1080
+ # with [administrator
1081
+ # approval](https://support.google.com/a?p=chat-app-auth) (available in
1082
+ # [Developer Preview](https://developers.google.com/workspace/preview)).
1083
+ # When using this authentication scope,
1084
+ # this method returns details about a public message in a space.
1062
1085
  #
1063
1086
  # - [User
1064
1087
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -1751,7 +1774,9 @@ module Google
1751
1774
 
1752
1775
  ##
1753
1776
  # Returns a list of spaces in a Google Workspace organization based on an
1754
- # administrator's search.
1777
+ # administrator's search. In the request, set `use_admin_access` to `true`.
1778
+ # For an example, see [Search for and manage
1779
+ # spaces](https://developers.google.com/workspace/chat/search-manage-admin).
1755
1780
  #
1756
1781
  # Requires [user
1757
1782
  # authentication with administrator
@@ -1762,8 +1787,6 @@ module Google
1762
1787
  # - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
1763
1788
  # - `https://www.googleapis.com/auth/chat.admin.spaces`
1764
1789
  #
1765
- # In the request, set `use_admin_access` to `true`.
1766
- #
1767
1790
  # @overload search_spaces(request, options = nil)
1768
1791
  # Pass arguments to `search_spaces` via a request object, either of type
1769
1792
  # {::Google::Apps::Chat::V1::SearchSpacesRequest} or an equivalent Hash.
@@ -2481,8 +2504,10 @@ module Google
2481
2504
  #
2482
2505
  # You can update the following fields for a space:
2483
2506
  #
2484
- # `space_details`: Updates the space's description. Supports up to 150
2485
- # characters.
2507
+ # `space_details`: Updates the space's description and guidelines. You must
2508
+ # pass both description and guidelines in the update request as
2509
+ # {::Google::Apps::Chat::V1::Space::SpaceDetails `SpaceDetails`}. If you only want to
2510
+ # update one of the fields, pass the existing value for the other field.
2486
2511
  #
2487
2512
  # `display_name`: Only supports updating the display name for spaces where
2488
2513
  # `spaceType` field is `SPACE`.
@@ -2526,8 +2551,7 @@ module Google
2526
2551
  # of a space.
2527
2552
  # When updating permission settings, you can only specify
2528
2553
  # `permissionSettings` field masks; you cannot update other field masks
2529
- # at the same time. `permissionSettings` is not supported with
2530
- # `useAdminAccess`.
2554
+ # at the same time.
2531
2555
  # The supported field masks include:
2532
2556
  #
2533
2557
  # - `permission_settings.manageMembersAndGroups`
@@ -4553,22 +4577,36 @@ module Google
4553
4577
  # Note: The `permissionSettings` field is not returned in the Space
4554
4578
  # object of the Space event data for this request.
4555
4579
  #
4556
- # Requires [user
4557
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4558
- # with an [authorization
4580
+ # Supports the following types of
4581
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
4582
+ # with an
4583
+ # [authorization
4559
4584
  # scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
4560
4585
  # appropriate for reading the requested data:
4561
4586
  #
4562
- # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4563
- # - `https://www.googleapis.com/auth/chat.spaces`
4564
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
4565
- # - `https://www.googleapis.com/auth/chat.messages`
4566
- # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4567
- # - `https://www.googleapis.com/auth/chat.messages.reactions`
4568
- # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4569
- # - `https://www.googleapis.com/auth/chat.memberships`
4587
+ # - [App
4588
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
4589
+ # with [administrator
4590
+ # approval](https://support.google.com/a?p=chat-app-auth) in
4591
+ # [Developer Preview](https://developers.google.com/workspace/preview)
4592
+ # with one of the following authorization scopes:
4593
+ # - `https://www.googleapis.com/auth/chat.app.spaces`
4594
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`
4595
+ # - `https://www.googleapis.com/auth/chat.app.memberships`
4596
+ #
4597
+ # - [User
4598
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4599
+ # with one of the following authorization scopes:
4600
+ # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4601
+ # - `https://www.googleapis.com/auth/chat.spaces`
4602
+ # - `https://www.googleapis.com/auth/chat.messages.readonly`
4603
+ # - `https://www.googleapis.com/auth/chat.messages`
4604
+ # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4605
+ # - `https://www.googleapis.com/auth/chat.messages.reactions`
4606
+ # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4607
+ # - `https://www.googleapis.com/auth/chat.memberships`
4570
4608
  #
4571
- # To get an event, the authenticated user must be a member of the space.
4609
+ # To get an event, the authenticated caller must be a member of the space.
4572
4610
  #
4573
4611
  # For an example, see [Get details about an
4574
4612
  # event from a Google Chat
@@ -4667,22 +4705,36 @@ module Google
4667
4705
  # removed during the requested period, the event payload contains an empty
4668
4706
  # `Membership` resource.
4669
4707
  #
4670
- # Requires [user
4671
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4672
- # with an [authorization
4708
+ # Supports the following types of
4709
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
4710
+ # with an
4711
+ # [authorization
4673
4712
  # scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
4674
4713
  # appropriate for reading the requested data:
4675
4714
  #
4676
- # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4677
- # - `https://www.googleapis.com/auth/chat.spaces`
4678
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
4679
- # - `https://www.googleapis.com/auth/chat.messages`
4680
- # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4681
- # - `https://www.googleapis.com/auth/chat.messages.reactions`
4682
- # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4683
- # - `https://www.googleapis.com/auth/chat.memberships`
4715
+ # - [App
4716
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
4717
+ # with [administrator
4718
+ # approval](https://support.google.com/a?p=chat-app-auth) in
4719
+ # [Developer Preview](https://developers.google.com/workspace/preview)
4720
+ # with one of the following authorization scopes:
4721
+ # - `https://www.googleapis.com/auth/chat.app.spaces`
4722
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`
4723
+ # - `https://www.googleapis.com/auth/chat.app.memberships`
4684
4724
  #
4685
- # To list events, the authenticated user must be a member of the space.
4725
+ # - [User
4726
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4727
+ # with one of the following authorization scopes:
4728
+ # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4729
+ # - `https://www.googleapis.com/auth/chat.spaces`
4730
+ # - `https://www.googleapis.com/auth/chat.messages.readonly`
4731
+ # - `https://www.googleapis.com/auth/chat.messages`
4732
+ # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4733
+ # - `https://www.googleapis.com/auth/chat.messages.reactions`
4734
+ # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4735
+ # - `https://www.googleapis.com/auth/chat.memberships`
4736
+ #
4737
+ # To list events, the authenticated caller must be a member of the space.
4686
4738
  #
4687
4739
  # For an example, see [List events from a Google Chat
4688
4740
  # space](https://developers.google.com/workspace/chat/list-space-events).
@@ -5081,8 +5133,6 @@ module Google
5081
5133
  # @return [::String,nil]
5082
5134
  # @!attribute [rw] credentials
5083
5135
  # Credentials to send with calls. You may provide any of the following types:
5084
- # * (`String`) The path to a service account key file in JSON format
5085
- # * (`Hash`) A service account key as a Hash
5086
5136
  # * (`Google::Auth::Credentials`) A googleauth credentials object
5087
5137
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
5088
5138
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -5091,7 +5141,26 @@ module Google
5091
5141
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
5092
5142
  # * (`nil`) indicating no credentials
5093
5143
  #
5094
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
5144
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
5145
+ # is deprecated. Providing an unvalidated credential configuration to
5146
+ # Google APIs can compromise the security of your systems and data.
5147
+ #
5148
+ # @example
5149
+ #
5150
+ # # The recommended way to provide credentials is to use the `make_creds` method
5151
+ # # on the appropriate credentials class for your environment.
5152
+ #
5153
+ # require "googleauth"
5154
+ #
5155
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
5156
+ # json_key_io: ::File.open("/path/to/keyfile.json")
5157
+ # )
5158
+ #
5159
+ # client = ::Google::Apps::Chat::V1::ChatService::Client.new do |config|
5160
+ # config.credentials = credentials
5161
+ # end
5162
+ #
5163
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
5095
5164
  # external source for authentication to Google Cloud, you must validate it before
5096
5165
  # providing it to a Google API client library. Providing an unvalidated credential
5097
5166
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -33,6 +33,7 @@ module Google
33
33
  "https://www.googleapis.com/auth/chat.admin.spaces.readonly",
34
34
  "https://www.googleapis.com/auth/chat.app.delete",
35
35
  "https://www.googleapis.com/auth/chat.app.memberships",
36
+ "https://www.googleapis.com/auth/chat.app.messages.readonly",
36
37
  "https://www.googleapis.com/auth/chat.app.spaces",
37
38
  "https://www.googleapis.com/auth/chat.app.spaces.create",
38
39
  "https://www.googleapis.com/auth/chat.bot",
@@ -516,21 +516,34 @@ module Google
516
516
 
517
517
  ##
518
518
  # Lists messages in a space that the caller is a member of, including
519
- # messages from blocked members and spaces. If you list messages from a
519
+ # messages from blocked members and spaces. System messages, like those
520
+ # announcing new space members, aren't included. If you list messages from a
520
521
  # space with no messages, the response is an empty object. When using a
521
522
  # REST/HTTP interface, the response contains an empty JSON object, `{}`.
522
523
  # For an example, see
523
524
  # [List
524
525
  # messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
525
526
  #
526
- # Requires [user
527
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
528
- # with one of the following [authorization
529
- # scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
527
+ # Supports the following types of
528
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
530
529
  #
531
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
532
- # - `https://www.googleapis.com/auth/chat.messages`
533
- # - `https://www.googleapis.com/auth/chat.import` (import mode spaces only)
530
+ # - [App
531
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
532
+ # with [administrator
533
+ # approval](https://support.google.com/a?p=chat-app-auth) in
534
+ # [Developer Preview](https://developers.google.com/workspace/preview)
535
+ # with the authorization scope:
536
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When
537
+ # using this authentication scope, this method only returns public
538
+ # messages in a space. It doesn't include private messages.
539
+ #
540
+ # - [User
541
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
542
+ # with one of the following authorization scopes:
543
+ # - `https://www.googleapis.com/auth/chat.messages.readonly`
544
+ # - `https://www.googleapis.com/auth/chat.messages`
545
+ # - `https://www.googleapis.com/auth/chat.import` (import mode spaces
546
+ # only)
534
547
  #
535
548
  # @overload list_messages(request, options = nil)
536
549
  # Pass arguments to `list_messages` via a request object, either of type
@@ -1022,8 +1035,18 @@ module Google
1022
1035
  #
1023
1036
  # - [App
1024
1037
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
1025
- # with the authorization scope:
1026
- # - `https://www.googleapis.com/auth/chat.bot`
1038
+ # with one of the following authorization scopes:
1039
+ # - `https://www.googleapis.com/auth/chat.bot`: When using this
1040
+ # authorization scope, this method returns details about a message the
1041
+ # Chat app has access to, like direct messages and [slash
1042
+ # commands](https://developers.google.com/workspace/chat/slash-commands)
1043
+ # that invoke the Chat app.
1044
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`
1045
+ # with [administrator
1046
+ # approval](https://support.google.com/a?p=chat-app-auth) (available in
1047
+ # [Developer Preview](https://developers.google.com/workspace/preview)).
1048
+ # When using this authentication scope,
1049
+ # this method returns details about a public message in a space.
1027
1050
  #
1028
1051
  # - [User
1029
1052
  # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
@@ -1682,7 +1705,9 @@ module Google
1682
1705
 
1683
1706
  ##
1684
1707
  # Returns a list of spaces in a Google Workspace organization based on an
1685
- # administrator's search.
1708
+ # administrator's search. In the request, set `use_admin_access` to `true`.
1709
+ # For an example, see [Search for and manage
1710
+ # spaces](https://developers.google.com/workspace/chat/search-manage-admin).
1686
1711
  #
1687
1712
  # Requires [user
1688
1713
  # authentication with administrator
@@ -1693,8 +1718,6 @@ module Google
1693
1718
  # - `https://www.googleapis.com/auth/chat.admin.spaces.readonly`
1694
1719
  # - `https://www.googleapis.com/auth/chat.admin.spaces`
1695
1720
  #
1696
- # In the request, set `use_admin_access` to `true`.
1697
- #
1698
1721
  # @overload search_spaces(request, options = nil)
1699
1722
  # Pass arguments to `search_spaces` via a request object, either of type
1700
1723
  # {::Google::Apps::Chat::V1::SearchSpacesRequest} or an equivalent Hash.
@@ -2408,8 +2431,10 @@ module Google
2408
2431
  #
2409
2432
  # You can update the following fields for a space:
2410
2433
  #
2411
- # `space_details`: Updates the space's description. Supports up to 150
2412
- # characters.
2434
+ # `space_details`: Updates the space's description and guidelines. You must
2435
+ # pass both description and guidelines in the update request as
2436
+ # {::Google::Apps::Chat::V1::Space::SpaceDetails `SpaceDetails`}. If you only want to
2437
+ # update one of the fields, pass the existing value for the other field.
2413
2438
  #
2414
2439
  # `display_name`: Only supports updating the display name for spaces where
2415
2440
  # `spaceType` field is `SPACE`.
@@ -2453,8 +2478,7 @@ module Google
2453
2478
  # of a space.
2454
2479
  # When updating permission settings, you can only specify
2455
2480
  # `permissionSettings` field masks; you cannot update other field masks
2456
- # at the same time. `permissionSettings` is not supported with
2457
- # `useAdminAccess`.
2481
+ # at the same time.
2458
2482
  # The supported field masks include:
2459
2483
  #
2460
2484
  # - `permission_settings.manageMembersAndGroups`
@@ -4385,22 +4409,36 @@ module Google
4385
4409
  # Note: The `permissionSettings` field is not returned in the Space
4386
4410
  # object of the Space event data for this request.
4387
4411
  #
4388
- # Requires [user
4389
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4390
- # with an [authorization
4412
+ # Supports the following types of
4413
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
4414
+ # with an
4415
+ # [authorization
4391
4416
  # scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
4392
4417
  # appropriate for reading the requested data:
4393
4418
  #
4394
- # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4395
- # - `https://www.googleapis.com/auth/chat.spaces`
4396
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
4397
- # - `https://www.googleapis.com/auth/chat.messages`
4398
- # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4399
- # - `https://www.googleapis.com/auth/chat.messages.reactions`
4400
- # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4401
- # - `https://www.googleapis.com/auth/chat.memberships`
4419
+ # - [App
4420
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
4421
+ # with [administrator
4422
+ # approval](https://support.google.com/a?p=chat-app-auth) in
4423
+ # [Developer Preview](https://developers.google.com/workspace/preview)
4424
+ # with one of the following authorization scopes:
4425
+ # - `https://www.googleapis.com/auth/chat.app.spaces`
4426
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`
4427
+ # - `https://www.googleapis.com/auth/chat.app.memberships`
4428
+ #
4429
+ # - [User
4430
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4431
+ # with one of the following authorization scopes:
4432
+ # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4433
+ # - `https://www.googleapis.com/auth/chat.spaces`
4434
+ # - `https://www.googleapis.com/auth/chat.messages.readonly`
4435
+ # - `https://www.googleapis.com/auth/chat.messages`
4436
+ # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4437
+ # - `https://www.googleapis.com/auth/chat.messages.reactions`
4438
+ # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4439
+ # - `https://www.googleapis.com/auth/chat.memberships`
4402
4440
  #
4403
- # To get an event, the authenticated user must be a member of the space.
4441
+ # To get an event, the authenticated caller must be a member of the space.
4404
4442
  #
4405
4443
  # For an example, see [Get details about an
4406
4444
  # event from a Google Chat
@@ -4492,22 +4530,36 @@ module Google
4492
4530
  # removed during the requested period, the event payload contains an empty
4493
4531
  # `Membership` resource.
4494
4532
  #
4495
- # Requires [user
4496
- # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4497
- # with an [authorization
4533
+ # Supports the following types of
4534
+ # [authentication](https://developers.google.com/workspace/chat/authenticate-authorize)
4535
+ # with an
4536
+ # [authorization
4498
4537
  # scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes)
4499
4538
  # appropriate for reading the requested data:
4500
4539
  #
4501
- # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4502
- # - `https://www.googleapis.com/auth/chat.spaces`
4503
- # - `https://www.googleapis.com/auth/chat.messages.readonly`
4504
- # - `https://www.googleapis.com/auth/chat.messages`
4505
- # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4506
- # - `https://www.googleapis.com/auth/chat.messages.reactions`
4507
- # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4508
- # - `https://www.googleapis.com/auth/chat.memberships`
4540
+ # - [App
4541
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
4542
+ # with [administrator
4543
+ # approval](https://support.google.com/a?p=chat-app-auth) in
4544
+ # [Developer Preview](https://developers.google.com/workspace/preview)
4545
+ # with one of the following authorization scopes:
4546
+ # - `https://www.googleapis.com/auth/chat.app.spaces`
4547
+ # - `https://www.googleapis.com/auth/chat.app.messages.readonly`
4548
+ # - `https://www.googleapis.com/auth/chat.app.memberships`
4549
+ #
4550
+ # - [User
4551
+ # authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
4552
+ # with one of the following authorization scopes:
4553
+ # - `https://www.googleapis.com/auth/chat.spaces.readonly`
4554
+ # - `https://www.googleapis.com/auth/chat.spaces`
4555
+ # - `https://www.googleapis.com/auth/chat.messages.readonly`
4556
+ # - `https://www.googleapis.com/auth/chat.messages`
4557
+ # - `https://www.googleapis.com/auth/chat.messages.reactions.readonly`
4558
+ # - `https://www.googleapis.com/auth/chat.messages.reactions`
4559
+ # - `https://www.googleapis.com/auth/chat.memberships.readonly`
4560
+ # - `https://www.googleapis.com/auth/chat.memberships`
4509
4561
  #
4510
- # To list events, the authenticated user must be a member of the space.
4562
+ # To list events, the authenticated caller must be a member of the space.
4511
4563
  #
4512
4564
  # For an example, see [List events from a Google Chat
4513
4565
  # space](https://developers.google.com/workspace/chat/list-space-events).
@@ -21,7 +21,7 @@ module Google
21
21
  module Apps
22
22
  module Chat
23
23
  module V1
24
- VERSION = "0.16.0"
24
+ VERSION = "0.18.0"
25
25
  end
26
26
  end
27
27
  end
@@ -11,7 +11,7 @@ require 'google/chat/v1/reaction_pb'
11
11
  require 'google/chat/v1/user_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\xed\x03\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\x12\x41\n\x14meet_space_link_data\x18\x05 \x01(\x0b\x32!.google.chat.v1.MeetSpaceLinkDataH\x00\x12I\n\x18\x63\x61lendar_event_link_data\x18\x06 \x01(\x0b\x32%.google.chat.v1.CalendarEventLinkDataH\x00\"r\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x12\x0e\n\nMEET_SPACE\x10\x04\x12\x12\n\x0e\x43\x41LENDAR_EVENT\x10\x05\x42\x06\n\x04\x64\x61ta\"H\n\x13\x43ustomEmojiMetadata\x12\x31\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmoji\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"\xb8\x02\n\x11MeetSpaceLinkData\x12\x14\n\x0cmeeting_code\x18\x01 \x01(\t\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.google.chat.v1.MeetSpaceLinkData.Type\x12M\n\rhuddle_status\x18\x03 \x01(\x0e\x32..google.chat.v1.MeetSpaceLinkData.HuddleStatusB\x06\xe0\x41\x01\xe0\x41\x03\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MEETING\x10\x01\x12\n\n\x06HUDDLE\x10\x02\"Q\n\x0cHuddleStatus\x12\x1d\n\x19HUDDLE_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x45NDED\x10\x02\x12\n\n\x06MISSED\x10\x03\">\n\x15\x43\x61lendarEventLinkData\x12\x13\n\x0b\x63\x61lendar_id\x18\x01 \x01(\t\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\t*w\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_MENTION\x10\x01\x12\x11\n\rSLASH_COMMAND\x10\x02\x12\r\n\tRICH_LINK\x10\x03\x12\x10\n\x0c\x43USTOM_EMOJI\x10\x04\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41nnotationProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
14
+ descriptor_data = "\n\x1fgoogle/chat/v1/annotation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x19google/chat/v1/user.proto\"\x82\x03\n\nAnnotation\x12,\n\x04type\x18\x01 \x01(\x0e\x32\x1e.google.chat.v1.AnnotationType\x12\x18\n\x0bstart_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12;\n\x0cuser_mention\x18\x04 \x01(\x0b\x32#.google.chat.v1.UserMentionMetadataH\x00\x12=\n\rslash_command\x18\x05 \x01(\x0b\x32$.google.chat.v1.SlashCommandMetadataH\x00\x12>\n\x12rich_link_metadata\x18\x06 \x01(\x0b\x32 .google.chat.v1.RichLinkMetadataH\x00\x12\x44\n\x15\x63ustom_emoji_metadata\x18\x07 \x01(\x0b\x32#.google.chat.v1.CustomEmojiMetadataH\x00\x42\n\n\x08metadataB\x0e\n\x0c_start_index\"\xa5\x01\n\x13UserMentionMetadata\x12\"\n\x04user\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x36\n\x04type\x18\x02 \x01(\x0e\x32(.google.chat.v1.UserMentionMetadata.Type\"2\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x0b\n\x07MENTION\x10\x02\"\xe8\x01\n\x14SlashCommandMetadata\x12!\n\x03\x62ot\x18\x01 \x01(\x0b\x32\x14.google.chat.v1.User\x12\x37\n\x04type\x18\x02 \x01(\x0e\x32).google.chat.v1.SlashCommandMetadata.Type\x12\x14\n\x0c\x63ommand_name\x18\x03 \x01(\t\x12\x12\n\ncommand_id\x18\x04 \x01(\x03\x12\x17\n\x0ftriggers_dialog\x18\x05 \x01(\x08\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06INVOKE\x10\x02\"\x81\x04\n\x10RichLinkMetadata\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x45\n\x0erich_link_type\x18\x02 \x01(\x0e\x32-.google.chat.v1.RichLinkMetadata.RichLinkType\x12\x38\n\x0f\x64rive_link_data\x18\x03 \x01(\x0b\x32\x1d.google.chat.v1.DriveLinkDataH\x00\x12\x41\n\x14\x63hat_space_link_data\x18\x04 \x01(\x0b\x32!.google.chat.v1.ChatSpaceLinkDataH\x00\x12\x41\n\x14meet_space_link_data\x18\x05 \x01(\x0b\x32!.google.chat.v1.MeetSpaceLinkDataH\x00\x12I\n\x18\x63\x61lendar_event_link_data\x18\x06 \x01(\x0b\x32%.google.chat.v1.CalendarEventLinkDataH\x00\"\x85\x01\n\x0cRichLinkType\x12\x1e\n\x1aRICH_LINK_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x0e\n\nCHAT_SPACE\x10\x02\x12\x11\n\rGMAIL_MESSAGE\x10\x03\x12\x0e\n\nMEET_SPACE\x10\x04\x12\x12\n\x0e\x43\x41LENDAR_EVENT\x10\x05\x42\x06\n\x04\x64\x61ta\"H\n\x13\x43ustomEmojiMetadata\x12\x31\n\x0c\x63ustom_emoji\x18\x01 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmoji\"X\n\rDriveLinkData\x12\x34\n\x0e\x64rive_data_ref\x18\x01 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRef\x12\x11\n\tmime_type\x18\x02 \x01(\t\"\xa6\x01\n\x11\x43hatSpaceLinkData\x12-\n\x05space\x18\x01 \x01(\tB\x1e\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12/\n\x06thread\x18\x02 \x01(\tB\x1f\xfa\x41\x1c\n\x1a\x63hat.googleapis.com/Thread\x12\x31\n\x07message\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"\xb8\x02\n\x11MeetSpaceLinkData\x12\x14\n\x0cmeeting_code\x18\x01 \x01(\t\x12\x34\n\x04type\x18\x02 \x01(\x0e\x32&.google.chat.v1.MeetSpaceLinkData.Type\x12M\n\rhuddle_status\x18\x03 \x01(\x0e\x32..google.chat.v1.MeetSpaceLinkData.HuddleStatusB\x06\xe0\x41\x01\xe0\x41\x03\"5\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07MEETING\x10\x01\x12\n\n\x06HUDDLE\x10\x02\"Q\n\x0cHuddleStatus\x12\x1d\n\x19HUDDLE_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\t\n\x05\x45NDED\x10\x02\x12\n\n\x06MISSED\x10\x03\">\n\x15\x43\x61lendarEventLinkData\x12\x13\n\x0b\x63\x61lendar_id\x18\x01 \x01(\t\x12\x10\n\x08\x65vent_id\x18\x02 \x01(\t*w\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_MENTION\x10\x01\x12\x11\n\rSLASH_COMMAND\x10\x02\x12\r\n\tRICH_LINK\x10\x03\x12\x10\n\x0c\x43USTOM_EMOJI\x10\x04\x42\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41nnotationProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n\x1fgoogle/chat/v1/attachment.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xfd\x03\n\nAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x63ontent_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63ontent_type\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x13\x61ttachment_data_ref\x18\x04 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\x03\xe0\x41\x01H\x00\x12;\n\x0e\x64rive_data_ref\x18\x07 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRefB\x03\xe0\x41\x03H\x00\x12\x1a\n\rthumbnail_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64ownload_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\x06source\x18\t \x01(\x0e\x32!.google.chat.v1.Attachment.SourceB\x03\xe0\x41\x03\"F\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x14\n\x10UPLOADED_CONTENT\x10\x02:_\xea\x41\\\n\x1e\x63hat.googleapis.com/Attachment\x12:spaces/{space}/messages/{message}/attachments/{attachment}B\n\n\x08\x64\x61ta_ref\"%\n\x0c\x44riveDataRef\x12\x15\n\rdrive_file_id\x18\x02 \x01(\t\"U\n\x11\x41ttachmentDataRef\x12\x1a\n\rresource_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x61ttachment_upload_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"L\n\x14GetAttachmentRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Attachment\"e\n\x17UploadAttachmentRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x15\n\x08\x66ilename\x18\x04 \x01(\tB\x03\xe0\x41\x02\"Z\n\x18UploadAttachmentResponse\x12>\n\x13\x61ttachment_data_ref\x18\x01 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41ttachmentProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
11
+ descriptor_data = "\n\x1fgoogle/chat/v1/attachment.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xfd\x03\n\nAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x63ontent_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63ontent_type\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x13\x61ttachment_data_ref\x18\x04 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\x03\xe0\x41\x01H\x00\x12;\n\x0e\x64rive_data_ref\x18\x07 \x01(\x0b\x32\x1c.google.chat.v1.DriveDataRefB\x03\xe0\x41\x03H\x00\x12\x1a\n\rthumbnail_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64ownload_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x36\n\x06source\x18\t \x01(\x0e\x32!.google.chat.v1.Attachment.SourceB\x03\xe0\x41\x03\"F\n\x06Source\x12\x16\n\x12SOURCE_UNSPECIFIED\x10\x00\x12\x0e\n\nDRIVE_FILE\x10\x01\x12\x14\n\x10UPLOADED_CONTENT\x10\x02:_\xea\x41\\\n\x1e\x63hat.googleapis.com/Attachment\x12:spaces/{space}/messages/{message}/attachments/{attachment}B\n\n\x08\x64\x61ta_ref\"%\n\x0c\x44riveDataRef\x12\x15\n\rdrive_file_id\x18\x02 \x01(\t\"U\n\x11\x41ttachmentDataRef\x12\x1a\n\rresource_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12$\n\x17\x61ttachment_upload_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"L\n\x14GetAttachmentRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63hat.googleapis.com/Attachment\"e\n\x17UploadAttachmentRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x15\n\x08\x66ilename\x18\x04 \x01(\tB\x03\xe0\x41\x02\"Z\n\x18UploadAttachmentResponse\x12>\n\x13\x61ttachment_data_ref\x18\x01 \x01(\x0b\x32!.google.chat.v1.AttachmentDataRefB\xa8\x01\n\x12\x63om.google.chat.v1B\x0f\x41ttachmentProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -19,7 +19,7 @@ require 'google/chat/v1/thread_read_state_pb'
19
19
  require 'google/protobuf/empty_pb'
20
20
 
21
21
 
22
- descriptor_data = "\n!google/chat/v1/chat_service.proto\x12\x0egoogle.chat.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1agoogle/chat/v1/space.proto\x1a google/chat/v1/space_event.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a%google/chat/v1/space_read_state.proto\x1a google/chat/v1/space_setup.proto\x1a&google/chat/v1/thread_read_state.proto\x1a\x1bgoogle/protobuf/empty.proto2\x85\x35\n\x0b\x43hatService\x12\x9b\x01\n\rCreateMessage\x12$.google.chat.v1.CreateMessageRequest\x1a\x17.google.chat.v1.Message\"K\xda\x41\x19parent,message,message_id\x82\xd3\xe4\x93\x02)\"\x1e/v1/{parent=spaces/*}/messages:\x07message\x12\x8a\x01\n\x0cListMessages\x12#.google.chat.v1.ListMessagesRequest\x1a$.google.chat.v1.ListMessagesResponse\"/\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=spaces/*}/messages\x12\x92\x01\n\x0fListMemberships\x12&.google.chat.v1.ListMembershipsRequest\x1a\'.google.chat.v1.ListMembershipsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=spaces/*}/members\x12\x7f\n\rGetMembership\x12$.google.chat.v1.GetMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=spaces/*/members/*}\x12w\n\nGetMessage\x12!.google.chat.v1.GetMessageRequest\x1a\x17.google.chat.v1.Message\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=spaces/*/messages/*}\x12\xd1\x01\n\rUpdateMessage\x12$.google.chat.v1.UpdateMessageRequest\x1a\x17.google.chat.v1.Message\"\x80\x01\xda\x41\x13message,update_mask\x82\xd3\xe4\x93\x02\x64\x1a&/v1/{message.name=spaces/*/messages/*}:\x07messageZ12&/v1/{message.name=spaces/*/messages/*}:\x07message\x12|\n\rDeleteMessage\x12$.google.chat.v1.DeleteMessageRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=spaces/*/messages/*}\x12\x8e\x01\n\rGetAttachment\x12$.google.chat.v1.GetAttachmentRequest\x1a\x1a.google.chat.v1.Attachment\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=spaces/*/messages/*/attachments/*}\x12\x9a\x01\n\x10UploadAttachment\x12\'.google.chat.v1.UploadAttachmentRequest\x1a(.google.chat.v1.UploadAttachmentResponse\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=spaces/*}/attachments:upload:\x01*\x12j\n\nListSpaces\x12!.google.chat.v1.ListSpacesRequest\x1a\".google.chat.v1.ListSpacesResponse\"\x15\xda\x41\x00\x82\xd3\xe4\x93\x02\x0c\x12\n/v1/spaces\x12w\n\x0cSearchSpaces\x12#.google.chat.v1.SearchSpacesRequest\x1a$.google.chat.v1.SearchSpacesResponse\"\x1c\xda\x41\x00\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/spaces:search\x12\x66\n\x08GetSpace\x12\x1f.google.chat.v1.GetSpaceRequest\x1a\x15.google.chat.v1.Space\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/{name=spaces/*}\x12k\n\x0b\x43reateSpace\x12\".google.chat.v1.CreateSpaceRequest\x1a\x15.google.chat.v1.Space\"!\xda\x41\x05space\x82\xd3\xe4\x93\x02\x13\"\n/v1/spaces:\x05space\x12\x63\n\nSetUpSpace\x12!.google.chat.v1.SetUpSpaceRequest\x1a\x15.google.chat.v1.Space\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/spaces:setup:\x01*\x12\x86\x01\n\x0bUpdateSpace\x12\".google.chat.v1.UpdateSpaceRequest\x1a\x15.google.chat.v1.Space\"<\xda\x41\x11space,update_mask\x82\xd3\xe4\x93\x02\"2\x19/v1/{space.name=spaces/*}:\x05space\x12m\n\x0b\x44\x65leteSpace\x12\".google.chat.v1.DeleteSpaceRequest\x1a\x16.google.protobuf.Empty\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15*\x13/v1/{name=spaces/*}\x12\x9d\x01\n\x13\x43ompleteImportSpace\x12*.google.chat.v1.CompleteImportSpaceRequest\x1a+.google.chat.v1.CompleteImportSpaceResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/v1/{name=spaces/*}:completeImport:\x01*\x12z\n\x11\x46indDirectMessage\x12(.google.chat.v1.FindDirectMessageRequest\x1a\x15.google.chat.v1.Space\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/spaces:findDirectMessage\x12\x9e\x01\n\x10\x43reateMembership\x12\'.google.chat.v1.CreateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"E\xda\x41\x11parent,membership\x82\xd3\xe4\x93\x02+\"\x1d/v1/{parent=spaces/*}/members:\nmembership\x12\xae\x01\n\x10UpdateMembership\x12\'.google.chat.v1.UpdateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"U\xda\x41\x16membership,update_mask\x82\xd3\xe4\x93\x02\x36\x32(/v1/{membership.name=spaces/*/members/*}:\nmembership\x12\x85\x01\n\x10\x44\x65leteMembership\x12\'.google.chat.v1.DeleteMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=spaces/*/members/*}\x12\xa1\x01\n\x0e\x43reateReaction\x12%.google.chat.v1.CreateReactionRequest\x1a\x18.google.chat.v1.Reaction\"N\xda\x41\x0fparent,reaction\x82\xd3\xe4\x93\x02\x36\"*/v1/{parent=spaces/*/messages/*}/reactions:\x08reaction\x12\x99\x01\n\rListReactions\x12$.google.chat.v1.ListReactionsRequest\x1a%.google.chat.v1.ListReactionsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=spaces/*/messages/*}/reactions\x12\x8a\x01\n\x0e\x44\x65leteReaction\x12%.google.chat.v1.DeleteReactionRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=spaces/*/messages/*/reactions/*}\x12\x91\x01\n\x11\x43reateCustomEmoji\x12(.google.chat.v1.CreateCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"5\xda\x41\x0c\x63ustom_emoji\x82\xd3\xe4\x93\x02 \"\x10/v1/customEmojis:\x0c\x63ustom_emoji\x12~\n\x0eGetCustomEmoji\x12%.google.chat.v1.GetCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=customEmojis/*}\x12\x82\x01\n\x10ListCustomEmojis\x12\'.google.chat.v1.ListCustomEmojisRequest\x1a(.google.chat.v1.ListCustomEmojisResponse\"\x1b\xda\x41\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/customEmojis\x12\x7f\n\x11\x44\x65leteCustomEmoji\x12(.google.chat.v1.DeleteCustomEmojiRequest\x1a\x16.google.protobuf.Empty\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b*\x19/v1/{name=customEmojis/*}\x12\x98\x01\n\x11GetSpaceReadState\x12(.google.chat.v1.GetSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=users/*/spaces/*/spaceReadState}\x12\xd9\x01\n\x14UpdateSpaceReadState\x12+.google.chat.v1.UpdateSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"t\xda\x41\x1cspace_read_state,update_mask\x82\xd3\xe4\x93\x02O2;/v1/{space_read_state.name=users/*/spaces/*/spaceReadState}:\x10space_read_state\x12\xa6\x01\n\x12GetThreadReadState\x12).google.chat.v1.GetThreadReadStateRequest\x1a\x1f.google.chat.v1.ThreadReadState\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=users/*/spaces/*/threads/*/threadReadState}\x12\x83\x01\n\rGetSpaceEvent\x12$.google.chat.v1.GetSpaceEventRequest\x1a\x1a.google.chat.v1.SpaceEvent\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=spaces/*/spaceEvents/*}\x12\x9d\x01\n\x0fListSpaceEvents\x12&.google.chat.v1.ListSpaceEventsRequest\x1a\'.google.chat.v1.ListSpaceEventsResponse\"9\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/spaceEvents\x12\xc0\x01\n\x1bGetSpaceNotificationSetting\x12\x32.google.chat.v1.GetSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=users/*/spaces/*/spaceNotificationSetting}\x12\xa0\x02\n\x1eUpdateSpaceNotificationSetting\x12\x35.google.chat.v1.UpdateSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"\x9c\x01\xda\x41&space_notification_setting,update_mask\x82\xd3\xe4\x93\x02m2O/v1/{space_notification_setting.name=users/*/spaces/*/spaceNotificationSetting}:\x1aspace_notification_setting\x1a\x9b\x0c\xca\x41\x13\x63hat.googleapis.com\xd2\x41\x81\x0chttps://www.googleapis.com/auth/chat.admin.delete,https://www.googleapis.com/auth/chat.admin.memberships,https://www.googleapis.com/auth/chat.admin.memberships.readonly,https://www.googleapis.com/auth/chat.admin.spaces,https://www.googleapis.com/auth/chat.admin.spaces.readonly,https://www.googleapis.com/auth/chat.app.delete,https://www.googleapis.com/auth/chat.app.memberships,https://www.googleapis.com/auth/chat.app.spaces,https://www.googleapis.com/auth/chat.app.spaces.create,https://www.googleapis.com/auth/chat.bot,https://www.googleapis.com/auth/chat.customemojis,https://www.googleapis.com/auth/chat.customemojis.readonly,https://www.googleapis.com/auth/chat.delete,https://www.googleapis.com/auth/chat.import,https://www.googleapis.com/auth/chat.memberships,https://www.googleapis.com/auth/chat.memberships.app,https://www.googleapis.com/auth/chat.memberships.readonly,https://www.googleapis.com/auth/chat.messages,https://www.googleapis.com/auth/chat.messages.create,https://www.googleapis.com/auth/chat.messages.reactions,https://www.googleapis.com/auth/chat.messages.reactions.create,https://www.googleapis.com/auth/chat.messages.reactions.readonly,https://www.googleapis.com/auth/chat.messages.readonly,https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.spaces.create,https://www.googleapis.com/auth/chat.spaces.readonly,https://www.googleapis.com/auth/chat.users.readstate,https://www.googleapis.com/auth/chat.users.readstate.readonly,https://www.googleapis.com/auth/chat.users.spacesettingsB\xa9\x01\n\x12\x63om.google.chat.v1B\x10\x43hatServiceProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
22
+ descriptor_data = "\n!google/chat/v1/chat_service.proto\x12\x0egoogle.chat.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1cgoogle/chat/v1/message.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\x1agoogle/chat/v1/space.proto\x1a google/chat/v1/space_event.proto\x1a/google/chat/v1/space_notification_setting.proto\x1a%google/chat/v1/space_read_state.proto\x1a google/chat/v1/space_setup.proto\x1a&google/chat/v1/thread_read_state.proto\x1a\x1bgoogle/protobuf/empty.proto2\xc0\x35\n\x0b\x43hatService\x12\x9b\x01\n\rCreateMessage\x12$.google.chat.v1.CreateMessageRequest\x1a\x17.google.chat.v1.Message\"K\xda\x41\x19parent,message,message_id\x82\xd3\xe4\x93\x02)\"\x1e/v1/{parent=spaces/*}/messages:\x07message\x12\x8a\x01\n\x0cListMessages\x12#.google.chat.v1.ListMessagesRequest\x1a$.google.chat.v1.ListMessagesResponse\"/\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=spaces/*}/messages\x12\x92\x01\n\x0fListMemberships\x12&.google.chat.v1.ListMembershipsRequest\x1a\'.google.chat.v1.ListMembershipsResponse\".\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{parent=spaces/*}/members\x12\x7f\n\rGetMembership\x12$.google.chat.v1.GetMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v1/{name=spaces/*/members/*}\x12w\n\nGetMessage\x12!.google.chat.v1.GetMessageRequest\x1a\x17.google.chat.v1.Message\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=spaces/*/messages/*}\x12\xd1\x01\n\rUpdateMessage\x12$.google.chat.v1.UpdateMessageRequest\x1a\x17.google.chat.v1.Message\"\x80\x01\xda\x41\x13message,update_mask\x82\xd3\xe4\x93\x02\x64\x1a&/v1/{message.name=spaces/*/messages/*}:\x07messageZ12&/v1/{message.name=spaces/*/messages/*}:\x07message\x12|\n\rDeleteMessage\x12$.google.chat.v1.DeleteMessageRequest\x1a\x16.google.protobuf.Empty\"-\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=spaces/*/messages/*}\x12\x8e\x01\n\rGetAttachment\x12$.google.chat.v1.GetAttachmentRequest\x1a\x1a.google.chat.v1.Attachment\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=spaces/*/messages/*/attachments/*}\x12\x9a\x01\n\x10UploadAttachment\x12\'.google.chat.v1.UploadAttachmentRequest\x1a(.google.chat.v1.UploadAttachmentResponse\"3\x82\xd3\xe4\x93\x02-\"(/v1/{parent=spaces/*}/attachments:upload:\x01*\x12j\n\nListSpaces\x12!.google.chat.v1.ListSpacesRequest\x1a\".google.chat.v1.ListSpacesResponse\"\x15\xda\x41\x00\x82\xd3\xe4\x93\x02\x0c\x12\n/v1/spaces\x12w\n\x0cSearchSpaces\x12#.google.chat.v1.SearchSpacesRequest\x1a$.google.chat.v1.SearchSpacesResponse\"\x1c\xda\x41\x00\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/spaces:search\x12\x66\n\x08GetSpace\x12\x1f.google.chat.v1.GetSpaceRequest\x1a\x15.google.chat.v1.Space\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/{name=spaces/*}\x12k\n\x0b\x43reateSpace\x12\".google.chat.v1.CreateSpaceRequest\x1a\x15.google.chat.v1.Space\"!\xda\x41\x05space\x82\xd3\xe4\x93\x02\x13\"\n/v1/spaces:\x05space\x12\x63\n\nSetUpSpace\x12!.google.chat.v1.SetUpSpaceRequest\x1a\x15.google.chat.v1.Space\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/spaces:setup:\x01*\x12\x86\x01\n\x0bUpdateSpace\x12\".google.chat.v1.UpdateSpaceRequest\x1a\x15.google.chat.v1.Space\"<\xda\x41\x11space,update_mask\x82\xd3\xe4\x93\x02\"2\x19/v1/{space.name=spaces/*}:\x05space\x12m\n\x0b\x44\x65leteSpace\x12\".google.chat.v1.DeleteSpaceRequest\x1a\x16.google.protobuf.Empty\"\"\xda\x41\x04name\x82\xd3\xe4\x93\x02\x15*\x13/v1/{name=spaces/*}\x12\x9d\x01\n\x13\x43ompleteImportSpace\x12*.google.chat.v1.CompleteImportSpaceRequest\x1a+.google.chat.v1.CompleteImportSpaceResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/v1/{name=spaces/*}:completeImport:\x01*\x12z\n\x11\x46indDirectMessage\x12(.google.chat.v1.FindDirectMessageRequest\x1a\x15.google.chat.v1.Space\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/spaces:findDirectMessage\x12\x9e\x01\n\x10\x43reateMembership\x12\'.google.chat.v1.CreateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"E\xda\x41\x11parent,membership\x82\xd3\xe4\x93\x02+\"\x1d/v1/{parent=spaces/*}/members:\nmembership\x12\xae\x01\n\x10UpdateMembership\x12\'.google.chat.v1.UpdateMembershipRequest\x1a\x1a.google.chat.v1.Membership\"U\xda\x41\x16membership,update_mask\x82\xd3\xe4\x93\x02\x36\x32(/v1/{membership.name=spaces/*/members/*}:\nmembership\x12\x85\x01\n\x10\x44\x65leteMembership\x12\'.google.chat.v1.DeleteMembershipRequest\x1a\x1a.google.chat.v1.Membership\",\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1f*\x1d/v1/{name=spaces/*/members/*}\x12\xa1\x01\n\x0e\x43reateReaction\x12%.google.chat.v1.CreateReactionRequest\x1a\x18.google.chat.v1.Reaction\"N\xda\x41\x0fparent,reaction\x82\xd3\xe4\x93\x02\x36\"*/v1/{parent=spaces/*/messages/*}/reactions:\x08reaction\x12\x99\x01\n\rListReactions\x12$.google.chat.v1.ListReactionsRequest\x1a%.google.chat.v1.ListReactionsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=spaces/*/messages/*}/reactions\x12\x8a\x01\n\x0e\x44\x65leteReaction\x12%.google.chat.v1.DeleteReactionRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=spaces/*/messages/*/reactions/*}\x12\x91\x01\n\x11\x43reateCustomEmoji\x12(.google.chat.v1.CreateCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"5\xda\x41\x0c\x63ustom_emoji\x82\xd3\xe4\x93\x02 \"\x10/v1/customEmojis:\x0c\x63ustom_emoji\x12~\n\x0eGetCustomEmoji\x12%.google.chat.v1.GetCustomEmojiRequest\x1a\x1b.google.chat.v1.CustomEmoji\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b\x12\x19/v1/{name=customEmojis/*}\x12\x82\x01\n\x10ListCustomEmojis\x12\'.google.chat.v1.ListCustomEmojisRequest\x1a(.google.chat.v1.ListCustomEmojisResponse\"\x1b\xda\x41\x00\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/customEmojis\x12\x7f\n\x11\x44\x65leteCustomEmoji\x12(.google.chat.v1.DeleteCustomEmojiRequest\x1a\x16.google.protobuf.Empty\"(\xda\x41\x04name\x82\xd3\xe4\x93\x02\x1b*\x19/v1/{name=customEmojis/*}\x12\x98\x01\n\x11GetSpaceReadState\x12(.google.chat.v1.GetSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=users/*/spaces/*/spaceReadState}\x12\xd9\x01\n\x14UpdateSpaceReadState\x12+.google.chat.v1.UpdateSpaceReadStateRequest\x1a\x1e.google.chat.v1.SpaceReadState\"t\xda\x41\x1cspace_read_state,update_mask\x82\xd3\xe4\x93\x02O2;/v1/{space_read_state.name=users/*/spaces/*/spaceReadState}:\x10space_read_state\x12\xa6\x01\n\x12GetThreadReadState\x12).google.chat.v1.GetThreadReadStateRequest\x1a\x1f.google.chat.v1.ThreadReadState\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=users/*/spaces/*/threads/*/threadReadState}\x12\x83\x01\n\rGetSpaceEvent\x12$.google.chat.v1.GetSpaceEventRequest\x1a\x1a.google.chat.v1.SpaceEvent\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x12!/v1/{name=spaces/*/spaceEvents/*}\x12\x9d\x01\n\x0fListSpaceEvents\x12&.google.chat.v1.ListSpaceEventsRequest\x1a\'.google.chat.v1.ListSpaceEventsResponse\"9\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=spaces/*}/spaceEvents\x12\xc0\x01\n\x1bGetSpaceNotificationSetting\x12\x32.google.chat.v1.GetSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=users/*/spaces/*/spaceNotificationSetting}\x12\xa0\x02\n\x1eUpdateSpaceNotificationSetting\x12\x35.google.chat.v1.UpdateSpaceNotificationSettingRequest\x1a(.google.chat.v1.SpaceNotificationSetting\"\x9c\x01\xda\x41&space_notification_setting,update_mask\x82\xd3\xe4\x93\x02m2O/v1/{space_notification_setting.name=users/*/spaces/*/spaceNotificationSetting}:\x1aspace_notification_setting\x1a\xd6\x0c\xca\x41\x13\x63hat.googleapis.com\xd2\x41\xbc\x0chttps://www.googleapis.com/auth/chat.admin.delete,https://www.googleapis.com/auth/chat.admin.memberships,https://www.googleapis.com/auth/chat.admin.memberships.readonly,https://www.googleapis.com/auth/chat.admin.spaces,https://www.googleapis.com/auth/chat.admin.spaces.readonly,https://www.googleapis.com/auth/chat.app.delete,https://www.googleapis.com/auth/chat.app.memberships,https://www.googleapis.com/auth/chat.app.messages.readonly,https://www.googleapis.com/auth/chat.app.spaces,https://www.googleapis.com/auth/chat.app.spaces.create,https://www.googleapis.com/auth/chat.bot,https://www.googleapis.com/auth/chat.customemojis,https://www.googleapis.com/auth/chat.customemojis.readonly,https://www.googleapis.com/auth/chat.delete,https://www.googleapis.com/auth/chat.import,https://www.googleapis.com/auth/chat.memberships,https://www.googleapis.com/auth/chat.memberships.app,https://www.googleapis.com/auth/chat.memberships.readonly,https://www.googleapis.com/auth/chat.messages,https://www.googleapis.com/auth/chat.messages.create,https://www.googleapis.com/auth/chat.messages.reactions,https://www.googleapis.com/auth/chat.messages.reactions.create,https://www.googleapis.com/auth/chat.messages.reactions.readonly,https://www.googleapis.com/auth/chat.messages.readonly,https://www.googleapis.com/auth/chat.spaces,https://www.googleapis.com/auth/chat.spaces.create,https://www.googleapis.com/auth/chat.spaces.readonly,https://www.googleapis.com/auth/chat.users.readstate,https://www.googleapis.com/auth/chat.users.readstate.readonly,https://www.googleapis.com/auth/chat.users.spacesettingsB\xa9\x01\n\x12\x63om.google.chat.v1B\x10\x43hatServiceProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
23
23
 
24
24
  pool = Google::Protobuf::DescriptorPool.generated_pool
25
25