google-apps-chat-v1 0.33.0 → 0.34.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 +4 -4
- data/README.md +4 -6
- data/lib/google/apps/chat/v1/version.rb +1 -1
- data/lib/google/chat/v1/action_status_pb.rb +2 -1
- data/lib/google/chat/v1/citation_pb.rb +24 -0
- data/lib/google/chat/v1/cited_source_pb.rb +26 -0
- data/lib/google/chat/v1/elements_common_pb.rb +23 -0
- data/lib/google/chat/v1/elements_pb.rb +25 -0
- data/lib/google/chat/v1/message_pb.rb +2 -1
- data/proto_docs/google/chat/v1/citation.rb +50 -0
- data/proto_docs/google/chat/v1/cited_source.rb +75 -0
- data/proto_docs/google/chat/v1/elements.rb +48 -0
- data/proto_docs/google/chat/v1/elements_common.rb +41 -0
- data/proto_docs/google/chat/v1/message.rb +16 -0
- data/proto_docs/google/chat/v1/space.rb +1 -1
- metadata +9 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78db153dcdadea5d0595d624e6e056bcf439b72770d49b481b0336334cd395cb
|
|
4
|
+
data.tar.gz: 4bb8d950b32315385656f7ba9d88d751eb3da145a610f80c75735b6072077127
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0be1488aa0c326ad42e84cc302acdee094130c49933ec38e5e553c1ea3d0528ada9685a7328dceadbc4cabe6a84e92c281fb10717bbde0ab9c779a2585cd0fd
|
|
7
|
+
data.tar.gz: 7d3ac4e57dde713f13fd9fa5b5804a583a4725a5218f3729aac6a8cdf8b1d9aebfc90a2cfc8693e6b0f50b5d10d1d189cfb5f9c30ecb767fc627302f3d890150
|
data/README.md
CHANGED
|
@@ -87,12 +87,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
87
87
|
|
|
88
88
|
This library is supported on Ruby 3.2+.
|
|
89
89
|
|
|
90
|
-
Google provides official support for Ruby versions
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
|
95
|
-
support schedule.
|
|
90
|
+
Google provides official support for Ruby versions as described in the
|
|
91
|
+
[Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions)
|
|
92
|
+
policy. Older versions of Ruby _may_ still work, but are unsupported and not
|
|
93
|
+
recommended.
|
|
96
94
|
|
|
97
95
|
## Which client should I use?
|
|
98
96
|
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/rpc/code_pb'
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
descriptor_data = "\n\"google/chat/v1/action_status.proto\x12\x0egoogle.chat.v1\x1a\x15google/rpc/code.proto\"R\n\x0c\x41\x63tionStatus\x12%\n\x0bstatus_code\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x1b\n\x13user_facing_message\x18\x02 \x01(\tB\xaa\x01\n\x12\x63om.google.chat.v1B\x11\x41\x63tionStatusProtoP\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\"google/chat/v1/action_status.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x15google/rpc/code.proto\"R\n\x0c\x41\x63tionStatus\x12%\n\x0bstatus_code\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x1b\n\x13user_facing_message\x18\x02 \x01(\tB\xaa\x01\n\x12\x63om.google.chat.v1B\x11\x41\x63tionStatusProtoP\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
12
|
|
|
12
13
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
14
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/chat/v1/citation.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/chat/v1/cited_source_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1dgoogle/chat/v1/citation.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a!google/chat/v1/cited_source.proto\"V\n\x08\x43itation\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x38\n\rcited_sources\x18\x03 \x03(\x0b\x32\x1b.google.chat.v1.CitedSourceB\x04\xe2\x41\x01\x01\x42\x98\x01\n\x12\x63om.google.chat.v1B\rCitationProtoP\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
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Google
|
|
17
|
+
module Apps
|
|
18
|
+
module Chat
|
|
19
|
+
module V1
|
|
20
|
+
Citation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Citation").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/chat/v1/cited_source.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/chat/v1/elements_common_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n!google/chat/v1/cited_source.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a$google/chat/v1/elements_common.proto\"\xa4\x02\n\x0b\x43itedSource\x12\x13\n\x05title\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\x03uri\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x07snippet\x18\x03 \x01(\x0b\x32#.google.chat.v1.CitedSource.SnippetB\x04\xe2\x41\x01\x01\x12\x38\n\x06\x66ooter\x18\x05 \x01(\x0b\x32\".google.chat.v1.CitedSource.FooterB\x04\xe2\x41\x01\x01\x1aY\n\x07Snippet\x12\x12\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12:\n\rimage_preview\x18\x02 \x01(\x0b\x32\x1d.google.chat.v1.ElementsImageB\x04\xe2\x41\x01\x01\x1a\x1c\n\x06\x46ooter\x12\x12\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x42\x9b\x01\n\x12\x63om.google.chat.v1B\x10\x43itedSourceProtoP\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
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Google
|
|
17
|
+
module Apps
|
|
18
|
+
module Chat
|
|
19
|
+
module V1
|
|
20
|
+
CitedSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CitedSource").msgclass
|
|
21
|
+
CitedSource::Snippet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CitedSource.Snippet").msgclass
|
|
22
|
+
CitedSource::Footer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.CitedSource.Footer").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/chat/v1/elements_common.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n$google/chat/v1/elements_common.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\"3\n\rElementsImage\x12\x19\n\timage_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x42\x07\n\x05imageB\x9e\x01\n\x12\x63om.google.chat.v1B\x13\x45lementsCommonProtoP\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"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Apps
|
|
17
|
+
module Chat
|
|
18
|
+
module V1
|
|
19
|
+
ElementsImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ElementsImage").msgclass
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/chat/v1/elements.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/chat/v1/citation_pb'
|
|
9
|
+
require 'google/chat/v1/cited_source_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n\x1dgoogle/chat/v1/elements.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/chat/v1/citation.proto\x1a!google/chat/v1/cited_source.proto\"w\n\x08\x45lements\x12\x38\n\rcited_sources\x18\x01 \x03(\x0b\x32\x1b.google.chat.v1.CitedSourceB\x04\xe2\x41\x01\x01\x12\x31\n\tcitations\x18\x02 \x03(\x0b\x32\x18.google.chat.v1.CitationB\x04\xe2\x41\x01\x01\x42\x98\x01\n\x12\x63om.google.chat.v1B\rElementsProtoP\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
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Google
|
|
18
|
+
module Apps
|
|
19
|
+
module Chat
|
|
20
|
+
module V1
|
|
21
|
+
Elements = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Elements").msgclass
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -12,6 +12,7 @@ require 'google/chat/v1/annotation_pb'
|
|
|
12
12
|
require 'google/chat/v1/attachment_pb'
|
|
13
13
|
require 'google/chat/v1/contextual_addon_pb'
|
|
14
14
|
require 'google/chat/v1/deletion_metadata_pb'
|
|
15
|
+
require 'google/chat/v1/elements_pb'
|
|
15
16
|
require 'google/chat/v1/markup_syntax_pb'
|
|
16
17
|
require 'google/chat/v1/matched_url_pb'
|
|
17
18
|
require 'google/chat/v1/reaction_pb'
|
|
@@ -23,7 +24,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
23
24
|
require 'google/protobuf/timestamp_pb'
|
|
24
25
|
|
|
25
26
|
|
|
26
|
-
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/markup_syntax.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/google/chat/v1/space_notification_setting.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x0b\n\x07Message\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12*\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\x12\x36\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x05\x01\x12:\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x12\n\x04text\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x66ormatted_text\x18+ \x01(\tB\x04\xe2\x41\x01\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x32\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x04\xe2\x41\x01\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.SpaceB\x04\xe2\x41\x01\x03\x12\x1b\n\rfallback_text\x18\r \x01(\tB\x04\xe2\x41\x01\x01\x12=\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x04\xe2\x41\x01\x04\x12\x1b\n\rargument_text\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03\x12\x39\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x04\xe2\x41\x01\x03\x12\x34\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x04\xe2\x41\x01\x01\x12\x35\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x14\n\x06silent\x18. \x01(\x08\x42\x04\xe2\x41\x01\x03\x12(\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x04\xe2\x41\x01\x03\x12;\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x05\xe2\x41\x02\x05\x01\x12\x41\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x04\xe2\x41\x01\x03\x12L\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x04\xe2\x41\x01\x01\x12\x38\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x04\xe2\x41\x01\x03\x12@\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18/ \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\" \n\x0b\x41ttachedGif\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"\xaa\x04\n\x15QuotedMessageMetadata\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12:\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12I\n\nquote_type\x18\x04 \x01(\x0e\x32/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\x04\xe2\x41\x01\x01\x12L\n\x17quoted_message_snapshot\x18\x05 \x01(\x0b\x32%.google.chat.v1.QuotedMessageSnapshotB\x04\xe2\x41\x01\x03\x12\x43\n\x12\x66orwarded_metadata\x18\x06 \x01(\x0b\x32!.google.chat.v1.ForwardedMetadataB\x04\xe2\x41\x01\x03\"?\n\tQuoteType\x12\x1a\n\x16QUOTE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05REPLY\x10\x01\x12\x0b\n\x07\x46ORWARD\x10\x02:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\xcd\x01\n\x15QuotedMessageSnapshot\x12\x14\n\x06sender\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04text\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x66ormatted_text\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x61ttachments\x18\x05 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x04\xe2\x41\x01\x03\"h\n\x11\x46orwardedMetadata\x12\x31\n\x05space\x18\x01 \x01(\tB\"\xe2\x41\x01\x03\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12 \n\x12space_display_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\x89\x01\n\x06Thread\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x18\n\nthread_key\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01:Q\xea\x41N\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}*\x07threads2\x06thread\"\xd6\x04\n\x0e\x41\x63tionResponse\x12?\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x04\xe2\x41\x01\x04\x12\x11\n\x03url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x04\x12\x39\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x04\xe2\x41\x01\x04\x12J\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x04\xe2\x41\x01\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\"\x82\x01\n\x11GetMessageRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\rmarkup_syntax\x18\x03 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\"_\n\x14\x44\x65leteMessageRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x13\n\x05\x66orce\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x9a\x01\n\x14UpdateMessageRequest\x12.\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x8f\x04\n\x14\x43reateMessageRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12.\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x04\xe2\x41\x01\x02\x12\x1a\n\nthread_key\x18\x06 \x01(\tB\x06\x18\x01\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12[\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x04\xe2\x41\x01\x01\x12\x18\n\nmessage_id\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x63\n#create_message_notification_options\x18\n \x01(\x0b\x32\x30.google.chat.v1.CreateMessageNotificationOptionsB\x04\xe2\x41\x01\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\"\xf2\x01\n CreateMessageNotificationOptions\x12\\\n\x11notification_type\x18\x01 \x01(\x0e\x32\x41.google.chat.v1.CreateMessageNotificationOptions.NotificationType\"p\n\x10NotificationType\x12\x1a\n\x16NOTIFICATION_TYPE_NONE\x10\x00\x12\"\n\x1eNOTIFICATION_TYPE_FORCE_NOTIFY\x10\x02\x12\x1c\n\x18NOTIFICATION_TYPE_SILENT\x10\x03\"\x83\x02\n\x13ListMessagesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18\t \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\"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\"\x83\x01\n\x0c\x44ialogAction\x12.\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x04\xe2\x41\x01\x04H\x00\x12\x39\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x04\xe2\x41\x01\x04\x42\x08\n\x06\x61\x63tion\"7\n\x06\x44ialog\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x04\xe2\x41\x01\x04\"v\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.Card\x12.\n\nowner_user\x18\x03 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\"\x84\x01\n\x1aReplaceMessageCardsRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x32\n\x08\x63\x61rds_v2\x18\x02 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x04\xe2\x41\x01\x01\"\x1d\n\x1bReplaceMessageCardsResponse\"\xb0\x03\n\x15SearchMessagesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x14\n\x06\x66ilter\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x17\n\tpage_size\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18\x06 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\x12L\n\x04view\x18\x07 \x01(\x0e\x32\x38.google.chat.v1.SearchMessagesRequest.SearchMessagesViewB\x04\xe2\x41\x01\x01\"y\n\x12SearchMessagesView\x12$\n SEARCH_MESSAGES_VIEW_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_MESSAGES_VIEW_BASIC\x10\x01\x12\x1d\n\x19SEARCH_MESSAGES_VIEW_FULL\x10\x02\"g\n\x16SearchMessagesResponse\x12\x34\n\x07results\x18\x01 \x03(\x0b\x32#.google.chat.v1.SearchMessageResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x01\n\x13SearchMessageResult\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\x12\x11\n\x04read\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12P\n\x12space_mute_setting\x18\x04 \x01(\x0e\x32\x34.google.chat.v1.SpaceNotificationSetting.MuteSettingB\x07\n\x05_readB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\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"
|
|
27
|
+
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\x1dgoogle/chat/v1/elements.proto\x1a\"google/chat/v1/markup_syntax.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/google/chat/v1/space_notification_setting.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x0b\n\x07Message\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12*\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\x12\x36\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x05\x01\x12:\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x12\n\x04text\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x66ormatted_text\x18+ \x01(\tB\x04\xe2\x41\x01\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x32\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x04\xe2\x41\x01\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.SpaceB\x04\xe2\x41\x01\x03\x12\x1b\n\rfallback_text\x18\r \x01(\tB\x04\xe2\x41\x01\x01\x12=\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x04\xe2\x41\x01\x04\x12\x1b\n\rargument_text\x18\x0f \x01(\tB\x04\xe2\x41\x01\x03\x12\x39\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x04\xe2\x41\x01\x03\x12\x34\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x04\xe2\x41\x01\x01\x12\x35\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x14\n\x06silent\x18. \x01(\x08\x42\x04\xe2\x41\x01\x03\x12(\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x04\xe2\x41\x01\x01\x12L\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x04\xe2\x41\x01\x03\x12;\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x05\xe2\x41\x02\x05\x01\x12\x41\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x04\xe2\x41\x01\x03\x12L\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x04\xe2\x41\x01\x01\x12\x38\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x04\xe2\x41\x01\x03\x12@\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x04\xe2\x41\x01\x01\x12\x30\n\x08\x65lements\x18- \x01(\x0b\x32\x18.google.chat.v1.ElementsB\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18/ \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\" \n\x0b\x41ttachedGif\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"\xaa\x04\n\x15QuotedMessageMetadata\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12:\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12I\n\nquote_type\x18\x04 \x01(\x0e\x32/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\x04\xe2\x41\x01\x01\x12L\n\x17quoted_message_snapshot\x18\x05 \x01(\x0b\x32%.google.chat.v1.QuotedMessageSnapshotB\x04\xe2\x41\x01\x03\x12\x43\n\x12\x66orwarded_metadata\x18\x06 \x01(\x0b\x32!.google.chat.v1.ForwardedMetadataB\x04\xe2\x41\x01\x03\"?\n\tQuoteType\x12\x1a\n\x16QUOTE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05REPLY\x10\x01\x12\x0b\n\x07\x46ORWARD\x10\x02:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\xcd\x01\n\x15QuotedMessageSnapshot\x12\x14\n\x06sender\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04text\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x66ormatted_text\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x61ttachments\x18\x05 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x04\xe2\x41\x01\x03\"h\n\x11\x46orwardedMetadata\x12\x31\n\x05space\x18\x01 \x01(\tB\"\xe2\x41\x01\x03\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12 \n\x12space_display_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"\x89\x01\n\x06Thread\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x18\n\nthread_key\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01:Q\xea\x41N\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}*\x07threads2\x06thread\"\xd6\x04\n\x0e\x41\x63tionResponse\x12?\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x04\xe2\x41\x01\x04\x12\x11\n\x03url\x18\x02 \x01(\tB\x04\xe2\x41\x01\x04\x12\x39\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x04\xe2\x41\x01\x04\x12J\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x04\xe2\x41\x01\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\"\x82\x01\n\x11GetMessageRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\rmarkup_syntax\x18\x03 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\"_\n\x14\x44\x65leteMessageRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x13\n\x05\x66orce\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x9a\x01\n\x14UpdateMessageRequest\x12.\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x1b\n\rallow_missing\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x8f\x04\n\x14\x43reateMessageRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12.\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x04\xe2\x41\x01\x02\x12\x1a\n\nthread_key\x18\x06 \x01(\tB\x06\x18\x01\xe2\x41\x01\x01\x12\x18\n\nrequest_id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12[\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x04\xe2\x41\x01\x01\x12\x18\n\nmessage_id\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x63\n#create_message_notification_options\x18\n \x01(\x0b\x32\x30.google.chat.v1.CreateMessageNotificationOptionsB\x04\xe2\x41\x01\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\"\xf2\x01\n CreateMessageNotificationOptions\x12\\\n\x11notification_type\x18\x01 \x01(\x0e\x32\x41.google.chat.v1.CreateMessageNotificationOptions.NotificationType\"p\n\x10NotificationType\x12\x1a\n\x16NOTIFICATION_TYPE_NONE\x10\x00\x12\"\n\x1eNOTIFICATION_TYPE_FORCE_NOTIFY\x10\x02\x12\x1c\n\x18NOTIFICATION_TYPE_SILENT\x10\x03\"\x83\x02\n\x13ListMessagesRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18\t \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\"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\"\x83\x01\n\x0c\x44ialogAction\x12.\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x04\xe2\x41\x01\x04H\x00\x12\x39\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x04\xe2\x41\x01\x04\x42\x08\n\x06\x61\x63tion\"7\n\x06\x44ialog\x12-\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x04\xe2\x41\x01\x04\"v\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.Card\x12.\n\nowner_user\x18\x03 \x01(\x0b\x32\x14.google.chat.v1.UserB\x04\xe2\x41\x01\x03\"\x84\x01\n\x1aReplaceMessageCardsRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x32\n\x08\x63\x61rds_v2\x18\x02 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x04\xe2\x41\x01\x01\"\x1d\n\x1bReplaceMessageCardsResponse\"\xb0\x03\n\x15SearchMessagesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe2\x41\x01\x02\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x14\n\x06\x66ilter\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x17\n\tpage_size\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x39\n\rmarkup_syntax\x18\x06 \x01(\x0e\x32\x1c.google.chat.v1.MarkupSyntaxB\x04\xe2\x41\x01\x01\x12L\n\x04view\x18\x07 \x01(\x0e\x32\x38.google.chat.v1.SearchMessagesRequest.SearchMessagesViewB\x04\xe2\x41\x01\x01\"y\n\x12SearchMessagesView\x12$\n SEARCH_MESSAGES_VIEW_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSEARCH_MESSAGES_VIEW_BASIC\x10\x01\x12\x1d\n\x19SEARCH_MESSAGES_VIEW_FULL\x10\x02\"g\n\x16SearchMessagesResponse\x12\x34\n\x07results\x18\x01 \x03(\x0b\x32#.google.chat.v1.SearchMessageResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xad\x01\n\x13SearchMessageResult\x12(\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.Message\x12\x11\n\x04read\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12P\n\x12space_mute_setting\x18\x04 \x01(\x0e\x32\x34.google.chat.v1.SpaceNotificationSetting.MuteSettingB\x07\n\x05_readB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\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"
|
|
27
28
|
|
|
28
29
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
29
30
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apps
|
|
22
|
+
module Chat
|
|
23
|
+
module V1
|
|
24
|
+
# Citations are inline references that can provide users more detailed
|
|
25
|
+
# information about the inline reference. Corresponding inline citations
|
|
26
|
+
# should be present in the message text in a markup format of
|
|
27
|
+
# `<chat-citation data-id="{id}">{text}</chat-citation>`. Citations are
|
|
28
|
+
# only supported when the message's `markup_syntax` is set to `MARKDOWN`.
|
|
29
|
+
#
|
|
30
|
+
# Unreferenced citations in `Elements.citations` (those without a matching
|
|
31
|
+
# `<chat-citation>` tag in the message text) are ignored and do not cause the
|
|
32
|
+
# message to be rejected.
|
|
33
|
+
# @!attribute [rw] id
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Required. The ID of the citation. This ID is defined by the app creating
|
|
36
|
+
# the citation and must match the `data-id` attribute of the
|
|
37
|
+
# `<chat-citation>` tag in the message text. Must contain only ASCII letters
|
|
38
|
+
# and numbers, and less than 63 characters.
|
|
39
|
+
# @!attribute [rw] cited_sources
|
|
40
|
+
# @return [::Array<::Google::Apps::Chat::V1::CitedSource>]
|
|
41
|
+
# Optional. A list of sources that are relevant to the citation. Sources are
|
|
42
|
+
# displayed in the citation hover card.
|
|
43
|
+
class Citation
|
|
44
|
+
include ::Google::Protobuf::MessageExts
|
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apps
|
|
22
|
+
module Chat
|
|
23
|
+
module V1
|
|
24
|
+
# A reference to a source of information.
|
|
25
|
+
# @!attribute [rw] title
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Required. The plaintext title of the `CitedSource`. Does not support
|
|
28
|
+
# markdown format.
|
|
29
|
+
# @!attribute [rw] uri
|
|
30
|
+
# @return [::String]
|
|
31
|
+
# Required. The URI pointing to the resource referenced by this
|
|
32
|
+
# `CitedSource`.
|
|
33
|
+
# @!attribute [rw] snippet
|
|
34
|
+
# @return [::Google::Apps::Chat::V1::CitedSource::Snippet]
|
|
35
|
+
# Optional. Snippet containing information directly from the source.
|
|
36
|
+
# @!attribute [rw] footer
|
|
37
|
+
# @return [::Google::Apps::Chat::V1::CitedSource::Footer]
|
|
38
|
+
# Optional. Additional information to show alongside the snippet in the form
|
|
39
|
+
# of a footer.
|
|
40
|
+
class CitedSource
|
|
41
|
+
include ::Google::Protobuf::MessageExts
|
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
43
|
+
|
|
44
|
+
# A snippet object representing an excerpt from a larger corpus.
|
|
45
|
+
# @!attribute [rw] text
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Optional. A short plaintext excerpt directly from the corpus that is
|
|
48
|
+
# rendered in the citation hover card or source preview. When footer
|
|
49
|
+
# sources are automatically populated from inline `citations` (because
|
|
50
|
+
# `Elements.cited_sources` is not set), snippets are omitted from the
|
|
51
|
+
# deduplicated footer sources. Does not support markdown format, and must
|
|
52
|
+
# not exceed 1,000 characters.
|
|
53
|
+
# @!attribute [rw] image_preview
|
|
54
|
+
# @return [::Google::Apps::Chat::V1::ElementsImage]
|
|
55
|
+
# Optional. Image preview of the snippet provided as an input when creating
|
|
56
|
+
# the citation.
|
|
57
|
+
class Snippet
|
|
58
|
+
include ::Google::Protobuf::MessageExts
|
|
59
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# A footer for a source, used for attribution.
|
|
63
|
+
# @!attribute [rw] text
|
|
64
|
+
# @return [::String]
|
|
65
|
+
# Optional. The plaintext to display in the footer. Does not support
|
|
66
|
+
# markdown format.
|
|
67
|
+
class Footer
|
|
68
|
+
include ::Google::Protobuf::MessageExts
|
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apps
|
|
22
|
+
module Chat
|
|
23
|
+
module V1
|
|
24
|
+
# Elements are additional message components,
|
|
25
|
+
# including inline `citations` (where each citation is associated with a
|
|
26
|
+
# specific portion of the message text) and `cited_sources` (which are general
|
|
27
|
+
# references used to generate the response and are not directly linked to
|
|
28
|
+
# specific segments of the text). Both `citations` and `cited_sources` can be
|
|
29
|
+
# provided as input when creating or updating a message and are populated on
|
|
30
|
+
# output when reading a message.
|
|
31
|
+
# @!attribute [rw] cited_sources
|
|
32
|
+
# @return [::Array<::Google::Apps::Chat::V1::CitedSource>]
|
|
33
|
+
# Optional. A list of sources to be displayed under the message as footer
|
|
34
|
+
# links. These are not referenced inline. For inline references, use
|
|
35
|
+
# `citations`.
|
|
36
|
+
# @!attribute [rw] citations
|
|
37
|
+
# @return [::Array<::Google::Apps::Chat::V1::Citation>]
|
|
38
|
+
# Optional. A list of inline citations referenced within the message text
|
|
39
|
+
# (via
|
|
40
|
+
# `<chat-citation>` tags) that render as interactive hover cards.
|
|
41
|
+
class Elements
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apps
|
|
22
|
+
module Chat
|
|
23
|
+
module V1
|
|
24
|
+
# An object encapsulating different ways of representing an image.
|
|
25
|
+
# Currently supported representations:
|
|
26
|
+
#
|
|
27
|
+
# * An image fetched from a URI.
|
|
28
|
+
#
|
|
29
|
+
# Additional representations might be supported in the future.
|
|
30
|
+
# @!attribute [rw] image_uri
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Required. The URI of the image. Must be a publicly accessible URI so that
|
|
33
|
+
# Chat can fetch and display it.
|
|
34
|
+
class ElementsImage
|
|
35
|
+
include ::Google::Protobuf::MessageExts
|
|
36
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
@@ -238,6 +238,22 @@ module Google
|
|
|
238
238
|
# Creating a message with accessory widgets requires [app
|
|
239
239
|
# authentication]
|
|
240
240
|
# (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
|
|
241
|
+
# @!attribute [rw] elements
|
|
242
|
+
# @return [::Google::Apps::Chat::V1::Elements]
|
|
243
|
+
# Optional. Additional message components, including inline `citations`
|
|
244
|
+
# (where each citation is associated with a specific portion of the message
|
|
245
|
+
# text) and `cited_sources` (which are general references used to generate
|
|
246
|
+
# the response and are not directly linked to specific segments of the text).
|
|
247
|
+
#
|
|
248
|
+
# On input, provide `elements` when creating or updating a message. On
|
|
249
|
+
# output, both `citations` and `cited_sources` are populated when reading a
|
|
250
|
+
# message that contains them. Callers can read structured citation metadata
|
|
251
|
+
# from `elements`, while `formatted_text` also includes inline citation tags
|
|
252
|
+
# or source links depending on `markup_syntax`.
|
|
253
|
+
#
|
|
254
|
+
# These differ from `annotations`, which are output-only and offer
|
|
255
|
+
# supplementary information tied to message fragments or the entire message
|
|
256
|
+
# text.
|
|
241
257
|
# @!attribute [rw] markup_syntax
|
|
242
258
|
# @return [::Google::Apps::Chat::V1::MarkupSyntax]
|
|
243
259
|
# Optional. Specifies how the server interprets the message `text` field
|
|
@@ -199,7 +199,7 @@ module Google
|
|
|
199
199
|
# Optional. A description of the space. For example, describe the space's
|
|
200
200
|
# discussion topic, functional purpose, or participants.
|
|
201
201
|
#
|
|
202
|
-
# Supports up to
|
|
202
|
+
# Supports up to 4,096 characters.
|
|
203
203
|
# @!attribute [rw] guidelines
|
|
204
204
|
# @return [::String]
|
|
205
205
|
# Optional. The space's rules, expectations, and etiquette.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apps-chat-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.34.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -90,8 +90,12 @@ files:
|
|
|
90
90
|
- lib/google/chat/v1/availability_pb.rb
|
|
91
91
|
- lib/google/chat/v1/chat_service_pb.rb
|
|
92
92
|
- lib/google/chat/v1/chat_service_services_pb.rb
|
|
93
|
+
- lib/google/chat/v1/citation_pb.rb
|
|
94
|
+
- lib/google/chat/v1/cited_source_pb.rb
|
|
93
95
|
- lib/google/chat/v1/contextual_addon_pb.rb
|
|
94
96
|
- lib/google/chat/v1/deletion_metadata_pb.rb
|
|
97
|
+
- lib/google/chat/v1/elements_common_pb.rb
|
|
98
|
+
- lib/google/chat/v1/elements_pb.rb
|
|
95
99
|
- lib/google/chat/v1/event_payload_pb.rb
|
|
96
100
|
- lib/google/chat/v1/group_pb.rb
|
|
97
101
|
- lib/google/chat/v1/history_state_pb.rb
|
|
@@ -124,8 +128,12 @@ files:
|
|
|
124
128
|
- proto_docs/google/chat/v1/attachment.rb
|
|
125
129
|
- proto_docs/google/chat/v1/audience.rb
|
|
126
130
|
- proto_docs/google/chat/v1/availability.rb
|
|
131
|
+
- proto_docs/google/chat/v1/citation.rb
|
|
132
|
+
- proto_docs/google/chat/v1/cited_source.rb
|
|
127
133
|
- proto_docs/google/chat/v1/contextual_addon.rb
|
|
128
134
|
- proto_docs/google/chat/v1/deletion_metadata.rb
|
|
135
|
+
- proto_docs/google/chat/v1/elements.rb
|
|
136
|
+
- proto_docs/google/chat/v1/elements_common.rb
|
|
129
137
|
- proto_docs/google/chat/v1/event_payload.rb
|
|
130
138
|
- proto_docs/google/chat/v1/group.rb
|
|
131
139
|
- proto_docs/google/chat/v1/history_state.rb
|