@google-apps/chat 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/build/protos/google/chat/v1/action_status.proto +1 -1
- package/build/protos/google/chat/v1/annotation.proto +1 -1
- package/build/protos/google/chat/v1/attachment.proto +1 -1
- package/build/protos/google/chat/v1/chat_service.proto +178 -12
- package/build/protos/google/chat/v1/contextual_addon.proto +1 -1
- package/build/protos/google/chat/v1/deletion_metadata.proto +1 -1
- package/build/protos/google/chat/v1/event_payload.proto +1 -1
- package/build/protos/google/chat/v1/group.proto +1 -1
- package/build/protos/google/chat/v1/history_state.proto +1 -1
- package/build/protos/google/chat/v1/matched_url.proto +1 -1
- package/build/protos/google/chat/v1/membership.proto +1 -1
- package/build/protos/google/chat/v1/message.proto +41 -0
- package/build/protos/google/chat/v1/reaction.proto +1 -1
- package/build/protos/google/chat/v1/section.proto +344 -0
- package/build/protos/google/chat/v1/slash_command.proto +1 -1
- package/build/protos/google/chat/v1/space.proto +81 -1
- package/build/protos/google/chat/v1/space_event.proto +1 -1
- package/build/protos/google/chat/v1/space_notification_setting.proto +1 -1
- package/build/protos/google/chat/v1/space_read_state.proto +1 -1
- package/build/protos/google/chat/v1/space_setup.proto +1 -1
- package/build/protos/google/chat/v1/thread_read_state.proto +1 -1
- package/build/protos/google/chat/v1/user.proto +1 -1
- package/build/protos/google/chat/v1/widgets.proto +1 -1
- package/build/protos/protos.d.ts +1982 -85
- package/build/protos/protos.js +5081 -693
- package/build/protos/protos.json +520 -2
- package/build/src/v1/chat_service_client.d.ts +797 -11
- package/build/src/v1/chat_service_client.js +744 -2
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/chat_service_client_config.json +40 -0
- package/build/src/v1/chat_service_proto_list.json +1 -0
- package/build/src/v1/gapic_metadata.json +92 -0
- package/package.json +10 -2
package/build/protos/protos.json
CHANGED
|
@@ -2741,7 +2741,9 @@
|
|
|
2741
2741
|
"java_package": "com.google.chat.v1",
|
|
2742
2742
|
"objc_class_prefix": "DYNAPIProto",
|
|
2743
2743
|
"php_namespace": "Google\\Apps\\Chat\\V1",
|
|
2744
|
-
"ruby_package": "Google::Apps::Chat::V1"
|
|
2744
|
+
"ruby_package": "Google::Apps::Chat::V1",
|
|
2745
|
+
"(google.api.resource_definition).type": "chat.googleapis.com/User",
|
|
2746
|
+
"(google.api.resource_definition).pattern": "users/{user}"
|
|
2745
2747
|
},
|
|
2746
2748
|
"nested": {
|
|
2747
2749
|
"ActionStatus": {
|
|
@@ -3497,7 +3499,7 @@
|
|
|
3497
3499
|
"ChatService": {
|
|
3498
3500
|
"options": {
|
|
3499
3501
|
"(google.api.default_host)": "chat.googleapis.com",
|
|
3500
|
-
"(google.api.oauth_scopes)": "https://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.spacesettings"
|
|
3502
|
+
"(google.api.oauth_scopes)": "https://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.memberships.readonly,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.app.spaces.readonly,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.sections,https://www.googleapis.com/auth/chat.users.sections.readonly,https://www.googleapis.com/auth/chat.users.spacesettings"
|
|
3501
3503
|
},
|
|
3502
3504
|
"methods": {
|
|
3503
3505
|
"CreateMessage": {
|
|
@@ -3828,6 +3830,20 @@
|
|
|
3828
3830
|
}
|
|
3829
3831
|
]
|
|
3830
3832
|
},
|
|
3833
|
+
"FindGroupChats": {
|
|
3834
|
+
"requestType": "FindGroupChatsRequest",
|
|
3835
|
+
"responseType": "FindGroupChatsResponse",
|
|
3836
|
+
"options": {
|
|
3837
|
+
"(google.api.http).get": "/v1/spaces:findGroupChats"
|
|
3838
|
+
},
|
|
3839
|
+
"parsedOptions": [
|
|
3840
|
+
{
|
|
3841
|
+
"(google.api.http)": {
|
|
3842
|
+
"get": "/v1/spaces:findGroupChats"
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
]
|
|
3846
|
+
},
|
|
3831
3847
|
"CreateMembership": {
|
|
3832
3848
|
"requestType": "CreateMembershipRequest",
|
|
3833
3849
|
"responseType": "Membership",
|
|
@@ -4145,6 +4161,136 @@
|
|
|
4145
4161
|
"(google.api.method_signature)": "space_notification_setting,update_mask"
|
|
4146
4162
|
}
|
|
4147
4163
|
]
|
|
4164
|
+
},
|
|
4165
|
+
"CreateSection": {
|
|
4166
|
+
"requestType": "CreateSectionRequest",
|
|
4167
|
+
"responseType": "Section",
|
|
4168
|
+
"options": {
|
|
4169
|
+
"(google.api.http).post": "/v1/{parent=users/*}/sections",
|
|
4170
|
+
"(google.api.http).body": "section",
|
|
4171
|
+
"(google.api.method_signature)": "parent,section"
|
|
4172
|
+
},
|
|
4173
|
+
"parsedOptions": [
|
|
4174
|
+
{
|
|
4175
|
+
"(google.api.http)": {
|
|
4176
|
+
"post": "/v1/{parent=users/*}/sections",
|
|
4177
|
+
"body": "section"
|
|
4178
|
+
}
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"(google.api.method_signature)": "parent,section"
|
|
4182
|
+
}
|
|
4183
|
+
]
|
|
4184
|
+
},
|
|
4185
|
+
"DeleteSection": {
|
|
4186
|
+
"requestType": "DeleteSectionRequest",
|
|
4187
|
+
"responseType": "google.protobuf.Empty",
|
|
4188
|
+
"options": {
|
|
4189
|
+
"(google.api.http).delete": "/v1/{name=users/*/sections/*}",
|
|
4190
|
+
"(google.api.method_signature)": "name"
|
|
4191
|
+
},
|
|
4192
|
+
"parsedOptions": [
|
|
4193
|
+
{
|
|
4194
|
+
"(google.api.http)": {
|
|
4195
|
+
"delete": "/v1/{name=users/*/sections/*}"
|
|
4196
|
+
}
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"(google.api.method_signature)": "name"
|
|
4200
|
+
}
|
|
4201
|
+
]
|
|
4202
|
+
},
|
|
4203
|
+
"UpdateSection": {
|
|
4204
|
+
"requestType": "UpdateSectionRequest",
|
|
4205
|
+
"responseType": "Section",
|
|
4206
|
+
"options": {
|
|
4207
|
+
"(google.api.http).patch": "/v1/{section.name=users/*/sections/*}",
|
|
4208
|
+
"(google.api.http).body": "section",
|
|
4209
|
+
"(google.api.method_signature)": "section,update_mask"
|
|
4210
|
+
},
|
|
4211
|
+
"parsedOptions": [
|
|
4212
|
+
{
|
|
4213
|
+
"(google.api.http)": {
|
|
4214
|
+
"patch": "/v1/{section.name=users/*/sections/*}",
|
|
4215
|
+
"body": "section"
|
|
4216
|
+
}
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"(google.api.method_signature)": "section,update_mask"
|
|
4220
|
+
}
|
|
4221
|
+
]
|
|
4222
|
+
},
|
|
4223
|
+
"ListSections": {
|
|
4224
|
+
"requestType": "ListSectionsRequest",
|
|
4225
|
+
"responseType": "ListSectionsResponse",
|
|
4226
|
+
"options": {
|
|
4227
|
+
"(google.api.http).get": "/v1/{parent=users/*}/sections",
|
|
4228
|
+
"(google.api.method_signature)": "parent"
|
|
4229
|
+
},
|
|
4230
|
+
"parsedOptions": [
|
|
4231
|
+
{
|
|
4232
|
+
"(google.api.http)": {
|
|
4233
|
+
"get": "/v1/{parent=users/*}/sections"
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
"(google.api.method_signature)": "parent"
|
|
4238
|
+
}
|
|
4239
|
+
]
|
|
4240
|
+
},
|
|
4241
|
+
"PositionSection": {
|
|
4242
|
+
"requestType": "PositionSectionRequest",
|
|
4243
|
+
"responseType": "PositionSectionResponse",
|
|
4244
|
+
"options": {
|
|
4245
|
+
"(google.api.http).post": "/v1/{name=users/*/sections/*}:position",
|
|
4246
|
+
"(google.api.http).body": "*"
|
|
4247
|
+
},
|
|
4248
|
+
"parsedOptions": [
|
|
4249
|
+
{
|
|
4250
|
+
"(google.api.http)": {
|
|
4251
|
+
"post": "/v1/{name=users/*/sections/*}:position",
|
|
4252
|
+
"body": "*"
|
|
4253
|
+
}
|
|
4254
|
+
}
|
|
4255
|
+
]
|
|
4256
|
+
},
|
|
4257
|
+
"ListSectionItems": {
|
|
4258
|
+
"requestType": "ListSectionItemsRequest",
|
|
4259
|
+
"responseType": "ListSectionItemsResponse",
|
|
4260
|
+
"options": {
|
|
4261
|
+
"(google.api.http).get": "/v1/{parent=users/*/sections/*}/items",
|
|
4262
|
+
"(google.api.method_signature)": "parent"
|
|
4263
|
+
},
|
|
4264
|
+
"parsedOptions": [
|
|
4265
|
+
{
|
|
4266
|
+
"(google.api.http)": {
|
|
4267
|
+
"get": "/v1/{parent=users/*/sections/*}/items"
|
|
4268
|
+
}
|
|
4269
|
+
},
|
|
4270
|
+
{
|
|
4271
|
+
"(google.api.method_signature)": "parent"
|
|
4272
|
+
}
|
|
4273
|
+
]
|
|
4274
|
+
},
|
|
4275
|
+
"MoveSectionItem": {
|
|
4276
|
+
"requestType": "MoveSectionItemRequest",
|
|
4277
|
+
"responseType": "MoveSectionItemResponse",
|
|
4278
|
+
"options": {
|
|
4279
|
+
"(google.api.http).post": "/v1/{name=users/*/sections/*/items/*}:move",
|
|
4280
|
+
"(google.api.http).body": "*",
|
|
4281
|
+
"(google.api.method_signature)": "name,target_section"
|
|
4282
|
+
},
|
|
4283
|
+
"parsedOptions": [
|
|
4284
|
+
{
|
|
4285
|
+
"(google.api.http)": {
|
|
4286
|
+
"post": "/v1/{name=users/*/sections/*/items/*}:move",
|
|
4287
|
+
"body": "*"
|
|
4288
|
+
}
|
|
4289
|
+
},
|
|
4290
|
+
{
|
|
4291
|
+
"(google.api.method_signature)": "name,target_section"
|
|
4292
|
+
}
|
|
4293
|
+
]
|
|
4148
4294
|
}
|
|
4149
4295
|
}
|
|
4150
4296
|
},
|
|
@@ -4538,6 +4684,13 @@
|
|
|
4538
4684
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4539
4685
|
}
|
|
4540
4686
|
},
|
|
4687
|
+
"silent": {
|
|
4688
|
+
"type": "bool",
|
|
4689
|
+
"id": 46,
|
|
4690
|
+
"options": {
|
|
4691
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4692
|
+
}
|
|
4693
|
+
},
|
|
4541
4694
|
"clientAssignedMessageId": {
|
|
4542
4695
|
"type": "string",
|
|
4543
4696
|
"id": 32,
|
|
@@ -4926,6 +5079,13 @@
|
|
|
4926
5079
|
"options": {
|
|
4927
5080
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
4928
5081
|
}
|
|
5082
|
+
},
|
|
5083
|
+
"createMessageNotificationOptions": {
|
|
5084
|
+
"type": "CreateMessageNotificationOptions",
|
|
5085
|
+
"id": 10,
|
|
5086
|
+
"options": {
|
|
5087
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
5088
|
+
}
|
|
4929
5089
|
}
|
|
4930
5090
|
},
|
|
4931
5091
|
"nested": {
|
|
@@ -4938,6 +5098,23 @@
|
|
|
4938
5098
|
}
|
|
4939
5099
|
}
|
|
4940
5100
|
},
|
|
5101
|
+
"CreateMessageNotificationOptions": {
|
|
5102
|
+
"fields": {
|
|
5103
|
+
"notificationType": {
|
|
5104
|
+
"type": "NotificationType",
|
|
5105
|
+
"id": 1
|
|
5106
|
+
}
|
|
5107
|
+
},
|
|
5108
|
+
"nested": {
|
|
5109
|
+
"NotificationType": {
|
|
5110
|
+
"values": {
|
|
5111
|
+
"NOTIFICATION_TYPE_NONE": 0,
|
|
5112
|
+
"NOTIFICATION_TYPE_FORCE_NOTIFY": 2,
|
|
5113
|
+
"NOTIFICATION_TYPE_SILENT": 3
|
|
5114
|
+
}
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5117
|
+
},
|
|
4941
5118
|
"ListMessagesRequest": {
|
|
4942
5119
|
"fields": {
|
|
4943
5120
|
"parent": {
|
|
@@ -5920,6 +6097,49 @@
|
|
|
5920
6097
|
}
|
|
5921
6098
|
}
|
|
5922
6099
|
},
|
|
6100
|
+
"FindGroupChatsRequest": {
|
|
6101
|
+
"fields": {
|
|
6102
|
+
"users": {
|
|
6103
|
+
"rule": "repeated",
|
|
6104
|
+
"type": "string",
|
|
6105
|
+
"id": 5,
|
|
6106
|
+
"options": {
|
|
6107
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6108
|
+
}
|
|
6109
|
+
},
|
|
6110
|
+
"pageSize": {
|
|
6111
|
+
"type": "int32",
|
|
6112
|
+
"id": 2,
|
|
6113
|
+
"options": {
|
|
6114
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6115
|
+
}
|
|
6116
|
+
},
|
|
6117
|
+
"pageToken": {
|
|
6118
|
+
"type": "string",
|
|
6119
|
+
"id": 3,
|
|
6120
|
+
"options": {
|
|
6121
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6122
|
+
}
|
|
6123
|
+
},
|
|
6124
|
+
"spaceView": {
|
|
6125
|
+
"type": "SpaceView",
|
|
6126
|
+
"id": 4
|
|
6127
|
+
}
|
|
6128
|
+
}
|
|
6129
|
+
},
|
|
6130
|
+
"FindGroupChatsResponse": {
|
|
6131
|
+
"fields": {
|
|
6132
|
+
"spaces": {
|
|
6133
|
+
"rule": "repeated",
|
|
6134
|
+
"type": "Space",
|
|
6135
|
+
"id": 1
|
|
6136
|
+
},
|
|
6137
|
+
"nextPageToken": {
|
|
6138
|
+
"type": "string",
|
|
6139
|
+
"id": 2
|
|
6140
|
+
}
|
|
6141
|
+
}
|
|
6142
|
+
},
|
|
5923
6143
|
"UpdateSpaceRequest": {
|
|
5924
6144
|
"fields": {
|
|
5925
6145
|
"space": {
|
|
@@ -6031,6 +6251,13 @@
|
|
|
6031
6251
|
}
|
|
6032
6252
|
}
|
|
6033
6253
|
},
|
|
6254
|
+
"SpaceView": {
|
|
6255
|
+
"values": {
|
|
6256
|
+
"SPACE_VIEW_UNSPECIFIED": 0,
|
|
6257
|
+
"SPACE_VIEW_RESOURCE_NAME_ONLY": 3,
|
|
6258
|
+
"SPACE_VIEW_EXPANDED": 4
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6034
6261
|
"HistoryState": {
|
|
6035
6262
|
"values": {
|
|
6036
6263
|
"HISTORY_STATE_UNSPECIFIED": 0,
|
|
@@ -6038,6 +6265,297 @@
|
|
|
6038
6265
|
"HISTORY_ON": 2
|
|
6039
6266
|
}
|
|
6040
6267
|
},
|
|
6268
|
+
"Section": {
|
|
6269
|
+
"options": {
|
|
6270
|
+
"(google.api.resource).type": "chat.googleapis.com/Section",
|
|
6271
|
+
"(google.api.resource).pattern": "users/{user}/sections/{section}",
|
|
6272
|
+
"(google.api.resource).plural": "sections",
|
|
6273
|
+
"(google.api.resource).singular": "section"
|
|
6274
|
+
},
|
|
6275
|
+
"fields": {
|
|
6276
|
+
"name": {
|
|
6277
|
+
"type": "string",
|
|
6278
|
+
"id": 1,
|
|
6279
|
+
"options": {
|
|
6280
|
+
"(google.api.field_behavior)": "IDENTIFIER"
|
|
6281
|
+
}
|
|
6282
|
+
},
|
|
6283
|
+
"displayName": {
|
|
6284
|
+
"type": "string",
|
|
6285
|
+
"id": 2,
|
|
6286
|
+
"options": {
|
|
6287
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6288
|
+
}
|
|
6289
|
+
},
|
|
6290
|
+
"sortOrder": {
|
|
6291
|
+
"type": "int32",
|
|
6292
|
+
"id": 3
|
|
6293
|
+
},
|
|
6294
|
+
"type": {
|
|
6295
|
+
"type": "SectionType",
|
|
6296
|
+
"id": 4,
|
|
6297
|
+
"options": {
|
|
6298
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6299
|
+
}
|
|
6300
|
+
}
|
|
6301
|
+
},
|
|
6302
|
+
"nested": {
|
|
6303
|
+
"SectionType": {
|
|
6304
|
+
"values": {
|
|
6305
|
+
"SECTION_TYPE_UNSPECIFIED": 0,
|
|
6306
|
+
"CUSTOM_SECTION": 1,
|
|
6307
|
+
"DEFAULT_DIRECT_MESSAGES": 2,
|
|
6308
|
+
"DEFAULT_SPACES": 3,
|
|
6309
|
+
"DEFAULT_APPS": 6
|
|
6310
|
+
}
|
|
6311
|
+
}
|
|
6312
|
+
}
|
|
6313
|
+
},
|
|
6314
|
+
"SectionItem": {
|
|
6315
|
+
"options": {
|
|
6316
|
+
"(google.api.resource).type": "chat.googleapis.com/SectionItem",
|
|
6317
|
+
"(google.api.resource).pattern": "users/{user}/sections/{section}/items/{item}",
|
|
6318
|
+
"(google.api.resource).plural": "sectionItems",
|
|
6319
|
+
"(google.api.resource).singular": "sectionItem"
|
|
6320
|
+
},
|
|
6321
|
+
"oneofs": {
|
|
6322
|
+
"item": {
|
|
6323
|
+
"oneof": [
|
|
6324
|
+
"space"
|
|
6325
|
+
]
|
|
6326
|
+
}
|
|
6327
|
+
},
|
|
6328
|
+
"fields": {
|
|
6329
|
+
"name": {
|
|
6330
|
+
"type": "string",
|
|
6331
|
+
"id": 1,
|
|
6332
|
+
"options": {
|
|
6333
|
+
"(google.api.field_behavior)": "IDENTIFIER"
|
|
6334
|
+
}
|
|
6335
|
+
},
|
|
6336
|
+
"space": {
|
|
6337
|
+
"type": "string",
|
|
6338
|
+
"id": 2,
|
|
6339
|
+
"options": {
|
|
6340
|
+
"(google.api.field_behavior)": "OPTIONAL",
|
|
6341
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/Space"
|
|
6342
|
+
}
|
|
6343
|
+
}
|
|
6344
|
+
}
|
|
6345
|
+
},
|
|
6346
|
+
"CreateSectionRequest": {
|
|
6347
|
+
"fields": {
|
|
6348
|
+
"parent": {
|
|
6349
|
+
"type": "string",
|
|
6350
|
+
"id": 1,
|
|
6351
|
+
"options": {
|
|
6352
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6353
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/User"
|
|
6354
|
+
}
|
|
6355
|
+
},
|
|
6356
|
+
"section": {
|
|
6357
|
+
"type": "Section",
|
|
6358
|
+
"id": 2,
|
|
6359
|
+
"options": {
|
|
6360
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6361
|
+
}
|
|
6362
|
+
}
|
|
6363
|
+
}
|
|
6364
|
+
},
|
|
6365
|
+
"DeleteSectionRequest": {
|
|
6366
|
+
"fields": {
|
|
6367
|
+
"name": {
|
|
6368
|
+
"type": "string",
|
|
6369
|
+
"id": 1,
|
|
6370
|
+
"options": {
|
|
6371
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6372
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/Section"
|
|
6373
|
+
}
|
|
6374
|
+
}
|
|
6375
|
+
}
|
|
6376
|
+
},
|
|
6377
|
+
"UpdateSectionRequest": {
|
|
6378
|
+
"fields": {
|
|
6379
|
+
"section": {
|
|
6380
|
+
"type": "Section",
|
|
6381
|
+
"id": 1,
|
|
6382
|
+
"options": {
|
|
6383
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6384
|
+
}
|
|
6385
|
+
},
|
|
6386
|
+
"updateMask": {
|
|
6387
|
+
"type": "google.protobuf.FieldMask",
|
|
6388
|
+
"id": 2,
|
|
6389
|
+
"options": {
|
|
6390
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
6391
|
+
}
|
|
6392
|
+
}
|
|
6393
|
+
}
|
|
6394
|
+
},
|
|
6395
|
+
"ListSectionsRequest": {
|
|
6396
|
+
"fields": {
|
|
6397
|
+
"parent": {
|
|
6398
|
+
"type": "string",
|
|
6399
|
+
"id": 1,
|
|
6400
|
+
"options": {
|
|
6401
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6402
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/User"
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6405
|
+
"pageSize": {
|
|
6406
|
+
"type": "int32",
|
|
6407
|
+
"id": 2,
|
|
6408
|
+
"options": {
|
|
6409
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6410
|
+
}
|
|
6411
|
+
},
|
|
6412
|
+
"pageToken": {
|
|
6413
|
+
"type": "string",
|
|
6414
|
+
"id": 3,
|
|
6415
|
+
"options": {
|
|
6416
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6417
|
+
}
|
|
6418
|
+
}
|
|
6419
|
+
}
|
|
6420
|
+
},
|
|
6421
|
+
"ListSectionsResponse": {
|
|
6422
|
+
"fields": {
|
|
6423
|
+
"sections": {
|
|
6424
|
+
"rule": "repeated",
|
|
6425
|
+
"type": "Section",
|
|
6426
|
+
"id": 1
|
|
6427
|
+
},
|
|
6428
|
+
"nextPageToken": {
|
|
6429
|
+
"type": "string",
|
|
6430
|
+
"id": 2
|
|
6431
|
+
}
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"PositionSectionRequest": {
|
|
6435
|
+
"oneofs": {
|
|
6436
|
+
"position": {
|
|
6437
|
+
"oneof": [
|
|
6438
|
+
"sortOrder",
|
|
6439
|
+
"relativePosition"
|
|
6440
|
+
]
|
|
6441
|
+
}
|
|
6442
|
+
},
|
|
6443
|
+
"fields": {
|
|
6444
|
+
"name": {
|
|
6445
|
+
"type": "string",
|
|
6446
|
+
"id": 1,
|
|
6447
|
+
"options": {
|
|
6448
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6449
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/Section"
|
|
6450
|
+
}
|
|
6451
|
+
},
|
|
6452
|
+
"sortOrder": {
|
|
6453
|
+
"type": "int32",
|
|
6454
|
+
"id": 2,
|
|
6455
|
+
"options": {
|
|
6456
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6457
|
+
}
|
|
6458
|
+
},
|
|
6459
|
+
"relativePosition": {
|
|
6460
|
+
"type": "Position",
|
|
6461
|
+
"id": 3,
|
|
6462
|
+
"options": {
|
|
6463
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
"nested": {
|
|
6468
|
+
"Position": {
|
|
6469
|
+
"values": {
|
|
6470
|
+
"POSITION_UNSPECIFIED": 0,
|
|
6471
|
+
"START": 1,
|
|
6472
|
+
"END": 2
|
|
6473
|
+
}
|
|
6474
|
+
}
|
|
6475
|
+
}
|
|
6476
|
+
},
|
|
6477
|
+
"PositionSectionResponse": {
|
|
6478
|
+
"fields": {
|
|
6479
|
+
"section": {
|
|
6480
|
+
"type": "Section",
|
|
6481
|
+
"id": 1
|
|
6482
|
+
}
|
|
6483
|
+
}
|
|
6484
|
+
},
|
|
6485
|
+
"ListSectionItemsRequest": {
|
|
6486
|
+
"fields": {
|
|
6487
|
+
"parent": {
|
|
6488
|
+
"type": "string",
|
|
6489
|
+
"id": 1,
|
|
6490
|
+
"options": {
|
|
6491
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6492
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/Section"
|
|
6493
|
+
}
|
|
6494
|
+
},
|
|
6495
|
+
"pageSize": {
|
|
6496
|
+
"type": "int32",
|
|
6497
|
+
"id": 2,
|
|
6498
|
+
"options": {
|
|
6499
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6500
|
+
}
|
|
6501
|
+
},
|
|
6502
|
+
"pageToken": {
|
|
6503
|
+
"type": "string",
|
|
6504
|
+
"id": 3,
|
|
6505
|
+
"options": {
|
|
6506
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6507
|
+
}
|
|
6508
|
+
},
|
|
6509
|
+
"filter": {
|
|
6510
|
+
"type": "string",
|
|
6511
|
+
"id": 4,
|
|
6512
|
+
"options": {
|
|
6513
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
6514
|
+
}
|
|
6515
|
+
}
|
|
6516
|
+
}
|
|
6517
|
+
},
|
|
6518
|
+
"ListSectionItemsResponse": {
|
|
6519
|
+
"fields": {
|
|
6520
|
+
"sectionItems": {
|
|
6521
|
+
"rule": "repeated",
|
|
6522
|
+
"type": "SectionItem",
|
|
6523
|
+
"id": 1
|
|
6524
|
+
},
|
|
6525
|
+
"nextPageToken": {
|
|
6526
|
+
"type": "string",
|
|
6527
|
+
"id": 2
|
|
6528
|
+
}
|
|
6529
|
+
}
|
|
6530
|
+
},
|
|
6531
|
+
"MoveSectionItemRequest": {
|
|
6532
|
+
"fields": {
|
|
6533
|
+
"name": {
|
|
6534
|
+
"type": "string",
|
|
6535
|
+
"id": 1,
|
|
6536
|
+
"options": {
|
|
6537
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6538
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/SectionItem"
|
|
6539
|
+
}
|
|
6540
|
+
},
|
|
6541
|
+
"targetSection": {
|
|
6542
|
+
"type": "string",
|
|
6543
|
+
"id": 2,
|
|
6544
|
+
"options": {
|
|
6545
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
6546
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/Section"
|
|
6547
|
+
}
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
},
|
|
6551
|
+
"MoveSectionItemResponse": {
|
|
6552
|
+
"fields": {
|
|
6553
|
+
"sectionItem": {
|
|
6554
|
+
"type": "SectionItem",
|
|
6555
|
+
"id": 1
|
|
6556
|
+
}
|
|
6557
|
+
}
|
|
6558
|
+
},
|
|
6041
6559
|
"SpaceEvent": {
|
|
6042
6560
|
"options": {
|
|
6043
6561
|
"(google.api.resource).type": "chat.googleapis.com/SpaceEvent",
|