xref: /aosp_15_r20/external/googleapis/google/chat/v1/chat_v1.yaml (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1type: google.api.Service
2config_version: 3
3name: chat.googleapis.com
4title: Google Chat API
5
6apis:
7- name: google.chat.v1.ChatService
8
9documentation:
10  summary: |-
11    The Google Chat API lets you build Chat apps to integrate your services
12    with Google Chat and manage Chat resources such as spaces, members, and
13    messages.
14
15authentication:
16  rules:
17  - selector: google.chat.v1.ChatService.CompleteImportSpace
18    oauth:
19      canonical_scopes: |-
20        https://www.googleapis.com/auth/chat.import
21  - selector: google.chat.v1.ChatService.CreateMembership
22    oauth:
23      canonical_scopes: |-
24        https://www.googleapis.com/auth/chat.import,
25        https://www.googleapis.com/auth/chat.memberships,
26        https://www.googleapis.com/auth/chat.memberships.app
27  - selector: google.chat.v1.ChatService.CreateMessage
28    oauth:
29      canonical_scopes: |-
30        https://www.googleapis.com/auth/chat.bot,
31        https://www.googleapis.com/auth/chat.import,
32        https://www.googleapis.com/auth/chat.messages,
33        https://www.googleapis.com/auth/chat.messages.create
34  - selector: google.chat.v1.ChatService.CreateReaction
35    oauth:
36      canonical_scopes: |-
37        https://www.googleapis.com/auth/chat.import,
38        https://www.googleapis.com/auth/chat.messages,
39        https://www.googleapis.com/auth/chat.messages.reactions,
40        https://www.googleapis.com/auth/chat.messages.reactions.create
41  - selector: google.chat.v1.ChatService.CreateSpace
42    oauth:
43      canonical_scopes: |-
44        https://www.googleapis.com/auth/chat.import,
45        https://www.googleapis.com/auth/chat.spaces,
46        https://www.googleapis.com/auth/chat.spaces.create
47  - selector: google.chat.v1.ChatService.DeleteMembership
48    oauth:
49      canonical_scopes: |-
50        https://www.googleapis.com/auth/chat.import,
51        https://www.googleapis.com/auth/chat.memberships,
52        https://www.googleapis.com/auth/chat.memberships.app
53  - selector: google.chat.v1.ChatService.DeleteMessage
54    oauth:
55      canonical_scopes: |-
56        https://www.googleapis.com/auth/chat.bot,
57        https://www.googleapis.com/auth/chat.import,
58        https://www.googleapis.com/auth/chat.messages
59  - selector: google.chat.v1.ChatService.DeleteReaction
60    oauth:
61      canonical_scopes: |-
62        https://www.googleapis.com/auth/chat.import,
63        https://www.googleapis.com/auth/chat.messages,
64        https://www.googleapis.com/auth/chat.messages.reactions
65  - selector: google.chat.v1.ChatService.DeleteSpace
66    oauth:
67      canonical_scopes: |-
68        https://www.googleapis.com/auth/chat.delete,
69        https://www.googleapis.com/auth/chat.import
70  - selector: google.chat.v1.ChatService.FindDirectMessage
71    oauth:
72      canonical_scopes: |-
73        https://www.googleapis.com/auth/chat.bot,
74        https://www.googleapis.com/auth/chat.spaces,
75        https://www.googleapis.com/auth/chat.spaces.readonly
76  - selector: google.chat.v1.ChatService.GetAttachment
77    oauth:
78      canonical_scopes: |-
79        https://www.googleapis.com/auth/chat.bot
80  - selector: google.chat.v1.ChatService.GetMembership
81    oauth:
82      canonical_scopes: |-
83        https://www.googleapis.com/auth/chat.bot,
84        https://www.googleapis.com/auth/chat.memberships,
85        https://www.googleapis.com/auth/chat.memberships.readonly
86  - selector: google.chat.v1.ChatService.GetMessage
87    oauth:
88      canonical_scopes: |-
89        https://www.googleapis.com/auth/chat.bot,
90        https://www.googleapis.com/auth/chat.messages,
91        https://www.googleapis.com/auth/chat.messages.readonly
92  - selector: google.chat.v1.ChatService.GetSpace
93    oauth:
94      canonical_scopes: |-
95        https://www.googleapis.com/auth/chat.bot,
96        https://www.googleapis.com/auth/chat.spaces,
97        https://www.googleapis.com/auth/chat.spaces.readonly
98  - selector: google.chat.v1.ChatService.ListMemberships
99    oauth:
100      canonical_scopes: |-
101        https://www.googleapis.com/auth/chat.bot,
102        https://www.googleapis.com/auth/chat.import,
103        https://www.googleapis.com/auth/chat.memberships,
104        https://www.googleapis.com/auth/chat.memberships.readonly
105  - selector: google.chat.v1.ChatService.ListMessages
106    oauth:
107      canonical_scopes: |-
108        https://www.googleapis.com/auth/chat.import,
109        https://www.googleapis.com/auth/chat.messages,
110        https://www.googleapis.com/auth/chat.messages.readonly
111  - selector: google.chat.v1.ChatService.ListReactions
112    oauth:
113      canonical_scopes: |-
114        https://www.googleapis.com/auth/chat.messages,
115        https://www.googleapis.com/auth/chat.messages.reactions,
116        https://www.googleapis.com/auth/chat.messages.reactions.readonly,
117        https://www.googleapis.com/auth/chat.messages.readonly
118  - selector: google.chat.v1.ChatService.ListSpaces
119    oauth:
120      canonical_scopes: |-
121        https://www.googleapis.com/auth/chat.bot,
122        https://www.googleapis.com/auth/chat.spaces,
123        https://www.googleapis.com/auth/chat.spaces.readonly
124  - selector: google.chat.v1.ChatService.SetUpSpace
125    oauth:
126      canonical_scopes: |-
127        https://www.googleapis.com/auth/chat.spaces,
128        https://www.googleapis.com/auth/chat.spaces.create
129  - selector: google.chat.v1.ChatService.UpdateMessage
130    oauth:
131      canonical_scopes: |-
132        https://www.googleapis.com/auth/chat.bot,
133        https://www.googleapis.com/auth/chat.import,
134        https://www.googleapis.com/auth/chat.messages
135  - selector: google.chat.v1.ChatService.UpdateSpace
136    oauth:
137      canonical_scopes: |-
138        https://www.googleapis.com/auth/chat.import,
139        https://www.googleapis.com/auth/chat.spaces
140  - selector: google.chat.v1.ChatService.UploadAttachment
141    oauth:
142      canonical_scopes: |-
143        https://www.googleapis.com/auth/chat.import,
144        https://www.googleapis.com/auth/chat.messages,
145        https://www.googleapis.com/auth/chat.messages.create
146
147publishing:
148  new_issue_uri: https://issuetracker.google.com/issues/new?component=350158&template=1047346
149  documentation_uri: https://developers.google.com/chat/concepts
150  api_short_name: chat
151  github_label: 'api: chat'
152  doc_tag_prefix: chat
153  organization: CLOUD
154  library_settings:
155  - version: google.chat.v1
156    launch_stage: GA
157    java_settings:
158      common:
159        destinations:
160        - PACKAGE_MANAGER
161    cpp_settings:
162      common:
163        destinations:
164        - PACKAGE_MANAGER
165    php_settings:
166      common:
167        destinations:
168        - PACKAGE_MANAGER
169    python_settings:
170      common:
171        destinations:
172        - PACKAGE_MANAGER
173    node_settings:
174      common:
175        destinations:
176        - PACKAGE_MANAGER
177    dotnet_settings:
178      common:
179        destinations:
180        - PACKAGE_MANAGER
181    ruby_settings:
182      common:
183        destinations:
184        - PACKAGE_MANAGER
185    go_settings:
186      common:
187        destinations:
188        - PACKAGE_MANAGER
189  proto_reference_documentation_uri: https://developers.google.com/chat/api/reference/rest
190