google-apps-chat-v1 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/apps/chat/v1/chat_service/client.rb +3663 -0
  6. data/lib/google/apps/chat/v1/chat_service/credentials.rb +63 -0
  7. data/lib/google/apps/chat/v1/chat_service/paths.rb +191 -0
  8. data/lib/google/apps/chat/v1/chat_service/rest/client.rb +3487 -0
  9. data/lib/google/apps/chat/v1/chat_service/rest/service_stub.rb +1614 -0
  10. data/lib/google/apps/chat/v1/chat_service/rest.rb +53 -0
  11. data/lib/google/apps/chat/v1/chat_service.rb +56 -0
  12. data/lib/google/apps/chat/v1/rest.rb +37 -0
  13. data/lib/google/apps/chat/v1/version.rb +7 -2
  14. data/lib/google/apps/chat/v1.rb +45 -0
  15. data/lib/google/chat/v1/action_status_pb.rb +44 -0
  16. data/lib/google/chat/v1/annotation_pb.rb +55 -0
  17. data/lib/google/chat/v1/attachment_pb.rb +51 -0
  18. data/lib/google/chat/v1/chat_service_pb.rb +53 -0
  19. data/lib/google/chat/v1/chat_service_services_pb.rb +359 -0
  20. data/lib/google/chat/v1/contextual_addon_pb.rb +50 -0
  21. data/lib/google/chat/v1/deletion_metadata_pb.rb +43 -0
  22. data/lib/google/chat/v1/group_pb.rb +42 -0
  23. data/lib/google/chat/v1/history_state_pb.rb +42 -0
  24. data/lib/google/chat/v1/matched_url_pb.rb +44 -0
  25. data/lib/google/chat/v1/membership_pb.rb +61 -0
  26. data/lib/google/chat/v1/message_pb.rb +89 -0
  27. data/lib/google/chat/v1/reaction_pb.rb +54 -0
  28. data/lib/google/chat/v1/slash_command_pb.rb +42 -0
  29. data/lib/google/chat/v1/space_pb.rb +63 -0
  30. data/lib/google/chat/v1/space_read_state_pb.rb +51 -0
  31. data/lib/google/chat/v1/space_setup_pb.rb +48 -0
  32. data/lib/google/chat/v1/thread_read_state_pb.rb +48 -0
  33. data/lib/google/chat/v1/user_pb.rb +46 -0
  34. data/lib/google/chat/v1/widgets_pb.rb +53 -0
  35. data/lib/google-apps-chat-v1.rb +21 -0
  36. data/proto_docs/README.md +4 -0
  37. data/proto_docs/google/api/client.rb +399 -0
  38. data/proto_docs/google/api/field_behavior.rb +85 -0
  39. data/proto_docs/google/api/launch_stage.rb +71 -0
  40. data/proto_docs/google/api/resource.rb +222 -0
  41. data/proto_docs/google/apps/card/v1/card.rb +2076 -0
  42. data/proto_docs/google/chat/v1/action_status.rb +40 -0
  43. data/proto_docs/google/chat/v1/annotation.rb +186 -0
  44. data/proto_docs/google/chat/v1/attachment.rb +131 -0
  45. data/proto_docs/google/chat/v1/contextual_addon.rb +120 -0
  46. data/proto_docs/google/chat/v1/deletion_metadata.rb +60 -0
  47. data/proto_docs/google/chat/v1/group.rb +41 -0
  48. data/proto_docs/google/chat/v1/history_state.rb +42 -0
  49. data/proto_docs/google/chat/v1/matched_url.rb +37 -0
  50. data/proto_docs/google/chat/v1/membership.rb +294 -0
  51. data/proto_docs/google/chat/v1/message.rb +657 -0
  52. data/proto_docs/google/chat/v1/reaction.rb +185 -0
  53. data/proto_docs/google/chat/v1/slash_command.rb +37 -0
  54. data/proto_docs/google/chat/v1/space.rb +382 -0
  55. data/proto_docs/google/chat/v1/space_read_state.rb +104 -0
  56. data/proto_docs/google/chat/v1/space_setup.rb +92 -0
  57. data/proto_docs/google/chat/v1/thread_read_state.rb +66 -0
  58. data/proto_docs/google/chat/v1/user.rb +84 -0
  59. data/proto_docs/google/chat/v1/widgets.rb +293 -0
  60. data/proto_docs/google/protobuf/duration.rb +98 -0
  61. data/proto_docs/google/protobuf/empty.rb +34 -0
  62. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  63. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  64. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  65. data/proto_docs/google/rpc/code.rb +185 -0
  66. data/proto_docs/google/type/color.rb +173 -0
  67. metadata +128 -10
@@ -0,0 +1,89 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/message.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/apps/card/v1/card_pb'
10
+ require 'google/chat/v1/action_status_pb'
11
+ require 'google/chat/v1/annotation_pb'
12
+ require 'google/chat/v1/attachment_pb'
13
+ require 'google/chat/v1/contextual_addon_pb'
14
+ require 'google/chat/v1/deletion_metadata_pb'
15
+ require 'google/chat/v1/matched_url_pb'
16
+ require 'google/chat/v1/reaction_pb'
17
+ require 'google/chat/v1/slash_command_pb'
18
+ require 'google/chat/v1/space_pb'
19
+ require 'google/chat/v1/user_pb'
20
+ require 'google/protobuf/field_mask_pb'
21
+ require 'google/protobuf/timestamp_pb'
22
+
23
+
24
+ descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\n\n\x07Message\x12\x0c\n\x04name\x18\x01 \x01(\t\x12)\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12\x37\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x1b\n\x0e\x66ormatted_text\x18+ \x01(\tB\x03\xe0\x41\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12,\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithId\x12\x34\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12$\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.Space\x12\x15\n\rfallback_text\x18\r \x01(\t\x12<\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x03\xe0\x41\x04\x12\x1a\n\rargument_text\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x38\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x03\xe0\x41\x03\x12.\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.Attachment\x12\x34\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x03\xe0\x41\x03\x12\x19\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x03\xe0\x41\x03\x12\"\n\x1a\x63lient_assigned_message_id\x18 \x01(\t\x12K\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x03\xe0\x41\x03\x12\x39\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x05\x12@\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x03\xe0\x41\x03\x12K\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x03\xe0\x41\x03\x12\x37\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x03\xe0\x41\x03\x12:\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidget:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\"\x1f\n\x0b\x41ttachedGif\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\x89\x02\n\x15QuotedMessageMetadata\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"q\n\x06Thread\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\nthread_key\x18\x03 \x01(\tB\x03\xe0\x41\x01:@\xea\x41=\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}\"\xd2\x04\n\x0e\x41\x63tionResponse\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x03\xe0\x41\x04\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x38\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x03\xe0\x41\x04\x12I\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x03\xe0\x41\x04\x1aR\n\x0eSelectionItems\x12@\n\x05items\x18\x01 \x03(\x0b\x32\x31.google.apps.card.v1.SelectionInput.SelectionItem\x1aw\n\rUpdatedWidget\x12\x44\n\x0bsuggestions\x18\x01 \x01(\x0b\x32-.google.chat.v1.ActionResponse.SelectionItemsH\x00\x12\x0e\n\x06widget\x18\x02 \x01(\tB\x10\n\x0eupdated_widget\"\x9b\x01\n\x0cResponseType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEW_MESSAGE\x10\x01\x12\x12\n\x0eUPDATE_MESSAGE\x10\x02\x12\x1d\n\x19UPDATE_USER_MESSAGE_CARDS\x10\x06\x12\x12\n\x0eREQUEST_CONFIG\x10\x03\x12\n\n\x06\x44IALOG\x10\x04\x12\x11\n\rUPDATE_WIDGET\x10\x07\"S\n\x0f\x41\x63\x63\x65ssoryWidget\x12\x36\n\x0b\x62utton_list\x18\x01 \x01(\x0b\x32\x1f.google.apps.card.v1.ButtonListH\x00\x42\x08\n\x06\x61\x63tion\"F\n\x11GetMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"X\n\x14\x44\x65leteMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x92\x01\n\x14UpdateMessageRequest\x12-\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa4\x03\n\x14\x43reateMessageRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12-\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x19\n\nthread_key\x18\x06 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x03\xe0\x41\x01\x12\x17\n\nmessage_id\x18\t \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x12MessageReplyOption\x12$\n MESSAGE_REPLY_OPTION_UNSPECIFIED\x10\x00\x12(\n$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\x10\x01\x12\x19\n\x15REPLY_MESSAGE_OR_FAIL\x10\x02\"\xa9\x01\n\x13ListMessagesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x06 \x01(\x08\"Z\n\x14ListMessagesResponse\x12)\n\x08messages\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Message\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x81\x01\n\x0c\x44ialogAction\x12-\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x03\xe0\x41\x04H\x00\x12\x38\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x03\xe0\x41\x04\x42\x08\n\x06\x61\x63tion\"6\n\x06\x44ialog\x12,\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x03\xe0\x41\x04\"F\n\nCardWithId\x12\x0f\n\x07\x63\x61rd_id\x18\x01 \x01(\t\x12\'\n\x04\x63\x61rd\x18\x02 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x97\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
25
+
26
+ pool = Google::Protobuf::DescriptorPool.generated_pool
27
+
28
+ begin
29
+ pool.add_serialized_file(descriptor_data)
30
+ rescue TypeError
31
+ # Compatibility code: will be removed in the next major version.
32
+ require 'google/protobuf/descriptor_pb'
33
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
34
+ parsed.clear_dependency
35
+ serialized = parsed.class.encode(parsed)
36
+ file = pool.add_serialized_file(serialized)
37
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
38
+ imports = [
39
+ ["google.chat.v1.User", "google/chat/v1/user.proto"],
40
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
41
+ ["google.chat.v1.ContextualAddOnMarkup.Card", "google/chat/v1/contextual_addon.proto"],
42
+ ["google.chat.v1.Annotation", "google/chat/v1/annotation.proto"],
43
+ ["google.chat.v1.Space", "google/chat/v1/space.proto"],
44
+ ["google.chat.v1.SlashCommand", "google/chat/v1/slash_command.proto"],
45
+ ["google.chat.v1.Attachment", "google/chat/v1/attachment.proto"],
46
+ ["google.chat.v1.MatchedUrl", "google/chat/v1/matched_url.proto"],
47
+ ["google.chat.v1.EmojiReactionSummary", "google/chat/v1/reaction.proto"],
48
+ ["google.chat.v1.DeletionMetadata", "google/chat/v1/deletion_metadata.proto"],
49
+ ["google.apps.card.v1.SelectionInput.SelectionItem", "google/apps/card/v1/card.proto"],
50
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
51
+ ["google.chat.v1.ActionStatus", "google/chat/v1/action_status.proto"],
52
+ ]
53
+ imports.each do |type_name, expected_filename|
54
+ import_file = pool.lookup(type_name).file_descriptor
55
+ if import_file.name != expected_filename
56
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
57
+ end
58
+ end
59
+ warn "Each proto file must use a consistent fully-qualified name."
60
+ warn "This will become an error in the next major version."
61
+ end
62
+
63
+ module Google
64
+ module Apps
65
+ module Chat
66
+ module V1
67
+ Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Message").msgclass
68
+ AttachedGif = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.AttachedGif").msgclass
69
+ QuotedMessageMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.QuotedMessageMetadata").msgclass
70
+ Thread = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Thread").msgclass
71
+ ActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ActionResponse").msgclass
72
+ ActionResponse::SelectionItems = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ActionResponse.SelectionItems").msgclass
73
+ ActionResponse::UpdatedWidget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ActionResponse.UpdatedWidget").msgclass
74
+ ActionResponse::ResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ActionResponse.ResponseType").enummodule
75
+ AccessoryWidget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.AccessoryWidget").msgclass
76
+ GetMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.GetMessageRequest").msgclass
77
+ DeleteMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DeleteMessageRequest").msgclass
78
+ UpdateMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.UpdateMessageRequest").msgclass
79
+ CreateMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CreateMessageRequest").msgclass
80
+ CreateMessageRequest::MessageReplyOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CreateMessageRequest.MessageReplyOption").enummodule
81
+ ListMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListMessagesRequest").msgclass
82
+ ListMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListMessagesResponse").msgclass
83
+ DialogAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DialogAction").msgclass
84
+ Dialog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Dialog").msgclass
85
+ CardWithId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CardWithId").msgclass
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/reaction.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/chat/v1/user_pb'
10
+
11
+
12
+ descriptor_data = "\n\x1dgoogle/chat/v1/reaction.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x19google/chat/v1/user.proto\"\xc2\x01\n\x08Reaction\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x04user\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12$\n\x05\x65moji\x18\x03 \x01(\x0b\x32\x15.google.chat.v1.Emoji:Y\xea\x41V\n\x1c\x63hat.googleapis.com/Reaction\x12\x36spaces/{space}/messages/{message}/reactions/{reaction}\"_\n\x05\x45moji\x12\x11\n\x07unicode\x18\x01 \x01(\tH\x00\x12\x38\n\x0c\x63ustom_emoji\x18\x02 \x01(\x0b\x32\x1b.google.chat.v1.CustomEmojiB\x03\xe0\x41\x03H\x00\x42\t\n\x07\x63ontent\"\x1a\n\x0b\x43ustomEmoji\x12\x0b\n\x03uid\x18\x01 \x01(\t\"l\n\x14\x45mojiReactionSummary\x12$\n\x05\x65moji\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.Emoji\x12\x1b\n\x0ereaction_count\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\x11\n\x0f_reaction_count\"~\n\x15\x43reateReactionRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12/\n\x08reaction\x18\x02 \x01(\x0b\x32\x18.google.chat.v1.ReactionB\x03\xe0\x41\x02\"\x92\x01\n\x14ListReactionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1c\x63hat.googleapis.com/Reaction\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"]\n\x15ListReactionsResponse\x12+\n\treactions\x18\x01 \x03(\x0b\x32\x18.google.chat.v1.Reaction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"K\n\x15\x44\x65leteReactionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1c\x63hat.googleapis.com/ReactionB\x98\x01\n\x12\x63om.google.chat.v1B\rReactionProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.chat.v1.User", "google/chat/v1/user.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Apps
41
+ module Chat
42
+ module V1
43
+ Reaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Reaction").msgclass
44
+ Emoji = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Emoji").msgclass
45
+ CustomEmoji = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CustomEmoji").msgclass
46
+ EmojiReactionSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.EmojiReactionSummary").msgclass
47
+ CreateReactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CreateReactionRequest").msgclass
48
+ ListReactionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListReactionsRequest").msgclass
49
+ ListReactionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListReactionsResponse").msgclass
50
+ DeleteReactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DeleteReactionRequest").msgclass
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/slash_command.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\"google/chat/v1/slash_command.proto\x12\x0egoogle.chat.v1\"\"\n\x0cSlashCommand\x12\x12\n\ncommand_id\x18\x01 \x01(\x03\x42\x9c\x01\n\x12\x63om.google.chat.v1B\x11SlashCommandProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
29
+ end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
32
+ end
33
+
34
+ module Google
35
+ module Apps
36
+ module Chat
37
+ module V1
38
+ SlashCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SlashCommand").msgclass
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/space.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/chat/v1/history_state_pb'
10
+ require 'google/protobuf/field_mask_pb'
11
+ require 'google/protobuf/timestamp_pb'
12
+
13
+
14
+ descriptor_data = "\n\x1agoogle/chat/v1/space.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/chat/v1/history_state.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9b\x07\n\x05Space\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x04type\x18\x02 \x01(\x0e\x32\x1a.google.chat.v1.Space.TypeB\x05\x18\x01\xe0\x41\x03\x12\x33\n\nspace_type\x18\n \x01(\x0e\x32\x1f.google.chat.v1.Space.SpaceType\x12\x1f\n\x12single_user_bot_dm\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\x08threaded\x18\x05 \x01(\x08\x42\x05\x18\x01\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\"\n\x15\x65xternal_user_allowed\x18\x08 \x01(\x08\x42\x03\xe0\x41\x05\x12M\n\x15space_threading_state\x18\t \x01(\x0e\x32).google.chat.v1.Space.SpaceThreadingStateB\x03\xe0\x41\x03\x12\x39\n\rspace_details\x18\x0b \x01(\x0b\x32\".google.chat.v1.Space.SpaceDetails\x12\x39\n\x13space_history_state\x18\r \x01(\x0e\x32\x1c.google.chat.v1.HistoryState\x12\x18\n\x0bimport_mode\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12\x37\n\x0b\x63reate_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x1c\n\x0f\x61\x64min_installed\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x1a\x37\n\x0cSpaceDetails\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x12\n\nguidelines\x18\x02 \x01(\t\".\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04ROOM\x10\x01\x12\x06\n\x02\x44M\x10\x02\"V\n\tSpaceType\x12\x1a\n\x16SPACE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nGROUP_CHAT\x10\x02\x12\x12\n\x0e\x44IRECT_MESSAGE\x10\x03\"\x82\x01\n\x13SpaceThreadingState\x12%\n!SPACE_THREADING_STATE_UNSPECIFIED\x10\x00\x12\x15\n\x11THREADED_MESSAGES\x10\x02\x12\x14\n\x10GROUPED_MESSAGES\x10\x03\x12\x17\n\x13UNTHREADED_MESSAGES\x10\x04:.\xea\x41+\n\x19\x63hat.googleapis.com/Space\x12\x0espaces/{space}\"X\n\x12\x43reateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Y\n\x11ListSpacesRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\"T\n\x12ListSpacesResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.google.chat.v1.Space\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"B\n\x0fGetSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"-\n\x18\x46indDirectMessageRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"p\n\x12UpdateSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"E\n\x12\x44\x65leteSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"M\n\x1a\x43ompleteImportSpaceRequest\x12/\n\x04name\x18\x01 \x01(\tB!\xe0\x41\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\"C\n\x1b\x43ompleteImportSpaceResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x95\x01\n\x12\x63om.google.chat.v1B\nSpaceProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
+ end
37
+ end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
40
+ end
41
+
42
+ module Google
43
+ module Apps
44
+ module Chat
45
+ module V1
46
+ Space = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space").msgclass
47
+ Space::SpaceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.SpaceDetails").msgclass
48
+ Space::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.Type").enummodule
49
+ Space::SpaceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.SpaceType").enummodule
50
+ Space::SpaceThreadingState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Space.SpaceThreadingState").enummodule
51
+ CreateSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CreateSpaceRequest").msgclass
52
+ ListSpacesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListSpacesRequest").msgclass
53
+ ListSpacesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ListSpacesResponse").msgclass
54
+ GetSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.GetSpaceRequest").msgclass
55
+ FindDirectMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.FindDirectMessageRequest").msgclass
56
+ UpdateSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.UpdateSpaceRequest").msgclass
57
+ DeleteSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.DeleteSpaceRequest").msgclass
58
+ CompleteImportSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CompleteImportSpaceRequest").msgclass
59
+ CompleteImportSpaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CompleteImportSpaceResponse").msgclass
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/space_read_state.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+
12
+
13
+ descriptor_data = "\n%google/chat/v1/space_read_state.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbc\x01\n\x0eSpaceReadState\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x0elast_read_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01:c\xea\x41`\n\"chat.googleapis.com/SpaceReadState\x12*users/{user}/spaces/{space}/spaceReadState2\x0espaceReadState\"T\n\x18GetSpaceReadStateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"chat.googleapis.com/SpaceReadState\"\x92\x01\n\x1bUpdateSpaceReadStateRequest\x12=\n\x10space_read_state\x18\x01 \x01(\x0b\x32\x1e.google.chat.v1.SpaceReadStateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x42\x9e\x01\n\x12\x63om.google.chat.v1B\x13SpaceReadStateProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
+ end
36
+ end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
39
+ end
40
+
41
+ module Google
42
+ module Apps
43
+ module Chat
44
+ module V1
45
+ SpaceReadState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SpaceReadState").msgclass
46
+ GetSpaceReadStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.GetSpaceReadStateRequest").msgclass
47
+ UpdateSpaceReadStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.UpdateSpaceReadStateRequest").msgclass
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/space_setup.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/chat/v1/membership_pb'
9
+ require 'google/chat/v1/space_pb'
10
+
11
+
12
+ descriptor_data = "\n google/chat/v1/space_setup.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/chat/v1/membership.proto\x1a\x1agoogle/chat/v1/space.proto\"\x8d\x01\n\x11SetUpSpaceRequest\x12)\n\x05space\x18\x01 \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0bmemberships\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.MembershipB\x03\xe0\x41\x01\x42\x9a\x01\n\x12\x63om.google.chat.v1B\x0fSpaceSetupProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.chat.v1.Space", "google/chat/v1/space.proto"],
28
+ ["google.chat.v1.Membership", "google/chat/v1/membership.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
+ end
35
+ end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
38
+ end
39
+
40
+ module Google
41
+ module Apps
42
+ module Chat
43
+ module V1
44
+ SetUpSpaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.SetUpSpaceRequest").msgclass
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/thread_read_state.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n&google/chat/v1/thread_read_state.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x01\n\x0fThreadReadState\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x32\n\x0elast_read_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:w\xea\x41t\n#chat.googleapis.com/ThreadReadState\x12<users/{user}/spaces/{space}/threads/{thread}/threadReadState2\x0fthreadReadState\"V\n\x19GetThreadReadStateRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#chat.googleapis.com/ThreadReadStateB\x9f\x01\n\x12\x63om.google.chat.v1B\x14ThreadReadStateProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Apps
41
+ module Chat
42
+ module V1
43
+ ThreadReadState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ThreadReadState").msgclass
44
+ GetThreadReadStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.GetThreadReadStateRequest").msgclass
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/user.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n\x19google/chat/v1/user.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xb8\x01\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\tdomain_id\x18\x06 \x01(\t\x12\'\n\x04type\x18\x05 \x01(\x0e\x32\x19.google.chat.v1.User.Type\x12\x19\n\x0cis_anonymous\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05HUMAN\x10\x01\x12\x07\n\x03\x42OT\x10\x02\x42\x94\x01\n\x12\x63om.google.chat.v1B\tUserProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Apps
39
+ module Chat
40
+ module V1
41
+ User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.User").msgclass
42
+ User::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.User.Type").enummodule
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/chat/v1/widgets.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\x1cgoogle/chat/v1/widgets.proto\x12\x0egoogle.chat.v1\"\xf5\x0e\n\x0cWidgetMarkup\x12\x44\n\x0etext_paragraph\x18\x01 \x01(\x0b\x32*.google.chat.v1.WidgetMarkup.TextParagraphH\x00\x12\x33\n\x05image\x18\x02 \x01(\x0b\x32\".google.chat.v1.WidgetMarkup.ImageH\x00\x12:\n\tkey_value\x18\x03 \x01(\x0b\x32%.google.chat.v1.WidgetMarkup.KeyValueH\x00\x12\x34\n\x07\x62uttons\x18\x06 \x03(\x0b\x32#.google.chat.v1.WidgetMarkup.Button\x1a\x1d\n\rTextParagraph\x12\x0c\n\x04text\x18\x01 \x01(\t\x1a\x92\x01\n\x06\x42utton\x12>\n\x0btext_button\x18\x01 \x01(\x0b\x32\'.google.chat.v1.WidgetMarkup.TextButtonH\x00\x12@\n\x0cimage_button\x18\x02 \x01(\x0b\x32(.google.chat.v1.WidgetMarkup.ImageButtonH\x00\x42\x06\n\x04type\x1aR\n\nTextButton\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x36\n\x08on_click\x18\x02 \x01(\x0b\x32$.google.chat.v1.WidgetMarkup.OnClick\x1a\xa9\x02\n\x08KeyValue\x12\x31\n\x04icon\x18\x01 \x01(\x0e\x32!.google.chat.v1.WidgetMarkup.IconH\x00\x12\x12\n\x08icon_url\x18\x02 \x01(\tH\x00\x12\x11\n\ttop_label\x18\x03 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x04 \x01(\t\x12\x19\n\x11\x63ontent_multiline\x18\t \x01(\x08\x12\x14\n\x0c\x62ottom_label\x18\x05 \x01(\t\x12\x36\n\x08on_click\x18\x06 \x01(\x0b\x32$.google.chat.v1.WidgetMarkup.OnClick\x12\x35\n\x06\x62utton\x18\x07 \x01(\x0b\x32#.google.chat.v1.WidgetMarkup.ButtonH\x01\x42\x07\n\x05iconsB\t\n\x07\x63ontrol\x1ah\n\x05Image\x12\x11\n\timage_url\x18\x01 \x01(\t\x12\x36\n\x08on_click\x18\x02 \x01(\x0b\x32$.google.chat.v1.WidgetMarkup.OnClick\x12\x14\n\x0c\x61spect_ratio\x18\x03 \x01(\x01\x1a\xa3\x01\n\x0bImageButton\x12\x31\n\x04icon\x18\x01 \x01(\x0e\x32!.google.chat.v1.WidgetMarkup.IconH\x00\x12\x12\n\x08icon_url\x18\x03 \x01(\tH\x00\x12\x36\n\x08on_click\x18\x02 \x01(\x0b\x32$.google.chat.v1.WidgetMarkup.OnClick\x12\x0c\n\x04name\x18\x04 \x01(\tB\x07\n\x05icons\x1a\x88\x01\n\x07OnClick\x12\x39\n\x06\x61\x63tion\x18\x01 \x01(\x0b\x32\'.google.chat.v1.WidgetMarkup.FormActionH\x00\x12:\n\topen_link\x18\x02 \x01(\x0b\x32%.google.chat.v1.WidgetMarkup.OpenLinkH\x00\x42\x06\n\x04\x64\x61ta\x1a\x17\n\x08OpenLink\x12\x0b\n\x03url\x18\x01 \x01(\t\x1a\xa4\x01\n\nFormAction\x12\x1a\n\x12\x61\x63tion_method_name\x18\x01 \x01(\t\x12K\n\nparameters\x18\x02 \x03(\x0b\x32\x37.google.chat.v1.WidgetMarkup.FormAction.ActionParameter\x1a-\n\x0f\x41\x63tionParameter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\xe0\x03\n\x04Icon\x12\x14\n\x10ICON_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41IRPLANE\x10\x01\x12\x0c\n\x08\x42OOKMARK\x10\x1a\x12\x07\n\x03\x42US\x10\x19\x12\x07\n\x03\x43\x41R\x10\t\x12\t\n\x05\x43LOCK\x10\x02\x12\x1c\n\x18\x43ONFIRMATION_NUMBER_ICON\x10\x0c\x12\n\n\x06\x44OLLAR\x10\x0e\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x1b\x12\t\n\x05\x45MAIL\x10\n\x12\x13\n\x0f\x45VENT_PERFORMER\x10\x14\x12\x0e\n\nEVENT_SEAT\x10\x15\x12\x12\n\x0e\x46LIGHT_ARRIVAL\x10\x10\x12\x14\n\x10\x46LIGHT_DEPARTURE\x10\x0f\x12\t\n\x05HOTEL\x10\x06\x12\x13\n\x0fHOTEL_ROOM_TYPE\x10\x11\x12\n\n\x06INVITE\x10\x13\x12\x0b\n\x07MAP_PIN\x10\x03\x12\x0e\n\nMEMBERSHIP\x10\x18\x12\x13\n\x0fMULTIPLE_PEOPLE\x10\x12\x12\t\n\x05OFFER\x10\x1e\x12\n\n\x06PERSON\x10\x0b\x12\t\n\x05PHONE\x10\r\x12\x13\n\x0fRESTAURANT_ICON\x10\x07\x12\x11\n\rSHOPPING_CART\x10\x08\x12\x08\n\x04STAR\x10\x05\x12\t\n\x05STORE\x10\x16\x12\n\n\x06TICKET\x10\x04\x12\t\n\x05TRAIN\x10\x17\x12\x10\n\x0cVIDEO_CAMERA\x10\x1c\x12\x0e\n\nVIDEO_PLAY\x10\x1d\x42\x06\n\x04\x64\x61taB\x97\x01\n\x12\x63om.google.chat.v1B\x0cWidgetsProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
+ end
29
+ end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
32
+ end
33
+
34
+ module Google
35
+ module Apps
36
+ module Chat
37
+ module V1
38
+ WidgetMarkup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup").msgclass
39
+ WidgetMarkup::TextParagraph = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.TextParagraph").msgclass
40
+ WidgetMarkup::Button = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.Button").msgclass
41
+ WidgetMarkup::TextButton = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.TextButton").msgclass
42
+ WidgetMarkup::KeyValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.KeyValue").msgclass
43
+ WidgetMarkup::Image = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.Image").msgclass
44
+ WidgetMarkup::ImageButton = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.ImageButton").msgclass
45
+ WidgetMarkup::OnClick = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.OnClick").msgclass
46
+ WidgetMarkup::OpenLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.OpenLink").msgclass
47
+ WidgetMarkup::FormAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.FormAction").msgclass
48
+ WidgetMarkup::FormAction::ActionParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.FormAction.ActionParameter").msgclass
49
+ WidgetMarkup::Icon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.WidgetMarkup.Icon").enummodule
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/apps/chat/v1"
@@ -0,0 +1,4 @@
1
+ # Google Chat V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.